From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhsuM-0004q2-8u for qemu-devel@nongnu.org; Wed, 29 May 2013 22:48:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhsuH-0001rW-QG for qemu-devel@nongnu.org; Wed, 29 May 2013 22:48:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhsuH-0001q7-He for qemu-devel@nongnu.org; Wed, 29 May 2013 22:48:01 -0400 From: Amos Kong Date: Thu, 30 May 2013 10:47:48 +0800 Message-Id: <1369882068-5483-1-git-send-email-akong@redhat.com> Subject: [Qemu-devel] [PATCH] pci: change typename of q35 to pci-q35 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, kevin@koconnor.net, seabios@seabios.org, aliguori@us.ibm.com, mst@redhat.com In QEMU, we set the firmware name of pc-i440fx is 'pci', and set the firmware name of q35 is 'q35-pcihost'. The seabios pattern matching code isn't sophisticated, and we want to match those two devices with exact pattern. This patch changes the typename of q35 to 'pci-q35', all pci devices use same prefix 'pci' in fireware name. And I will change pattern in seabios to "/pci*@i0cf8". Signed-off-by: Amos Kong --- include/hw/pci-host/q35.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/pci-host/q35.h b/include/hw/pci-host/q35.h index e182c82..3579fb0 100644 --- a/include/hw/pci-host/q35.h +++ b/include/hw/pci-host/q35.h @@ -34,7 +34,7 @@ #include "hw/acpi/ich9.h" #include "hw/pci-host/pam.h" -#define TYPE_Q35_HOST_DEVICE "q35-pcihost" +#define TYPE_Q35_HOST_DEVICE "pci-q35" #define Q35_HOST_DEVICE(obj) \ OBJECT_CHECK(Q35PCIHost, (obj), TYPE_Q35_HOST_DEVICE) -- 1.8.1.4