On Fri, Apr 21, 2023 at 10:25 AM Michal Privoznik <[email protected]>
wrote:

> There's no reason for qemuhotplugtest to reimplement which device
> attach function to call (testQemuHotplugAttach()) when
> qemuDomainAttachDeviceLive() already does that. Thus, drop
> testQemuHotplugAttach() and call qemuDomainAttachDeviceLive()
> directly.
>
> There's one small catch though, qemuDomainAttachDeviceLive() now
> calls one monitor command more (to list all aliases). We don't
> care really, because we're not testing that. Therefore, just
> provide a dummy reply.
>
> Signed-off-by: Michal Privoznik <[email protected]>
> ---
>  tests/qemuhotplugtest.c | 68 +++++------------------------------------
>  1 file changed, 7 insertions(+), 61 deletions(-)
>
Reviewed-by: Kristina Hanicova <[email protected]>

Kristina

Reply via email to