Have you tried:
virsh define <xml definition file>

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.


-----Original Message-----
From: Michal Privoznik <mprivozn@redhat.com>
To: Rich Megginson <rmeggins@redhat.com>, libvirt-users@redhat.com <libvirt-users@redhat.com>
Cc: Pavel Hrdina <phrdina@redhat.com>
Subject: Re: [libvirt-users] vms not persistent after upgrading to f22?
Date: Fri, 28 Aug 2015 06:40:13 +0200

On 27.08.2015 20:28, Rich Megginson wrote:
> With f21 and earlier, I could just call virt-install to create VMs, and
> they would persist after reboot.
> After upgrading to f22, when I shut off a VM, it is removed, and has to
> be recreated.
> How can I get VMs to persist?  Is there a virsh create or virt-install
> switch to do this?

Sounds like a virt-install bug to me. Consider posting it to
virt-tools-list@redhat.com. Or maybe Pavel [CC'ed] has some thoughts on
this.

Michal

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users