[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [rfc 2/2] xend: Use AUTO_PHP_SLOT_STR=0xff rather than0x0 for auto slot allocation
On Fri, Mar 13, 2009 at 06:01:08PM +0900, Masaki Kanno wrote: > Hi Simon, > > >Index: xen-unstable.hg/tools/python/xen/util/xsconstants.py > >=================================================================== > >--- xen-unstable.hg.orig/tools/python/xen/util/xsconstants.py > >2009-03-13 16 > >:55:50.000000000 +1100 > >+++ xen-unstable.hg/tools/python/xen/util/xsconstants.py 2009-03-13 16: > 57: > >57.000000000 +1100 > >@@ -112,3 +112,7 @@ INVALID_POLICY_PREFIX = 'INV_' > > INVALID_SSIDREF = 0xFFFFFFFFL > > > > XS_INACCESSIBLE_LABEL = '__INACCESSIBLE__' > >+ > >+NR_PCI_DEV = 32 > >+AUTO_PHP_SLOT = NR_PCI_DEV > >+AUTO_PHP_SLOT_STR = "%02x" % NR_PCI_DEV > > > > In xsconstants.py, constants for Xen Security Policies are defined. > I think that the following files are better than xsconstants.py. > > - tools/python/xen/util/pci.py > - tools/python/xen/xend/server/DevConstants.py > - tools/python/xen/xend/XendConstants.py Thanks, I was unsure of where a good place to define these constants once would be. -- Simon Horman VA Linux Systems Japan K.K., Sydney, Australia Satellite Office H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |