<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I have a CentOS-7 server running KVM but also oVirt.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Recently, following updates, VMs not handled by oVirt have been deleting themselves after they shut down.  Previously to this, I have not had any problems of this nature.  I cannot say whether the problem is coming from
 oVirt updates or not.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I am creating a VM using "virsh define myvm.xml" on the server, starting it through virt-manager on my local PC, performing work inside the VM and then closing down the operating system inside the VM, and then once it
 has completed shutting down it shows "Shutoff" as the status in virt-manager and then maybe 5 seconds later it disappears from the list entirely and has been deleted.  To start the VM again, requires "virsh define myvm.xml" to be run again.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">What I cannot determine is **why** the VM is deleted.  I am using "virsh define" which I understand should create a persistent VM, and I have enabled "audit_level=2" and "audit_logging=1" in libvirtd.conf but can't see
 anything helpful in the log output (although maybe I don't know what I'm looking for).</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Is anyone, please, able to help me work out what is deleting my VMs once they shut down ... and, if possible, why?!</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Many, many thanks,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Andy</p>
</div>
</body>
</html>