Good point. Let me check.
On Wed, Jun 18, 2008 at 6:14 PM, Liu, Jiang <[EMAIL PROTECTED]> wrote: > Hi Baolu, > How about pcitool interface in Solaris kernel? You can access > pci configuration space/io space/memory space with pcitool if you have > permission. Please take a look at > usr/src/uts/sys/common/sys/pci_tools.h. > > Lu Baolu <> wrote: >> Hi, >> >> I know pciutils (lspci, setpci, pcilib) has been ported to >> OpenSolaris. pcilib read/write pci configure spaces via direct port >> access which bypasses the OpenSolaris kernel. I don't think this kind >> of implementation is good when security and race condition come to >> mind. Is there any plan to create a kernel path to let libpci utilize >> (something like /sys/bus/pci and /proc/bus/pci exist in Linux)? >> >> I also post this on xen-discuss list since when we try to implement >> Intel vt-d in xVM, qemu (a device simulator running in user space) >> will find a way to access pci configure space, which call for such >> kernel path. >> >> Thanks, >> -baolu >> _______________________________________________ >> driver-discuss mailing list >> [email protected] >> http://mail.opensolaris.org/mailman/listinfo/driver-discuss > _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
