Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

SPICE

1,326 bytes added, 20:20, 30 November 2012
Created page with "== Scroll wheel == 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 ha..."
== Scroll wheel ==
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.

== 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 <code></devices></code>:
<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
Anonymous user