[PATCH 093/103] qemuBuildVsockCommandLine: Generate via JSON
Ján Tomko
jtomko at redhat.com
Mon Oct 11 16:11:54 UTC 2021
On a Thursday in 2021, Peter Krempa wrote:
>Build the properties of 'vhost-vsock' 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 properties of vhost-vsock have the following types according to
>QEMU:
>
> guest-cid=<uint64> - (default: 0)
> vhostfd=<str>
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_command.c | 36 ++++++++++++++++++++----------------
> src/qemu/qemu_command.h | 12 +++++-------
> src/qemu/qemu_hotplug.c | 21 ++++++++++++++++-----
> 3 files changed, 41 insertions(+), 28 deletions(-)
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211011/c3ca3dfd/attachment-0001.sig>
More information about the libvir-list
mailing list