diff -r c0e32941ee69 tools/python/xen/xm/create.py --- a/tools/python/xen/xm/create.py Wed Nov 25 14:19:50 2009 +0000 +++ b/tools/python/xen/xm/create.py Wed Nov 25 18:03:08 2009 +0100 @@ -1041,6 +1041,7 @@ def make_config(vals): config.append(['vcpus', maxvcpus]) if maxvcpus and vcpus: config.append(['vcpu_avail', (1 << vcpus) - 1]) + config.append(['vcpus', maxvcpus]) # For case we don't have maxvcpus set but we have vcpus we preserve # old behaviour