Skip to contentSkip to conversation

XM on XenAPI: Create PCI-Assigned Domains in XenAPI Mode

PATCH New Yosuke Iwamatsu 1 participant 1 message Jul 31, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 XM on XenAPI: Create PCI-Assigned Domains in XenAPI Mode

Create domains with pci devices attached to it when 'xm create' is invoked in xen-api mode.

Regards,
-----------------------
Yosuke Iwamatsu
NEC Corporation

xm on xenapi: Add missing support for creating pci-assigned domains

tools/python/xen/xm/create.dtd +8 -0
diff -r 21dd1fdb73d8 tools/python/xen/xm/create.dtd
@@ -39,6 +39,7 @@
                  vbd*,
                  vif*,
                  vtpm*,
+                 pci*,
                  console*,
                  platform*,
                  vcpu_param*,
@@ -79,6 +80,13 @@
 
 <!ELEMENT vtpm   (name*)>
 <!ATTLIST vtpm   backend         CDATA #REQUIRED>
+
+<!ELEMENT pci    EMPTY>
+<!ATTLIST pci    domain          CDATA #REQUIRED
+                 bus             CDATA #REQUIRED
+                 slot            CDATA #REQUIRED
+                 func            CDATA #REQUIRED
+                 vslt            CDATA #IMPLIED>
 
 <!ELEMENT console (other_config*)>
 <!ATTLIST console protocol       (vt100|rfb|rdp) #REQUIRED>
tools/python/xen/xm/xenapi_create.py +72 -1

109 lines not on this page · raw message

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel