mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
qemu: driver: Reformat helpers for saving VM state
Rewrap argument definition of qemuDomainSaveInternal and align argument in the invocation of the aforementioned function in qemuDomainManagedSaveHelper. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
d051e0623c
commit
49aca0a845
@ -2620,9 +2620,12 @@ qemuDomainGetControlInfo(virDomainPtr dom,
|
||||
*/
|
||||
static int
|
||||
qemuDomainSaveInternal(virQEMUDriver *driver,
|
||||
virDomainObj *vm, const char *path,
|
||||
int compressed, virCommand *compressor,
|
||||
const char *xmlin, unsigned int flags)
|
||||
virDomainObj *vm,
|
||||
const char *path,
|
||||
int compressed,
|
||||
virCommand *compressor,
|
||||
const char *xmlin,
|
||||
unsigned int flags)
|
||||
{
|
||||
g_autofree char *xml = NULL;
|
||||
bool was_running = false;
|
||||
@ -2785,7 +2788,7 @@ qemuDomainManagedSaveHelper(virQEMUDriver *driver,
|
||||
VIR_INFO("Saving state of domain '%s' to '%s'", vm->def->name, path);
|
||||
|
||||
if (qemuDomainSaveInternal(driver, vm, path, compressed,
|
||||
compressor, dxml, flags) < 0)
|
||||
compressor, dxml, flags) < 0)
|
||||
return -1;
|
||||
|
||||
vm->hasManagedSave = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user