[PATCH 0/3] Reflect MAC change in live domain XML

Michal Privoznik via Devel posted 3 patches 1 month, 1 week ago
There is a newer version of this series
docs/formatdomain.rst               |  5 ++
examples/c/misc/event-test.c        | 14 +++++
include/libvirt/libvirt-domain.h    | 28 +++++++++
src/conf/domain_conf.c              |  6 ++
src/conf/domain_conf.h              |  3 +
src/conf/domain_event.c             | 93 +++++++++++++++++++++++++++++
src/conf/domain_event.h             | 12 ++++
src/conf/schemas/domaincommon.rng   |  5 ++
src/libvirt_private.syms            |  2 +
src/qemu/qemu_domain.c              | 48 ++++++++++++++-
src/qemu/qemu_domain.h              |  3 +-
src/qemu/qemu_driver.c              | 11 ++--
src/qemu/qemu_process.c             |  2 +-
src/remote/remote_daemon_dispatch.c | 32 ++++++++++
src/remote/remote_driver.c          | 34 +++++++++++
src/remote/remote_protocol.x        | 17 +++++-
tools/virsh-domain-event.c          | 20 +++++++
17 files changed, 327 insertions(+), 8 deletions(-)
[PATCH 0/3] Reflect MAC change in live domain XML
Posted by Michal Privoznik via Devel 1 month, 1 week ago
Original RFC:

https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/U274MIGIYRGFTPCAPG237JH3P2EGCWIG/#IWFCKHLWHAOIJPJGYKJE7X666FODUM53

Changes since:

1) instead of overwriting the original `address` attribute, new attribute
(`guestAddress`) is invented so that  both new and old MAC addresses can
be shown, eventually.

2) rebase, libvirt version change, ...

Michal Prívozník (3):
  qemu: Reflect MAC address change in live domain XML
  Introduce NIC_MAC_CHANGE event
  qemu: Emit NIC_MAC_CHANGE event

 docs/formatdomain.rst               |  5 ++
 examples/c/misc/event-test.c        | 14 +++++
 include/libvirt/libvirt-domain.h    | 28 +++++++++
 src/conf/domain_conf.c              |  6 ++
 src/conf/domain_conf.h              |  3 +
 src/conf/domain_event.c             | 93 +++++++++++++++++++++++++++++
 src/conf/domain_event.h             | 12 ++++
 src/conf/schemas/domaincommon.rng   |  5 ++
 src/libvirt_private.syms            |  2 +
 src/qemu/qemu_domain.c              | 48 ++++++++++++++-
 src/qemu/qemu_domain.h              |  3 +-
 src/qemu/qemu_driver.c              | 11 ++--
 src/qemu/qemu_process.c             |  2 +-
 src/remote/remote_daemon_dispatch.c | 32 ++++++++++
 src/remote/remote_driver.c          | 34 +++++++++++
 src/remote/remote_protocol.x        | 17 +++++-
 tools/virsh-domain-event.c          | 20 +++++++
 17 files changed, 327 insertions(+), 8 deletions(-)

-- 
2.48.1