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

Paolo Bonzini
2014-03-10T12:24:10Z

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