[Spice-devel] virtio and qxl windows xp driver problems with spice
Mark Platek
flakzilla.ml at gmail.com
Sun Jun 13 17:12:22 PDT 2010
Hello all,
I'm using the latest unstable spice RPMs[1] on F13 and I'm having a few
problems that disappear when using qemu-kvm alone.
Firstly, virtio support appears not to work correctly when using spice.
I can start a spice server without the if=virtio flag on the -drive
argument and it will boot and everything is great. But, if I try to use
virtio, the server always crashes (I can watch xp bluescreen a few
seconds after booting from a spice client). I can use the virtio network
driver just fine. Here is an example invocation of qemu-spice that will
cause this behavior:
qemu-spice -spice port=5930,disable-ticketing -vga qxl -device AC97
-usbdevice tablet -enable-kvm -drive
file=/images/winxp.disk.qcow2,if=virtio -m 2048 -net nic,model=virtio
-net user
All information printed by spice before it crashes[*] is attached at the
bottom of this email. I can start the same VM image using qemu-kvm and
virtio will work just fine. In fact, I had to use qemu-kvm to install
the virtio driver in the first place. I am using the virtio driver that
can be found here[2], though others[3] exhibit the same behavior.
Also, qxl support appears to be broken somehow. Windows will recognize a
"VGA Controller" but will not install any version of the qxl driver,
including the old one found here[4] and the latest one I grabbed from
the spice website[5]. I can force Windows to install the driver, but
Windows then won't load it.
My plan is to compile the latest spice sources from git, maybe the
problem is fixed already. But maybe this information about virtio will
be helpful to you anyway.
If anyone has advice for using the virtio and qxl xp drivers with spice,
please reply.
Thanks,
Mark
[1] from http://kraxel.fedorapeople.org/spice/
[2] http://www.linux-kvm.com/content/kvm-gpl-windows-xp-block-driver-update
[3]
http://blog.famzah.net/2010/01/09/kvm-qemu-virtio-storage-and-network-drivers-for-32-bit64-bit-windows-7-windows-vista-windows-xp-and-windows-2000/
[4]
http://www.linux-kvm.com/content/rhev-spice-guest-drivers-released-windows
[5] http://spice-space.org/page/Repositories
[*]
do_spice_init: starting 0.5.2
watch_add: watch 0x25ec070, fd 11
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
mouse_mode_notifier: absolute pointer: not available
spice_server_add_interface: SPICE_INTERFACE_QXL
qxl-0: interface_get_init_info:
red_worker_main: begin
qxl-0: interface_attach_worker:
qxl-0: interface_set_compression_level: 0
mouse_mode_notifier: absolute pointer: present
spice_server_add_interface: SPICE_INTERFACE_RECORD
spice_server_add_interface: SPICE_INTERFACE_PLAYBACK
qxl-0: qxl_hard_reset: start
qxl-0: qxl_reset_surfaces:
qxl-0: qxl_reset_memslots:
qemu_spice_create_host_memslot:
qxl-0: qxl_soft_reset:
qxl-0: qxl_enter_vga_mode
qemu_spice_create_host_primary: 640x480
qxl-0: qxl_hard_reset: done
handle_dev_input: start
qxl-0: qxl_map: bar 0 [devram] addr 0xf0000000 size 0x4000000
qxl-0: qxl_map: bar 1 [vram] addr 0xf4000000 size 0x4000000
qxl-0: qxl_map: bar 2 [rom] addr 0xf8000000 size 0x2000
qxl-0: qxl_map: bar 3 [ioports] addr 0xc040 size 0x10
qemu_spice_display_resize:
qemu_spice_destroy_host_primary:
qemu_spice_create_host_primary: 720x400
qemu_spice_display_resize:
qemu_spice_destroy_host_primary:
qemu_spice_create_host_primary: 640x480
qxl-0: qxl_map: bar 0 [devram] addr 0xf0000000 size 0x4000000
qxl-0: qxl_map: bar 1 [vram] addr 0xf4000000 size 0x4000000
qxl-0: qxl_map: bar 2 [rom] addr 0xf8000000 size 0x2000
qxl-0: qxl_map: bar 3 [ioports] addr 0xc040 size 0x10
qxl-0: qxl_hard_reset: start
qxl-0: qxl_reset_surfaces:
qxl-0: qxl_reset_memslots:
qemu_spice_create_host_memslot:
qxl-0: qxl_soft_reset:
qxl-0: qxl_enter_vga_mode
qemu_spice_create_host_primary: 640x480
qxl-0: qxl_hard_reset: done
qxl-0: qxl_map: bar 0 [devram] addr 0xf0000000 size 0x4000000
qxl-0: qxl_map: bar 1 [vram] addr 0xf4000000 size 0x4000000
qxl-0: qxl_map: bar 2 [rom] addr 0xf8000000 size 0x2000
qxl-0: qxl_map: bar 3 [ioports] addr 0xc040 size 0x10
qemu_spice_display_resize:
qemu_spice_destroy_host_primary:
qemu_spice_create_host_primary: 720x400
Guest moved used index from 0 to 1577
More information about the Spice-devel
mailing list