mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-31 05:57:16 +00:00
qemudDomainMemoryPeek: change ownership/selinux label on temporary file.
Otherwise qemu is unable to write to it, with the error: libvir: QEMU error : internal error unable to execute QEMU command 'memsave': Could not open '/var/cache/libvirt/qemu/qemu.mem.RRNvLv'
This commit is contained in:
parent
1cf9a67bc9
commit
bb12a63909
@ -5536,6 +5536,8 @@ qemudDomainMemoryPeek (virDomainPtr dom,
|
|||||||
goto endjob;
|
goto endjob;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virSecurityManagerSetSavedStateLabel(qemu_driver->securityManager, vm, tmp);
|
||||||
|
|
||||||
priv = vm->privateData;
|
priv = vm->privateData;
|
||||||
qemuDomainObjEnterMonitor(vm);
|
qemuDomainObjEnterMonitor(vm);
|
||||||
if (flags == VIR_MEMORY_VIRTUAL) {
|
if (flags == VIR_MEMORY_VIRTUAL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user