[fedora-virt] spice and qemu 0.14

Alon Levy alevy at redhat.com
Mon Mar 14 15:08:23 UTC 2011


On Mon, Mar 14, 2011 at 02:59:30PM +0100, Gianluca Cecchi wrote:
> On Mon, Mar 14, 2011 at 12:42 PM, Gianluca Cecchi
> <gianluca.cecchi at gmail.com> wrote:
> >
> > I'm going to test...
> > Gianluca
> >
> 
> If I run the w2k3 vm with vga as video adapter I get normal behaviour.
> If I set qxl and spice, the vm enters the initial black screen with
> bars at bottom and then shutdowns:

shutdowns? anyway, this patchset is not good enough for qemu-kvm, will
reply to thread when we have something working.

> This is what I have in /var/log/libvirt/qemu/w2k3.log
> 
> 2011-03-14 14:50:45.110: starting up
> LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=spice
> /usr/bin/qemu-kvm -S -M fedora-13 -cpu core2duo,+x2apic -enable-kvm -m
> 1536 -smp 1,sockets=1,cores=1,threads=1 -name w2k3 -uuid
> 5ee312e2-2e2e-4503-f1c2-749592bb6ca8 -nodefconfig -nodefaults -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/w2k3.monitor,server,nowait
> -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime
> -boot dc -drive
> if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device
> ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
> file=/f13/var/lib/libvirt/images/w2k3new.img,if=none,id=drive-ide0-0-1,format=raw
> -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1
> -netdev tap,fd=21,id=hostnet0 -device
> rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:ff:61:63,bus=pci.0,addr=0x4
> -chardev pty,id=charserial0 -device
> isa-serial,chardev=charserial0,id=serial0 -usb -device
> usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,disable-ticketing
> -vga qxl -device AC97,id=sound0,bus=pci.0,addr=0x5 -device
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
> char device redirected to /dev/pts/9
> do_spice_init: starting 0.8.0
> 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_main_handle_message: net test: latency 0.624000 ms, bitrate
> 11070270270 bps (10557.432432 Mbps)
> reds_show_new_channel: channel 5:0, connected successfully, over Non Secure link
> reds_show_new_channel: channel 3:0, connected successfully, over Non Secure link
> inputs_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 6:0, connected successfully, over Non Secure link
> spice_server_add_interface: SPICE_INTERFACE_TABLET
> handle_dev_input: mouse mode 2
> qemu-kvm: /home/gcecchi/rpmbuild/BUILD/qemu-kvm-0.14.0/qemu-kvm.c:1724:
> kvm_mutex_unlock: Assertion `!cpu_single_env' failed.
> 2011-03-14 14:51:15.023: shutting down
> 
> This vm was originally created in F13+virt-preview, so you will find
> 
> -M fedora-13
> 
> in qemu command.
> Do I have to change machine-type?
> <type arch='i686' machine='fedora-13'>hvm</type>
> 
> To something similar to this (noticed when creating a win7 vm in
> F14+virt-preview):
> <type arch='x86_64' machine='pc-0.14'>hvm</type>
> 
> BTW: also the win7 32bit machine shutdowns when using qxl video adapter....
> Gianluca


More information about the virt mailing list