* [RESEND] [PATCH 1/1] qemu-kvm (device-assignment): detecting the pre-fectchable memory region.
[not found] <AANLkTinnFLueBvZ5FDiUZrMYuoh7LJN0ikjQrZ-yYnem@mail.gmail.com>
@ 2011-02-26 16:44 ` Prasad Joshi
2011-02-27 12:31 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Prasad Joshi @ 2011-02-26 16:44 UTC (permalink / raw)
To: kvm
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.
Signed-off-by: Prasad Joshi <prasadjoshi124@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 */
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [RESEND] [PATCH 1/1] qemu-kvm (device-assignment): detecting the pre-fectchable memory region.
2011-02-26 16:44 ` [RESEND] [PATCH 1/1] qemu-kvm (device-assignment): detecting the pre-fectchable memory region Prasad Joshi
@ 2011-02-27 12:31 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2011-02-27 12:31 UTC (permalink / raw)
To: Prasad Joshi; +Cc: kvm
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<prasadjoshi124@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-27 12:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <AANLkTinnFLueBvZ5FDiUZrMYuoh7LJN0ikjQrZ-yYnem@mail.gmail.com>
2011-02-26 16:44 ` [RESEND] [PATCH 1/1] qemu-kvm (device-assignment): detecting the pre-fectchable memory region Prasad Joshi
2011-02-27 12:31 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox