search for: vir_domain_event_defined

Displaying 2 results from an estimated 2 matches for "vir_domain_event_defined".

2020 Oct 01
4
Determining when a guest booted / how long it's been running
An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20200930/950e3814/attachment.htm>
2020 Oct 01
0
Re: Determining when a guest booted / how long it's been running
...there a way to tell when a tool made a change to guest (ie: used > virt-manager to make a change)? Following, is there a way to check to > see if there are changes queued to take effect when the guest next reboots? > You can listen for events. For changes to inactive XML you will get VIR_DOMAIN_EVENT_DEFINED+VIR_DOMAIN_EVENT_DEFINED_UPDATED lifecycle event (+reason) and for changes to live XML (like hotplug and hotunplug) you'll get DEVICE_ADDED or DEVICE_REMOVED. But there is no API/virsh command that you could call to get the timestamp of last modification. You have to listen for events. And...