Sophie

Sophie

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

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

From 279fdc913017976d1f7ca27b61a79dd1809bdd97 Mon Sep 17 00:00:00 2001
From: Juan Quintela <quintela@redhat.com>
Date: Fri, 10 Apr 2009 13:25:37 +0200
Subject: [PATCH 05/11] make BlockDriver struct opaque and global

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <2cdf2981ca13d5d77250a9eb67a9fc05493ddc5e.1239359004.git.quintela@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com
RH-Upstream-status: pending
Acked-by: john cooper <john.cooper@redhat.com>
Acked-by: Zachary Amsden <zamsden@redhat.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Bugzilla: 497886
---
 qemu/block.h       |    3 ---
 qemu/qemu-common.h |    1 +
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/qemu/block.h b/qemu/block.h
index c3798bd..148763a 100644
--- a/qemu/block.h
+++ b/qemu/block.h
@@ -3,9 +3,6 @@
 
 #include "qemu-aio.h"
 
-/* block.c */
-typedef struct BlockDriver BlockDriver;
-
 extern BlockDriver bdrv_raw;
 extern BlockDriver bdrv_host_device;
 extern BlockDriver bdrv_cow;
diff --git a/qemu/qemu-common.h b/qemu/qemu-common.h
index 5f75b2e..5799fd4 100644
--- a/qemu/qemu-common.h
+++ b/qemu/qemu-common.h
@@ -158,6 +158,7 @@ typedef struct NICInfo NICInfo;
 typedef struct HCIInfo HCIInfo;
 typedef struct AudioState AudioState;
 typedef struct BlockDriverState BlockDriverState;
+typedef struct BlockDriver BlockDriver;
 typedef struct DisplayState DisplayState;
 typedef struct TextConsole TextConsole;
 typedef TextConsole QEMUConsole;
-- 
1.6.1