qemu-cr16/accel/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
..
irq.c accel/mshv: Initialize VM partition 2025-10-08 19:17:30 +02:00
mem.c accel/mshv: Handle overlapping mem mappings 2025-10-08 19:17:31 +02:00
meson.build target/i386/mshv: Register MSRs with MSHV 2025-10-08 19:17:31 +02:00
mshv-all.c target/i386/mshv: Use preallocated page for hvcall 2025-10-08 19:17:31 +02:00
msr.c target/i386/mshv: Register MSRs with MSHV 2025-10-08 19:17:31 +02:00
trace-events accel/mshv: Handle overlapping mem mappings 2025-10-08 19:17:31 +02:00
trace.h accel/mshv: Initialize VM partition 2025-10-08 19:17:30 +02:00