]> xenbits.xensource.com Git - xen.git/commit
xm: xen-api, pass-through: create: Use vslot for hotplug_slot
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 4 Jun 2009 09:41:50 +0000 (10:41 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 4 Jun 2009 09:41:50 +0000 (10:41 +0100)
commit54ceba35a1fdf2326e407c4e41b76ee5abd93fa3
tree4cfd0c6625cc36eede4ca612bd889b555c1f60e1
parent7059aee491b106a6ee08d9c10310aaad2093958d
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@verge.net.au>
tools/python/xen/xm/xenapi_create.py