mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
qemu: driver: Fix formatting in processGuestPanicEvent
This commit is contained in:
parent
59a5d15816
commit
7d5c27e923
@ -3990,13 +3990,11 @@ processGuestPanicEvent(virQEMUDriverPtr driver,
|
||||
goto endjob;
|
||||
}
|
||||
|
||||
virDomainObjSetState(vm,
|
||||
VIR_DOMAIN_CRASHED,
|
||||
VIR_DOMAIN_CRASHED_PANICKED);
|
||||
virDomainObjSetState(vm, VIR_DOMAIN_CRASHED, VIR_DOMAIN_CRASHED_PANICKED);
|
||||
|
||||
event = virDomainEventLifecycleNewFromObj(vm,
|
||||
VIR_DOMAIN_EVENT_CRASHED,
|
||||
VIR_DOMAIN_EVENT_CRASHED_PANICKED);
|
||||
VIR_DOMAIN_EVENT_CRASHED,
|
||||
VIR_DOMAIN_EVENT_CRASHED_PANICKED);
|
||||
|
||||
qemuDomainEventQueue(driver, event);
|
||||
|
||||
@ -4019,8 +4017,8 @@ processGuestPanicEvent(virQEMUDriverPtr driver,
|
||||
qemuProcessStop(driver, vm, VIR_DOMAIN_SHUTOFF_CRASHED,
|
||||
QEMU_ASYNC_JOB_DUMP, 0);
|
||||
event = virDomainEventLifecycleNewFromObj(vm,
|
||||
VIR_DOMAIN_EVENT_STOPPED,
|
||||
VIR_DOMAIN_EVENT_STOPPED_CRASHED);
|
||||
VIR_DOMAIN_EVENT_STOPPED,
|
||||
VIR_DOMAIN_EVENT_STOPPED_CRASHED);
|
||||
|
||||
qemuDomainEventQueue(driver, event);
|
||||
virDomainAuditStop(vm, "destroyed");
|
||||
|
Loading…
Reference in New Issue
Block a user