-
Avi Kivity authored
Virtio and other hardware needs physically contiguous memory, beyond one page. It also requires page-aligned memory. Add an explicit API for contiguous and aligned memory allocation. While our default allocator returns physically contiguous memory, the debug allocator does not, causing virtio devices to fail.
Avi Kivity authoredVirtio and other hardware needs physically contiguous memory, beyond one page. It also requires page-aligned memory. Add an explicit API for contiguous and aligned memory allocation. While our default allocator returns physically contiguous memory, the debug allocator does not, causing virtio devices to fail.