]> xenbits.xensource.com Git - people/royger/xen.git/commit
x86: modify setup_dom0_vcpu to use dom0_cpus internally
authorWei Liu <wei.liu2@citrix.com>
Mon, 20 Mar 2017 13:05:08 +0000 (13:05 +0000)
committerWei Liu <wei.liu2@citrix.com>
Mon, 20 Mar 2017 15:39:45 +0000 (15:39 +0000)
commit503b2fb9a7498198f99b744b9be1efe54e4fe42d
tree990546bee9b66ce8a5b6fb5a9a72c10e527f5dac
parentd4188929e49cf5801e296f33dd7a477689bbed05
x86: modify setup_dom0_vcpu to use dom0_cpus internally

We will later move dom0 builders to different directories. To avoid the
need of making dom0_cpus visible outside dom0_builder.c, modify
setup_dom0_vcpus to cycle through dom0_cpus internally instead of
relying on the callers to do that.

No functional change.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/dom0_build.c