Red Hat Bugzilla – Bug 841061
the src spice client show black screen before migration finish
Last modified: 2013-01-09 20:03:53 EST
Description of problem:
boot guest with spice,then do migration -->the src spice client cut off(before migration finish)-->open src spice client again--->show black screen
Version-Release number of selected component (if applicable):
# uname -r
# rpm -q kvm
# rpm -q spice-client
Steps to Reproduce:
1.boot guest with spice
/usr/libexec/qemu-kvm -m 4G -smp 4 -usbdevice tablet -drive file=/mnt/rhel5.8-test2.qcow2,if=virtio,boot=on,werror=stop,cache=none,format=qcow2,media=disk -net nic,macaddr=4a:22:15:26:29:31,model=virtio,vlan=0 -net tap,script=/etc/qemu-ifup,vlan=0 -uuid d06e43e7-d27a-4b04-b99a-d30d898ca64f -cdrom /mnt/RHEL5.8-Server-20120202.0-x86_64-DVD.iso -boot d -monitor stdio -spice host=0,ic=on,port=2000,disable-ticketing -qxl 1
3.(qemu)migrate -d tcp:0:5999
Migration status: active
transferred ram: 13311 kbytes
remaining ram: 2591912 kbytes
total ram: 4280408 kbytes
#spicec -h 10.66.4.183 -p 2000
connect : Connection refused
open the src spice client again-->show block screen
before migrate finish,the src spice client should work normally.
1)after migrate finish.the src spice client is normal ,can see the screen again
2)test this with windown2008,also have the same problem
3)use vnc to test the src client work well.
do the same test on rhel6.3 host ,not hit the issue.the src spice client work well.
Created attachment 598774 [details]
before migration finish ,the src spice client result
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release. Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products. This request is not yet committed for inclusion in
you mean that the client is closed everytime migration occurs?
Please provide the qemu logs for both the migration src and the migration destination. Also provide the spice client log (under ~/.spicec/spicec.log).
The destination is rhel5 as well?
The issue to be investigated here is the client being disconnected from the src.
The black screen upon reconnection to the src during migration is not surprising, since in Rhel5 spice blocks new connection once migration has started.
(In reply to comment #5)
> you mean that the client is closed everytime migration occurs?
> Please provide the qemu logs for both the migration src and the migration
> destination. Also provide the spice client log (under ~/.spicec/spicec.log).
> The destination is rhel5 as well?
yes,do the local migration
> The issue to be investigated here is the client being disconnected from the
> The black screen upon reconnection to the src during migration is not
> surprising, since in Rhel5 spice blocks new connection once migration has
Yonit, follow above description,this is a normal phenomenon,right?thanks
the src qemu log please see attachment: src.log
the des qemu log please see attachment:des.log
the spicec log please see spicec.log
Created attachment 599047 [details]
Created attachment 599048 [details]
Created attachment 599049 [details]
I think your migration cmd line is incomplete. In rhel5, in order to include spice in the migration, the cmd line should be:
migrate -d tcp:<dst-host>:<dst-port>,spiceport=<dst-spice-port>,spicehost=<dst-host>
Please let me know if now it works.
you are right.use cmd line "migrate -d tcp:<dst-host>:<dst-port>,spiceport=<dst-spice-port>,spicehost=<dst-host>",it work now.not show dark screen.thanks a lot.