On Thu, Mar 19, 2020 at 02:42:18PM +0100, Igor Mammedov wrote: > On Thu, 19 Mar 2020 09:01:07 +0100 > Gerd Hoffmann <kra...@redhat.com> wrote: > > > Minimal ACPI device for PCI-less machines like microvm. > it seems that x86 kernel is able to boot on hw-reduced acpi systems > (but I haven't really tested any distro kernel, not sure how usable NEMU is) > > Maybe reusing hw/acpi/generic_event_device.c (which was borrowed > for NEMU effort) would be better since guest won't have to initialize > not necessary interfaces and QEMU could implement simpler hw impl > compared to full ACPI with GPEs, SCIs & co.
I see the generic event device has support for powerdown request events, good. But I'm wondering how entering S5 state (aka poweroff) would work then? cheers, Gerd