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