]> git.proxmox.com Git - mirror_qemu.git/blobdiff - exec.c
gluster: Prepare for SocketAddressFlat extension
[mirror_qemu.git] / exec.c
diff --git a/exec.c b/exec.c
index a22f5a03858a2c2a400d68036dde63b4f81f8b81..e57a8a217894c181010a35759e892d5b102462b1 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -1561,6 +1561,11 @@ const char *qemu_ram_get_idstr(RAMBlock *rb)
     return rb->idstr;
 }
 
+bool qemu_ram_is_shared(RAMBlock *rb)
+{
+    return rb->flags & RAM_SHARED;
+}
+
 /* Called with iothread lock held.  */
 void qemu_ram_set_idstr(RAMBlock *new_block, const char *name, DeviceState *dev)
 {