Marc-André Lureau 8381d89bec 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>
2017-06-15 11:04:05 +02:00
..
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:24 +00:00
2016-05-19 16:42:29 +02:00
2016-06-14 15:59:14 +01:00
2016-12-27 14:59:28 +00:00
2016-01-29 15:07:22 +00:00
2017-06-02 05:54:43 +01:00
2016-05-19 16:42:29 +02:00
2017-06-15 11:04:05 +02:00
2016-06-14 15:59:14 +01:00
2016-01-29 15:07:24 +00:00
2016-01-29 15:07:24 +00:00
2016-01-29 15:07:24 +00:00
2016-01-29 15:07:24 +00:00
2016-01-29 15:07:24 +00:00
2016-06-16 18:39:03 +02:00
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00
2017-06-02 05:54:43 +01:00
2016-05-19 16:42:29 +02:00