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-devel

Re: [Xen-devel] VMX status daily report Nov. 3

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] VMX status daily report Nov. 3
From: "Ling, Xiaofeng" <xiaofeng.ling@xxxxxxxxx>
Date: Mon, 07 Nov 2005 09:52:52 +0800
Cc: Khoa Huynh <khoa@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Shi, Kuiliang" <kuiliang.shi@xxxxxxxxx>, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 07 Nov 2005 01:54:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051103154431.GN408@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <9DE394C12A921946AEECE1F71944ECD502FA8EA7@pdsmsx404> <OF66FE579B.C4FA1F2C-ON852570AE.00556F6F-862570AE.0055A8A4@xxxxxxxxxx> <20051103154431.GN408@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510
Ewan Mellor wrote:
On Thu, Nov 03, 2005 at 09:35:37AM -0600, Khoa Huynh wrote:


"Shi, Kuiliang" <kuiliang.shi@xxxxxxxxx> wrote on 11/03/2005 03:14:46 AM:



We have test latest xen (ChangeSet 7608) on VT platform with Intel 915
chipset and Here is the test summary:


This patch breaks vifs for everyone else (vif IDs are allocated from 0).  I
have a replacement ready and waiting to go.

Ewan, how is your replacement patch going on?
Attach is just a simple fix to use "-1" to indicate a ioemu device.
Will that be ok with vif?

# HG changeset patch
# User Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>
# Node ID ff100cd8f74fd53ad652e5760be956a6631a96d3
# Parent  a969d918674e6deab2a8c61977e4a4016a680ca7
ioemu device for vmx guest doesn't need backend/frontend info in xenstore

Signed-off-by: Xiaofeng Ling <xiaofeng.ling>
diff -r a969d918674e -r ff100cd8f74f 
tools/python/xen/xend/server/DevController.py
--- a/tools/python/xen/xend/server/DevController.py     Fri Nov  4 16:01:49 
2005 +0100
+++ b/tools/python/xen/xend/server/DevController.py     Mon Nov  7 09:46:02 
2005 +0800
@@ -58,6 +58,9 @@
         """
         (devid, back, front) = self.getDeviceDetails(config)
 
+        if devid == -1:
+            return devid
+        
         self.writeDetails(config, devid, back, front)
 
         status, fn_ret = self.waitForBackend(devid)
diff -r a969d918674e -r ff100cd8f74f tools/python/xen/xend/server/blkif.py
--- a/tools/python/xen/xend/server/blkif.py     Fri Nov  4 16:01:49 2005 +0100
+++ b/tools/python/xen/xend/server/blkif.py     Mon Nov  7 09:46:02 2005 +0800
@@ -43,7 +43,7 @@
         
         dev = sxp.child_value(config, 'dev')
         if re.match('^ioemu:', dev):
-            return (0,{},{})
+            return (-1,{},{})
 
         devid = blkif.blkdev_name_to_number(dev)
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel