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:
Roger Pau Monne authored and Andrew Cooper committed 2018-12-27 19:47:33 +00:00
1 parent b61c9acdea
commit 626c9bde57
1 file changed
+1 -1
+1 -1
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.