[Spice-devel] BSOD when booting Win7 Pro with spice

Gianluca Cecchi gianluca.cecchi at gmail.com
Tue Feb 15 14:37:14 PST 2011


On Sun Jan 30 16:22:20 PST 2011 Julian Sikorski wrote:
> OK, it looks like I got it. Taking the fixes from RH bugs 664190 and
> 664192 I built my own libvirt and qemu, which were in the end able to
> start the domain via virsh - this solved the last issue with network.
> This has allowed me to install the vga qxl driver - it seems to work
> nicely so far.
> I'm still a little confused about VDI port, vioserial and vdagent, and
> what are they supposed to do.
> Is there anything else I could test?

hello,
I revamp this thread.
I'm in a similar condition while in F14 and using updated virt-preview repo:

spice-client-0.7.2-1.fc14.x86_64
python-virtinst-0.500.5-1.fc14.noarch
qemu-common-0.14.0-0.1.201102107aa8c46.fc14.x86_64
gpxe-roms-qemu-1.0.1-1.fc14.noarch
libvirt-client-0.8.7-1.fc14.x86_64
spice-server-0.7.2-1.fc14.x86_64
spice-gtk-0.5-1.fc14.x86_64
qemu-kvm-0.14.0-0.1.201102107aa8c46.fc14.x86_64
spice-gtk-tools-0.5-1.fc14.x86_64
virt-manager-0.8.6-1.fc14.noarch
qemu-system-x86-0.14.0-0.1.201102107aa8c46.fc14.x86_64
libvirt-python-0.8.7-1.fc14.x86_64
spice-gtk-python-0.5-1.fc14.x86_64
spice-glib-0.5-1.fc14.x86_64
qemu-img-0.14.0-0.1.201102107aa8c46.fc14.x86_64
libvirt-0.8.7-1.fc14.x86_64

I was able to install a win7 32bit vm with virtio (only disk).
I was able to start with spice graphics card and video (no qxl driver
installed yet) and win7 detected a sort ov vga and was able to let me
connect with spicec.
Then I successfully installed the qxl driver (from qxl-win32-0.6.1.zip
file, that was the latest one I found on spice.org) and had to restart
the system.
Now I'm not able to connect anymore. After "starting windows" one
minute screen the spicec program is disconnected and the vm is
shutoff.
I have a 2Gb ram laptop and I tried configuring the guest with 768Mb,
1024Mb, 1596Mb with the same result (in previous steps I used both
768Mb and 1024Mb successfully)

On spicec terminal I get:
Warning: Connection reset by peer (104)

If I manually try with a short command line (as root):

qemu-kvm /var/lib/libvirt/images/w7test.img -usbdevice tablet -soundhw
ac97 -vga qxl -spice port=5900,disable-ticketing -enable-kvm -m 1024

and run spicec, I get starting windows phase inside it,

