Re: Reload domain configuration on guest restart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 16, 2020 at 06:56:30PM +0100, Gionatan Danti wrote:
> Hi all,
> as you surely know, after changing some domain parameters via libvirt (ie:
> NIC type), the guest need to be shutdown and restarted. A simple reboot will
> not be sufficient, as libvirt will not launch a new qemu domain (ie: the
> same qemu process will be in charge to start the new guest instance).
> 
> It is possible to configure libvirt to start a new qemu domain on guest
> reboot? Can the <on_reboot> domain attribute be used for implementing
> something similar?

With the current impl this is not possible. From a technical POV though
it is possible to extend libvirt to have a <on_reboot>recreate</on_reboot>
option which would kill QEMU & recreate it with the new config. Basically
just needs someone motivated to write the code...

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|





[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux