qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] After executing "savevm", the QEMU process is hanging
@ 2013-04-01 11:45 Liuji (Jeremy)
  2013-04-08 12:11 ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: Liuji (Jeremy) @ 2013-04-01 11:45 UTC (permalink / raw)
  To: qemu-devel@nongnu.org; +Cc: Luohao (brian), Haofeng

Hello, everyone

After executing the "savevm" command, the QEMU process is hanging.
But in the v1.4.0, it's no problem.

Host OS: Fedora 17 x86_64
Qemu: the latest(2013-04-01)
Quest OS: WinXP

1) Use the following command to start the VM:
    qemu-kvm -enable-kvm -name winxp -M pc-0.15 -m 1024 -smp 2 -boot c -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 
    -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive file=/home/test/winxp.qcow2,if=virtio,index=0,format=qcow2 
    -net nic,model=virtio,macaddr=52:54:00:05:11:12 -monitor stdio -chardev spicevmc,id=charchannel0,name=vdagent 
    -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -chardev pty,id=charchannel1 
    -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=arbitrary.virtio.serial.port.name -device usb-tablet,id=input0 
    -spice port=3001,addr=186.100.8.131,disable-ticketing,plaintext-channel=main,plaintext-channel=playback,plaintext-channel=record,image-compression=auto_glz 
    -vga qxl -global qxl-vga.vram_size=67108864 -device AC97,id=sound0,bus=pci.0,addr=0x4
2) Execute the "savevm" command in the qemu monitor.
   After a long time (>20minute), the qemu process is still hanging.

Who can give me some advice?

Best Regards,
 
Jeremy Liu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] After executing "savevm", the QEMU process is hanging
  2013-04-01 11:45 [Qemu-devel] After executing "savevm", the QEMU process is hanging Liuji (Jeremy)
@ 2013-04-08 12:11 ` Stefan Hajnoczi
  2013-04-08 13:39   ` Liuji (Jeremy)
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2013-04-08 12:11 UTC (permalink / raw)
  To: Liuji (Jeremy); +Cc: Luohao (brian), qemu-devel@nongnu.org, Haofeng

On Mon, Apr 01, 2013 at 11:45:13AM +0000, Liuji (Jeremy) wrote:
> Hello, everyone
> 
> After executing the "savevm" command, the QEMU process is hanging.
> But in the v1.4.0, it's no problem.
> 
> Host OS: Fedora 17 x86_64
> Qemu: the latest(2013-04-01)
> Quest OS: WinXP
> 
> 1) Use the following command to start the VM:
>     qemu-kvm -enable-kvm -name winxp -M pc-0.15 -m 1024 -smp 2 -boot c -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 
>     -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive file=/home/test/winxp.qcow2,if=virtio,index=0,format=qcow2 
>     -net nic,model=virtio,macaddr=52:54:00:05:11:12 -monitor stdio -chardev spicevmc,id=charchannel0,name=vdagent 
>     -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -chardev pty,id=charchannel1 
>     -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=arbitrary.virtio.serial.port.name -device usb-tablet,id=input0 
>     -spice port=3001,addr=186.100.8.131,disable-ticketing,plaintext-channel=main,plaintext-channel=playback,plaintext-channel=record,image-compression=auto_glz 
>     -vga qxl -global qxl-vga.vram_size=67108864 -device AC97,id=sound0,bus=pci.0,addr=0x4
> 2) Execute the "savevm" command in the qemu monitor.
>    After a long time (>20minute), the qemu process is still hanging.
> 
> Who can give me some advice?

Have you tried qemu.git/master?

Once you find out which version works and which is broken, you can use
git-bisect(1) to find the commit that broke "savevm".

Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] After executing "savevm", the QEMU process is hanging
  2013-04-08 12:11 ` Stefan Hajnoczi
@ 2013-04-08 13:39   ` Liuji (Jeremy)
  2013-04-08 14:09     ` Orit Wasserman
  0 siblings, 1 reply; 4+ messages in thread
From: Liuji (Jeremy) @ 2013-04-08 13:39 UTC (permalink / raw)
  To: Stefan Hajnoczi, owasserm@redhat.com, quintela@redhat.com
  Cc: Luohao (brian), qemu-devel@nongnu.org, Haofeng

Hi, Stefan

Thanks for your reply.

I have test the latest version of qemu.git/master(commit:9196dd411d580c27f85daa209ff9a501d719ebc0,2013-04-06). 
But, this problem still exists.

This problem appears after the commit(500f0061d628b52220038939728f0d7aee634468, Use qemu_put_buffer_async for guest memory pages).
But I'm not sure why this commit cause this problem.

I simplified the qemu-kvm command to the below:
qemu-system-x86_64 --enable-kvm -m 1024 -smp 2 -boot c -drive file=/home/test/winxp.qcow2,
                   if=virtio,index=0,format=qcow2 -monitor stdio -vnc 186.100.8.131:1

Best Regards,

Jeremy Liu

> Re: [Qemu-devel] After executing "savevm", the QEMU process is
> hanging
> 
> On Mon, Apr 01, 2013 at 11:45:13AM +0000, Liuji (Jeremy) wrote:
> > Hello, everyone
> >
> > After executing the "savevm" command, the QEMU process is hanging.
> > But in the v1.4.0, it's no problem.
> >
> > Host OS: Fedora 17 x86_64
> > Qemu: the latest(2013-04-01)
> > Quest OS: WinXP
> >
> > 1) Use the following command to start the VM:
> >     qemu-kvm -enable-kvm -name winxp -M pc-0.15 -m 1024 -smp 2 -boot c
> -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2
> >     -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive
> file=/home/test/winxp.qcow2,if=virtio,index=0,format=qcow2
> >     -net nic,model=virtio,macaddr=52:54:00:05:11:12 -monitor stdio
> -chardev spicevmc,id=charchannel0,name=vdagent
> >     -device
> virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,na
> me=com.redhat.spice.0 -chardev pty,id=charchannel1
> >     -device
> virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,na
> me=arbitrary.virtio.serial.port.name -device usb-tablet,id=input0
> >     -spice
> port=3001,addr=186.100.8.131,disable-ticketing,plaintext-channel=main,plaint
> ext-channel=playback,plaintext-channel=record,image-compression=auto_glz
> >     -vga qxl -global qxl-vga.vram_size=67108864 -device
> AC97,id=sound0,bus=pci.0,addr=0x4
> > 2) Execute the "savevm" command in the qemu monitor.
> >    After a long time (>20minute), the qemu process is still hanging.
> >
> > Who can give me some advice?
> 
> Have you tried qemu.git/master?
> 
> Once you find out which version works and which is broken, you can use
> git-bisect(1) to find the commit that broke "savevm".
> 
> Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] After executing "savevm", the QEMU process is hanging
  2013-04-08 13:39   ` Liuji (Jeremy)
