kvm: Fix build warning when KVM_CAP_SET_GUEST_DEBUG is lacking

Original fix by David Gibson.

CC: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
Jan Kiszka 2011-03-02 08:56:05 +01:00 committed by Marcelo Tosatti
parent bdcbd3e2fb
commit fbc1c7e688

View File

@ -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;