From: Igor Mammedov <imammedo@redhat.com>
To: qemu-devel@nongnu.org
Cc: lvivier@redhat.com, pbonzini@redhat.com, thuth@redhat.com,
ehabkost@redhat.com
Subject: [PATCH for-5.0 2/2] tests: numa: test one backend with prealloc enabled
Date: Wed, 25 Mar 2020 05:44:23 -0400 [thread overview]
Message-ID: <20200325094423.24293-3-imammedo@redhat.com> (raw)
In-Reply-To: <20200325094423.24293-1-imammedo@redhat.com>
canbalize one backend in hmat test to make sure that
prealloc=y is tested
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
tests/qtest/numa-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qtest/numa-test.c b/tests/qtest/numa-test.c
index 2f9b7f663a..e1ed6d4322 100644
--- a/tests/qtest/numa-test.c
+++ b/tests/qtest/numa-test.c
@@ -455,7 +455,7 @@ static void pc_hmat_off_cfg(const void *data)
cli = make_cli(data, "-nodefaults --preconfig "
"-smp 2,sockets=2 "
"-m 128M,slots=2,maxmem=1G "
- "-object memory-backend-ram,size=64M,id=m0 "
+ "-object memory-backend-ram,size=64M,id=m0,prealloc=y "
"-object memory-backend-ram,size=64M,id=m1 "
"-numa node,nodeid=0,memdev=m0");
qs = qtest_init(cli);
--
2.18.1
next prev parent reply other threads:[~2020-03-25 9:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-25 9:44 [PATCH for-5.0 0/2] fix qemu crash with memory-backend-* prealloc=yes Igor Mammedov
2020-03-25 9:44 ` [PATCH for-5.0 1/2] hostmem: set default prealloc_threads to valid value Igor Mammedov
2020-03-25 9:55 ` Laurent Vivier
2020-03-25 9:44 ` Igor Mammedov [this message]
2020-04-09 13:03 ` [PATCH for-5.0 0/2] fix qemu crash with memory-backend-* prealloc=yes Igor Mammedov
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=20200325094423.24293-3-imammedo@redhat.com \
--to=imammedo@redhat.com \
--cc=ehabkost@redhat.com \
--cc=lvivier@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).