From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOtGk-00026h-AY for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOtGf-000251-6Z for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:33 -0400 Received: from [199.232.76.173] (port=42377 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOtGe-00024s-Gt for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:28 -0400 Received: from mx2.redhat.com ([66.187.237.31]:54490) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOtGd-0002AV-Te for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:28 -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 n69D2RuC016187 for ; Thu, 9 Jul 2009 09:02:27 -0400 From: Gerd Hoffmann Date: Thu, 9 Jul 2009 15:02:19 +0200 Message-Id: <1247144544-8885-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 0/5] qdev: add driver class support. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Hi, This patch series brings driver classes to qdev. DeviceInfo gets a new field specifying what kind of device this is. For starters there are Sound cards and Network cards. The number of device classes will probably grow over time. The device class will be shown in the listing printed by '-device ?', so users and management apps can figure what kinds of -- say -- network cards are supported by that particular qemu binary. Last patch in the series makes pci_nic_init() use this as well. The hard-coded driver name tables are gone. Compiling out drivers for certain pci network cards is easy now, just lose the object file. cheers, Gerd