Bug 912218

Summary: "qxl_send_events: spice-server bug: guest stopped, ignoring" when start guest with "-vnc" option
Product: Red Hat Enterprise Linux 7 Reporter: Xu Tian <xutian>
Component: qemu-kvmAssignee: Hai Huang <hhuang>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, hhuang, juzhang, mazhang, michen, virt-maint, xutian
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-09 11:21:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dump sreen in loop none

Description Xu Tian 2013-02-18 06:59:05 UTC
Description of problem:

boot up guest in rhel7 host then, do screen via qmp monitor in loop, qemu report error message: "qxl_send_events: spice-server bug: guest stopped, ignoring".

Version-Release number of selected component (if applicable):

spice-server-0.12.2-1.el7.x86_64
qemu-kvm-1.3.0-5.el7.x86_64

How reproducible:

>70%

Steps to Reproduce:
1. boot guest with command:
/usr/libexec/qemu-kvm \
   -name 'vm1' \
   -nodefaults \
   -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20130218-115355-PCCpIknq,server,nowait \
   -mon chardev=qmp_id_qmpmonitor1,mode=control \
   -chardev socket,id=serial_id_serial1,path=/tmp/serial-serial1-20130218-115355-PCCpIknq,server,nowait \
   -device isa-serial,chardev=serial_id_serial1 \
   -chardev socket,id=seabioslog_id_20130218-115355-PCCpIknq,path=/tmp/seabios-20130218-115355-PCCpIknq,server,nowait \
   -device isa-debugcon,chardev=seabioslog_id_20130218-115355-PCCpIknq,iobase=0x402 \
   -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=0x4 \
   -drive file='/root/autotest-devel/client/tests/kvm/images/RHEL-Server-6.4-64-virtio.qcow2',if=none,id=drive-virtio-disk1,media=disk,cache=writethrough,boot=off,snapshot=off,format=qcow2,aio=native \
   -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1 \
   -device virtio-net-pci,netdev=idN2EGXC,mac=9a:6f:70:71:72:73,bus=pci.0,addr=0x3,id='idKERTJq' \
   -netdev tap,id=idN2EGXC,vhost=on,fd=19 \
   -m 4096 \
   -smp 4,maxcpus=4,cores=2,threads=1,sockets=2 \
   -cpu 'SandyBridge' \
   -M pc \
   -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \
   -vnc :0 \
   -vga qxl \
   -global qxl-vga.vram_size=33554432 \
   -rtc base=utc,clock=host,driftfix=slew \
   -boot order=cdn,once=c,menu=off \
   -no-kvm-pit-reinjection \
   -enable-kvm

2. resume guest via send cont command to monitor
3. dump screen via send  screendump command to monitor
  
Actual results:

qemu print qxl_send_events: spice-server bug: guest stopped, ignoring when start guest with  -vnc

Expected results:

no error print out when display server is vnc

Additional info:

related code add this commit: 5731e4f4f8b0e65d472fc4428b014031acb97ce4

Comment 2 juzhang 2013-02-19 04:00:41 UTC
FYI
https://bugzilla.redhat.com/show_bug.cgi?id=896407.
Bug 896407 - Guest hang when boot with vnc and qxl

Comment 3 Hai Huang 2013-08-08 18:01:02 UTC
Possible to re-test this with a more recent RHEL7.0 compose?  Thanks.

Comment 4 Xu Tian 2013-08-09 07:20:44 UTC
Created attachment 784739 [details]
dump sreen in loop

not reporduce with qemu-kvm-1.5.2-2.el7.x86_64 package, see script in attachment

Thanks,
Xu