<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Greetings Digimer,</div>

<div>
<div> </div>

<div>regarding the latter, I'd assume that saying vm running you mean that the os is up and running too.</div>

<div>I have similar need, I was able to get something as such to work using virsh console when the guest was a linux with serial console support enabled.</div>

<div>I wasn't able to get this to work in a script as I was never able to terminate the console seesion as virsh console wasn't able to send the termination combination properly.</div>

<div>I'm using expect for automation.</div>

<div> </div>

<div>hope this helps somhow.</div>

<div> </div>

<div>Dagg.
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Sent:</b> Thursday, October 01, 2020 at 4:42 AM<br/>
<b>From:</b> "Digimer" <lists@alteeve.ca><br/>
<b>To:</b> libvirt-users@redhat.com<br/>
<b>Subject:</b> Determining when a guest booted / how long it's been running</div>

<div name="quoted-content">
<p>Hi all,</p>

<p>  Is 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?</p>

<p>  If either of the above are not possible, is there a way to see when a guest last booted or how long a guest has been running?</p>

<p>Thanks!<br/>
 </p>
</div>
</div>
</div>
</div></div></body></html>