Re: Bhyve: acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND

2013-10-29 Thread Peter Grehan

Hi Aryeh,


  Yes. bhyve doesn't advertise sleep/power states [...]


When (if ever) is such support planned?  It is needed to monitor the
current state of the vm so that automated tools like PetiteCloud and
FreeNAS can know when to issue any clean up commands they may need to run


 Not sure what you're looking for here: something inside the guest that 
is told when the host is shutting down or suspending ?



Also what are the current plans on suspend/resume?


 Slowly getting to it.

later,

Peter.

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Fwd: Bhyve: acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND

2013-10-29 Thread Aryeh Friedman
-- Forwarded message --
From: Aryeh Friedman aryeh.fried...@gmail.com
Date: Tue, Oct 29, 2013 at 6:23 PM
Subject: Re: Bhyve: acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND
To: Peter Grehan gre...@freebsd.org





On Tue, Oct 29, 2013 at 6:15 PM, Peter Grehan gre...@freebsd.org wrote:

 Hi Aryeh,


Yes. bhyve doesn't advertise sleep/power states [...]


 When (if ever) is such support planned?  It is needed to monitor the
 current state of the vm so that automated tools like PetiteCloud and
 FreeNAS can know when to issue any clean up commands they may need to run


  Not sure what you're looking for here: something inside the guest that is
 told when the host is shutting down or suspending ?


More like the ability of the host to tell the guest to reboot
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: Bhyve: acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND

2013-10-28 Thread Peter Grehan

Hi Craig,


I notice that in BHyve, if I try to do shutdown -p now,
there is an ACPI error:

==
Halting and powering down...
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...at
Syncing disks, vnodes remaining...0 done
All buffers synced.
Uptime: 17s
acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND

The operating system has halted.
Please press any key to reboot.

==

Is that a known issue?


 Yes. bhyve doesn't advertise sleep/power states so it can't deal with 
an attempt to invoke ACPI methods to enter those.


 But, we should probably be able to put something in the DSDT that will 
force an exit.



Is there another way to trigger a BHyve VM to shutdown from
inside the VM?  Right now I need to bhyve --destroy --vm=myvm.


 reboot and halt will both work fine.

later,

Peter.

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: Bhyve: acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND

2013-10-28 Thread Aryeh Friedman
On Mon, Oct 28, 2013 at 8:50 PM, Peter Grehan gre...@freebsd.org wrote:

  Yes. bhyve doesn't advertise sleep/power states [...]


When (if ever) is such support planned?  It is needed to monitor the
current state of the vm so that automated tools like PetiteCloud and
FreeNAS can know when to issue any clean up commands they may need to run

Also what are the current plans on suspend/resume?
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org