memory: Add global-locking property to memory regions
commit196ea13104f802c508e57180b2a0d2b3418989a3
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 18 Jun 2015 16:47:20 +0000 (18 18:47 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 1 Jul 2015 13:45:50 +0000 (1 15:45 +0200)
tree60167787abeca65610b7f64c5e7c8300a33982a3
parentafbe70535ff1a8a7a32910cc15ebecc0ba92e7da
memory: Add global-locking property to memory regions

This introduces the memory region property "global_locking". It is true
by default. By setting it to false, a device model can request BQL-free
dispatching of region accesses to its r/w handlers. The actual BQL
break-up will be provided in a separate patch.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Frederic Konrad <fred.konrad@greensocs.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1434646046-27150-4-git-send-email-pbonzini@redhat.com>
include/exec/memory.h
memory.c