[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xm: xen-api, pass-through: create: Use vslot for hotplug_slot

# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1244108510 -3600
# Node ID 2c172f9db417b4111d92453a8eb84ecb8b8bd29e
# Parent  8f64f43624e8ad3a28069c992274cb3240980f40
xm: xen-api, pass-through: create: Use vslot for hotplug_slot

Using func for hotplug_slot is not correct, although func is often
zero, previously zero meant please pick a vslot and asking xend to
pick a vslot was the only method available.

This resolves the following error when using Xen API:
$ xm create hvm.conf
Internal error: Timed out waiting for device model action.

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
 tools/python/xen/xm/xenapi_create.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 8f64f43624e8 -r 2c172f9db417 tools/python/xen/xm/xenapi_create.py
--- a/tools/python/xen/xm/xenapi_create.py      Thu Jun 04 10:41:13 2009 +0100
+++ b/tools/python/xen/xm/xenapi_create.py      Thu Jun 04 10:41:50 2009 +0100
@@ -539,7 +539,7 @@ class xenapi_create:
-                int(pci.attributes["func"].value, 16),
+                int(pci.attributes["vslot"].value, 16),
                   "pci_opt", "key", "value")

Xen-changelog mailing list



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