From 89ae337acbe4dba5b2481007aec1277252d2b86c Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Sun, 2 Jun 2013 10:39:07 +0200 Subject: exec: move listener from AddressSpaceDispatch to AddressSpace This will help having two copies of AddressSpaceDispatch during the recreation of the radix tree (one being built, and one that is complete and will be protected by RCU). We do not want to have to unregister and re-register the listener. Reviewed-by: Jan Kiszka Signed-off-by: Paolo Bonzini --- include/exec/memory.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/exec/memory.h') diff --git a/include/exec/memory.h b/include/exec/memory.h index 8355bdb29a..248c89bdb6 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -209,6 +209,8 @@ struct AddressSpace { int ioeventfd_nb; struct MemoryRegionIoeventfd *ioeventfds; struct AddressSpaceDispatch *dispatch; + MemoryListener dispatch_listener; + QTAILQ_ENTRY(AddressSpace) address_spaces_link; }; -- cgit 1.4.1