On Thu, Mar 01, 2018 at 12:57:59PM +0000, procmem wrote:
Daniel P. Berrangé:
> On Wed, Feb 28, 2018 at 11:13:46PM +0000, procmem wrote:
>> Where can I find the full list of libvirt supported qemu-ga commands?
>> The docs [0] imply virDomainQemuAgentCommand bypasses libvirt and is not
>> recommended.
>>
>> I am looking to pass suspend/resume events from the host to the guest
>> and then have the guest act on this internally. Your help is appreciated.
>
> By suspend/resume, do you mean ACPI S3 suspend-to-ram events ?
>
> If so, that doesn't require guest agent involvement at all. Just requires
>
> virsh dompmsuspend
> virsh dompmwakeup
>
> Regards,
> Daniel
>
I see. Thats simpler but will the guest be "sentient" about the fact
that it had just been resumed? I need it to know so that it triggers
specific events in this case.
This works the same way as it does on physical hardware.
Regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|