Re: [PATCH] qemu: Honour <on_reboot/>

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

 



Hi Michal,

Replying to an old thread:

On Fri, Aug 4, 2017 at 9:55 AM, Michal Privoznik <mprivozn@xxxxxxxxxx> wrote:

> I think this patch enables exactly that. The VM admins don't start the
> domains by hand but probably have some SW that starts configured domains
> whenever not running. E.g. if one domain crashes, the mgmt SW starts it
> up again. With such SW in place this patch is exactly what's been missing.

> Alternatively, we can introduce new <on_reboot/> target, say "reinit"
> that would kill the qemu process and start a new one instead.

I could also really use something like that.
I have no control about when my customers reboot, but when they do,
for a kernel update for instance, that's the perfect moment for the vm
to restart with new configuration.

Right now I have an external process with an event loop that looks for
the reboot event for all domains, combined with
<on_reboot>destroy</on_reboot>.
That works, but I prefer if libvirt would handle this.

>
> Michal

Kind regards,

Ruben Kerkhof

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux