On a Thursday in 2021, Peter Krempa wrote:
Build the properties of 'vhost-scsi' device via JSON. In comparison to previous similar refactors this also modifies the hotplug code to attach the vhost fd handle explicitly rather than using 'qemuMonitorAddDeviceWithFd'. The 'vhost-scsi' device doesn't have any special (non-string) properties. Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- src/qemu/qemu_command.c | 44 +++++++++++++++++++++-------------------- src/qemu/qemu_command.h | 10 +++++----- src/qemu/qemu_hotplug.c | 31 ++++++++++++++++++++--------- 3 files changed, 50 insertions(+), 35 deletions(-)
Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx> Jano
Attachment:
signature.asc
Description: PGP signature