Gentoo Archives: gentoo-user

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kvm/libvirt and kernel configuration
Date: Mon, 22 Apr 2013 16:21:18
Message-Id: 51756370.3020503@orlitzky.com
In Reply to: Re: [gentoo-user] kvm/libvirt and kernel configuration by William Kenworthy
1 On 04/22/2013 09:03 AM, William Kenworthy wrote:
2 >
3 > qxl is the guest video driver for "spice", a vnc/rdesktop like
4 > connection to the guest either via the libvirt console, or across the
5 > network vnc fashion. Its supposed to be "great", but maybe I need to
6 > tune it some more as I cant see much of an advantage over the other two yet.
7
8 The benefit over SDL is that copy/paste works. The benefit over VNC is
9 that it's a little more responsive. The downside is that it's more
10 complicated, and nothing is ever documented, naturally.
11
12 I have to tack this junk onto each VM (and choose a unique port):
13
14 qemu-kvm \
15 ...
16 -vga qxl \
17 -spice port=5900,addr=127.0.0.1,disable-ticketing \
18 -device virtio-serial-pci \
19 -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \
20 -chardev spicevmc,id=spicechannel0,name=vdagent \
21 ...
22
23 Afterwards I can connect with,
24
25 spicec -h 127.0.0.1 -p 5900 &