RE : [Qemu-devel] cdrom hardcoded index

2006-08-28 Thread Sylvain Petreolle
hi, --- [EMAIL PROTECTED] a écrit : Hello. How about finally not having cdrom hardcoded? Right now installing some distro that reqires hda and hdc to be active raid components and having to change that single variable initialization vaue is easy but not comfortable enough with

Re: Re: [Qemu-devel] cdrom hardcoded index

2006-08-28 Thread Míguel
What about something like -hdX test.iso,hw=cdrom with default hw being disk? And why not a shorted and more standard solution? -ideN [hd:|cd:]filename Examples: -ide0 /tmp/myimage.dsk Set primary master as harddisk (hd: is the default) -ide1 hd:/tmp/myimage.dsk Set primary slave as harddisk

RE: Re: [Qemu-devel] cdrom hardcoded index

2006-08-28 Thread Armistead, Jason
On Monday, 28 August 2006 10:08 PM (AEST) Míguel wrote: What about something like -hdX test.iso,hw=cdrom with default hw being disk? And why not a shorted and more standard solution? -ideN [hd:|cd:]filename Examples: -ide0 /tmp/myimage.dsk Set primary master as harddisk (hd: is the default)

Re: [Qemu-devel] cdrom hardcoded index

2006-08-28 Thread Paul Brook
On Monday 28 August 2006 13:20, Armistead, Jason wrote: On Monday, 28 August 2006 10:08 PM (AEST) Míguel wrote: What about something like -hdX test.iso,hw=cdrom with default hw being disk? And why not a shorted and more standard solution? -ideN [hd:|cd:]filename And what about non-PC

[Qemu-devel] Asking about testing a character device on Qemu ARM system

2006-08-28 Thread Tieu Ma Dau
Hi all,I use Qemu to simulate ARM system. I add a simple LED device at IO portaddress 0x1b00 (because this address is marked "reserved" inIntegratorCP documentation). So I want to ask you the following questions:1. Is there any problem if I use address 0x1b00 for my new device?2. How can I

[Qemu-devel] block-raw.c

2006-08-28 Thread Jose Renau
I updated to the latest qemu, but it does not work with OS X (powerpc). The problem is that aio.h does not exist. gcc -Wall -O2 -g -fno-strict-aliasing -D__powerpc__ -I. -I.. -I/Users/renau/projs/qemu/target-sparc -I/Users/renau/projs/qemu -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64

[Qemu-devel] block-raw.c COCOA patch

2006-08-28 Thread Jose Renau
--- block-raw.c 24 Aug 2006 18:58:29 - 1.9 +++ block-raw.c 28 Aug 2006 15:41:38 - @@ -25,7 +25,11 @@ #include block_int.h #include assert.h #ifndef _WIN32 +#ifdef CONFIG_COCOA +#include sys/aio.h +#else #include aio.h +#endif #ifndef QEMU_TOOL #include exec-all.h -- Many

[Qemu-devel] ENOMEDIUM OS X patch

2006-08-28 Thread Jose Renau
OS X does not include ENOMEDIUM on the error list (I think that the same is true for Solaris). This patch solves the problem. --- vl.h19 Aug 2006 12:37:52 - 1.144 +++ vl.h28 Aug 2006 15:44:08 - @@ -84,6 +84,10 @@ #endif /* !defined(QEMU_TOOL) */ +#ifdef

Re: [Qemu-devel] ENOMEDIUM OS X patch

2006-08-28 Thread Pierre d'Herbemont
On Aug 28, 2006, at 5:45 PM, Jose Renau wrote: OS X does not include ENOMEDIUM on the error list (I think that the same is true for Solaris). This patch solves the problem. so this would be more appropriate: +#ifndef ENOMEDIUM +#define ENOMEDIUM 4097 +#endif than: +#ifdef CONFIG_COCOA

Re: [Qemu-devel] block-raw.c COCOA patch

2006-08-28 Thread Phil Krylov
Hi Jose, On 28/08/06, Jose Renau [EMAIL PROTECTED] wrote: --- block-raw.c 24 Aug 2006 18:58:29 - 1.9 +++ block-raw.c 28 Aug 2006 15:41:38 - @@ -25,7 +25,11 @@ #include block_int.h #include assert.h #ifndef _WIN32 +#ifdef CONFIG_COCOA +#include sys/aio.h +#else #include

Re: [Qemu-devel] Asking about testing a character device on Qemu ARM system

2006-08-28 Thread Paul Brook
On Monday 28 August 2006 15:12, Tieu Ma Dau wrote: Hi all, I use Qemu to simulate ARM system. I add a simple LED device at IO port address 0x1b00 (because this address is marked reserved in IntegratorCP documentation). So I want to ask you the following questions: 1. Is there any problem

[Qemu-devel] Work toward Qemu support for libvirt

2006-08-28 Thread Daniel Veillard
Hi, this is just a heads up for people who might be interested (there was a thread last month here about this). Daniel Berrange has worked toward adding QEmu support in libvirt: https://www.redhat.com/archives/libvir-list/2006-August/msg00123.html

Re: [Qemu-devel] ENOMEDIUM OS X patch

2006-08-28 Thread Eric Lowe
Yes you are correct Solaris does not define this either, and I doubt other *nix systems do. Can this just be changed to #ifndef ENOMEDIUM #define ENOMEDIUM blahblah #endif or somesuch? - Eric --- Jose Renau [EMAIL PROTECTED] wrote: OS X does not include ENOMEDIUM on the error list (I

Re: [Qemu-devel] ENOMEDIUM OS X patch

2006-08-28 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Eric Lowe [EMAIL PROTECTED] writes: : Yes you are correct Solaris does not define this : either, and I doubt other *nix systems do. : : Can this just be changed to : : #ifndef ENOMEDIUM : #define ENOMEDIUM blahblah : #endif : : or somesuch? None of the

Re: RE : [Qemu-devel] cdrom hardcoded index

2006-08-28 Thread Fabrice Bellard
Sylvain Petreolle wrote: hi, --- [EMAIL PROTECTED] a écrit : Hello. How about finally not having cdrom hardcoded? Right now installing some distro that reqires hda and hdc to be active raid components and having to change that single variable initialization vaue is easy but not comfortable

RE : Re: RE : [Qemu-devel] cdrom hardcoded index

2006-08-28 Thread Sylvain Petreolle
Hi Fabrice, --- Fabrice Bellard [EMAIL PROTECTED] a écrit : Its vl.multicdrom, and you can download it from the archives at : http://lists.gnu.org/archive/html/qemu-devel/2006-04/msg00289.html A VM configuration file will be added in QEMU very soon. People wishing to have weird hardware

[Qemu-devel] qemu vl.h hw/esp.c hw/iommu.c hw/lsi53c895a.c h...

2006-08-28 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook pbrook 06/08/29 04:52:16 Modified files: . : vl.h hw : esp.c iommu.c lsi53c895a.c scsi-disk.c sun4m.c usb-msd.c Log message: SCSI TCQ