[libvirt PATCH 09/20] qemu: Introduce virQEMUCapsTypeIsAccelerated
Andrea Bolognani
abologna at redhat.com
Fri Jan 21 17:21:25 UTC 2022
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
More information about the libvir-list
mailing list