Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > media > main-src > by-pkgid > aadbe78a25743146bb784eee19f007c5 > files > 445

kvm-83-164.el5_5.9.src.rpm

From b69ac135bee33a3dd77608f408f2482c7e5e61d2 Mon Sep 17 00:00:00 2001
From: Eduardo Habkost <ehabkost@redhat.com>
Date: Thu, 17 Sep 2009 14:06:02 -0300
Subject: [PATCH 07/38] kvm_allowed is exported in qemu-kvm.h and it is used anyways before this re-definition in this file

RH-Author: Juan Quintela <quintela@redhat.com>
Message-id: <d2a33b6ef8ce03e1a8f065e18932c97ce9932654.1249487147.git.quintela@redhat.com>
Patchwork-id: 3176
O-Subject: [PATCH 09/38] kvm_allowed is exported in qemu-kvm.h and it is used
	anyways before this re-definition in this file
Bugzilla: 515749
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
RH-Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
RH-Acked-by: Markus Armbruster <armbru@redhat.com>

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 qemu/vl.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 qemu/vl.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/qemu/vl.c b/qemu/vl.c
index fad5491..52fec74 100644
--- a/qemu/vl.c
+++ b/qemu/vl.c
@@ -5992,7 +5992,6 @@ int main(int argc, char **argv, char **envp)
 #if USE_KVM
     if (kvm_enabled()) {
 	if (kvm_qemu_init() < 0) {
-	    extern int kvm_allowed;
 	    fprintf(stderr, "Could not initialize KVM, will disable KVM support\n");
 #ifdef NO_CPU_EMULATION
 	    fprintf(stderr, "Compiled with --disable-cpu-emulation, exiting.\n");
-- 
1.6.3.rc4.29.g8146