From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCA8H-00032P-3m for qemu-devel@nongnu.org; Tue, 19 Apr 2011 08:34:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCA8G-0007Ns-A2 for qemu-devel@nongnu.org; Tue, 19 Apr 2011 08:34:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCA8G-0007No-0i for qemu-devel@nongnu.org; Tue, 19 Apr 2011 08:34:16 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3JCYFIC008010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 19 Apr 2011 08:34:15 -0400 From: Kevin Wolf Date: Tue, 19 Apr 2011 14:36:38 +0200 Message-Id: <1303216603-11658-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/5] atapi: Some code restructuring List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: amit.shah@redhat.com, kwolf@redhat.com Not marking this as an RFC because I want to commit itif everyone is happy with it. Otherwise please treat it like an RFC. I don't mind too much if you think we shouldn't do this, it's just an option for which I wanted to try what it would look like. Kevin Wolf (5): ide: Split atapi.c out ide/atapi: Factor some commands out ide/atapi: Use table instead of switch for commands ide/atapi: Replace bdrv_get_geometry calls by s->nb_sectors ide/atapi: Introduce NEED_DISK flag for commands Makefile.objs | 2 +- hw/ide/atapi.c | 1132 +++++++++++++++++++++++++++++++++++++++++++++++++++++ hw/ide/core.c | 1065 +------------------------------------------------- hw/ide/internal.h | 14 +- 4 files changed, 1147 insertions(+), 1066 deletions(-) create mode 100644 hw/ide/atapi.c -- 1.7.2.3