1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00

qemu: processGuestPanicEvent: Use 'unsigned int' for flags

No need to use 'long'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2022-11-22 13:04:02 +01:00
parent 0022376b20
commit b0e8fb3ab8

View File

@ -3497,7 +3497,7 @@ processGuestPanicEvent(virQEMUDriver *driver,
qemuDomainObjPrivate *priv = vm->privateData;
virObjectEvent *event = NULL;
bool removeInactive = false;
unsigned long flags = VIR_DUMP_MEMORY_ONLY;
unsigned int flags = VIR_DUMP_MEMORY_ONLY;
if (virDomainObjBeginAsyncJob(vm, VIR_ASYNC_JOB_DUMP,
VIR_DOMAIN_JOB_OPERATION_DUMP, flags) < 0)