diff options
author | Sean Christopherson <seanjc@google.com> | 2024-04-06 02:56:02 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-06-11 00:29:39 +0300 |
commit | bdaff4f92bcee7a6205f3544bb94e2d16ad98f6b (patch) | |
tree | ffe73def083ee320491b445a93b3006432a0b556 /scripts/generate_rust_analyzer.py | |
parent | 4067c2395e80e5109b485f1928a797be17d758ae (diff) | |
download | linux-bdaff4f92bcee7a6205f3544bb94e2d16ad98f6b.tar.xz |
KVM: x86: Open code vendor_intel() in string_registers_quirk()
Open code the is_guest_vendor_intel() check in string_registers_quirk() to
discourage makiking exact vendor==Intel checks in the emulator, and to
remove the rather awful #ifdeffery.
The string quirk is literally the only Intel specific, *non-architectural*
behavior that KVM emulates. All Intel specific behavior that is
architecturally defined applies to all vendors that are compatible with
Intel's architecture, i.e. should use guest_cpuid_is_intel_compatible().
Link: https://lore.kernel.org/r/20240405235603.1173076-10-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions