[Qemu-devel] [Patch] ENOMEDIUM fix for Darwin and *BSD
Hi, This fix, /qemu/hw/ide.c: In function `ide_atapi_io_error': /qemu/hw/ide.c:972: error: `ENOMEDIUM' undeclared (first use in this function) on Darwin and certainly on other *BSDs Pierre. Index: vl.h === RCS file: /sources/qemu/qemu/vl.h,v retrieving revision 1.177 diff -u -r1.177 vl.h --- vl.h24 Jan 2007 21:40:21 - 1.177 +++ vl.h26 Jan 2007 14:51:15 - @@ -44,6 +44,9 @@ #ifndef O_BINARY #define O_BINARY 0 #endif +#ifndef ENOMEDIUM +#define ENOMEDIUM ENODEV +#endif #ifdef __sun__ #define ENOMEDIUM 4097 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu block.c vl.h
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer ths 07/01/26 15:37:46 Modified files: . : block.c vl.h Log message: Define ENOMEDIUM to match ENODEV if it isn't available. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/block.c?cvsroot=qemur1=1.41r2=1.42 http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemur1=1.177r2=1.178 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] [Patch] ENOMEDIUM fix for Darwin and *BSD
On 26 janv. 07, at 16:39, Thiemo Seufer wrote: Pierre d'Herbemont wrote: Hi, This fix, /qemu/hw/ide.c: In function `ide_atapi_io_error': /qemu/hw/ide.c:972: error: `ENOMEDIUM' undeclared (first use in this function) I committed a slightly different patch. And it's better ;) Pierre. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] qemu vl.h
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer ths 07/01/26 17:18:49 Modified files: . : vl.h Log message: ENODEV works also for __sun__, the magic number 4097 stemmed from the windows support. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemur1=1.178r2=1.179 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel