On Mon, 08 Aug 2011 16:27:05 +0300 Avi Kivity <a...@redhat.com> wrote:
> On 08/08/2011 04:25 PM, Luiz Capitulino wrote: > > > > > > I'm worried about the following race: > > > > > > stop > > > (qemu stopped for internal reason) > > > stop comment processed > > > > > > resume > > > > > > The (qemu stopped for internal reason) part is lost. > > > > If the "stop" you're referring to happens through vm_stop(), then no, > > it won't be lost because do_vm_stop() doesn't allow qemu to be stopped > > twice. > > What happens then? The user sees an error? It's ignored.