summaryrefslogtreecommitdiff
path: root/include/exec
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2017-06-02 18:12:26 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2017-06-15 11:04:05 +0200
commit6b9911d0b6508b5fe4efa55d4f3bc9bc851c73a2 (patch)
tree06225de1558f6c5dc614b6353eb545e2ff5f21ca /include/exec
parent8381d89bec0ca233c45c03939735e6eb89aab022 (diff)
downloadqemu-6b9911d0b6508b5fe4efa55d4f3bc9bc851c73a2.zip
memory: remove memory_region_set_fd
Now unnecessary since ivshmem uses memory_region_init_ram_from_fd. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20170602141229.15326-7-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/memory.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/exec/memory.h b/include/exec/memory.h
index 51a54c92d5..37f8e78e71 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -825,17 +825,6 @@ static inline bool memory_region_is_rom(MemoryRegion *mr)
int memory_region_get_fd(MemoryRegion *mr);
/**
- * memory_region_set_fd: Mark a RAM memory region as backed by a
- * file descriptor.
- *
- * This function is typically used after memory_region_init_ram_ptr().
- *
- * @mr: the memory region being queried.
- * @fd: the file descriptor that backs @mr.
- */
-void memory_region_set_fd(MemoryRegion *mr, int fd);
-
-/**
* memory_region_from_host: Convert a pointer into a RAM memory region
* and an offset within it.
*