2 * Copyright © 2018, 2021 Oracle and/or its affiliates.
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
9 #ifndef PROXY_MEMORY_LISTENER_H
10 #define PROXY_MEMORY_LISTENER_H
12 #include "exec/memory.h"
13 #include "io/channel.h"
15 typedef struct ProxyMemoryListener
{
16 MemoryListener listener
;
19 MemoryRegionSection
*mr_sections
;
22 } ProxyMemoryListener
;
24 void proxy_memory_listener_configure(ProxyMemoryListener
*proxy_listener
,
26 void proxy_memory_listener_deconfigure(ProxyMemoryListener
*proxy_listener
);