forked from mirror/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
d8cf2c29cc
Pass through RDPID and RDTSCP support in CPUID if host supports it. Correctly detect if CPU_BASED_TSC_OFFSET and CPU_BASED2_RDTSCP would be supported in primary and secondary processor-based VM-execution controls. Enable RDTSCP in secondary processor controls if RDTSCP support is indicated in CPUID. Signed-off-by: Cameron Esfahani <dirty@apple.com> Message-Id: <20220214185605.28087-7-f4bug@amsat.org> Tested-by: Silvio Moioli <moio@suse.com> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1011 Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> |
2 years ago | |
---|---|---|
.. | ||
README.md | 6 years ago | |
hvf-cpu.c | 3 years ago | |
hvf-i386.h | 4 years ago | |
hvf.c | 2 years ago | |
meson.build | 4 years ago | |
panic.h | 4 years ago | |
vmcs.h | 2 years ago | |
vmx.h | 2 years ago | |
x86.c | 3 years ago | |
x86.h | 3 years ago | |
x86_cpuid.c | 2 years ago | |
x86_decode.c | 3 years ago | |
x86_decode.h | 4 years ago | |
x86_descr.c | 3 years ago | |
x86_descr.h | 4 years ago | |
x86_emu.c | 3 years ago | |
x86_emu.h | 3 years ago | |
x86_flags.c | 3 years ago | |
x86_flags.h | 4 years ago | |
x86_mmu.c | 3 years ago | |
x86_mmu.h | 4 years ago | |
x86_task.c | 3 years ago | |
x86_task.h | 6 years ago | |
x86hvf.c | 3 years ago | |
x86hvf.h | 3 years ago |
README.md
OS X Hypervisor.framework support in QEMU
These sources (and ../hvf-all.c) are adapted from Veertu Inc's vdhh (Veertu Desktop Hosted Hypervisor) (last known location: https://github.com/veertuinc/vdhh) with some minor changes, the most significant of which were:
- Adapt to our current QEMU's
CPUState
structure andaddress_space_rw
API; many struct members have been moved around (emulated x86 state, xsave_buf) due to historical differences + QEMU needing to handle more emulation targets. - Removal of
apic_page
and hyperv-related functionality. - More relaxed use of
qemu_mutex_lock_iothread
.