On 02/26/2011 06:44 PM, Prasad Joshi wrote:
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. Following small patch fixes the problem,
please apply.


Applied, thanks. Note this patch was somehow corrupted with 0xa0 characters instead of good old spaces. Please check your mail config.

Signed-off-by: Prasad Joshi<prasadjoshi...@gmail.com>
---
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 */
--

The last line from the diff was missing as well.


--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to