diff mbox

[kvm-unit-tests,27/32] x86: 2GiB RAM for vmx tests

Message ID 20170421005004.137260-28-dmatlack@google.com (mailing list archive)
State New, archived
Headers show

Commit Message

David Matlack April 21, 2017, 12:49 a.m. UTC
From: Peter Feiner <pfeiner@google.com>

Upcoming test allocates a 1GiB huge page. The VM needs more memory and
the default container limit of 2 GiB isn't enough.

Signed-off-by: Peter Feiner <pfeiner@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
---
 x86/unittests.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paolo Bonzini April 21, 2017, 8:54 a.m. UTC | #1
On 21/04/2017 02:49, David Matlack wrote:
> From: Peter Feiner <pfeiner@google.com>
> 
> Upcoming test allocates a 1GiB huge page. The VM needs more memory and
> the default container limit of 2 GiB isn't enough.

Google-y commit message? :)

Paolo

> Signed-off-by: Peter Feiner <pfeiner@google.com>
> Signed-off-by: David Matlack <dmatlack@google.com>
> ---
>  x86/unittests.cfg | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/x86/unittests.cfg b/x86/unittests.cfg
> index f79688af93f8..587bf40e8bc9 100644
> --- a/x86/unittests.cfg
> +++ b/x86/unittests.cfg
> @@ -196,7 +196,7 @@ arch = x86_64
>  
>  [vmx]
>  file = vmx.flat
> -extra_params = -cpu host,+vmx -append -exit_monitor_from_l2_test
> +extra_params = -cpu host,+vmx -m 2048 -append -exit_monitor_from_l2_test
David Matlack April 21, 2017, 7:33 p.m. UTC | #2
On Fri, Apr 21, 2017 at 1:54 AM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
>
> On 21/04/2017 02:49, David Matlack wrote:
>> From: Peter Feiner <pfeiner@google.com>
>>
>> Upcoming test allocates a 1GiB huge page. The VM needs more memory and
>> the default container limit of 2 GiB isn't enough.
>
> Google-y commit message? :)

Whoops, yes it is. Feel free to drop that sentence when applying the patch.

>
> Paolo
>
>> Signed-off-by: Peter Feiner <pfeiner@google.com>
>> Signed-off-by: David Matlack <dmatlack@google.com>
>> ---
>>  x86/unittests.cfg | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/x86/unittests.cfg b/x86/unittests.cfg
>> index f79688af93f8..587bf40e8bc9 100644
>> --- a/x86/unittests.cfg
>> +++ b/x86/unittests.cfg
>> @@ -196,7 +196,7 @@ arch = x86_64
>>
>>  [vmx]
>>  file = vmx.flat
>> -extra_params = -cpu host,+vmx -append -exit_monitor_from_l2_test
>> +extra_params = -cpu host,+vmx -m 2048 -append -exit_monitor_from_l2_test
diff mbox

Patch

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index f79688af93f8..587bf40e8bc9 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -196,7 +196,7 @@  arch = x86_64
 
 [vmx]
 file = vmx.flat
-extra_params = -cpu host,+vmx -append -exit_monitor_from_l2_test
+extra_params = -cpu host,+vmx -m 2048 -append -exit_monitor_from_l2_test
 arch = x86_64
 groups = vmx