Re: [Xen-devel] [PATCH 07/17] x86/traps: put PV code handlers under CONFIG_PV

2018-10-16 Thread Wei Liu
On Fri, Oct 12, 2018 at 08:08:19AM -0600, Jan Beulich wrote: > >>> On 04.10.18 at 17:43, wrote: > > The trap handlers in hypervisor need to forward events to PV guests if > > necessary. If there is no PV guest relevant code should be excluded. > > > > Put code under CONFIG_PV and add ASSERT_UNREA

Re: [Xen-devel] [PATCH 07/17] x86/traps: put PV code handlers under CONFIG_PV

2018-10-12 Thread Jan Beulich
>>> On 04.10.18 at 17:43, wrote: > The trap handlers in hypervisor need to forward events to PV guests if > necessary. If there is no PV guest relevant code should be excluded. > > Put code under CONFIG_PV and add ASSERT_UNREACHABLE. -ETOOMANYIFDEFS What's wrong with an inline stub for pv_injec