On Mon, Nov 11, 2024 at 09:53:06 +0100, Martin Kletzander wrote:
Just don't.
Martin Kletzander (3):
qemu: Expose qemuChrIsPlatformDevice outside from qemu_command
qemu_hotplug: Report better error message for platform serial devices
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>
qemu_hotplug: Do not report error for hot-unplugging non-existing
device
And if you agree with checking -2 in the callers instead also here:
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>