Re: [PATCH v4 4/5] [FUTURE] xen/arm: enable vPCI for domUs

2023-10-31 Thread Jan Beulich
On 31.10.2023 15:15, Stewart Hildebrand wrote: > On 10/31/23 09:17, Julien Grall wrote: >> On 31/10/2023 11:03, Jan Beulich wrote: >>> On 31.10.2023 00:52, Stewart Hildebrand wrote: --- a/xen/drivers/passthrough/pci.c +++ b/xen/drivers/passthrough/pci.c @@ -1618,6 +1618,16 @@ int iom

Re: [PATCH v4 4/5] [FUTURE] xen/arm: enable vPCI for domUs

2023-10-31 Thread Stewart Hildebrand
On 10/31/23 09:17, Julien Grall wrote: > Hi, > > On 31/10/2023 11:03, Jan Beulich wrote: >> On 31.10.2023 00:52, Stewart Hildebrand wrote: >>> --- a/xen/drivers/passthrough/pci.c >>> +++ b/xen/drivers/passthrough/pci.c >>> @@ -1618,6 +1618,16 @@ int iommu_do_pci_domctl( >>>   bus = PCI_BUS

Re: [PATCH v4 4/5] [FUTURE] xen/arm: enable vPCI for domUs

2023-10-31 Thread Julien Grall
Hi, On 31/10/2023 11:03, Jan Beulich wrote: On 31.10.2023 00:52, Stewart Hildebrand wrote: --- a/xen/drivers/passthrough/pci.c +++ b/xen/drivers/passthrough/pci.c @@ -1618,6 +1618,16 @@ int iommu_do_pci_domctl( bus = PCI_BUS(machine_sbdf); devfn = PCI_DEVFN(machine_sbdf);

Re: [PATCH v4 4/5] [FUTURE] xen/arm: enable vPCI for domUs

2023-10-31 Thread Jan Beulich
On 31.10.2023 00:52, Stewart Hildebrand wrote: > --- a/xen/drivers/passthrough/pci.c > +++ b/xen/drivers/passthrough/pci.c > @@ -1618,6 +1618,16 @@ int iommu_do_pci_domctl( > bus = PCI_BUS(machine_sbdf); > devfn = PCI_DEVFN(machine_sbdf); > > +if ( IS_ENABLED(CONFIG_ARM)

[PATCH v4 4/5] [FUTURE] xen/arm: enable vPCI for domUs

2023-10-30 Thread Stewart Hildebrand
Select HAS_VPCI_GUEST_SUPPORT in Kconfig for enabling vPCI support for domUs. Add checks to fail guest creation if the configuration is invalid. Signed-off-by: Stewart Hildebrand --- As the tag implies, this patch is not intended to be merged (yet). Note that CONFIG_HAS_VPCI_GUEST_SUPPORT is no