qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix error code checking for SetFilePointer() ca


From: Fabien Chouteau
Subject: Re: [Qemu-devel] [PATCH] Fix error code checking for SetFilePointer() call
Date: Tue, 11 Dec 2012 18:44:30 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121028 Thunderbird/16.0.2

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]