From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xen.org
Subject: Re: [PATCH] tools/xc: print messages from xc_save with xc_report
Date: Fri, 15 Feb 2013 21:36:41 +0100 [thread overview]
Message-ID: <20130215203641.GA15504@aepfle.de> (raw)
In-Reply-To: <83a05c99299d60197fbb.1360958844@probook.site>
On Fri, Feb 15, Olaf Hering wrote:
> +++ b/tools/xcutils/xc_save.c
> si.xce = xc_evtchn_open(NULL, 0);
> if (si.xce == NULL)
> - warnx("failed to open event channel handle");
> + WPRINTF("failed to open event channel handle");
> else
> {
> port = xs_suspend_evtchn_port(si.domid);
>
> if (port < 0)
> - warnx("failed to get the suspend evtchn port\n");
> + WPRINTF("failed to get the suspend evtchn port\n");
> else
> {
> si.suspend_evtchn =
> xc_suspend_evtchn_init(si.xch, si.xce, si.domid, port);
>
> if (si.suspend_evtchn < 0)
> - warnx("suspend event channel initialization failed, "
> + WPRINTF("suspend event channel initialization failed, "
> "using slow path");
> }
Is this path well tested, or should these three be fatal errors?
Olaf
prev parent reply other threads:[~2013-02-15 20:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-15 20:07 [PATCH] tools/xc: print messages from xc_save with xc_report Olaf Hering
2013-02-15 20:36 ` Olaf Hering [this message]
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=20130215203641.GA15504@aepfle.de \
--to=olaf@aepfle.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.