On 09/02/2010 07:29 PM, Roedel, Joerg wrote:
I agree. We can probably use X86EMUL_PROPAGATE_FAULT to abort
emulation, but looking at the code, it will take some refactoring.
I thought of an X86EMUL_INTERCEPTED. An architecture specific function
is called after instruction decoding which checks if an intercept is
necessary. If it returns X86EMUL_INTERCEPTED then the instruction
emulation is discarded and kvm goes straight back into the guest.
Yes, this sounds just right.
--
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 kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html