From: "Radim Krčmář" <rkrcmar@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH kvm-unit-tests] vmx: give more memory to VMX tests
Date: Thu, 25 Jan 2018 16:14:06 +0100 [thread overview]
Message-ID: <20180125151405.GC19884@flask> (raw)
In-Reply-To: <1516212225-37393-1-git-send-email-pbonzini@redhat.com>
2018-01-17 19:03+0100, Paolo Bonzini:
> VMX tests need to allocate 1G-aligned memory to set up a huge page.
> However, with a 2 GiB guest there is exactly one such page, exactly at
> top of memory. Now that vmalloc now uses the page allocator, tests
> fail; just give them more memory.
>
> Fixes:
>
> FAIL: x86/vmx_tests.c:2616: Assertion failed: data->hva
> STACK: 407050 40922a 401e4d 403ac4 400312
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> x86/unittests.cfg | 50 +++++++++++++++++++++++++-------------------------
> 1 file changed, 25 insertions(+), 25 deletions(-)
>
> diff --git a/x86/unittests.cfg b/x86/unittests.cfg
> index 91d1c75..c6a383b 100644
> --- a/x86/unittests.cfg
> +++ b/x86/unittests.cfg
> @@ -211,7 +211,7 @@ arch = x86_64
>
> [vmx]
> file = vmx.flat
> -extra_params = -cpu host,+vmx -m 2048 -append -exit_monitor_from_l2_test
> +extra_params = -cpu host,+vmx -m 2560 -append -exit_monitor_from_l2_test
> arch = x86_64
> groups = vmx
Applied, thanks.
prev parent reply other threads:[~2018-01-25 15:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-17 18:03 [PATCH kvm-unit-tests] vmx: give more memory to VMX tests Paolo Bonzini
2018-01-25 15:14 ` Radim Krčmář [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180125151405.GC19884@flask \
--to=rkrcmar@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.