rust-vmm / vmm-reference

A VMM implementation based of rust-vmm components
Apache License 2.0
146 stars 61 forks source link

fix bug in create_address_allocator() #244

Open ruitianzhong opened 7 months ago

ruitianzhong commented 7 months ago

Summary of the PR

fix bug in create_address_allocator()

It is a bug to use main memory size to initialize address allocator.

Instead, we should use MMIO space size to init an address allocator.

Firecracker do the same in src/vmm/src/builder.rs

Requirements

Before submitting your PR, please make sure you addressed the following requirements: