Re: [PATCH 3/3] qemu_command: Generate mem-reserve for controllers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux