From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Gerd Hoffmann 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> Subject: [Qemu-devel] [PATCH qemu 1/6] pci: add virtio input pci device id List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: virtio-dev@lists.oasis-open.org, Gerd Hoffmann , "Michael S. Tsirkin" 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 -- 1.8.3.1