From: Pekka Enberg <penberg@kernel.org>
To: walimis <walimisdev@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>, Ingo Molnar <mingo@elte.hu>,
Sasha Levin <levinsasha928@gmail.com>,
Prasad Joshi <prasadjoshi124@gmail.com>,
Asias He <asias.hejun@gmail.com>,
kvm@vger.kernel.org
Subject: Re: [PATCH 2/2] kvm tools: handle failure of command
Date: Wed, 10 Aug 2011 08:30:19 +0300 [thread overview]
Message-ID: <4E42176B.7000701@kernel.org> (raw)
In-Reply-To: <20110810050340.GB16258@walimis-desktop>
On 8/10/11 8:03 AM, walimis wrote:
> On Wed, Aug 10, 2011 at 08:02:01AM +0300, Pekka Enberg wrote:
>> On Wed, Aug 10, 2011 at 5:44 AM, Liming Wang<walimisdev@gmail.com> wrote:
>>> handle failure of calling command function, especially, only handle
>>> EPERM error now.
>>>
>>> Signed-off-by: Liming Wang<walimisdev@gmail.com>
>> I applied the patch because I absolutely loved the error handling
>> cleanups from the previous patch. However, out of curiosity, are you
>> seeing EPERM with some command in particular?
> Yes. Because I'm using ubuntu and if I don't use sudo to execute
> "kvm pause", pause command can't work and doesn't prompt anything.
That's odd. I don't use sudo with the tool either. Sasha?
> BTW, do you always login as "root" user?
Depends on which image you're using.
Pekka
next prev parent reply other threads:[~2011-08-10 5:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-10 2:44 [PATCH 1/2] kvm tools: convert callback to int and deal with the return value Liming Wang
2011-08-10 2:44 ` [PATCH 2/2] kvm tools: handle failure of command Liming Wang
2011-08-10 5:02 ` Pekka Enberg
2011-08-10 5:03 ` walimis
2011-08-10 5:30 ` Pekka Enberg [this message]
2011-08-10 5:33 ` walimis
2011-08-10 5:53 ` Pekka Enberg
2011-08-10 6:12 ` walimis
2011-08-10 6:35 ` Pekka Enberg
2011-08-10 6:32 ` walimis
2011-08-10 6:49 ` Pekka Enberg
2011-08-10 9:28 ` Asias He
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=4E42176B.7000701@kernel.org \
--to=penberg@kernel.org \
--cc=asias.hejun@gmail.com \
--cc=gorcunov@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=levinsasha928@gmail.com \
--cc=mingo@elte.hu \
--cc=prasadjoshi124@gmail.com \
--cc=walimisdev@gmail.com \
/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.