Re: [PATCH 4/7] KVM: vmx: Allow the guest to run with dirty debug registers

From: Paolo Bonzini
Date: Mon Mar 10 2014 - 08:24:30 EST


Il 10/03/2014 13:17, Radim KrÄmÃÅ ha scritto:
> I considered this, but decided that it's unlikely for emulation to
> be faster than hardware---especially on those AMD CPUs that lack
> decode assists (and it's good for VMX and SVM code to look as
> similar as possible).
I meant to move it before the block that exits if there is the
'exception on access' bit set in cr7, so we wouldn't exit again right
away on the actual access, which is quite likely.
(Exiting without emulation was a great move.)


Ah yes, for the GD bit. I don't know, it's quite unlikely that anyone will use it... It's a feeble attempt at allowing virtualization of the debug registers without VMX.

Paolo
--
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/