From fbc1c7e6886290c72e78bac85db8e779d608b38b Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 2 Mar 2011 08:56:05 +0100 Subject: kvm: Fix build warning when KVM_CAP_SET_GUEST_DEBUG is lacking Original fix by David Gibson. CC: David Gibson Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti --- kvm-all.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kvm-all.c') diff --git a/kvm-all.c b/kvm-all.c index e6a7de4722..7753c8ae38 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -998,7 +998,9 @@ int kvm_cpu_exec(CPUState *env) } ret = EXCP_INTERRUPT; +#ifdef KVM_CAP_SET_GUEST_DEBUG out: +#endif env->exit_request = 0; cpu_single_env = NULL; return ret; -- cgit v1.2.3