From: Matthew Daley <mattjd@gmail.com>
To: xen-devel@lists.xen.org
Cc: fabio.fantoni@m2r.biz, Matthew Daley <mattjd@gmail.com>
Subject: [PATCH] libxc: silence HVM domain creation messages
Date: Thu, 15 Aug 2013 10:20:54 +1200 [thread overview]
Message-ID: <1376518854-6212-1-git-send-email-mattjd@gmail.com> (raw)
There's no need for xl to output these messages on HVM domain creation
to stderr by default.
Change their loglevels from XTL_INFO to XTL_DETAIL; then the messages
output by xl are the same as those for PV domain creation. These
now-silenced messages can still be seen using verbose (-v) mode.
Signed-off-by: Matthew Daley <mattjd@gmail.com>
---
tools/libxc/xc_hvm_build_x86.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/libxc/xc_hvm_build_x86.c b/tools/libxc/xc_hvm_build_x86.c
index 8bb0178..77bd365 100644
--- a/tools/libxc/xc_hvm_build_x86.c
+++ b/tools/libxc/xc_hvm_build_x86.c
@@ -281,7 +281,7 @@ static int setup_guest(xc_interface *xch,
goto error_out;
}
- IPRINTF("VIRTUAL MEMORY ARRANGEMENT:\n"
+ DPRINTF("VIRTUAL MEMORY ARRANGEMENT:\n"
" Loader: %016"PRIx64"->%016"PRIx64"\n"
" Modules: %016"PRIx64"->%016"PRIx64"\n"
" TOTAL: %016"PRIx64"->%016"PRIx64"\n"
@@ -443,7 +443,7 @@ static int setup_guest(xc_interface *xch,
goto error_out;
}
- IPRINTF("PHYSICAL MEMORY ALLOCATION:\n"
+ DPRINTF("PHYSICAL MEMORY ALLOCATION:\n"
" 4KB PAGES: 0x%016lx\n"
" 2MB PAGES: 0x%016lx\n"
" 1GB PAGES: 0x%016lx\n",
--
1.7.10.4
next reply other threads:[~2013-08-14 22:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-14 22:20 Matthew Daley [this message]
2013-08-20 15:03 ` [PATCH] libxc: silence HVM domain creation messages Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1376518854-6212-1-git-send-email-mattjd@gmail.com \
--to=mattjd@gmail.com \
--cc=fabio.fantoni@m2r.biz \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).