Re: [Xen-devel] [PATCH 1/2] x86: make sure module array is large enough in pvh-boot.c

2018-09-28 Thread Wei Liu
On Fri, Sep 28, 2018 at 09:06:25AM -0600, Jan Beulich wrote: > >>> On 28.09.18 at 10:24, wrote: > > The relocation code in __start_xen requires one extra element in the > > module array. By the looks of it the temporary array is already large > > enough. Add a BUG_ON to catch any issue in the futu

Re: [Xen-devel] [PATCH 1/2] x86: make sure module array is large enough in pvh-boot.c

2018-09-28 Thread Jan Beulich
>>> On 28.09.18 at 10:24, wrote: > The relocation code in __start_xen requires one extra element in the > module array. By the looks of it the temporary array is already large > enough. Add a BUG_ON to catch any issue in the future. > > While at it, turn another ASSERT to BUG_ON as well. Hmm, a

[Xen-devel] [PATCH 1/2] x86: make sure module array is large enough in pvh-boot.c

2018-09-28 Thread Wei Liu
The relocation code in __start_xen requires one extra element in the module array. By the looks of it the temporary array is already large enough. Add a BUG_ON to catch any issue in the future. While at it, turn another ASSERT to BUG_ON as well. Signed-off-by: Wei Liu --- xen/arch/x86/guest/pvh