From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH kvm-unit-tests] vmx: give more memory to VMX tests Date: Thu, 25 Jan 2018 16:14:06 +0100 Message-ID: <20180125151405.GC19884@flask> References: <1516212225-37393-1-git-send-email-pbonzini@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Paolo Bonzini Return-path: Received: from mx1.redhat.com ([209.132.183.28]:54930 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751257AbeAYPOQ (ORCPT ); Thu, 25 Jan 2018 10:14:16 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 32D67C070E38 for ; Thu, 25 Jan 2018 15:14:16 +0000 (UTC) Content-Disposition: inline In-Reply-To: <1516212225-37393-1-git-send-email-pbonzini@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 > --- > 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.