Re: [PATCH v4 2/2] KVM: X86: Add Force Emulation Prefix for "emulate the next instruction"

2018-04-03 Thread Wanpeng Li
2018-04-04 3:24 GMT+08:00 Radim Krčmář : > 2018-03-30 02:06-0700, Wanpeng Li: >> From: Wanpeng Li >> >> There is no easy way to force KVM to run an instruction through the emulator >> (by design as that will expose the x86 emulator as a significant >> attack-surface). >> However, we do wish to ex

Re: [PATCH v4 2/2] KVM: X86: Add Force Emulation Prefix for "emulate the next instruction"

2018-04-03 Thread Radim Krčmář
2018-03-30 02:06-0700, Wanpeng Li: > From: Wanpeng Li > > There is no easy way to force KVM to run an instruction through the emulator > (by design as that will expose the x86 emulator as a significant > attack-surface). > However, we do wish to expose the x86 emulator in case we are testing it

[PATCH v4 2/2] KVM: X86: Add Force Emulation Prefix for "emulate the next instruction"

2018-03-30 Thread Wanpeng Li
From: Wanpeng Li There is no easy way to force KVM to run an instruction through the emulator (by design as that will expose the x86 emulator as a significant attack-surface). However, we do wish to expose the x86 emulator in case we are testing it (e.g. via kvm-unit-tests). Therefore, this pat