On Mon, Apr 15, 2024 at 10:53:18AM +0200, Michal Privoznik wrote:
+++ b/src/qemu/qemu_command.c
@@ -2776,6 +2776,7 @@ qemuBuildControllerPCIDevProps(virDomainControllerDef *def,
if (virJSONValueObjectAdd(&props,
"s:driver", modelName,
"i:chassis_nr", pciopts->chassisNr,
+ "P:mem-reserve", pciopts->memReserve *
1024,
I thought this couldn't possibly work correctly at first, but then I
looked up what "P:" does :)
Reviewed-by: Andrea Bolognani <abologna(a)redhat.com>
--
Andrea Bolognani / Red Hat / Virtualization