Don't separate registrations with IO_MEM_ROM set
commitdaed826b315b06dc1904fa771c21d5a464468c1e
authorGlauber Costa <glommer@redhat.com>
Tue, 23 Sep 2008 17:44:33 +0000 (23 14:44 -0300)
committerAvi Kivity <avi@redhat.com>
Wed, 24 Sep 2008 11:48:30 +0000 (24 14:48 +0300)
tree5e4e967a5fc22c2bde00249260343d11a28c72f2
parent9cb117c41b626b7cde112c559fd8e85f3dff2827
Don't separate registrations with IO_MEM_ROM set

Actually, all registrations are the same. If IO_MEM_ROM is set, we only
need to take care of not passing its value as the phys_offset.

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
qemu-kvm.c