On 10/14/2011 01:44 AM, Alexander Graf wrote: > Wouldn't a simple > > if (kvm_enabled()) { > return; > } > > in the beginning of the function make more sense? There's no code connecting > the in-qemu and the in-kvm decrementors atm, so any logic applying to the > in-qemu one is moot for kvm.
On book3e at least, we can use sregs to set the decrementer, and we probably want this to happen on reset. -Scott