Re: [PATCH] qemu-kvm: Handle -no-shutodwn

2009-05-20 Thread Daniel Gollub
On Wednesday 20 May 2009 01:51:16 pm Avi Kivity wrote:
> Daniel Gollub wrote:
> > Plain QEMU has the parameter -no-shutdown. This avoids termination of the
> > qemu process when VM got shutdown (e.g. to still use the QEMU-Monitor
> > with stopped VM). This parameter has no effect on qemu-kvm, today.
> >
> > This patch introduces identical handling, as in qemu, of -no-shutdown for
> > qemu-kvm:
> >
> >  * termination of qemu-kvm process on a VM shutdown get only avoided once
> >  * second shutdown of VM cause termination of qemu-kvm (like in qemu)
> >
> >  
>
> Applied, thanks.
>
> What is the reason for the wierd semantics?

No idea.

> I'd expect -no-shutdown to
> keep functioning even after the first shutdown.

I would prefer something like this as well. But this way it's 1:1 the same 
behavior as with plain QEMU. I'll prepare a propsoal + patch for changing this 
in QEMU. If this gets accepted i'll changed it for qemu-kvm as well.

Best Regards,
Daniel

-- 
Daniel GollubGeschaeftsfuehrer: Ralph Dehner
FOSS Developer   Unternehmenssitz:  Vohburg
B1 Systems GmbH  Amtsgericht:   Ingolstadt
Mobil: +49-(0)-160 47 73 970 Handelsregister:   HRB 3537
EMail: gol...@b1-systems.de  http://www.b1-systems.de

Adresse: B1 Systems GmbH, Osterfeldstraße 7, 85088 Vohburg
http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0xED14B95C2F8CA78D
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] qemu-kvm: Handle -no-shutodwn

2009-05-20 Thread Avi Kivity

Daniel Gollub wrote:

Plain QEMU has the parameter -no-shutdown. This avoids termination of the qemu
process when VM got shutdown (e.g. to still use the QEMU-Monitor with stopped
VM). This parameter has no effect on qemu-kvm, today.

This patch introduces identical handling, as in qemu, of -no-shutdown for
qemu-kvm:

 * termination of qemu-kvm process on a VM shutdown get only avoided once
 * second shutdown of VM cause termination of qemu-kvm (like in qemu)

  


Applied, thanks.

What is the reason for the wierd semantics?  I'd expect -no-shutdown to 
keep functioning even after the first shutdown.


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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html