]> xenbits.xensource.com Git - libvirt.git/commit
qemuBuildPanicCommandLine: Generate via JSON
authorPeter Krempa <pkrempa@redhat.com>
Fri, 26 Mar 2021 09:09:45 +0000 (10:09 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Oct 2021 08:26:03 +0000 (10:26 +0200)
commit8617d29abbd56c013d1fe95a8890472d7a61befe
tree2751304241c41458927e1411508b4f083d542afd
parentab92e9decb1f0c75e18011dcabb0af841e8047a1
qemuBuildPanicCommandLine: Generate via JSON

Format a JSON object with the device properties and then use
qemuBuildDeviceCommandlineFromJSON to convert it to the standard
commandline for now.

The 'ioport' property of 'pvpanic' is a number in QEMU:
  ioport=<uint16>        -  (default: 1285)

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c