summaryrefslogtreecommitdiffstats
path: root/net/net.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-09-24 14:41:17 +0300
committerMichael S. Tsirkin <mst@redhat.com>2015-10-21 09:24:44 +0300
commit794e8f301a17953efa78ab7538019ec43c59e82a (patch)
tree99efbb84259d79552bd700c58242f6350b88efd2 /net/net.c
parent7df953bd456da45f761064974820ab5c3fd7b2aa (diff)
downloadhqemu-794e8f301a17953efa78ab7538019ec43c59e82a.zip
hqemu-794e8f301a17953efa78ab7538019ec43c59e82a.tar.gz
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>
Diffstat (limited to 'net/net.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud