]> git.proxmox.com Git - mirror_qemu.git/commit - softmmu/physmem.c
exec: split qemu_ram_alloc_from_file()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 2 Jun 2017 14:12:23 +0000 (18:12 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 15 Jun 2017 09:04:04 +0000 (11:04 +0200)
commit38b3362dd15c2dc4ad0edd105cde914e639d90fa
tree27b83a948ae958aa6731a99eb6520b15f9e61228
parent8d37b030fe14917a95118db04ed898c1cd2c8f49
exec: split qemu_ram_alloc_from_file()

Add qemu_ram_alloc_from_fd(), which can be use to allocate ramblock from
fd only.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170602141229.15326-4-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c
include/exec/ram_addr.h