[libvirt-users] vms not persistent after upgrading to f22?

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?

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

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

On 08/27/2015 11:55 PM, Spanky Horawitz wrote:
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.
Yes, that works. I can use define then start to do what create does. Thanks!
-----Original Message----- *From*: Michal Privoznik <mprivozn@redhat.com <mailto:Michal%20Privoznik%20%3cmprivozn@redhat.com%3e>> *To*: Rich Megginson <rmeggins@redhat.com <mailto:Rich%20Megginson%20%3crmeggins@redhat.com%3e>>, libvirt-users@redhat.com <libvirt-users@redhat.com <mailto:%22libvirt-users@redhat.com%22%20%3clibvirt-users@redhat.com%3e>> *Cc*: Pavel Hrdina <phrdina@redhat.com <mailto:Pavel%20Hrdina%20%3cphrdina@redhat.com%3e>> *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 <mailto:virt-tools-list@redhat.com>. Or maybe Pavel [CC'ed] has some thoughts on this.
Michal
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com <mailto:libvirt-users@redhat.com> https://www.redhat.com/mailman/listinfo/libvirt-users
participants (3)
-
Michal Privoznik
-
Rich Megginson
-
Spanky Horawitz