diff options
author | Cédric Le Goater <clg@kaod.org> | 2022-07-28 08:15:52 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2022-08-01 15:24:15 +0200 |
commit | 398c01da9c8c8af5db0b2b4b4888c2bd27218230 (patch) | |
tree | 0e5031829e080623113dc25fc0dc431dbdb3f94a /subprojects | |
parent | 3867c1c5fd8f509bd1deada6119cd0f28edeb9af (diff) | |
download | qemu-398c01da9c8c8af5db0b2b4b4888c2bd27218230.zip qemu-398c01da9c8c8af5db0b2b4b4888c2bd27218230.tar.gz qemu-398c01da9c8c8af5db0b2b4b4888c2bd27218230.tar.bz2 |
aspeed/fby35: Fix owner of the BMC RAM memory region
A MachineState object is used as a owner of the RAM region and this
asserts in memory_region_init_ram() when QEMU is built with
CONFIG_QOM_CAST_DEBUG :
/* This will assert if owner is neither NULL nor a DeviceState.
* We only want the owner here for the purposes of defining a
* unique name for migration. TODO: Ideally we should implement
* a naming scheme for Objects which are not DeviceStates, in
* which case we can relax this restriction.
*/
owner_dev = DEVICE(owner);
Use the BMC and BIC objects as the owners of their memory regions.
Cc: Peter Delevoryas <peter@pjd.dev>
Fixes: 778e14cc5cd5 ("aspeed: Add AST2600 (BMC) to fby35")
Reviewed-by: Peter Delevoryas <peter@pjd.dev>
Message-Id: <20220727102714.803041-3-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'subprojects')
0 files changed, 0 insertions, 0 deletions