From: Fabien Chouteau <chouteau@adacore.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: kwolf@redhat.com, blauwirbel@gmail.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Fix error code checking for SetFilePointer() call
Date: Tue, 11 Dec 2012 18:44:30 +0100 [thread overview]
Message-ID: <50C770FE.6010108@adacore.com> (raw)
In-Reply-To: <20121211092151.GB30567@stefanha-thinkpad.muc.redhat.com>
On 12/11/2012 10:21 AM, Stefan Hajnoczi wrote:
> The fprintf() is kind of iffy but we only return -EIO so I guess it
> helps to print the full error.
I add it because it took me a while to get to the actual error. Without
it the error message is even more cryptic:
qemu-system-ppc.exe: -hda fat:no-mbr:rw:.: could not open disk image fat:no-mbr:rw:.: Operation not permitted
At least it helps to find where the error comes from.
--
Fabien Chouteau
prev parent reply other threads:[~2012-12-11 17:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-10 11:56 [Qemu-devel] [PATCH] Fix error code checking for SetFilePointer() call Fabien Chouteau
2012-12-11 9:21 ` Stefan Hajnoczi
2012-12-11 10:37 ` Kevin Wolf
2012-12-11 17:44 ` Fabien Chouteau [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=50C770FE.6010108@adacore.com \
--to=chouteau@adacore.com \
--cc=blauwirbel@gmail.com \
--cc=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.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.