aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/qemu/qemu_capabilities.c')
-rw-r--r--src/qemu/qemu_capabilities.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 3582cbd27..4b52dc5d7 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -182,6 +182,7 @@ VIR_ENUM_IMPL(qemuCaps, QEMU_CAPS_LAST,
"seccomp-sandbox",
"reboot-timeout", /* 110 */
+ "dump-guest-core",
);
struct _qemuCaps {
@@ -1243,6 +1244,9 @@ qemuCapsComputeCmdFlags(const char *help,
if (strstr(help, "-no-shutdown") && (version < 14000 || version > 15000))
qemuCapsSet(caps, QEMU_CAPS_NO_SHUTDOWN);
+ if (strstr(help, "dump-guest-core=on|off"))
+ qemuCapsSet(caps, QEMU_CAPS_DUMP_GUEST_CORE);
+
/*
* Handling of -incoming arg with varying features
* -incoming tcp (kvm >= 79, qemu >= 0.10.0)