mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
testutilsqemu: Ensure that ARG_* macros are out of range of QEMU_CAPS_*
Both are used in the same parser. Using offset values ensures that errors are caught earlier. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
80340a199b
commit
725aaf794d
@ -34,7 +34,7 @@ enum {
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
ARG_QEMU_CAPS,
|
||||
ARG_QEMU_CAPS = QEMU_CAPS_LAST + 1,
|
||||
ARG_GIC,
|
||||
ARG_MIGRATE_FROM,
|
||||
ARG_MIGRATE_FD,
|
||||
|
Loading…
Reference in New Issue
Block a user