Re: [PATCH 2/2] KVM: SVM: Emulate next_rip svm feature

From: Avi Kivity
Date: Wed Jul 28 2010 - 08:25:51 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/