mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
docs: drvqemu: Give example how to query device properties for overriding
Add an example of invoking qemu with '-device TYPE,?' to query properties of a given type. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
9228ebbf98
commit
f28232d1a4
@ -722,6 +722,11 @@ attribute are:
|
|||||||
The overrides are applied only to initial device configuration passed to QEMU
|
The overrides are applied only to initial device configuration passed to QEMU
|
||||||
via the commandline. Later hotplug operations will not apply any modifications.
|
via the commandline. Later hotplug operations will not apply any modifications.
|
||||||
|
|
||||||
|
The properties of a device can be queried directly in qemu (e.g. for the
|
||||||
|
``virtio-blk-pci`` device) via ::
|
||||||
|
|
||||||
|
# qemu-system-x86_64 -device virtio-blk-pci,?
|
||||||
|
|
||||||
Configuring override for a device alias which is not used or attempting to
|
Configuring override for a device alias which is not used or attempting to
|
||||||
remove a device property which is not formatted by libvirt will cause failure
|
remove a device property which is not formatted by libvirt will cause failure
|
||||||
to startup the VM.
|
to startup the VM.
|
||||||
|
Loading…
Reference in New Issue
Block a user