>>> On 26.08.18 at 14:19, <wei.l...@citrix.com> wrote: > --- a/xen/arch/x86/physdev.c > +++ b/xen/arch/x86/physdev.c > @@ -557,6 +557,7 @@ ret_t do_physdev_op(int cmd, XEN_GUEST_HANDLE_PARAM(void) > arg) > > ret = pci_mmcfg_reserved(info.address, info.segment, > info.start_bus, info.end_bus, info.flags); > +#ifdef CONFIG_HAS_VPCI > if ( !ret && has_vpci(currd) ) > { > /* > @@ -567,6 +568,7 @@ ret_t do_physdev_op(int cmd, XEN_GUEST_HANDLE_PARAM(void) > arg) > info.start_bus, info.end_bus, > info.segment); > } > +#endif
Perhaps better to make has_vpci() evaluate to false in that case, and once again rely on DCE? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel