]> www.infradead.org Git - users/dwmw2/qemu.git/commit
exec: split file_ram_alloc()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 2 Jun 2017 14:12:22 +0000 (18:12 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 15 Jun 2017 09:04:04 +0000 (11:04 +0200)
commit8d37b030fe14917a95118db04ed898c1cd2c8f49
tree3c610c94f0c5764e8666e2784f3679eff4a82fe6
parente45e7ae281221de48148477fd4f066091995653e
exec: split file_ram_alloc()

Move file opening part in a seperate function, file_ram_open(). This
allows for reuse of file_ram_alloc() with a given fd.

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