[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



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

Best regards,
 Kan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.