From: Daniel Gollub <[email protected]> /var/lib/buildbot/qemu-kvm/default_x86_64_debian_5_0/build/qemu-kvm-x86.c:1635: warning: no previous prototype for 'kvm_arch_do_ioperm' /var/lib/buildbot/qemu-kvm/default_x86_64_debian_5_0/build/qemu-kvm.c:1832: warning: unused variable 'data' /var/lib/buildbot/qemu-kvm/default_x86_64_debian_5_0/build/qemu-kvm.c:70: warning: 'ioperm_head' defined but not used
Signed-off-by: Daniel Gollub <[email protected]> -- qemu-kvm.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) Signed-off-by: Avi Kivity <[email protected]> diff --git a/qemu-kvm.c b/qemu-kvm.c index e2f3b91..78eeb6f 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -66,8 +66,10 @@ static CPUState *kvm_debug_cpu_requested; static uint64_t phys_ram_size; +#ifdef USE_KVM_DEVICE_ASSIGNMENT /* The list of ioperm_data */ static LIST_HEAD(, ioperm_data) ioperm_head; +#endif //#define DEBUG_MEMREG #ifdef DEBUG_MEMREG @@ -1829,7 +1831,9 @@ static void *ap_main_loop(void *_env) { CPUState *env = _env; sigset_t signals; +#ifdef USE_KVM_DEVICE_ASSIGNMENT struct ioperm_data *data = NULL; +#endif current_env = env; env->thread_id = kvm_get_thread_id(); -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
