From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biLiB-0006JC-HO for qemu-devel@nongnu.org; Fri, 09 Sep 2016 09:19:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biLi5-0002U6-RF for qemu-devel@nongnu.org; Fri, 09 Sep 2016 09:19:19 -0400 Received: from roura.ac.upc.es ([147.83.33.10]:59576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biLi5-0002Tv-Dv for qemu-devel@nongnu.org; Fri, 09 Sep 2016 09:19:13 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <147310178240.10840.14758930096407696981.stgit@fimbulvetr.bsc.es> <147310180392.10840.12864372901014347462.stgit@fimbulvetr.bsc.es> <20160906044154-mutt-send-email-mst@kernel.org> Date: Fri, 09 Sep 2016 15:19:11 +0200 In-Reply-To: <20160906044154-mutt-send-email-mst@kernel.org> (Michael S. Tsirkin's message of "Tue, 6 Sep 2016 04:43:00 +0300") Message-ID: <87wpil9po0.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 4/6] hypertrace: [softmmu] Add QEMU-side proxy to "guest_hypertrace" event List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, Luiz Capitulino , Stefan Hajnoczi , Marcel Apfelbaum Michael S Tsirkin writes: > On Mon, Sep 05, 2016 at 08:56:44PM +0200, Llu=C3=ADs Vilanova wrote: >> diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h >> index 929ec2f..8973f57 100644 >> --- a/include/hw/pci/pci.h >> +++ b/include/hw/pci/pci.h >> @@ -80,6 +80,8 @@ >> #define PCI_DEVICE_ID_VIRTIO_RNG 0x1005 >> #define PCI_DEVICE_ID_VIRTIO_9P 0x1009 >>=20 >> +#define PCI_DEVICE_ID_HYPERTRACE 0x10f0 >> + >> #define PCI_VENDOR_ID_REDHAT 0x1b36 >> #define PCI_DEVICE_ID_REDHAT_BRIDGE 0x0001 >> #define PCI_DEVICE_ID_REDHAT_SERIAL 0x0002 > There's no need to add IDs to this header. > We should probably drop the ones we currently have in pci.h, too. You mean these should simply be a define inside each device's code? Thanks, Lluis