--- src/qemu/qemu_driver.c | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 8e5c353..9b2d355 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -13589,9 +13589,11 @@ qemuDomainSnapshotCreateXML(virDomainPtr domain, return snapshot; } -static int qemuDomainSnapshotListNames(virDomainPtr domain, char **names, - int nameslen, - unsigned int flags) +static int +qemuDomainSnapshotListNames(virDomainPtr domain, + char **names, + int nameslen, + unsigned int flags) { virDomainObjPtr vm = NULL; int n = -1; @@ -13614,8 +13616,9 @@ static int qemuDomainSnapshotListNames(virDomainPtr domain, char **names, return n; } -static int qemuDomainSnapshotNum(virDomainPtr domain, - unsigned int flags) +static int +qemuDomainSnapshotNum(virDomainPtr domain, + unsigned int flags) { virDomainObjPtr vm = NULL; int n = -1; @@ -13638,7 +13641,8 @@ static int qemuDomainSnapshotNum(virDomainPtr domain, } static int -qemuDomainListAllSnapshots(virDomainPtr domain, virDomainSnapshotPtr **snaps, +qemuDomainListAllSnapshots(virDomainPtr domain, + virDomainSnapshotPtr **snaps, unsigned int flags) { virDomainObjPtr vm = NULL; @@ -13750,9 +13754,10 @@ qemuDomainSnapshotListAllChildren(virDomainSnapshotPtr snapshot, return n; } -static virDomainSnapshotPtr qemuDomainSnapshotLookupByName(virDomainPtr domain, - const char *name, - unsigned int flags) +static virDomainSnapshotPtr +qemuDomainSnapshotLookupByName(virDomainPtr domain, + const char *name, + unsigned int flags) { virDomainObjPtr vm; virDomainSnapshotObjPtr snap = NULL; @@ -13777,8 +13782,9 @@ static virDomainSnapshotPtr qemuDomainSnapshotLookupByName(virDomainPtr domain, return snapshot; } -static int qemuDomainHasCurrentSnapshot(virDomainPtr domain, - unsigned int flags) +static int +qemuDomainHasCurrentSnapshot(virDomainPtr domain, + unsigned int flags) { virDomainObjPtr vm; int ret = -1; @@ -13833,8 +13839,9 @@ qemuDomainSnapshotGetParent(virDomainSnapshotPtr snapshot, return parent; } -static virDomainSnapshotPtr qemuDomainSnapshotCurrent(virDomainPtr domain, - unsigned int flags) +static virDomainSnapshotPtr +qemuDomainSnapshotCurrent(virDomainPtr domain, + unsigned int flags) { virDomainObjPtr vm; virDomainSnapshotPtr snapshot = NULL; @@ -13861,8 +13868,9 @@ static virDomainSnapshotPtr qemuDomainSnapshotCurrent(virDomainPtr domain, return snapshot; } -static char *qemuDomainSnapshotGetXMLDesc(virDomainSnapshotPtr snapshot, - unsigned int flags) +static char * +qemuDomainSnapshotGetXMLDesc(virDomainSnapshotPtr snapshot, + unsigned int flags) { virDomainObjPtr vm = NULL; char *xml = NULL; -- 2.0.2 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list