[PATCH 091/103] qemuBuildChrDeviceCommandLine: Generate via JSON
Ján Tomko
jtomko at redhat.com
Mon Oct 11 16:09:33 UTC 2021
On a Thursday in 2021, Peter Krempa wrote:
>Build commandlines for character devices via JSON.
>
>For devices using 'VIR_DOMAIN_DEVICE_ADDRESS_TYPE_VIRTIO_SERIAL' address
>type 'qemuBuildDeviceAddressProps' will now generate the address. The
>only special property is 'nr'. QEMU declares it as:
>
> nr=<uint32> - (default: 4294967295)
>
>The test fallout is caused by formatting addresses as decimal numbers
>instead of hex as described in the commit which added
>'qemuBuildDeviceAddressProps'.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_command.c | 224 ++++++++++--------
> src/qemu/qemu_command.h | 10 +-
> src/qemu/qemu_hotplug.c | 8 +-
> ...ault-cpu-kvm-pseries-2.7.ppc64-latest.args | 2 +-
> ...ault-cpu-kvm-pseries-3.1.ppc64-latest.args | 2 +-
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/25a21277/attachment-0001.sig>
More information about the libvir-list
mailing list