[libvirt] [PATCH 2/4] qemu: Add PCI support for RISC-V guests

Andrea Bolognani abologna at redhat.com
Thu Jan 31 17:10:24 UTC 2019


On Thu, 2019-01-31 at 17:31 +0100, Ján Tomko wrote:
> On Thu, Jan 31, 2019 at 03:34:19PM +0100, Andrea Bolognani wrote:
> >     /* If ARM 'virt' supports PCI, it supports multibus.
> >      * No extra conditions here for simplicity.
> >      */
> > -    if (qemuDomainIsARMVirt(def))
> > +    if (qemuDomainIsARMVirt(def) ||
> > +        qemuDomainIsRISCVVirt(def)) {
> >         return true;
> > +    }
> 
> The comment above only mentions arm. Either decouple the conditions or
> remove the comment. For simplicity.

Good catch, I'll take care of it.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list