aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2012-01-26 11:04:59 +0000
committerOlaf Hering <olaf@aepfle.de>2012-01-26 11:04:59 +0000
commitb2b39f76e60c48cad4dfaba3a6837255e24da207 (patch)
tree95345bd0bfb86724cbe5180e18e4547847f29bd3 /README
parentb40e1660b6130d76bc6b241aa6cfd4d03d2f3dde (diff)
downloadxen-b2b39f76e60c48cad4dfaba3a6837255e24da207.tar.gz
xen-b2b39f76e60c48cad4dfaba3a6837255e24da207.tar.bz2
xen-b2b39f76e60c48cad4dfaba3a6837255e24da207.zip
tools/libxc: fix error handling in xc_mem_paging_load
xc_mem_paging_load() does not pass errors in errno and the actual errno from xc_mem_event_control() is overwritten by munlock(). xenpaging_populate_page() needs to check errno, but with the switch to xc_mem_paging_load() it could not receive ENOMEM anymore. Update xc_mem_paging_load() to return -1 and preserve errno during munlock(). Signed-off-by: Olaf Hering <olaf@aepfle.de> Acked-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions