Re: Making panic great again

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

 



On Fri, Apr 28, 2017 at 1:46 AM, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
> With the watchdog we have a much wider set of actions that we can
> instruct QEMU to do:
>
>     'reset' — default, forcefully reset the guest
>     'shutdown' — gracefully shutdown the guest (not recommended)
>     'poweroff' — forcefully power off the guest
>     'pause' — pause the guest
>     'none' — do nothing
>     'dump' — automatically dump the guest Since 0.8.7
>     'inject-nmi' — inject a non-maskable interrupt into the guest Since 1.2.17
>
> IMHO, we need an RFE against QEMU to allow pvpanic to have the same kind
> of configurability as watchdog. So instead of QEMU blindly pausing the
> guest, it can be told 'none' at which point libvirt can emit the event
> and the admin can decide what further action they wish to take, if any.

I agree the panic device should support the same actions as the watchdog does.

All of them could be implemented without changing QEMU, though. For
example libvirt could implement the 'none' action by resuming the
guest. That means the guest still gets paused briefly, but I'd view
fixing this as more of a performance optimization than a prerequisite
for supporting the full set of actions.

--Ed

--
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