Re: [Qemu-devel] [PATCH] kvm: ppc: fixes for KVM_SET_SREGS on init

2011-05-03 Thread Alexander Graf
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.

Re: [Qemu-devel] [PATCH] kvm: ppc: fixes for KVM_SET_SREGS on init

2011-04-11 Thread Scott Wood
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,

[Qemu-devel] [PATCH] kvm: ppc: fixes for KVM_SET_SREGS on init

2011-04-08 Thread Scott Wood
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).