mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
libxlDomainGetMessages: Add existing flags to 'virCheckFlags'
The two VIR_DOMAIN_MESSAGE_* flags were not listed in the virCheckFlags check in 'libxl' but were present in 'test' and 'qemu' driver impls. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
18f8d572be
commit
042ea8630b
@ -6578,7 +6578,8 @@ libxlDomainGetMessages(virDomainPtr dom,
|
||||
virDomainObj *vm = NULL;
|
||||
int ret = -1;
|
||||
|
||||
virCheckFlags(0, -1);
|
||||
virCheckFlags(VIR_DOMAIN_MESSAGE_DEPRECATION |
|
||||
VIR_DOMAIN_MESSAGE_TAINTING, -1);
|
||||
|
||||
if (!(vm = libxlDomObjFromDomain(dom)))
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user