Skip to contentSkip to conversation

: PVH linux: don't print warning in case of failed mapping

PATCH New Mukesh Rathor 1 participant 1 message Feb 16, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : PVH linux: don't print warning in case of failed mapping

Remove the printing of warning in case of failed mappings. Sometimes they are expected as in case of Qemu mapping pages during HVM guest creation.

---
 arch/x86/xen/mmu.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
arch/x86/xen/mmu.c +0 -3
index fbf6a63..afa6af6 100644
@@ -2499,9 +2499,6 @@ static int pvh_add_to_xen_p2m(unsigned long lpfn, unsigned long fgmfn,
 	set_xen_guest_handle(xatpr.gpfns, &gpfn);
 
 	rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap_range, &xatpr);
-	if (rc)
-		pr_warn("d0: Failed to map pfn to mfn rc:%d pfn:%lx mfn:%lx\n",
-			rc, lpfn, fgmfn);
 	return rc;
 }
 
Signature · 1 line
1.7.2.3