diff options
| author | Magnus Kulke <magnuskulke@linux.microsoft.com> | 2026-04-17 12:56:03 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-06-25 19:54:49 +0200 |
| commit | a70da3a0e06b3beb0d43ea3c6ecee964f7d1cd66 (patch) | |
| tree | 73a92f0465d1434a3eb5681486dcbefb697cf286 /include | |
| parent | e624d93f3384f4981076186c8d1f22535fa73052 (diff) | |
| download | qemu-a70da3a0e06b3beb0d43ea3c6ecee964f7d1cd66.tar.gz qemu-a70da3a0e06b3beb0d43ea3c6ecee964f7d1cd66.zip | |
target/i386/mshv: expose mshv_get_generic_regs
We expose the fn, so we can call them from the other source files
(msr.c).
Signed-off-by: Magnus Kulke <magnuskulke@linux.microsoft.com>
Link: https://lore.kernel.org/r/20260417105618.3621-20-magnuskulke@linux.microsoft.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/system/mshv_int.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/system/mshv_int.h b/include/system/mshv_int.h index 0cf68d2879..ac26bfafe4 100644 --- a/include/system/mshv_int.h +++ b/include/system/mshv_int.h @@ -80,6 +80,8 @@ int mshv_configure_vcpu(const CPUState *cpu); int mshv_run_vcpu(int vm_fd, CPUState *cpu, hv_message *msg, MshvVmExit *exit); int mshv_set_generic_regs(const CPUState *cpu, const hv_register_assoc *assocs, size_t n_regs); +int mshv_get_generic_regs(CPUState *cpu, hv_register_assoc *assocs, + size_t n_regs); int mshv_arch_store_vcpu_state(const CPUState *cpu); int mshv_arch_load_vcpu_state(CPUState *cpu); void mshv_arch_init_vcpu(CPUState *cpu); |
