Commit 087c857
KVM: x86: clflushopt should be treated as a no-op by emulation
commit 51b958e upstream.
The instruction emulator ignores clflush instructions, yet fails to
support clflushopt. Treat both similarly.
Fixes: 13e457e ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 7ae6f2d commit 087c857
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4050 | 4050 | | |
4051 | 4051 | | |
4052 | 4052 | | |
| 4053 | + | |
| 4054 | + | |
| 4055 | + | |
| 4056 | + | |
| 4057 | + | |
| 4058 | + | |
4053 | 4059 | | |
4054 | 4060 | | |
4055 | 4061 | | |
| |||
4592 | 4598 | | |
4593 | 4599 | | |
4594 | 4600 | | |
4595 | | - | |
| 4601 | + | |
4596 | 4602 | | |
4597 | 4603 | | |
4598 | 4604 | | |
| |||
0 commit comments