tests: Expand the test_large_memory() test to cover lots of vCPUs

Ensure that there is no regression in our support for a large number of
vCPUS.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-05-11 16:58:21 +01:00
parent b9ba81c30d
commit 36bffff22a

View File

@ -955,12 +955,12 @@ mod tests {
}
#[cfg_attr(not(feature = "mmio"), test)]
fn test_large_memory() {
fn test_large_vm() {
test_block!(tb, "", {
let mut clear = ClearDiskConfig::new();
let guest = Guest::new(&mut clear);
let mut child = GuestCommand::new(&guest)
.args(&["--cpus", "boot=1"])
.args(&["--cpus", "boot=48"])
.args(&["--memory", "size=5120M"])
.args(&["--kernel", guest.fw_path.as_str()])
.default_disks()