Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 3160499aacb81f6735941eb4c372d87a > files > 496

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

From 12b381070c7dcfb7654f3e4a6b9436dc3ee475a5 Mon Sep 17 00:00:00 2001
From: Eduardo Habkost <ehabkost@redhat.com>
Date: Thu, 17 Sep 2009 14:06:02 -0300
Subject: [PATCH 10/38] move several kvm variables after qemu-kvm.h include, as they are defined as extern there.

RH-Author: Juan Quintela <quintela@redhat.com>
Message-id: <a94d21c447f4a12ecfaaaed661f52ab75640acb8.1249487147.git.quintela@redhat.com>
Patchwork-id: 3177
O-Subject: [PATCH 10/38] move several kvm variables after qemu-kvm.h include,
	as they are defined as extern there.
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/qemu-kvm.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

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

diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c
index 1bc9d91..5262b8c 100644
--- a/qemu/qemu-kvm.c
+++ b/qemu/qemu-kvm.c
@@ -8,12 +8,6 @@
 #include "config.h"
 #include "config-host.h"
 
-int kvm_allowed = 1;
-int kvm_irqchip = 1;
-int kvm_pit = 1;
-int kvm_pit_reinject = 1;
-int kvm_nested = 0;
-
 #include <assert.h>
 #include <string.h>
 #include "hw/hw.h"
@@ -31,6 +25,12 @@ int kvm_nested = 0;
 #include <sys/syscall.h>
 #include <sys/mman.h>
 
+int kvm_pit = 1;
+int kvm_allowed = 1;
+int kvm_irqchip = 1;
+int kvm_pit_reinject = 1;
+int kvm_nested = 0;
+
 #define false 0
 #define true 1
 
-- 
1.6.3.rc4.29.g8146