diff options
| author | Jan Beulich <jbeulich@novell.com> | 2011-03-15 13:57:11 +0000 |
|---|---|---|
| committer | Jan Beulich <jbeulich@novell.com> | 2011-03-15 13:57:11 +0000 |
| commit | 9239d24b4065088101eb19a840a827d24f6aa106 (patch) | |
| tree | 0e95ce1d3ab7147fb060c669e276b6db49ac2564 /tools/blktap2/drivers/block-ram.c | |
| parent | b4e1e7763361a95a0863056e87397f2cc32407cd (diff) | |
| download | xen-9239d24b4065088101eb19a840a827d24f6aa106.tar.gz xen-9239d24b4065088101eb19a840a827d24f6aa106.tar.bz2 xen-9239d24b4065088101eb19a840a827d24f6aa106.zip | |
x86: run-time callers of map_pages_to_xen() must check for errors
Again, (out-of-memory) errors must not cause hypervisor crashes, and
hence ought to be propagated.
This also adjusts the cache attribute changing loop in
get_page_from_l1e() to not go through an unnecessary iteration. While
this could be considered mere cleanup, it is actually a requirement
for the subsequent now necessary error recovery path.
Also make a few functions static, easing the check for potential
callers needing adjustment.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset: 22997:5f28dcea1355
xen-unstable date: Wed Mar 09 16:15:36 2011 +0000
x86: don't BUG() post-boot in alloc_xen_pagetable()
Instead, propagate the condition to the caller, all of which also get
adjusted to check for that situation.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset: 22996:1eeccafe9042
xen-unstable date: Wed Mar 09 16:14:59 2011 +0000
Diffstat (limited to 'tools/blktap2/drivers/block-ram.c')
0 files changed, 0 insertions, 0 deletions
