]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386/mshv: Implement mshv_get_special_regs()
authorMagnus Kulke <magnuskulke@linux.microsoft.com>
Tue, 16 Sep 2025 16:48:35 +0000 (18:48 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Oct 2025 17:17:30 +0000 (19:17 +0200)
commit0382c2c8544da66619d16988caaab8e3d9e881d4
tree9fd8f38e0b89f23e26e2b088b05f616031b24a0c
parent66480a048a01fc833ba153410282609f26166141
target/i386/mshv: Implement mshv_get_special_regs()

Retrieve special registers (e.g. segment, control, and descriptor
table registers) from MSHV vCPUs.

Various helper functions to map register state representations between
Qemu and MSHV are introduced.

Signed-off-by: Magnus Kulke <magnuskulke@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250916164847.77883-16-magnuskulke@linux.microsoft.com
[mshv.h/mshv_int.h split. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/system/mshv_int.h
target/i386/mshv/mshv-cpu.c