WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Enable multiple NICs for vmx domain by configuration fil

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Enable multiple NICs for vmx domain by configuration file
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 03 Dec 2005 20:42:07 +0000
Delivery-date: Sat, 03 Dec 2005 20:42:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID fd7c4221fc561c8f450c3fd02a2007d4d36004af
# Parent  b8ba1bbba8820d2aebc8599abfb9c581efcf1b8c
Enable multiple NICs for vmx domain by configuration file

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>

diff -r b8ba1bbba882 -r fd7c4221fc56 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Sat Dec  3 16:58:31 2005
+++ b/tools/python/xen/xend/image.py    Sat Dec  3 16:59:37 2005
@@ -238,7 +238,9 @@
     # xm config file
     def parseDeviceModelArgs(self, imageConfig, deviceConfig):
         dmargs = [ 'cdrom', 'boot', 'fda', 'fdb', 'ne2000', 
-                   'localtime', 'serial', 'stdvga', 'isa', 'vcpus' ]
+                   'localtime', 'serial', 'stdvga', 'isa', 'vcpus',
+                   'nics'
+                   ]
         ret = []
         for a in dmargs:
             v = sxp.child_value(imageConfig, a)
diff -r b8ba1bbba882 -r fd7c4221fc56 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py     Sat Dec  3 16:58:31 2005
+++ b/tools/python/xen/xm/create.py     Sat Dec  3 16:59:37 2005
@@ -543,7 +543,8 @@
     """
     args = [ 'device_model', 'vcpus', 'cdrom', 'boot', 'fda', 'fdb',
              'localtime', 'serial', 'stdvga', 'isa', 'nographic',
-             'vnc', 'vncviewer', 'sdl', 'display', 'ne2000', 'lapic']
+             'vnc', 'vncviewer', 'sdl', 'display', 'ne2000', 'lapic',
+             'nics']
     for a in args:
         if (vals.__dict__[a]):
             config_image.append([a, vals.__dict__[a]])

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Enable multiple NICs for vmx domain by configuration file, Xen patchbot -unstable <=