[Spice-devel] Kubuntu as a KVM virtualised guest with spice drivers

Lindsay Mathieson lindsay.mathieson at gmail.com
Thu Mar 6 17:11:38 PST 2014


Sorry for the late reply, have been excessively busy.

On 2 March 2014 20:55, Alon Levy <alevy at redhat.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 03/02/2014 05:30 AM, Lindsay Mathieson wrote:
>> My apologies if this is inappropriate for the list.
>>
>> I run a proxmox cluster at work (kvm/qemu 1.7)  and X just restarts
>> constantly when trying to use the guest drivers for spice (QXL,
>> xserver-xorg-video-qxl). I've tested this with 13.04, 13.10 and
>> 14.04 beta. Also the same with vanilla ubuntu.
>
> What is the version of xserver-xorg-video-qxl?

0.1.0-0ubuntu3.1

> what is the qemu version?

kvm --version
QEMU emulator version 1.7.0

> what is the qemu command line?

/usr/bin/kvm-id304-chardevsocket,id=qmp,path=/var/run/qemu-server/304.qmp,server,nowait-monchardev=qmp,mode=control-vncunix:/var/run/qemu-server/304.vnc,x509,password-pidfile/var/run/qemu-server/304.pid-daemonize-namekubuntu-13.10-smpsockets=1,cores=4-nodefaults-bootmenu=on-vgaqxl-cpukvm64,+lahf_lm,+x2apic,+sep-ken-us-spicetls-port=61004,addr=127.0.0.1,tls-ciphers=DES-CBC3-SHA,seamless-migration=on-devicevirtio-serial,id=spice,bus=pci.0,addr=0x9-chardevspicevmc,id=vdagent,name=vdagent-devicevirtserialport,chardev=vdagent,name=com.redhat.spice.0-m4096-devicepiix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2-devicevirtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3-driveif=none,id=drive-ide2,media=cdrom,aio=native-deviceide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200-drivefile=/mnt/pve/LOB/images/304/vm-304-disk-1.qcow2,if=none,id=drive-virtio0,format=qcow2,aio=native,cache=none-devicevirtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100-netdevtype=tap,id=net0,ifname=tap304i0,script=/var/lib/qemu-server/pve-bridge,vhost=on-devicevirtio-net-pci,mac=42:A5:75:0A:83:91,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300root at vng

> what does lspci -v say in the guest when run as root?


lspci -v
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
        Subsystem: Red Hat, Inc Qemu virtual machine
        Flags: fast devsel

00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
        Subsystem: Red Hat, Inc Qemu virtual machine
        Physical Slot: 1
        Flags: medium devsel

00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE
[Natoma/Triton II] (prog-if 80 [Master])
        Subsystem: Red Hat, Inc Qemu virtual machine
        Physical Slot: 1
        Flags: bus master, medium devsel, latency 0
        [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
        [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
        [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
        [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
        I/O ports at c0e0 [size=16]
        Kernel driver in use: ata_piix

00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB
[Natoma/Triton II] (rev 01) (prog-if 00 [UHCI])
        Subsystem: Red Hat, Inc Qemu virtual machine
        Physical Slot: 1
        Flags: bus master, fast devsel, latency 0, IRQ 11
        I/O ports at c040 [size=32]
        Kernel driver in use: uhci_hcd

00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
        Subsystem: Red Hat, Inc Qemu virtual machine
        Physical Slot: 1
        Flags: medium devsel, IRQ 9
        Kernel driver in use: piix4_smbus

00:02.0 VGA compatible controller: Red Hat, Inc. Device 0100 (rev 04)
(prog-if 00 [VGA controller])
        Subsystem: Red Hat, Inc Device 1100
        Physical Slot: 2
        Flags: fast devsel, IRQ 11
        Memory at f4000000 (32-bit, non-prefetchable) [size=64M]
        Memory at f8000000 (32-bit, non-prefetchable) [size=64M]
        Memory at fc020000 (32-bit, non-prefetchable) [size=8K]
        I/O ports at c060 [size=32]
        Expansion ROM at fc000000 [disabled] [size=64K]
        Kernel driver in use: qxl

00:03.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon
        Subsystem: Red Hat, Inc Device 0005
        Physical Slot: 3
        Flags: bus master, fast devsel, latency 0, IRQ 10
        I/O ports at c080 [size=32]
        Kernel driver in use: virtio-pci

00:09.0 Communication controller: Red Hat, Inc Virtio console
        Subsystem: Red Hat, Inc Device 0003
        Physical Slot: 9
        Flags: bus master, fast devsel, latency 0, IRQ 10
        I/O ports at c0a0 [size=32]
        Memory at fc022000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: virtio-pci

00:0a.0 SCSI storage controller: Red Hat, Inc Virtio block device
        Subsystem: Red Hat, Inc Device 0002
        Physical Slot: 10
        Flags: bus master, fast devsel, latency 0, IRQ 11
        I/O ports at c000 [size=64]
        Memory at fc023000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: virtio-pci

00:12.0 Ethernet controller: Red Hat, Inc Virtio network device
        Subsystem: Red Hat, Inc Device 0001
        Physical Slot: 18
        Flags: bus master, fast devsel, latency 0, IRQ 11
        I/O ports at c0c0 [size=32]
        Memory at fc024000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at fc010000 [disabled] [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: virtio-pci


> what is the X server output? (/var/log/Xorg.0.log assuming :0 is the
> display id)

Attached. Log is after an initial X server charsh, then successfully
logging on via spice.


Thanks - Lindsay


-- 
Lindsay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: application/octet-stream
Size: 53377 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20140307/488413f5/attachment-0001.obj>


More information about the Spice-devel mailing list