Re: [Qemu-devel] [PATCH v2 1/8] kvm: reset state from the CPU's reset method

2014-05-12 Thread Andreas Färber
Am 02.05.2014 16:33, schrieb Paolo Bonzini: > Now that we have a CPU object with a reset method, it is better to > keep the KVM reset close to the CPU reset. Using qemu_register_reset > as we do now keeps them far apart. > > With this patch, PPC no longer calls the kvm_arch_ function, so > it can

[Qemu-devel] [PATCH v2 1/8] kvm: reset state from the CPU's reset method

2014-05-02 Thread Paolo Bonzini
Now that we have a CPU object with a reset method, it is better to keep the KVM reset close to the CPU reset. Using qemu_register_reset as we do now keeps them far apart. With this patch, PPC no longer calls the kvm_arch_ function, so it can get removed there. Other arches call it from their CPU