From cf8de2442f062d77dc963a0d2518db1df8a99263 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Fri, 17 Nov 2017 14:50:34 -0500 Subject: [PATCH] qemu: Clean up style for the qemuDumpToFd definition Alter the function definition to follow more recent style --- src/qemu/qemu_driver.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 1ebc1177f8..4eb8521c47 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -3757,9 +3757,13 @@ qemuDomainManagedSaveRemove(virDomainPtr dom, unsigned int flags) return ret; } -static int qemuDumpToFd(virQEMUDriverPtr driver, virDomainObjPtr vm, - int fd, qemuDomainAsyncJob asyncJob, - const char *dumpformat) + +static int +qemuDumpToFd(virQEMUDriverPtr driver, + virDomainObjPtr vm, + int fd, + qemuDomainAsyncJob asyncJob, + const char *dumpformat) { qemuDomainObjPrivatePtr priv = vm->privateData; int ret = -1; @@ -3800,6 +3804,7 @@ static int qemuDumpToFd(virQEMUDriverPtr driver, virDomainObjPtr vm, return ret; } + static int doCoreDump(virQEMUDriverPtr driver, virDomainObjPtr vm, -- GitLab