qemu-cr16/target/i386/mshv
Magnus Kulke e4a20afce5 target/i386/mshv: Use preallocated page for hvcall
There are hvcalls that are invoked during MMIO exits, the payload is of
dynamic size. To avoid heap allocations we can use preallocated pages as
in/out buffer for those calls. A page is reserved per vCPU and used for
set/get register hv calls.

Signed-off-by: Magnus Kulke <magnuskulke@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250916164847.77883-26-magnuskulke@linux.microsoft.com
[Use standard MAX_CONST macro; mshv.h/mshv_int.h split. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-10-08 19:17:31 +02:00
..
meson.build accel/mshv: Initialize VM partition 2025-10-08 19:17:30 +02:00
mshv-cpu.c target/i386/mshv: Use preallocated page for hvcall 2025-10-08 19:17:31 +02:00
x86.c target/i386/mshv: Add x86 decoder/emu implementation 2025-10-08 19:17:29 +02:00