support spice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Now that precise has qemu-kvm-spice in universe, it would be nice to be able to use spice with libvirt.
To do so, I had to do a few things:
1. rm /usr/bin/kvm; ln -s /usr/bin/
2. add to /etc/apparmor.
/usr/
/usr/
/run/
/run/shm rw,
3. Edited the graphics and vga sections of a libvirt VM's .xml to read:
<graphics type='spice' port='5900' tlsPort='-1' autoport='yes'/>
<video>
<model type='qxl' vram='65536' heads='1'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
Related branches
tags: | added: patch |
The apparmor modification seems fine to go ahead and make and ship with libvirt. Jamie/John, could you comment if you disagree? The xml modification will probably beg for virt-manager update later on.
But as for /usr/bin/kvm. Should the qemu-kvm-package override the /usr/bin/kvm symlink from qemu-kvm (even though qemu-kvm is in main and qemu-kvm-spice in universe)? How would that work?