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

Re: [PATCH v4 03/14] xen/arm: Add PHYSDEVOP_pci_device_(*add/remove) support for ARM

On Tue, 5 Oct 2021, 01:46 Stefano Stabellini, <sstabellini@xxxxxxxxxx> wrote:

Given that only ARM needs the !CONFIG_HAS_PCI stub, I would add it
directly to xen/arch/arm/physdev.c. Or just add an #ifdef directly
within do_physdev_op in xen/arch/arm/physdev.c.

If we want to keep the stub, then it should be the generic code so it can be used by other arch in the future.

That said, I would also be happy with the #ifdef directly in do_physdev_op.



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.