@@ -43,7 +43,6 @@ int kvm_pit = 1;
int kvm_pit_reinject = 1;
int kvm_nested = 0;
-
static KVMState *kvm_state;
kvm_context_t kvm_context;
@@ -84,7 +83,6 @@ static LIST_HEAD(, ioperm_data) ioperm_head;
#define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1))
-int kvm_abi = EXPECTED_KVM_API_VERSION;
int kvm_page_size;
#ifdef KVM_CAP_SET_GUEST_DEBUG
@@ -436,7 +434,6 @@ int kvm_init(int smp_cpus)
fprintf(stderr, "kvm userspace version too old\n");
goto out_close;
}
- kvm_abi = r;
kvm_page_size = getpagesize();
kvm_state = qemu_mallocz(sizeof(*kvm_state));
kvm_context = &kvm_state->kvm_context;
We're not using this for anything Signed-off-by: Glauber Costa <glommer@redhat.com> --- qemu-kvm.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)