From patchwork Thu Apr 10 09:07:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 338066 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0F51F140090 for ; Thu, 10 Apr 2014 19:10:42 +1000 (EST) Received: from localhost ([::1]:49845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYB0K-0007Z2-3m for incoming@patchwork.ozlabs.org; Thu, 10 Apr 2014 05:10:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYAy5-0004Wv-IV for qemu-devel@nongnu.org; Thu, 10 Apr 2014 05:08:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WYAxz-0008BC-E0 for qemu-devel@nongnu.org; Thu, 10 Apr 2014 05:08:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYAxz-00089Y-5k for qemu-devel@nongnu.org; Thu, 10 Apr 2014 05:08:15 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s3A98Dms028237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 10 Apr 2014 05:08:13 -0400 Received: from nilsson.home.kraxel.org (vpn1-6-190.ams2.redhat.com [10.36.6.190]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s3A98CrI022959; Thu, 10 Apr 2014 05:08:12 -0400 Received: by nilsson.home.kraxel.org (Postfix, from userid 500) id 4BDA18072D; Thu, 10 Apr 2014 11:08:11 +0200 (CEST) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Thu, 10 Apr 2014 11:07:49 +0200 Message-Id: <1397120874-17166-4-git-send-email-kraxel@redhat.com> In-Reply-To: <1397120874-17166-1-git-send-email-kraxel@redhat.com> References: <1397120874-17166-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: virtio-dev@lists.oasis-open.org, Gerd Hoffmann , "Michael S. Tsirkin" Subject: [Qemu-devel] [PATCH qemu 1/6] pci: add virtio input pci device id X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Using 0x1012 because virtio id is 18 (0x12). Signed-off-by: Gerd Hoffmann --- docs/specs/pci-ids.txt | 1 + include/hw/pci/pci.h | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/specs/pci-ids.txt b/docs/specs/pci-ids.txt index 3c65e1a..3b0a448 100644 --- a/docs/specs/pci-ids.txt +++ b/docs/specs/pci-ids.txt @@ -22,6 +22,7 @@ maintained as part of the virtio specification. 1af4:1004 SCSI host bus adapter device 1af4:1005 entropy generator device 1af4:1009 9p filesystem device +1af4:1012 input device 1af4:10f0 Available for experimental usage without registration. Must get to official ID when the code leaves the test lab (i.e. when seeking diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index 693dd6b..6539cbd 100644 --- a/include/hw/pci/pci.h +++ b/include/hw/pci/pci.h @@ -80,6 +80,7 @@ #define PCI_DEVICE_ID_VIRTIO_SCSI 0x1004 #define PCI_DEVICE_ID_VIRTIO_RNG 0x1005 #define PCI_DEVICE_ID_VIRTIO_9P 0x1009 +#define PCI_DEVICE_ID_VIRTIO_INPUT 0x1012 #define PCI_VENDOR_ID_REDHAT 0x1b36 #define PCI_DEVICE_ID_REDHAT_BRIDGE 0x0001