summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-01-01 18:02:31 +0200
committerAvi Kivity <avi@redhat.com>2012-01-04 13:34:49 +0200
commit26a83ad0e793465b74a8b06a65f2f6fdc5615413 (patch)
treed4687b4fd7daae2a4f604b415c6eeeb92945d33b /scripts/qapi-types.py
parentacbbec5d438dcf04234519bac53e1f5263572d76 (diff)
downloadfocaccia-qemu-26a83ad0e793465b74a8b06a65f2f6fdc5615413.tar.gz
focaccia-qemu-26a83ad0e793465b74a8b06a65f2f6fdc5615413.zip
memory: remove MemoryRegion::backend_registered
backend_registered was used to lazify the process of registering an
mmio region, since the it is different for the I/O address space and
the memory address space.  However, it also makes registration dependent
on the region being visible in the address space.  This is not the case
for "fake" regions, like watchpoints or IO_MEM_UNASSIGNED.

Remove backend_registered and always initialize the region.  If it turns
out to be part of the I/O address space, we've wasted an I/O slot, but
that's not too bad.  In any case this will be optimized later on.

Signed-off-by: Avi Kivity <avi@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions