>>> On 24.06.16 at 19:14, wrote:
> On Fri, Jun 24, 2016 at 01:44:30AM -0600, Jan Beulich wrote:
>> >>> On 22.06.16 at 19:15, wrote:
>> > +uint64_t cmdline_paddr = modlist[i].cmdline_paddr;
>> > +
>> > +if ( check_test_overlap(modlist[i].paddr, modlist[i].size) )
>> > +{
>>
On Fri, Jun 24, 2016 at 01:44:30AM -0600, Jan Beulich wrote:
> >>> On 22.06.16 at 19:15, wrote:
> > +uint64_t cmdline_paddr = modlist[i].cmdline_paddr;
> > +
> > +if ( check_test_overlap(modlist[i].paddr, modlist[i].size) )
> > +{
> > +printf("Skipping tests due
>>> On 22.06.16 at 19:15, wrote:
> --- a/tools/firmware/hvmloader/tests.c
> +++ b/tools/firmware/hvmloader/tests.c
> @@ -20,6 +20,7 @@
> */
>
> #include "util.h"
> +#include "config.h"
>
> #define TEST_FAIL 0
> #define TEST_PASS 1
> @@ -189,6 +190,15 @@ static int shadow_gs_test(void)
>
As perform_tests() is going to clear memory past 4MB, we check that the
memory can be use or we skip the tests.
Signed-off-by: Anthony PERARD
---
Changes in V5:
- also account for the pages table
- fix coding style
- also check modules cmdline and main cmdline
and modlist_paddr
- make use of ch