Skip to content
Commit 2b3c246a authored by Sasha Levin's avatar Sasha Levin Committed by Avi Kivity
Browse files

KVM: Make coalesced mmio use a device per zone



This patch changes coalesced mmio to create one mmio device per
zone instead of handling all zones in one device.

Doing so enables us to take advantage of existing locking and prevents
a race condition between coalesced mmio registration/unregistration
and lookups.

Suggested-by: default avatarAvi Kivity <avi@redhat.com>
Signed-off-by: default avatarSasha Levin <levinsasha928@gmail.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent 8c3ba334
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment