Pass bus-lock-ratelimit to qemu.
Signed-off-by: Tim Wiederhake <twiederh(a)redhat.com>
---
src/qemu/qemu_command.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index c47998aabd..dee803511b 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -7197,6 +7197,10 @@ qemuBuildMachineCommandLine(virCommand *cmd,
virBufferAsprintf(&buf, ",cap-ibs=%s", str);
}
+ if (def->features[VIR_DOMAIN_FEATURE_BUS_LOCK_RATELIMIT] !=
VIR_TRISTATE_SWITCH_ABSENT) {
+ virBufferAsprintf(&buf, ",bus-lock-ratelimit=%llu",
def->bus_lock_ratelimit);
+ }
+
if (cpu && cpu->model &&
cpu->mode == VIR_CPU_MODE_HOST_MODEL &&
qemuDomainIsPSeries(def) &&
--
2.31.1