[PATCH 0/3] Support network interface downscript

Chen Hanxiao chen_han_xiao at 126.com
Thu May 21 13:59:48 UTC 2020


QEMU has the ability to run a script when a NIC is brought up and down. 
Libvirt only enables use of the up script at this time.
This series add support for postscript when NIC is down/detached.

Chen Hanxiao (3):
  downscript: Support network interface downscript
  downscript: add test case
  doc: downscript: updating the documentation

 docs/formatdomain.html.in               |  6 ++-
 docs/schemas/domaincommon.rng           |  8 ++++
 src/conf/domain_conf.c                  |  9 ++++
 src/conf/domain_conf.h                  |  1 +
 src/qemu/qemu_extdevice.c               |  4 ++
 src/qemu/qemu_hotplug.c                 |  6 +++
 tests/qemuxml2argvdata/downscript.xml   | 60 +++++++++++++++++++++++++
 tests/qemuxml2xmloutdata/downscript.xml | 60 +++++++++++++++++++++++++
 tests/qemuxml2xmltest.c                 |  1 +
 9 files changed, 154 insertions(+), 1 deletion(-)
 create mode 100644 tests/qemuxml2argvdata/downscript.xml
 create mode 100644 tests/qemuxml2xmloutdata/downscript.xml

-- 
2.23.0




More information about the libvir-list mailing list