Increase memory size and change boot mode in CI

This commit is contained in:
skpupil
2024-05-29 14:46:55 +08:00
committed by Tate, Hongliang Tian
parent 4101d8328a
commit da3e279ac6
5 changed files with 7 additions and 7 deletions

View File

@ -154,7 +154,7 @@ pub mod test {
let key = get_key(string1, "=").unwrap();
assert_eq!(key.as_str(), "init");
let string2 = "-m 2G";
let string2 = "-m 8G";
let key = get_key(string2, " ").unwrap();
assert_eq!(key.as_str(), "-m");
@ -170,7 +170,7 @@ pub mod test {
fn test_apply_kv_array() {
let qemu_args = &[
"-enable-kvm",
"-m 2G",
"-m 8G",
"-device virtio-blk-pci,bus=pcie.0,addr=0x6,drive=x0,disable-legacy=on,disable-modern=off",
"-device virtio-keyboard-pci,disable-legacy=on,disable-modern=off",
];