qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] allocate pci id for mdpy


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] allocate pci id for mdpy
Date: Fri, 27 Apr 2018 08:18:22 +0200
User-agent: NeoMutt/20180323

On Thu, Apr 26, 2018 at 06:40:40PM +0300, Michael S. Tsirkin wrote:
> On Thu, Apr 26, 2018 at 05:31:48PM +0200, Gerd Hoffmann wrote:
> > On Thu, Apr 26, 2018 at 06:10:48PM +0300, Michael S. Tsirkin wrote:
> > > On Tue, Apr 24, 2018 at 08:38:57AM +0200, Gerd Hoffmann wrote:
> > > > mdpy is a sample pci device for vfio-mdev.  Not (yet) merged upstream,
> > > > patch available here:
> > > > 
> > > > https://www.kraxel.org/cgit/linux/commit/?h=vfio-sample-display&id=6fd86cff3d7df38ab89625b16fdd6434b1c18749
> > > > 
> > > > Cc: Alex Williamson <address@hidden>
> > > > Signed-off-by: Gerd Hoffmann <address@hidden>
> > > 
> > > Reviewed-by: Michael S. Tsirkin <address@hidden>
> > > 
> > > I presume this should be merged together with the
> > > device implementation in qemu, or do you want this
> > > in tree sooner?
> > 
> > There isn't a device implementation in qemu.  It's a mdev device
> > provided by the kernel.  Can be used with qemu using vfio.
> > 
> > cheers,
> >   Gerd
> 
> Why do we need a define in pci.h then?

Looks like a good way to make sure we don't hand out the ID twice as
docs/specs/pci-ids.txt is not fully in sync with include/hw/pci/pci.h.
1b36:000c and 1b36:000e are missing in docs/specs/pci-ids.txt.

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]