<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Have you tried:<BR>
virsh define <xml definition file><BR>
<BR>
I thought it odd too that virsh create <xml defintion file> only created a temp instance.  But the first command did what I needed with persistence.<BR>
<BR>
<BR>
-----Original Message-----<BR>
<B>From</B>: Michal Privoznik <<A HREF="mailto:Michal%20Privoznik%20%3cmprivozn@redhat.com%3e">mprivozn@redhat.com</A>><BR>
<B>To</B>: Rich Megginson <<A HREF="mailto:Rich%20Megginson%20%3crmeggins@redhat.com%3e">rmeggins@redhat.com</A>>, libvirt-users@redhat.com <<A HREF="mailto:%22libvirt-users@redhat.com%22%20%3clibvirt-users@redhat.com%3e">libvirt-users@redhat.com</A>><BR>
<B>Cc</B>: Pavel Hrdina <<A HREF="mailto:Pavel%20Hrdina%20%3cphrdina@redhat.com%3e">phrdina@redhat.com</A>><BR>
<B>Subject</B>: Re: [libvirt-users] vms not persistent after upgrading to f22?<BR>
<B>Date</B>: Fri, 28 Aug 2015 06:40:13 +0200<BR>
<BR>
<PRE>
On 27.08.2015 20:28, Rich Megginson wrote:
<FONT COLOR="#737373">> With f21 and earlier, I could just call virt-install to create VMs, and</FONT>
<FONT COLOR="#737373">> they would persist after reboot.</FONT>
<FONT COLOR="#737373">> After upgrading to f22, when I shut off a VM, it is removed, and has to</FONT>
<FONT COLOR="#737373">> be recreated.</FONT>
<FONT COLOR="#737373">> How can I get VMs to persist?  Is there a virsh create or virt-install</FONT>
<FONT COLOR="#737373">> switch to do this?</FONT>

Sounds like a virt-install bug to me. Consider posting it to
<A HREF="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</A>. Or maybe Pavel [CC'ed] has some thoughts on
this.

Michal

_______________________________________________
libvirt-users mailing list
<A HREF="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</A>
<A HREF="https://www.redhat.com/mailman/listinfo/libvirt-users">https://www.redhat.com/mailman/listinfo/libvirt-users</A>
</PRE>
</BODY>
</HTML>