Re: [PATCH] qemu: do not use domain virt type to get default version

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

 



On 4/26/22 22:38, Liang Yan wrote:
> We do not need VIR_DOMAIN_VIRT_QEMU to get qemu default
> version. With the 'os_type' and 'arch'in capabilities,
> we could identify 'emulator' which is enough to get the version.
> 
> Actually VIR_DOMAIN_VIRT_QEMU is not the only domain virt type for
> qemu driver, there are VIR_DOMAIN_VIRT_KVM and VIR_DOMAIN_VIRT_HVF.
> If TCG is disabled in qemu, it will cause the error that could not
> find suitable emulater when access version.
> 
> Signed-off-by: Liang Yan <lyan@xxxxxxxxxxxxxxx>
> ---
>  src/qemu/qemu_capabilities.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

and pushed. Congratulations on your first libvirt contribution!

Michal




[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