On Fri, Apr 21, 2023 at 10:25 AM Michal Privoznik <mprivozn@redhat.com> wrote:
There is no good reason for qemuDomainAttachDeviceLive() to live
in (ever growing) qemu_driver.c while we have qemu_hotplug.c
which already contains the rest of hotplug code. Move the
function to its new home.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---
 src/qemu/qemu_driver.c  | 170 ----------------------------------------
 src/qemu/qemu_hotplug.c | 170 ++++++++++++++++++++++++++++++++++++++++
 src/qemu/qemu_hotplug.h |   4 +
 3 files changed, 174 insertions(+), 170 deletions(-)
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>

Kristina