diff options
author | Igor Mammedov <imammedo@redhat.com> | 2014-06-02 15:25:07 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-06-19 16:41:47 +0300 |
commit | 7bb5d6ade6d8afbcad72a871f712370ffae457c6 (patch) | |
tree | cf3219b0c732f78214338c4877af6a8ec6134593 /hw/i386/pc.c | |
parent | eed2bacfd2519e45498b585a147f11b0fd01c3c7 (diff) | |
download | qemu-7bb5d6ade6d8afbcad72a871f712370ffae457c6.zip qemu-7bb5d6ade6d8afbcad72a871f712370ffae457c6.tar.gz qemu-7bb5d6ade6d8afbcad72a871f712370ffae457c6.tar.bz2 |
pc-dimm: do not allow setting an in-use memdev
using the same memdev backend more than once will cause
assertion at MemoryRegion mapping time because it's already
mapped. Prevent it by checking that the associated MemoryRegion
is not mapped.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
MST: tweak commit log
Diffstat (limited to 'hw/i386/pc.c')
0 files changed, 0 insertions, 0 deletions