KVM: x86: clflushopt should be treated as a no-op by emulation
authorDavid Edmondson <david.edmondson@oracle.com>
Tue, 3 Nov 2020 12:04:00 +0000 (12:04 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Nov 2020 11:28:33 +0000 (06:28 -0500)
commit51b958e5aeb1e18c00332e0b37c5d4e95a3eff84
treed654a2cf8458fa112f1677ca70b2295f15f185e1
parent2c38234c425e627ca493eb0b7a9a34899a1f03ef
KVM: x86: clflushopt should be treated as a no-op by emulation

The instruction emulator ignores clflush instructions, yet fails to
support clflushopt. Treat both similarly.

Fixes: 13e457e0eebf ("KVM: x86: Emulator does not decode clflush well")
Signed-off-by: David Edmondson <david.edmondson@oracle.com>
Message-Id: <20201103120400.240882-1-david.edmondson@oracle.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c