mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
qemu: capabilities: Note that basing probing on 'query-command-line-options' should be avoided
Add a comment that will attempt to discourage adding new capabilities based on 'query-command-line-options'. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
42e7f6a35b
commit
ef5f998a96
@ -3221,6 +3221,10 @@ struct virQEMUCapsCommandLineProps {
|
||||
int flag;
|
||||
};
|
||||
|
||||
|
||||
/* This uses 'query-command-line-options' which uses old-style argument parsers
|
||||
* in qemu and thus isn't being properly extended. Other means to detect
|
||||
* features should be used if possible. */
|
||||
static struct virQEMUCapsCommandLineProps virQEMUCapsCommandLine[] = {
|
||||
{ "boot-opts", "strict", QEMU_CAPS_BOOT_STRICT },
|
||||
{ "boot-opts", "reboot-timeout", QEMU_CAPS_REBOOT_TIMEOUT },
|
||||
|
Loading…
x
Reference in New Issue
Block a user