* On 2012-08-21 07:42:31 +0200, Gerd Hoffmann (kra...@redhat.com) wrote:
> On 08/21/12 06:49, Amos Kong wrote:
> > On 20/08/12 22:18, Lucas Meneghel Rodrigues wrote:
> >> On Mon, 2012-08-20 at 08:24 +0200, Gerd Hoffmann wrote:
> >>> On 08/20/12 07:57, yunzh...@redhat.com wrote:
> >>>> From: Yunping Zheng<yunzh...@redhat.com>
> >>>>
> >>>> we can config whether or not qemu to start in stopped state (via -S),
> >>>> then start the guest via cont monitor command.
> >>>
> >>> What do you need this for?
> > 
> > CPU is always frozen at startup. Yunping's patch makes this configurable.
> 
> I don't think it should be configurable and try to understand why you
> want it.
me2, All the patches leaves this "freeze_cpu" parameter to 'yes'.
Yunping, could you give us some example of the situation which this
parameter should be 'no'?

> 
> > -----------------------
> > {'execute': 'cont'}
> > {
> >     "error": {
> >         "class": "MigrationExpected",
> >         "desc": "An incoming migration is expected before this command
> > can be executed"
> >     }
> > }
> > -----------------------
> > (qemu) cont
> > An incoming migration is expected before this command can be executed
> > -----------------------
> 
> Ok.  That is clearly a bug which should be fixed.  Working around by
> adding a new config option isn't a good idea IMHO.
I guest we can check guest status here.
"""
# qemu-kvm -S -incoming tcp:0:1234 -monitor stdio -vnc :0
QEMU 1.1.50 monitor - type 'help' for more information
(qemu) info status
VM status: paused (inmigrate)
(qemu) cont
An incoming migration is expected before this command can be executed
(qemu) q

# qemu-kvm -S -monitor stdio -vnc :0
QEMU 1.1.50 monitor - type 'help' for more information
(qemu) info status
VM status: paused (prelaunch)
(qemu) cont
(qemu)

"""

Plan B is just ignore this error msg, if autotest gets this error msg
from monitor, just return directly.

> 
> cheers,
>   Gerd
> 
> _______________________________________________
> Autotest-kernel mailing list
> Autotest-kernel@redhat.com
> https://www.redhat.com/mailman/listinfo/autotest-kernel

_______________________________________________
Autotest-kernel mailing list
Autotest-kernel@redhat.com
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to