On 5/21/21 9:11 PM, Laine Stump wrote: > see patch 4 for the why. > > Found during testing of https://bugzilla.redhat.com/1939776 > > Laine Stump (4): > qemu_hotplug.c: don't skip cleanup on failures of > qemuDomainAttachNetDevice > conf: new function virDomainNetRemoveByObj() > qemu_hotplug.c: add net devices to the domain list earlier > qemu: adjust the maxmemlock limit when hotplugging a vDPA device > > src/conf/domain_conf.c | 16 ++++++++++++++++ > src/conf/domain_conf.h | 1 + > src/libvirt_private.syms | 1 + > src/qemu/qemu_hotplug.c | 41 +++++++++++++++++++++++++++++++--------- > 4 files changed, 50 insertions(+), 9 deletions(-) > Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx> Michal