mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
memory_manager: Make addressable space size 64k aligned
While the addressable space size reduction of 4k in necessary due to the Linux bug, the 64k alignment of the addressable space size is required by Windows. This patch satisfies both. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
c0827e01b1
commit
b399287430
@@ -5523,7 +5523,7 @@ mod tests {
|
||||
osdisk_path.push("windows-server-2019.raw");
|
||||
|
||||
let mut child = Command::new(clh_command("cloud-hypervisor"))
|
||||
.args(&["--cpus", "boot=2,kvm_hyperv=on,max_phys_bits=39"])
|
||||
.args(&["--cpus", "boot=2,kvm_hyperv=on"])
|
||||
.args(&["--memory", "size=4G"])
|
||||
.args(&["--kernel", ovmf_path.to_str().unwrap()])
|
||||
.args(&["--disk", &format!("path={}", osdisk_path.to_str().unwrap())])
|
||||
@@ -5578,7 +5578,7 @@ mod tests {
|
||||
|
||||
let mut child = Command::new(clh_command("cloud-hypervisor"))
|
||||
.args(&["--api-socket", &api_socket])
|
||||
.args(&["--cpus", "boot=2,kvm_hyperv=on,max_phys_bits=39"])
|
||||
.args(&["--cpus", "boot=2,kvm_hyperv=on"])
|
||||
.args(&["--memory", "size=4G"])
|
||||
.args(&["--kernel", ovmf_path.to_str().unwrap()])
|
||||
.args(&["--disk", &format!("path={}", osdisk_path.to_str().unwrap())])
|
||||
|
||||
Reference in New Issue
Block a user