[libvirt-users] Changing <on_reboot> in the domain XML file

Sam Varshavchik mrsam at courier-mta.com
Mon Jul 31 16:27:01 UTC 2017


Michal Privoznik writes:

> Libvirt doesn't append -no-reboot because of this commit:
>
> libvirt.org/git/?p=libvirt.git;a=commitdiff;h=0e034efaf9
>
> Having said that, I believe libvirt puts -no-shutdown on your command

Yes, I see that option getting passed in.

> line. Then, libvirt has a handler for various guest events - e.g. when
> the guest reboots (well, when it calls 'reset'). But when looking at its
> implementation it looks like there is something missing:

The end result is that left to its own devices, the guest still reboots,  
with -no-shutdown.

> Therefore I think this is a bug. Let me see if I can propose a fix for
> it. Meanwhile - you can report a bug if you want.

Ok, it's bug 1476866


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170731/3d8be382/attachment.sig>


More information about the libvirt-users mailing list