Michael S. Tsirkin 794e8f301a exec: factor out duplicate mmap code
Anonymous and file-backed RAM allocation are now almost exactly the same.

Reduce code duplication by moving RAM mmap code out of oslib-posix.c and
exec.c.

Reported-by: Marc-André Lureau <mlureau@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>

Tested-by: Thibaut Collet <thibaut.collet@6wind.com>
2015-10-21 09:24:44 +03:00
..
2015-06-05 17:10:00 +02:00
2015-06-05 17:10:00 +02:00
2015-04-30 16:05:48 +03:00
2014-10-09 15:36:15 +02:00
2015-09-15 07:45:33 -07:00
2014-05-30 13:00:28 -06:00
2015-06-23 16:05:34 +01:00
2015-06-22 17:40:01 +02:00
2015-09-07 18:14:03 +02:00
2014-02-20 13:14:18 +01:00
2015-09-25 12:04:45 +02:00
2015-06-12 17:04:59 +02:00
2014-06-19 18:44:19 +03:00
2015-02-16 17:30:19 +01:00
2014-02-01 13:46:06 +04:00
2014-03-13 14:42:21 +01:00
2013-10-17 17:30:55 +02:00
2015-02-02 16:55:10 +01:00
2015-10-12 13:23:40 +08:00