diff mbox

[v3,02/17] kvm: Fix build warning when KVM_CAP_SET_GUEST_DEBUG is lacking

Message ID 89c94e2dacfa1beb3fa69581f887ad9487282d05.1299052578.git.jan.kiszka@siemens.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka March 2, 2011, 7:56 a.m. UTC
None
diff mbox

Patch

diff --git a/kvm-all.c b/kvm-all.c
index e6a7de4..7753c8a 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;