@ 2013-04-08 14:09     ` Orit Wasserman
  0 siblings, 0 replies; 4+ messages in thread
From: Orit Wasserman @ 2013-04-08 14:09 UTC (permalink / raw)
  To: Liuji (Jeremy)
  Cc: Stefan Hajnoczi, Luohao (brian), qemu-devel@nongnu.org, Haofeng,
	quintela@redhat.com

Hi,
Paolo send a patch series today fixing a problem with savevm
http://www.mail-archive.com/qemu-devel@nongnu.org/msg165135.html
Can you check if it solves the issue?

Regards,
Orit

On 04/08/2013 04:39 PM, Liuji (Jeremy) wrote:
> Hi, Stefan
> 
> Thanks for your reply.
> 
> I have test the latest version of qemu.git/master(commit:9196dd411d580c27f85daa209ff9a501d719ebc0,2013-04-06). 
> But, this problem still exists.
> 
> This problem appears after the commit(500f0061d628b52220038939728f0d7aee634468, Use qemu_put_buffer_async for guest memory pages).
> But I'm not sure why this commit cause this problem.
> 
> I simplified the qemu-kvm command to the below:
> qemu-system-x86_64 --enable-kvm -m 1024 -smp 2 -boot c -drive file=/home/test/winxp.qcow2,
>                    if=virtio,index=0,format=qcow2 -monitor stdio -vnc 186.100.8.131:1
> 
> Best Regards,
> 
> Jeremy Liu
> 
>> Re: [Qemu-devel] After executing "savevm", the QEMU process is
>> hanging
>>
>> On Mon, Apr 01, 2013 at 11:45:13AM +0000, Liuji (Jeremy) wrote:
>>> Hello, everyone
>>>
>>> After executing the "savevm" command, the QEMU process is hanging.
>>> But in the v1.4.0, it's no problem.
>>>
>>> Host OS: Fedora 17 x86_64
>>> Qemu: the latest(2013-04-01)
>>> Quest OS: WinXP
>>>
>>> 1) Use the following command to start the VM:
>>>     qemu-kvm -enable-kvm -name winxp -M pc-0.15 -m 1024 -smp 2 -boot c
>> -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2
>>>     -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive
>> file=/home/test/winxp.qcow2,if=virtio,index=0,format=qcow2
>>>     -net nic,model=virtio,macaddr=52:54:00:05:11:12 -monitor stdio
>> -chardev spicevmc,id=charchannel0,name=vdagent
>>>     -device
>> virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,na
>> me=com.redhat.spice.0 -chardev pty,id=charchannel1
>>>     -device
>> virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,na
>> me=arbitrary.virtio.serial.port.name -device usb-tablet,id=input0
>>>     -spice
>> port=3001,addr=186.100.8.131,disable-ticketing,plaintext-channel=main,plaint
>> ext-channel=playback,plaintext-channel=record,image-compression=auto_glz
>>>     -vga qxl -global qxl-vga.vram_size=67108864 -device
>> AC97,id=sound0,bus=pci.0,addr=0x4
>>> 2) Execute the "savevm" command in the qemu monitor.
>>>    After a long time (>20minute), the qemu process is still hanging.
>>>
>>> Who can give me some advice?
>>
>> Have you tried qemu.git/master?
>>
>> Once you find out which version works and which is broken, you can use
>> git-bisect(1) to find the commit that broke "savevm".
>>
>> Stefan
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-08 14:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-01 11:45 [Qemu-devel] After executing "savevm", the QEMU process is hanging Liuji (Jeremy)
2013-04-08 12:11 ` Stefan Hajnoczi
2013-04-08 13:39   ` Liuji (Jeremy)
2013-04-08 14:09     ` Orit Wasserman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).