Re: [PATCH] KVM: x86: clflushopt should be treated as a no-op by emulation

2020-11-13 Thread Paolo Bonzini
On 03/11/20 13:04, David Edmondson wrote: 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 --- arch/x86/kvm/emulate.c | 8 +++

Re: [PATCH] KVM: x86: clflushopt should be treated as a no-op by emulation

2020-11-13 Thread Joao Martins
On 11/3/20 12:04 PM, David Edmondson wrote: > 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 FWIW, Reviewed-by: Joao Mart

[PATCH] KVM: x86: clflushopt should be treated as a no-op by emulation

2020-11-03 Thread David Edmondson
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 --- arch/x86/kvm/emulate.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletio