cloud-hypervisor/vmm
Anatol Belski 9e9aba7c0b CpuManager: Fix MMIO read handling
There are two parts:

- Unconditionally zero the output area. The length of the incoming
  vector has been seen from 1 to 4 bytes, even though just the first
  byte might need to be handled. But also, this ensures any possibly
  unhandled offset will return zeroed result to the caller. The former
  implementation used an I/O port which seems to behave differently from
  MMIO and wouldn't require explicit output zeroing.
- An access with zero offset still takes place and needs to be handled.

Fixes #2437.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
2021-03-29 13:51:31 +01:00
..
src CpuManager: Fix MMIO read handling 2021-03-29 13:51:31 +01:00
Cargo.toml build(deps): bump libc from 0.2.90 to 0.2.91 2021-03-23 06:56:04 +00:00