]> git.ipfire.org Git - thirdparty/qemu.git/commit
accel/mshv: Add vCPU creation and execution loop
authorMagnus Kulke <magnuskulke@linux.microsoft.com>
Tue, 16 Sep 2025 16:48:30 +0000 (18:48 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Oct 2025 17:17:30 +0000 (19:17 +0200)
commit4dc5d4257259764b6fcd035870517fc4140d8962
treeea5c190587ecefa9fbbb1662824f2adbf5f329f2
parentc5f23bccde416aab52fe14dec6f6716a85f0cd04
accel/mshv: Add vCPU creation and execution loop

Create MSHV vCPUs using MSHV_CREATE_VP and initialize their state.
Register the MSHV CPU execution loop loop with the QEMU accelerator
framework to enable guest code execution.

The target/i386 functionality is still mostly stubbed out and will be
populated in a later commit in this series.

Signed-off-by: Magnus Kulke <magnuskulke@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250916164847.77883-11-magnuskulke@linux.microsoft.com
[Fix g_free/g_clear_pointer confusion; rename qemu_wait_io_event;
 mshv.h/mshv_int.h split. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/mshv/mshv-all.c
accel/mshv/trace-events
include/system/mshv.h
include/system/mshv_int.h
target/i386/mshv/mshv-cpu.c