i386: Add support for SUCCOR feature
authorJohn Allen <john.allen@amd.com>
Mon, 3 Jun 2024 19:36:21 +0000 (19:36 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 8 Jun 2024 08:33:39 +0000 (10:33 +0200)
commit2ba8b7ee63589d4063c3b8dff3b70dbf9e224fc6
tree750b6c80830a50b0ae64e48c00f426b65b202093
parent4b77512b2782a6b48691d4341991491de26415de
i386: Add support for SUCCOR feature

Add cpuid bit definition for the SUCCOR feature. This cpuid bit is required to
be exposed to guests to allow them to handle machine check exceptions on AMD
hosts.

----
v2:
  - Add "succor" feature word.
  - Add case to kvm_arch_get_supported_cpuid for the SUCCOR feature.

Reported-by: William Roche <william.roche@oracle.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: John Allen <john.allen@amd.com>
Message-ID: <20240603193622.47156-3-john.allen@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c
target/i386/cpu.h
target/i386/kvm/kvm.c