]> git.ipfire.org Git - thirdparty/qemu.git/commit
accel/mshv: Initialize VM partition
authorMagnus Kulke <magnuskulke@linux.microsoft.com>
Thu, 2 Oct 2025 16:28:16 +0000 (18:28 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Oct 2025 17:17:30 +0000 (19:17 +0200)
commitc5f23bccde416aab52fe14dec6f6716a85f0cd04
tree136241e202993fa81239315695f74809ec617369
parent5006ea1344d134356a9b2e1afd521cf8df0c6a85
accel/mshv: Initialize VM partition

Create the MSHV virtual machine by opening a partition and issuing
the necessary ioctl to initialize it. This sets up the basic VM
structure and initial configuration used by MSHV to manage guest state.

Signed-off-by: Magnus Kulke <magnuskulke@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250916164847.77883-10-magnuskulke@linux.microsoft.com
[Add stubs; fix format strings for trace-events; make mshv_hvcall
 available only in per-target files; mshv.h/mshv_int.h split. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
14 files changed:
accel/mshv/irq.c [new file with mode: 0644]
accel/mshv/mem.c
accel/mshv/meson.build
accel/mshv/mshv-all.c
accel/mshv/trace-events [new file with mode: 0644]
accel/mshv/trace.h [new file with mode: 0644]
accel/stubs/meson.build
accel/stubs/mshv-stub.c [new file with mode: 0644]
hw/intc/apic.c
include/system/mshv.h
include/system/mshv_int.h
meson.build
target/i386/mshv/meson.build
target/i386/mshv/mshv-cpu.c [new file with mode: 0644]