From 7d5c27e92365b362558ba3c366bd58fed08eda77 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 1 Mar 2017 18:18:43 +0100 Subject: [PATCH] qemu: driver: Fix formatting in processGuestPanicEvent --- src/qemu/qemu_driver.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index e1281d5b71..6db3254948 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -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");