Re: [PATCH v2 7/7] qemu_capabilities: Report Hyper-V Enlightenments in domcapabilities

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

 



On Thu, Jan 05, 2023 at 09:35:01 +0100, Michal Privoznik wrote:
> Inside of qemuCaps (for the corresponding accelerator) we have
> full host CPU expansion stored, among with supported Hyper-V
> Enlightenments. To report them in the domain capabilities, we
> just have to pick those starting with "hv-" and see if we know
> them.
> 
> You may notice that neither of our domaincapsdata test shows any
> enlightenment. This is because the test works by parsing
> corresponding qemucapabilitiesdata/caps_*.xml file and none of
> these store the full host CPU expansion (hostCPU.fullQEMU)
> because that is runtime piece of information and not formatted
> into virQEMUCaps XML.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1717611
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/qemu/qemu_capabilities.c                  | 11 +++++++++++
>  .../domaincapsdata/qemu_8.0.0-q35.x86_64.xml  | 19 ++++++++++++++++++-
>  .../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml  | 19 ++++++++++++++++++-
>  tests/domaincapsdata/qemu_8.0.0.x86_64.xml    | 19 ++++++++++++++++++-
>  4 files changed, 65 insertions(+), 3 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[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