Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/xen Redo previous; kill the right printf()
details: https://anonhg.NetBSD.org/src/rev/93de392eac2a
branches: trunk
changeset: 369800:93de392eac2a
user: bouyer <bouyer%NetBSD.org@localhost>
date: Thu Sep 01 15:32:16 2022 +0000
description:
Redo previous; kill the right printf()
diffstat:
sys/arch/xen/xen/privcmd.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r e36d9e3ea959 -r 93de392eac2a sys/arch/xen/xen/privcmd.c
--- a/sys/arch/xen/xen/privcmd.c Thu Sep 01 12:36:14 2022 +0000
+++ b/sys/arch/xen/xen/privcmd.c Thu Sep 01 15:32:16 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: privcmd.c,v 1.65 2022/09/01 12:31:26 bouyer Exp $ */
+/* $NetBSD: privcmd.c,v 1.66 2022/09/01 15:32:16 bouyer Exp $ */
/*-
* Copyright (c) 2004 Christian Limpach.
@@ -27,7 +27,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: privcmd.c,v 1.65 2022/09/01 12:31:26 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: privcmd.c,v 1.66 2022/09/01 15:32:16 bouyer Exp $");
#include "opt_xen.h"
@@ -554,14 +554,13 @@
set_xen_guest_handle(add.errs, &err2);
err = HYPERVISOR_memory_op(XENMEM_add_to_physmap_batch, &add);
if (err < 0) {
+ printf("privcmd_mmapbatch_v2: XENMEM_add_to_physmap_batch failed %d\n", err);
privpgop_detach(&obj->uobj);
return privcmd_xen2bsd_errno(err);
}
err = err2;
if (err == 0)
maddr[i] = base_paddr + i * PAGE_SIZE;
- else
- printf("privcmd_mmapbatch_v2: XENMEM_add_to_physmap_batch failed %d for entry %d\n", err, i);
#endif /* XENPV */
cerr = copyout(&err, &pmb->err[i], sizeof(pmb->err[i]));
Home |
Main Index |
Thread Index |
Old Index