Re: [PATCH] KVM: selftests: fix sync_with_host() in smm_test

2020-06-10 Thread Paolo Bonzini
On 10/06/20 18:41, Vitaly Kuznetsov wrote: > It was reported that older GCCs compile smm_test in a way that breaks > it completely: > > kvm_exit: reason EXIT_CPUID rip 0x4014db info 0 0 > func 7ffd idx 830 rax 0 rbx 0 rcx 0 rdx 0, cpuid entry not found > ... > kvm_exit:

Re: [PATCH] KVM: selftests: fix sync_with_host() in smm_test

2020-06-10 Thread Jim Mattson
On Wed, Jun 10, 2020 at 9:41 AM Vitaly Kuznetsov wrote: > > It was reported that older GCCs compile smm_test in a way that breaks > it completely: > > kvm_exit: reason EXIT_CPUID rip 0x4014db info 0 0 > func 7ffd idx 830 rax 0 rbx 0 rcx 0 rdx 0, cpuid entry not found > ... >

[PATCH] KVM: selftests: fix sync_with_host() in smm_test

2020-06-10 Thread Vitaly Kuznetsov
It was reported that older GCCs compile smm_test in a way that breaks it completely: kvm_exit: reason EXIT_CPUID rip 0x4014db info 0 0 func 7ffd idx 830 rax 0 rbx 0 rcx 0 rdx 0, cpuid entry not found ... kvm_exit: reason EXIT_MSR rip 0x40abd9 info 0 0 kvm_msr: