Skip to content

Commit

Permalink
attempt to fix fast snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett committed Oct 23, 2024
1 parent 0dc52ed commit d99f038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/isa/lpc_ich9.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ static void ich9_lpc_rcba_update(ICH9LPCState *lpc, uint32_t rcba_old)
if (rcba_old & ICH9_LPC_RCBA_EN) {
memory_region_del_subregion(get_system_memory(), &lpc->rcrb_mem);
}
if (rcba & ICH9_LPC_RCBA_EN) {
if (rcba & ICH9_LPC_RCBA_EN && !lpc->rcrb_mem.container) {
memory_region_add_subregion_overlap(get_system_memory(),
rcba & ICH9_LPC_RCBA_BA_MASK,
&lpc->rcrb_mem, 1);
Expand Down

0 comments on commit d99f038

Please sign in to comment.