Comment 8 for bug 1381383

Revision history for this message
Tenho Tuhkala (muppis) wrote : Re: Vm destroyed when created virsh create without --autodestroy

This is not really about virt-install nor virt-manager (other listed virtual machines are created with it), it's about how virsh handles vm creation from xml. With define -command it stays at it should, with create -command it stays only when virsh is connected and/or vm is running, which behaviour isn't described anywhere and thus I considered as a bug in virsh.
As you can see from grep, all other vm got in on_poweroff -tag destroy as well and they stay persistent because they got a appropriate flag set. virsh create doesn't set it as it should according to the manual, or there's misinformation about this in manual.