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

2023-11-14 Thread Jan Beulich
On 13.11.2023 22:10, Stewart Hildebrand wrote: > On 11/6/23 04:26, Jan Beulich wrote: >> On 02.11.2023 20:59, Stewart Hildebrand wrote: >>> +/* PCI passthrough may be backed by qemu for non-PVH domains */ >>> +#define arch_needs_vpci(d) is_pvh_domain(d) >> >> Wouldn't we want to check for exactly

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

2023-11-13 Thread Stewart Hildebrand
On 11/6/23 04:26, Jan Beulich wrote: > On 02.11.2023 20:59, Stewart Hildebrand wrote: >> --- a/xen/arch/x86/include/asm/domain.h >> +++ b/xen/arch/x86/include/asm/domain.h >> @@ -503,6 +503,15 @@ struct arch_domain >> #define has_vpit(d)(!!((d)->arch.emulation_flags & X86_EMU_PIT)) >>

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

2023-11-06 Thread Jan Beulich
On 02.11.2023 20:59, Stewart Hildebrand wrote: > --- a/xen/arch/x86/include/asm/domain.h > +++ b/xen/arch/x86/include/asm/domain.h > @@ -503,6 +503,15 @@ struct arch_domain > #define has_vpit(d)(!!((d)->arch.emulation_flags & X86_EMU_PIT)) > #define has_pirq(d)

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

2023-11-02 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