mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-20 11:35:19 +00: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 {
|
typedef enum {
|
||||||
ARG_QEMU_CAPS,
|
ARG_QEMU_CAPS = QEMU_CAPS_LAST + 1,
|
||||||
ARG_GIC,
|
ARG_GIC,
|
||||||
ARG_MIGRATE_FROM,
|
ARG_MIGRATE_FROM,
|
||||||
ARG_MIGRATE_FD,
|
ARG_MIGRATE_FD,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user