[libvirt PATCH 05/17] qemu: Introduce virQEMUCapsTypeIsAccelerated

Andrea Bolognani abologna at redhat.com
Wed Jan 5 09:24:32 UTC 2022


On Wed, Jan 05, 2022 at 09:18:17AM +0000, Daniel P. Berrangé wrote:
> On Tue, Jan 04, 2022 at 07:52:44PM +0100, Andrea Bolognani wrote:
> > -    if (virttype == VIR_DOMAIN_VIRT_KVM && capsType == VIR_DOMAIN_VIRT_QEMU) {
> > +    if (virQEMUCapsTypeIsAccelerated(virttype) && capsType == VIR_DOMAIN_VIRT_QEMU) {
> >          virReportError(VIR_ERR_INVALID_ARG,
> >                         _("KVM is not supported by '%s' on this host"),
> >                         binary);
>
> s/KVM/Hardware acceleration/

This is changed in a later patch (8/17). Does that work for you, or
do you want me to try and shuffle things around?

-- 
Andrea Bolognani / Red Hat / Virtualization





More information about the libvir-list mailing list