mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
qemu: always assume QEMU_CAPS_DUMP_GUEST_MEMORY
Introduced back in 2012 by QEMU commit: commit 783e9b4826b95e53e33c42db6b4bd7d89bdff147 introduce a new monitor command 'dump-guest-memory' to dump guest's memory Released in QEMU 1.2.0 Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
838f64515e
commit
42f2150fba
@ -3052,12 +3052,6 @@ qemuDumpToFd(virQEMUDriver *driver,
|
||||
bool detach = false;
|
||||
int ret = -1;
|
||||
|
||||
if (!virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_DUMP_GUEST_MEMORY)) {
|
||||
virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
|
||||
_("dump-guest-memory is not supported"));
|
||||
return -1;
|
||||
}
|
||||
|
||||
detach = virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_DUMP_COMPLETED);
|
||||
|
||||
if (qemuSecuritySetImageFDLabel(driver->securityManager, vm->def, fd) < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user