[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 04/10] acpi: Power and Sleep ACPI buttons are not emulated
On Sun, Nov 06, 2016 at 04:42:37PM -0500, Boris Ostrovsky wrote: > .. for PVH guests. However, since emulating them for HVM guests > also doesn't seem useful we can have FADT disable those buttons > for both types of guests. Wait, we need S3 suspend for HVM guests (think Windows without PV drivers)! And I this is how we "inject" the event to the guest. CC-ing Annie and Adnan who I believe had to do something like this in old version of OVS, maybe they can recall more details. > > Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> > --- > tools/libacpi/static_tables.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tools/libacpi/static_tables.c b/tools/libacpi/static_tables.c > index 413abcc..ebe8ffe 100644 > --- a/tools/libacpi/static_tables.c > +++ b/tools/libacpi/static_tables.c > @@ -61,7 +61,8 @@ struct acpi_20_fadt Fadt = { > .flags = (ACPI_PROC_C1 | > ACPI_WBINVD | > ACPI_FIX_RTC | ACPI_TMR_VAL_EXT | > - ACPI_USE_PLATFORM_CLOCK), > + ACPI_USE_PLATFORM_CLOCK | > + ACPI_PWR_BUTTON | ACPI_SLP_BUTTON), > > .reset_reg = { > .address_space_id = ACPI_SYSTEM_IO, > -- > 2.7.4 > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxx > https://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |