From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TioAw-0007pv-BN for qemu-devel@nongnu.org; Wed, 12 Dec 2012 10:24:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TioAm-0004f6-De for qemu-devel@nongnu.org; Wed, 12 Dec 2012 10:24:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:9167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TioAm-0004es-6W for qemu-devel@nongnu.org; Wed, 12 Dec 2012 10:24:36 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBCFOZp6000731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 12 Dec 2012 10:24:35 -0500 Message-ID: <50C8A1AA.7020804@redhat.com> Date: Wed, 12 Dec 2012 16:24:26 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1353320494-15033-1-git-send-email-pbonzini@redhat.com> <1353320494-15033-5-git-send-email-pbonzini@redhat.com> <20121212142207.GA15555@redhat.com> <50C894CB.9030406@redhat.com> <20121212144854.GG15555@redhat.com> <50C899E4.5020403@redhat.com> <20121212152106.GA16750@redhat.com> In-Reply-To: <20121212152106.GA16750@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 4/5] ivshmem: use symbolic constant for PCI ID, add to pci-ids.txt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, kraxel@redhat.com Il 12/12/2012 16:21, Michael S. Tsirkin ha scritto: > Thinking about it some more, I'd rather move this stuff > out of pci.h > > For virtio, there's actually linux/virtio_ids.h > which defines VIRTIO_ID_NET etc. We should add that, > and have virtio just use it. > > Doesn't ivshmem have a linux driver? No, you use it with mmap of sysfs files. The doorbell feature requires uio. > When it lands upstream we'll be able to add it to pci_ids.h > meanwhile keeping a number in device .c seems fine as well. I think the point was to avoid conflicts, but as long as docs/specs/ is kept in sync that's fine. > I will do the virtio change I think - meanwhile > could you limit this patch to just the .txt change please? Ok, will resend. Paolo