mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-16 15:17:11 +00:00
Always enforce data size when using BAR access functions. Currently, the size serves as a hint to the BAR access functions and these functions are expected to behave accordingly. Some of the access functions, e.g. virtio ones, don't always truncate the data but expect the caller to take care of the data size. This causes problems with OVMF's virtio drivers during I/O instruction emulation because RAX can contain junk bits that shouldn't be written to the device. v1 -> v2: - improve readability Tracked-On: #1935 Signed-off-by: Peter Fang <peter.fang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
ACRN Device Model ################# Introduction ============ The ACRN Device Model provides **device sharing** capabilities between the Service OS and Guest OSs. It is a component that is used in conjunction with the `ACRN Hypervisor`_ and this is installed within the Service OS. You can find out more about Project ACRN on the `Project ACRN documentation`_ website. .. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor .. _`Project ACRN documentation`: https://projectacrn.github.io/