Re: [libvirt PATCH 09/20] qemu: Introduce virQEMUCapsTypeIsAccelerated

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

 



On Fri, Jan 21, 2022 at 04:58:53PM +0000, Daniel P. Berrangé wrote:
> On Mon, Jan 17, 2022 at 11:52:49AM +0100, Andrea Bolognani wrote:
> > +static bool
> > +virQEMUCapsTypeIsAccelerated(virDomainVirtType type)
> > +{
> > +    return type == VIR_DOMAIN_VIRT_KVM;
> > +}
>
>  type !=  VIR_DOMAIN_VIRT_QEMU
>
> and then we'll never need to change it again when adding more
> hardware virt types.

Good idea, I'll change it.

-- 
Andrea Bolognani / Red Hat / Virtualization





[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