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
|