Re: [PATCH v5] xen: fix build without pci passthrough

2020-06-05 Thread Anthony PERARD
On Thu, Jun 04, 2020 at 02:31:41PM -0400, Paolo Bonzini wrote: > diff --git a/hw/xen/Makefile.objs b/hw/xen/Makefile.objs > index 340b2c5096..3fc715e595 100644 > --- a/hw/xen/Makefile.objs > +++ b/hw/xen/Makefile.objs > @@ -1,6 +1,7 @@ > # xen backend driver support > -common-obj-$(CONFIG_XEN) +=

[PATCH v5] xen: fix build without pci passthrough

2020-06-04 Thread Paolo Bonzini
From: Anthony PERARD Xen PCI passthrough support may not be available and thus the global variable "has_igd_gfx_passthru" might be compiled out. Common code should not access it in that case. Unfortunately, we can't use CONFIG_XEN_PCI_PASSTHROUGH directly in xen-common.c so this patch instead