mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
x86/dom0: propagate guest_physmap_add_page error code
No functional change. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
b61c9acdea
commit
626c9bde57
1 file changed
+1
-1
@@ -126,7 +126,7 @@ static int __init pvh_populate_memory_range(struct domain *d,
|
||||
{
|
||||
printk("Failed to populate memory: [%#lx,%#lx): %d\n",
|
||||
start, start + (1UL << order), rc);
|
||||
return -ENOMEM;
|
||||
return rc;
|
||||
}
|
||||
start += 1UL << order;
|
||||
nr_pages -= 1UL << order;
|
||||
|
||||