mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
vmm: Repair the port IO memory alignment
The IO memory alignment should be set as byte alignment instead of 0x400 which is copied from crosvm. Signed-off-by: Jing Liu <jing2.liu@linux.intel.com>
This commit is contained in:
parent
e5e651895b
commit
8370a5bcc2
@ -62,7 +62,7 @@ impl SystemAllocator {
|
||||
let page_size = pagesize() as u64;
|
||||
Some(SystemAllocator {
|
||||
io_address_space: if let (Some(b), Some(s)) = (io_base, io_size) {
|
||||
Some(AddressAllocator::new(b, s, Some(0x400))?)
|
||||
Some(AddressAllocator::new(b, s, Some(0x1))?)
|
||||
} else {
|
||||
None
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user