Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 340e01248478ba8b78a6d4d1809b1eff > files > 340

kvm-83-270.el5_11.src.rpm

From a4a2f64ee97e1887ca204c125bd0c7c4b9813e51 Mon Sep 17 00:00:00 2001
From: Juan Quintela <quintela@redhat.com>
Date: Sat, 19 Dec 2009 02:24:36 -0200
Subject: [PATCH 02/16] enable_write_cache is one bool, no need for 32bits

RH-Author: Juan Quintela <quintela@redhat.com>
Message-id: <8cbc5be2394d4dc10ea9fc62c82e6660a87bce08.1261190612.git.quintela@redhat.com>
Patchwork-id: 5814
O-Subject: [PATCH] enable_write_cache is one bool, no need for 32bits
Bugzilla: 549938
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
RH-Acked-by: Marcelo Tosatti <mtosatti@redhat.com>
RH-Acked-by: Amit Shah <amit.shah@redhat.com>

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

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

diff --git a/qemu/block_int.h b/qemu/block_int.h
index 4c2e3b2..2df84c0 100644
--- a/qemu/block_int.h
+++ b/qemu/block_int.h
@@ -145,7 +145,7 @@ struct BlockDriverState {
     int growable;
 
     /* do we need to tell the quest if we have a volatile write cache? */
-    int enable_write_cache;
+    uint8_t enable_write_cache;
 
     /* NOTE: the following infos are only hints for real hardware
        drivers. They are not used by the block driver */
-- 
1.6.3.rc4.29.g8146