This version drops modes 'sleep' and 'hybrid' because they don't work properly due to issues in qemu. Only the 'hibernate' mode is supported for now.
Also note that virtio doesn't currently support ACPI S4. There are patches flying on lkml to fix that though. Please refer to patch 2/2 for more details on the implementation. v4 o Drop 'sleep' and 'hybrid' modes o pull in a fix from Michael Roth (patch 1/2) qapi-schema-guest.json | 23 ++++++++++++++++++ qemu-ga.c | 19 +++++++++++++- qga/guest-agent-commands.c | 55 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+), 2 deletions(-)