mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
8381d89bec
commit
6b9911d0b6
2 changed files with 0 additions and 21 deletions
|
@ -824,17 +824,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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue