]> git.proxmox.com Git - mirror_qemu.git/commit - accel/kvm/kvm-all.c
kvm fix compilation with GCC 4.3.4
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Oct 2014 10:23:35 +0000 (12:23 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 10 Oct 2014 13:07:08 +0000 (14:07 +0100)
commit9d1c35dfc9940e4afa604a25f62b9dc197c513b6
tree8ae571615a7c9f9f66c46e43d957dfdd3773102e
parentfcb2cd928f5519b8241e22411a696be1a7272b1c
kvm fix compilation with GCC 4.3.4

As usual, SLES11's GCC complained about double typedefs:

/home/cohuck/git/qemu/kvm-all.c:110: error: redefinition of typedef ‘KVMState’
/home/cohuck/git/qemu/include/sysemu/kvm.h:161: error: previous declaration of ‘KVMState’ was here

Reported-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
kvm-all.c