>>> I wonder whether we need to protect the added code with >>> CONFIG_HAS_VPCI_GUEST_SUPPORT, this would effectively be dead code >>> otherwise. Long term I don't think we wish to differentiate between >>> dom0 and domU vPCI support at build time, so I'm unsure whether it's >>> helpful to pollute the code with CONFIG_HAS_VPCI_GUEST_SUPPORT when >>> the plan is to remove those long term. >> I would have it without CONFIG_HAS_VPCI_GUEST_SUPPORT if you >> don't mind > Well, I guess if it's not too intrusive it's fine to add the defines, > removing them afterwards should be easy. It is intrusive: it is easy to add such a define in struct vpci, but then you need ifdefery in xen/drivers/vpci/header.c to sort out the case when it is defined or not. I can still do that if you insist > > Thanks, Roger. Thank you, Oleksandr
- Re: [PATCH v5 06/14] vpci/header: impleme... Roger Pau Monné
- Re: [PATCH v5 06/14] vpci/header: imp... Oleksandr Andrushchenko
- Re: [PATCH v5 06/14] vpci/header:... Roger Pau Monné
- Re: [PATCH v5 06/14] vpci/header:... Jan Beulich
- Re: [PATCH v5 06/14] vpci/he... Oleksandr Andrushchenko
- Re: [PATCH v5 06/14] vpc... Jan Beulich
- Re: [PATCH v5 06/14] vpc... Oleksandr Andrushchenko
- Re: [PATCH v5 06/14] vpc... Jan Beulich
- Re: [PATCH v5 06/14] vpc... Oleksandr Andrushchenko
- Re: [PATCH v5 06/14] vpci/header: implement g... Roger Pau Monné
- Re: [PATCH v5 06/14] vpci/header: impleme... Oleksandr Andrushchenko
- Re: [PATCH v5 06/14] vpci/header: implement guest ... Oleksandr Andrushchenko
- Re: [PATCH v5 06/14] vpci/header: implement g... Jan Beulich
- Re: [PATCH v5 06/14] vpci/header: impleme... Oleksandr Andrushchenko
- Re: [PATCH v5 06/14] vpci/header: imp... Roger Pau Monné
- Re: [PATCH v5 06/14] vpci/header:... Oleksandr Andrushchenko
- Re: [PATCH v5 06/14] vpci/header: implement guest ... Roger Pau Monné
- Re: [PATCH v5 06/14] vpci/header: implement g... Oleksandr Andrushchenko
- Re: [PATCH v5 06/14] vpci/header: impleme... Roger Pau Monné
- Re: [PATCH v5 06/14] vpci/header: impleme... Oleksandr Andrushchenko
- Re: [PATCH v5 06/14] vpci/header: imp... Jan Beulich
