From: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx> libvirt had introduce pvpanic device since commit 4d18758df88c7b1b646cab37979667a19f858a9c. This patch set will add support for adding and showing panic notifier device in virt-manager. v2: rename device lable from 'panic' to 'panic notifier' adjust UI align add test cases Chen Hanxiao (4): virtinst: add support for panic notifier device virt-manager: add support for showing panic notifier device virt-manager: add support for adding panic notifier device test: add test cases for panic notifier device tests/testdriver.xml | 5 ++ tests/xmlconfig-xml/boot-many-devices.xml | 3 + tests/xmlconfig.py | 5 ++ tests/xmlparse-xml/change-panic-device-in.xml | 62 ++++++++++++++ tests/xmlparse-xml/change-panic-device-out.xml | 62 ++++++++++++++ tests/xmlparse.py | 10 +++ ui/addhardware.ui | 80 ++++++++++++++++- ui/details.ui | 114 ++++++++++++++++++++++++- virtManager/addhardware.py | 42 ++++++++- virtManager/details.py | 28 +++++- virtManager/domain.py | 3 + virtinst/__init__.py | 1 + virtinst/device.py | 4 +- virtinst/devicepanic.py | 44 ++++++++++ 14 files changed, 454 insertions(+), 9 deletions(-) create mode 100644 tests/xmlparse-xml/change-panic-device-in.xml create mode 100644 tests/xmlparse-xml/change-panic-device-out.xml create mode 100644 virtinst/devicepanic.py -- 1.8.2.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list