qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] mark nic as trusted


From: Mark McLoughlin
Subject: Re: [Qemu-devel] [PATCH] mark nic as trusted
Date: Wed, 07 Jan 2009 15:41:32 +0000

On Wed, 2009-01-07 at 17:19 +0200, Gleb Natapov wrote:

> > > +    if (nd->secure_cookie[0])
> > > +        pci_add_capability(&n->vdev.pci_dev, 0x0f, 0xf0, 
> > > nd->secure_cookie, 14);
> > 
> > How was the Capability ID 0x0f chosen? It it unallocated by the PCI SIG
> > allocated it or ...? I see it's not defined in the kernel sources:
> > 
> > #define  PCI_CAP_ID_AGP3        0x0E    /* AGP Target PCI-PCI bridge */
> > #define  PCI_CAP_ID_EXP         0x10    /* PCI Express */
> > 
> It is "secure device capability", so I used it based on the name.

Ah, I see this in pciutils now:

  #define  PCI_CAP_ID_SECURE      0x0F    /* Secure device (?) */

Where is the capability format published? I can't seem to find any
specification for it ...

Cheers,
Mark.





reply via email to

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