On 11.04.2011, at 18:15, Scott Wood wrote:
On Sat, 9 Apr 2011 02:18:34 +0200
Alexander Graf ag...@suse.de wrote:
-int kvm_arch_init_vcpu(CPUState *cenv)
+static int kvm_arch_sync_sregs(CPUState *cenv)
huh? So what about the previous caller of this?
It's a new function.
On Sat, 9 Apr 2011 02:18:34 +0200
Alexander Graf ag...@suse.de wrote:
-int kvm_arch_init_vcpu(CPUState *cenv)
+static int kvm_arch_sync_sregs(CPUState *cenv)
huh? So what about the previous caller of this?
It's a new function. kvm_arch_init_vcpu still exists as a public
function,
Classic/server ppc has had SREGS for a while now (though I think not
always?), but it's still missing for booke. Check the capability before
calling KVM_SET_SREGS.
Without this, booke kvm fails to boot as of commit
84b4915dd2c0eaa86c970ffc42a68ea8ba9e48b5 (kvm: Handle kvm_init_vcpu
errors).