diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/python/xen/xm/create.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/python/xen/xm/create.py b/tools/python/xen/xm/create.py index b13e3b559a..585aad8315 100644 --- a/tools/python/xen/xm/create.py +++ b/tools/python/xen/xm/create.py @@ -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 |