and in terminal where qemu-kvm is run I get:
do_spice_init: starting 0.7.2
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
spice_server_add_interface: SPICE_INTERFACE_QXL
red_worker_main: begin
spice_server_add_interface: SPICE_INTERFACE_RECORD
spice_server_add_interface: SPICE_INTERFACE_PLAYBACK
handle_dev_destroy_surfaces:
handle_dev_destroy_surfaces:
handle_dev_input: start
reds_handle_main_link:
reds_show_new_channel: channel 1:0, connected successfully, over Non Secure link
reds_show_new_channel: channel 6:0, connected successfully, over Non Secure link
reds_main_handle_message: net test: latency 0.298000 ms, bitrate
35645287 bps (33.993995 Mbps)
reds_show_new_channel: channel 5:0, connected successfully, over Non Secure link
reds_show_new_channel: channel 4:0, connected successfully, over Non Secure link
red_dispatcher_set_cursor_peer:
handle_dev_input: cursor connect
reds_show_new_channel: channel 2:0, connected successfully, over Non Secure link
red_dispatcher_set_peer:
handle_dev_input: connect
handle_new_display_channel: jpeg disabled
handle_new_display_channel: zlib-over-glz disabled
reds_show_new_channel: channel 3:0, connected successfully, over Non Secure link
inputs_link:
qemu-kvm: /builddir/build/BUILD/qemu-kvm-0.14.0/qemu-kvm.c:1724:
kvm_mutex_unlock: Assertion `!cpu_single_env' failed.
Aborted (core dumped)

On spicec terminal I get, when the connection is closed:
Warning: Connection reset by peer (104)

In spicec.log:
1297807183 INFO [11373:11373] init_key_map: using evdev mapping
1297807183 INFO [11373:11373] Application::main: starting 0.7.2
1297807183 INFO [11373:11373] MultyMonScreen::MultyMonScreen:
platform_win: 75497473
1297807183 INFO [11373:11373] GUI::GUI:
1297807183 INFO [11373:11373] ForeignMenu::ForeignMenu: Creating a
foreign menu connection /tmp/SpiceForeignMenu-11373.uds
1297807183 INFO [11373:11375] RedPeer::connect_unsecure: Trying 127.0.0.1 5900
1297807183 INFO [11373:11375] RedPeer::connect_unsecure: Connected to
127.0.0.1 5900
1297807224 WARN [11373:11375] RedChannel::run: Connection reset by peer (104)
1297807224 INFO [11373:11373] main: Spice client terminated (exitcode = 6)
1297807451 INFO [11425:11425] init_key_map: using evdev mapping
1297807451 INFO [11425:11425] Application::main: starting 0.7.2
1297807451 INFO [11425:11425] MultyMonScreen::MultyMonScreen:
platform_win: 75497473
1297807451 INFO [11425:11425] GUI::GUI:
1297807451 INFO [11425:11425] ForeignMenu::ForeignMenu: Creating a
foreign menu connection /tmp/SpiceForeignMenu-11425.uds
1297807451 INFO [11425:11427] RedPeer::connect_unsecure: Trying 127.0.0.1 5900
1297807451 INFO [11425:11427] RedPeer::connect_unsecure: Connected to
127.0.0.1 5900
1297807451 INFO [11425:11428] RedPeer::connect_unsecure: Trying 127.0.0.1 5900
1297807451 INFO [11425:11429] RedPeer::connect_unsecure: Trying 127.0.0.1 5900
1297807451 INFO [11425:11429] RedPeer::connect_unsecure: Connected to
127.0.0.1 5900
1297807451 INFO [11425:11428] RedPeer::connect_unsecure: Connected to
127.0.0.1 5900
1297807451 INFO [11425:11430] RedPeer::connect_unsecure: Trying 127.0.0.1 5900
1297807451 INFO [11425:11430] RedPeer::connect_unsecure: Connected to
127.0.0.1 5900
1297807451 WARN [11425:11427] RedClient::find_factory: no factory for 8
1297807451 INFO [11425:11431] RedPeer::connect_unsecure: Trying 127.0.0.1 5900
1297807451 INFO [11425:11431] RedPeer::connect_unsecure: Connected to
127.0.0.1 5900
1297807451 INFO [11425:11432] RedPeer::connect_unsecure: Trying 127.0.0.1 5900
1297807451 INFO [11425:11432] RedPeer::connect_unsecure: Connected to
127.0.0.1 5900
1297807451 INFO [11425:11427] RedChannel::handle_notify: remote
channel 1:0 warn!!! #0: keyboard channel is insecure
1297807451 INFO [11425:11425] DisplayChannel::create_sw_canvas:
display 0: using sw
1297807452 INFO [11425:11425] DisplayChannel::create_sw_canvas:
display 0: using sw
1297807507 WARN [11425:11432] RedChannel::run: Connection reset by peer (104)
1297807508 INFO [11425:11425] main: Spice client terminated (exitcode = 0)

Any hint?
Thanks
Gianluca


More information about the Spice-devel mailing list