On 02/13/2010 11:51 AM, Jan Kiszka wrote:
From: Jan Kiszka<jan.kis...@siemens.com>

VMX requires a properly set instruction length VM entry field when
trying to inject soft exception and interrupts. We have to preserve this
state across VM save/restore to avoid breaking the re-injection of such
events on Intel. So add it to the new VCPU event state.


Can't we fake it?  set instruction length to 1 and rewind rip by 1.

The only case where I think this can fail is if we have a fault during the soft exception injection.

--
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to