Messages in this thread | | | Date | Wed, 28 Jul 2010 15:25:37 +0300 | From | Avi Kivity <> | Subject | Re: [PATCH 2/2] KVM: SVM: Emulate next_rip svm feature |
| |
On 07/28/2010 03:18 PM, Roedel, Joerg wrote: > > >> The guest (L2 in this case) is doomed since it execution cannot >> continue. But L1 and L0 are fine. The problem with L2 avoiding >> intercepts is that L2 can change control registers and take over L1. > Right too. We can not ignore it. The right fix is probably a check for > the instruction intercepts right after the decoder has run and before > the emulator ran.
Should be easy - just like we have the Priv flag, add a bitfield to opcode_table that says which bit we need to check in the control area.
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
| |