aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/hostmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysemu/hostmem.h')
-rw-r--r--include/sysemu/hostmem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysemu/hostmem.h b/include/sysemu/hostmem.h
index 4fc081eb17..923f6721d2 100644
--- a/include/sysemu/hostmem.h
+++ b/include/sysemu/hostmem.h
@@ -34,6 +34,8 @@ typedef struct HostMemoryBackendClass HostMemoryBackendClass;
*/
struct HostMemoryBackendClass {
ObjectClass parent_class;
+
+ void (*alloc)(HostMemoryBackend *backend, Error **errp);
};
/**