diff options
author | Avi Kivity <avi@redhat.com> | 2012-01-08 13:18:19 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-01-08 18:16:31 +0200 |
commit | 1ddde08780f6862a98505f9fb9ea10305638783f (patch) | |
tree | bd8f145e7f2a0ba3646d6c2733f6f39dd5b60157 /module.c | |
parent | 1470a0cdca63d2592b3eab8fd22c9b18d38ce800 (diff) | |
download | qemu-1ddde08780f6862a98505f9fb9ea10305638783f.zip qemu-1ddde08780f6862a98505f9fb9ea10305638783f.tar.gz qemu-1ddde08780f6862a98505f9fb9ea10305638783f.tar.bz2 |
Fix vmstate_register_ram() for rom/device regions
rom/device regions have a ram_addr that is composed of both an I/O handler
(low bits) and RAM region (high bits); but qemu_ram_set_idstr() expects just
a RAM region. Mask the I/O handler to make it happy.
Tested-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'module.c')
0 files changed, 0 insertions, 0 deletions