ppc host, target-ppc: fix building of kvm.c
PATCH 1/1 ppc host, target-ppc: fix building of kvm.c
Below patch fixes the following error when building on a ppc host:
cc1: warnings being treated as errors /root/qemu/qemu-git/target-ppc/kvm.c: In function kvm_arch_get_registers:/root/qemu/qemu-git/target-ppc/kvm.c:188: error: unused variable sregs
--- target-ppc/kvm.c | 2 ++ 1 file changed, 2 insertions(+)
target-ppc/kvm.c +2 -0
@@ -185,7 +185,9 @@ int kvm_arch_put_registers(CPUState *envint kvm_arch_get_registers (CPUState *env) {struct kvm_regs regs; +#ifdef KVM_CAP_PPC_BOOKE_SREGS struct kvm_sregs sregs; +#endif uint32_t cr;int i, ret;
Am 26.05.2011 um 20:50 schrieb Stefan Berger <[email protected]>:
Quoted 7 lines
Below patch fixes the following error when building on a ppc host:
cc1: warnings being treated as errors
/root/qemu/qemu-git/target-ppc/kvm.c: In functionkvm_arch_get_registers:/root/qemu/qemu-git/target-ppc/kvm.c:188: error: unused variable sregsSigned-off-by Stefan Berger <[email protected]>
Thanks :). I already posted a patch on the list to fix this issue, so this will be fixed soon.
For the meantime, you could just acked-by mine :)
Alex