[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH CFT v3 00/50] NEED_CPU_H / cpu.h / hw/hw.h clean

From: Cornelia Huck
Subject: Re: [Qemu-devel] [PATCH CFT v3 00/50] NEED_CPU_H / cpu.h / hw/hw.h cleanups
Date: Wed, 18 May 2016 10:21:47 +0200

On Mon, 16 May 2016 17:35:32 +0200
Paolo Bonzini <address@hidden> wrote:

> I compiled this on x64 Linux (all patches) and 32-bit ARM
> Linux, and I will compile it on Win32 before sending a pull
> request.  I would appreciate people compile-testing it on s390
> and PPC.  The changes are available in the git repository at
> git://github.com/bonzini/qemu.git, branch need-cpu-h (SHA1 for the top
> commit is b65f2d57b126883367fb81d54f383352b24029b1).


In file included from /root/git/qemu/include/sysemu/kvm.h:221:0,
                 from /root/git/qemu/balloon.c:30:
/root/git/qemu/target-s390x/cpu.h: In function ‘vregs_needed’:
/root/git/qemu/target-s390x/cpu.h:1241:9: error: implicit declaration of 
function ‘kvm_check_extension’ [-Werror=implicit-function-declaration]
         return kvm_check_extension(kvm_state, KVM_CAP_S390_VECTOR_REGISTERS);
/root/git/qemu/target-s390x/cpu.h:1241:9: error: nested extern declaration of 
‘kvm_check_extension’ [-Werror=nested-externs]
In file included from /root/git/qemu/balloon.c:30:0:
/root/git/qemu/include/sysemu/kvm.h: At top level:
/root/git/qemu/include/sysemu/kvm.h:401:5: error: redundant redeclaration of 
‘kvm_check_extension’ [-Werror=redundant-decls]
 int kvm_check_extension(KVMState *s, unsigned int extension);
In file included from /root/git/qemu/include/sysemu/kvm.h:221:0,
                 from /root/git/qemu/balloon.c:30:
/root/git/qemu/target-s390x/cpu.h:1241:16: note: previous implicit declaration 
of ‘kvm_check_extension’ was here
         return kvm_check_extension(kvm_state, KVM_CAP_S390_VECTOR_REGISTERS);

That's on one of my s390x systems; on another one (where I don't test),
it builds. But something's wrong :)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]