Difference between revisions of "SPICE"

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to: navigation, search
imported>Mutantmonkey
imported>Mutantmonkey
Line 34: Line 34:
  
 
=== Scroll wheel not working ===
 
=== Scroll wheel not working ===
The current version of x86-input-evdev has a bug that prevents scroll wheels from being used with absolute input devices. There is a patch available that has been applied to the Fedora package by default; [https://linx.li/code/0001-allow-relative-scroll-valuators-on-absolute-devices.patch.html a version of this patch for Arch] is also available.
+
The current version of x86-input-evdev has a bug that prevents scroll wheels from being used with absolute input devices. There is a patch available that has been applied to the Fedora package by default, and [[User:mutantmonkey|mutantmonkey]] has made an [https://aur.archlinux.org/packages/xf86-input-evdev-fedora/ AUR package] that includes this patch. [https://linx.li/code/0001-allow-relative-scroll-valuators-on-absolute-devices.patch.html An extracted and update version] is also available.

Revision as of 20:28, 30 November 2012

Filesystem sharing

Note: There is a bug in virt-manager that causes the Filesystem option to be unavailable even though it will work on your system.

  • Edit your guest's XML file with virsh (replace <name-of-guest> with the name of your guest VM):
virsh -c qemu:///system edit <name-of-guest>
  • Add something similar to the following to your XML file, just above </devices>:
<filesystem type='mount' accessmode='passthrough'>
    <source dir='/path/to/share'/>
    <target dir='share'/>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</filesystem>
  • Quit your text editor. You can run the edit command again or check in virt-manager to make sure that the filesystem device you just added shows up.
  • Add this line to /etc/fstab on your guest:
share /mnt 9p trans=virtio,version=9p2000.L 0 0
  • Put the following in /etc/modules-load.d/9p.conf on your guest:
fscache
9p
9pnet_virtio

Troubleshooting

Graphical corruption or lag with QXL video driver

  • Add the following to /etc/X11/xorg.conf.d/20-qxl.conf:
Section "Device"
    Identifier "qxl"
    Driver     "qxl"
    Option "ENABLE_SURFACES" "False"
EndSection
  • Reboot or restart X

Scroll wheel not working

The current version of x86-input-evdev has a bug that prevents scroll wheels from being used with absolute input devices. There is a patch available that has been applied to the Fedora package by default, and mutantmonkey has made an AUR package that includes this patch. An extracted and update version is also available.