File kvm-qemu-preXX-device-assignment-detect-pre-fectchable-me.patch of Package kvm.853

From d4ce9c7455103e8d66165fe94a1caef4d7ec7c6b Mon Sep 17 00:00:00 2001
From: Prasad Joshi <prasadjoshi124@gmail.com>
Date: Sat, 26 Feb 2011 16:44:28 +0000
Subject: [PATCH] device-assignment: detect pre-fectchable memory region correctly

During device assignment the memory pre-fetchable flag was discarded
as the IORESOURCE_PREFETCH was defined as 0x00001000 when instead it
should have been 0x00002000.

Signed-off-by: Prasad Joshi <prasadjoshi124@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
---
 hw/device-assignment.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/device-assignment.c b/hw/device-assignment.c
index e5205cf..2cfa155 100644
--- a/hw/device-assignment.c
+++ b/hw/device-assignment.c
@@ -47,7 +47,7 @@
 #define IORESOURCE_MEM      0x00000200
 #define IORESOURCE_IRQ      0x00000400
 #define IORESOURCE_DMA      0x00000800
-#define IORESOURCE_PREFETCH 0x00001000  /* No side effects */
+#define IORESOURCE_PREFETCH 0x00002000  /* No side effects */
 
 /* #define DEVICE_ASSIGNMENT_DEBUG 1 */
 
-- 
1.6.0.2