Il 18/07/2014 11:32, Marcin Gibuła ha scritto:
3) the next CPU entry will call kvm_arch_put_registers: if (cpu->kvm_vcpu_dirty) { kvm_arch_put_registers(cpu, KVM_PUT_RUNTIME_STATE); cpu->kvm_vcpu_dirty = false; }But, I don't set cpu->kvm_vcpu_dirty anywhere (?).
Yeah, the next CPU entry will *not* call kvm_arch_put_registers with your change. It will call it with vanilla cpu_synchronize_all_states().
Paolo