diff options
| author | Marc-André Lureau | 2017-06-02 16:12:25 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2017-06-15 11:04:05 +0200 |
| commit | 8381d89bec0ca233c45c03939735e6eb89aab022 (patch) | |
| tree | 3b59838292b82baca3b90e4406345f2437a48081 /include/exec | |
| parent | Add memory_region_init_ram_from_fd() (diff) | |
| download | qemu-8381d89bec0ca233c45c03939735e6eb89aab022.tar.gz qemu-8381d89bec0ca233c45c03939735e6eb89aab022.tar.xz qemu-8381d89bec0ca233c45c03939735e6eb89aab022.zip | |
ivshmem: use ram_from_fd()
Instead of having its own mmap handling code, reuse the code from
exec.c.
Note: memory_region_init_ram_from_fd() adds some restrictions
(check for xen, kvm sync-mmu, etc) and changes (such as size
alignment). This may actually be more correct.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170602141229.15326-6-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
