Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mdhtz-0000fv-5N for qemu-devel@nongnu.org; Wed, 19 Aug 2009 05:56:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mdhtu-0000bb-B4 for qemu-devel@nongnu.org; Wed, 19 Aug 2009 05:56:18 -0400 Received: from [199.232.76.173] (port=57926 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mdhtu-0000bQ-40 for qemu-devel@nongnu.org; Wed, 19 Aug 2009 05:56:14 -0400 Received: from [66.187.237.31] (port=54439 helo=mx2.redhat.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mdhtt-0003z5-An for qemu-devel@nongnu.org; Wed, 19 Aug 2009 05:56:13 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7J9u2iU015884 for ; Wed, 19 Aug 2009 05:56:02 -0400 From: Juan Quintela In-Reply-To: <1250611607-2441-3-git-send-email-kraxel@redhat.com> (Gerd Hoffmann's message of "Tue, 18 Aug 2009 18:06:41 +0200") Date: Wed, 19 Aug 2009 11:53:48 +0200 Message-ID: References: <1250611607-2441-1-git-send-email-kraxel@redhat.com> <1250611607-2441-3-git-send-email-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: [PATCH 2/8] ide: split away ide-isa.c List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org Reviewed-by: Juan Quintela Reply-to: quintela@redhat.com Gerd Hoffmann wrote: > create ide.h and ide-internal header files. ide-internal.h is supposed > to be used by ide*.c only. > > create ide-isa.c and place isa bus support there. > only build ide-isa support for platforms using it. > --- /dev/null > +++ b/hw/ide-internal.h > @@ -0,0 +1,97 @@ > +#ifndef HW_IDE_INTERNAL_H > +#define HW_IDE_INTERNAL_H > + Add a comment stating something in the lines of: /* IDE internal definitions if you are not an ide-*.c file, you should not load it */ > diff --git a/hw/ide-isa.c b/hw/ide-isa.c > new file mode 100644 > index 0000000..2d65825 > --- /dev/null > +++ b/hw/ide-isa.c > @@ -0,0 +1,45 @@ > +/* > + * QEMU IDE disk and CD/DVD-ROM Emulator > + * QEMU IDE Bus abstraction? Again, only nitpits, agreed with the reorganization.