]> Git Repo - qemu.git/commit
pc-dimm: do not allow setting an in-use memdev
authorIgor Mammedov <[email protected]>
Mon, 2 Jun 2014 13:25:07 +0000 (15:25 +0200)
committerMichael S. Tsirkin <[email protected]>
Thu, 19 Jun 2014 13:41:47 +0000 (16:41 +0300)
commit7bb5d6ade6d8afbcad72a871f712370ffae457c6
treecf3219b0c732f78214338c4877af6a8ec6134593
parenteed2bacfd2519e45498b585a147f11b0fd01c3c7
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 <[email protected]>
Acked-by: Peter Crosthwaite <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
MST: tweak commit log
hw/mem/pc-dimm.c
This page took 0.02573 seconds and 4 git commands to generate.