[PATCH 089/103] qemuBuildUSBControllerDevStr: Format via JSON properties.
Ján Tomko
jtomko at redhat.com
Mon Oct 11 16:08:03 UTC 2021
On a Thursday in 2021, Peter Krempa wrote:
>Internally format the PCI controller properties into JSON, but convert
>it back to a string as preparation for upcoming refactors.
>
>The following types are declared for the properties we use by QEMU:
>
>'nec-usb-xhci'
> p2=<uint32> - (default: 4)
> p3=<uint32> - (default: 4)
>
>'ich9-usb-uhci6'
> masterbus=<str>
> firstport=<uint32> - (default: 0)
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_command.c | 61 +++++++++++++++++++++++++++--------------
> 1 file changed, 41 insertions(+), 20 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/fe532ca9/attachment-0001.sig>
More information about the libvir-list
mailing list