cloud-hypervisor/virtio-devices
Sebastien Boeuf ad8adcb955 virtio-devices: mem: Adjust based on specification
Adjust the code to comply better with the virtio-mem specification by
adding some validation for the virtio-mem configuration, but also by
updating the virtio-mem configuration itself.

Nowhere in the virtio-mem specification is stated the usable region size
must be adjusted everytime the plugged size changes. For simplification
reason, and without going against the specification, the usable region
size is now kept static, setting its value to the size of the whole
region.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2021-02-04 17:52:30 +00:00
..
src virtio-devices: mem: Adjust based on specification 2021-02-04 17:52:30 +00:00
Cargo.toml build(deps): bump libc from 0.2.84 to 0.2.85 2021-02-02 07:47:41 +00:00