qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC] Introduce vm_stop_permanent()


From: Avi Kivity
Subject: Re: [Qemu-devel] [RFC] Introduce vm_stop_permanent()
Date: Thu, 28 Jul 2011 16:37:01 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc15 Thunderbird/3.1.11

On 07/28/2011 04:31 PM, Luiz Capitulino wrote:
On Thu, 28 Jul 2011 10:23:22 +0300
Avi Kivity<address@hidden>  wrote:

>  On 07/28/2011 12:44 AM, Blue Swirl wrote:
>  >  On Wed, Jul 27, 2011 at 9:42 PM, Luiz Capitulino<address@hidden>   wrote:
>  >  >   This function should be used when the VM is not supposed to resume
>  >  >   execution (eg. by issuing 'cont' monitor command).
>  >  >
>  >  >   Today, we allow the user to resume execution even when:
>  >  >
>  >  >     o the guest shuts down and -no-shutdown is used
>  >  >     o there's a kvm internal error
>  >  >     o loading the VM state with -loadvm or "loadvm" in the monitor fails
>  >  >
>  >  >   I think only badness can happen from the cases above.
>  >
>  >  I'd suppose a system_reset should bring the system back to sanity and
>  >  then clear vm_permanent_stopped (where's -ly?)

What's -ly?


permanent-ly.

>  >  except maybe for KVM
>  >  internal error if that can't be recovered. Then it would not very
>  >  permanent anymore, so the name would need adjusting.
>
>  Currently, all kvm internal errors are recoverable by reset (and
>  possibly by fiddling with memory/registers).

Ok, but a poweroff in the guest isn't recoverable with system_reset
right? Or does it depend on the guest?

Right, it's not recoverable if you shut the power down where the tractor beam is coupled to the main reactor.

I get funny results if qemu is started with -no-shutdown and I run cont after
a poweroff in a F15 guest. Sometimes qemu will exit after a few seconds,
sometimes 'info status' will say 'running'.

Yes, best fixed.

--
error compiling committee.c: too many arguments to function




reply via email to

[Prev in Thread] Current Thread [Next in Thread]