mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-23 16:24:15 +00:00
The guest_code of sync_regs_test is assuming that the compiler will not touch %r11 outside the asm that increments it, which is a bit brittle. Instead, we can increment a variable and use a dummy asm to ensure the increment is not optimized away. However, we also need to use a callee-save register or the compiler will insert a save/restore around the vmexit, breaking the whole idea behind the test. (Yes, "if it ain't broken...", but I would like the test to be clean before it is copied into the upcoming s390 selftests). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
|---|---|---|
| .. | ||
| cr4_cpuid_sync_test.c | ||
| evmcs_test.c | ||
| hyperv_cpuid.c | ||
| kvm_create_max_vcpus.c | ||
| platform_info_test.c | ||
| set_sregs_test.c | ||
| smm_test.c | ||
| state_test.c | ||
| sync_regs_test.c | ||
| vmx_close_while_nested_test.c | ||
| vmx_set_nested_state_test.c | ||
| vmx_tsc_adjust_test.c | ||