** Attachment added: Virsh commands and output
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1381383/+attachment/4240355/+files/virsh-command.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I made little examination about this issue and full console output, which says
about all, is attached.
So create -command doesn't set Persistent flag to true and doesn't create
related xml to under /etc/libvirt/qemu/ no matter is --autodestroy used or not
where as define -command sets
virt-install is not part of libvirt. It is part of a separate tool,
virtinst. It looks like this command is setting the
on_poweroffdestroy/on_poweroff that you don't want.
I suggest that you read the virt-install documentation carefully, and if
this still doesn't explain its behaviour and you
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
Thank you for your report.
This looks like a local configuration problem, rather than a bug in
Ubuntu.
Your supplied XML contains on_poweroffdestroy/on_poweroff. Your VM
got destroyed on shutdown because this is what you requested.
You can find pointers to get help for this sort of problem
Thank you for your report.
This looks like a local configuration problem, rather than a bug in
Ubuntu.
Your supplied XML contains on_poweroffdestroy/on_poweroff. Your VM
got destroyed on shutdown because this is what you requested.
You can find pointers to get help for this sort of problem
So if I dump vm from other host and try to import it to other I need to
edit it to make stay persistent after poweroff? You can't know it if
it's run for a while (with poweroffs and ons) in host 1 and then you
move it to host 2 and it starts behaving like that.
As you might know, that's it a
It sounds like you have a bigger issue here. Asking libvirt to create a
VM that destroys on poweroff and then having it do that is not a bug.
But perhaps there is a bug in how you ended up with that XML?
As you might know, that's it a default setting of vm...
Really? I am not aware of this.