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

Re: [Libvir] [patch] qemu/kvm: use_system_powerdown instead of killing the vm hard



On Mon, Jan 14, 2008 at 02:01:40PM +0100, Guido Guenther wrote:
> On Mon, Jan 14, 2008 at 12:28:09PM +0000, Richard W.M. Jones wrote:
> > Guido Guenther wrote:
> >> "sendkey ctrl-alt-delete"
> >> to the monitor which might be very fragile though. Both solutions depend
> >> on the os in the vm doing the right thing (acpi event handling in the
> >> first case).
> >
> > That's not going to work on Windows NT.
> No it isn't but it's making things much better for other OSes. I won't
> insist on this in any way though (this just came along with the
> system_powerdown stuff) but using system_reset is bad either. Using
> system_powerdown and then restarting the domain is probably best. 

Yes, I think we'll have todo a 'system_powerdown' and then set a 'needs
restart' flag in our internal 'strut qemu_vm' so that when the VM is
shutdown, we know that we were supposed to restart it.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 


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