aboutsummaryrefslogtreecommitdiff
path: root/ioport.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-01-08 19:46:17 +0200
committerAvi Kivity <avi@redhat.com>2012-02-29 13:44:40 +0200
commitde58ac72b6a062d1a61478284c0c0f8a0428613e (patch)
treeef86f1e965826d0b9dd42d1092ad3ef617c26845 /ioport.h
parent9d4df9c02866f39d3eef105033091f367cc7c29e (diff)
ioport: change portio_list not to use memory_region_set_offset()
memory_region_set_offset() will be going away soon, so don't use it. Use an alias instead. Signed-off-by: Avi Kivity <avi@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'ioport.h')
-rw-r--r--ioport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ioport.h b/ioport.h
index ae3e9da0b5..ab29c89fb3 100644
--- a/ioport.h
+++ b/ioport.h
@@ -60,6 +60,7 @@ typedef struct PortioList {
struct MemoryRegion *address_space;
unsigned nr;
struct MemoryRegion **regions;
+ struct MemoryRegion **aliases;
void *opaque;
const char *name;
} PortioList;