Libvirt: Enable Panic Device Notification

Registered by Vladik Romanovsky

A Panic device has been introduced to QEMU and has Libvirt support since
version 1.2.1 Using this device, the guest can notify the host once a guest
panic has occurred, by sending an event to qemu, that in it's turn will notify
Libvirt. Libvirt has controls for how it can react to such an event; either by
restarting or shunting down the guest.

In addition, Libvirt has a mechanism to automatically save guest crash dumps
to a dedicated location on a host. Enabling the panic device for guest instances
will allows a crash dump of it to be taken, without the need of kdump running
within the guest.

If kdump and pvpanic are both enabled for the same guest, kdump takes
precedence over pvpanic.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Vladik Romanovsky
Direction:
Needs approval
Assignee:
Vladik Romanovsky
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/libvirt-enable-pvpanic,n,z

Addressed by: https://review.openstack.org/216719
    libvirt: support pvpanic device

Addressed by: https://review.openstack.org/275219
    WIP - libvirt: support pvpanic device

Addressed by: https://review.openstack.org/551224
    Enable panic device

How this is different from the already supported watchdog device? See watchdog in https://docs.openstack.org/nova/pike/admin/flavors.html -- gibi 2018-03-09

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.