device-assignment: detect pre-fectchable memory region correctly
commitd4ce9c7455103e8d66165fe94a1caef4d7ec7c6b
authorPrasad Joshi <prasadjoshi124@gmail.com>
Sat, 26 Feb 2011 16:44:28 +0000 (26 16:44 +0000)
committerAvi Kivity <avi@redhat.com>
Mon, 28 Feb 2011 13:15:40 +0000 (28 15:15 +0200)
treece4517940d1cabd45df5efe1f0701c330923a2e0
parent1a8364456c2f3946b4feb8fc78eaf00d974f4c03
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