Skip to contentSkip to conversation

doc: document that Domain-0 can't be migrated across cpupools

PATCH In review Juergen Gross 3 participants 4 messages May 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: document that Domain-0 can't be migrated across cpupools

Domain-0 is always member of Pool-0 (or, to be precise: of the cpuppol with cpupool-id 0). Document this in the xl man page.

---
 docs/man/xl.pod.1 | 1 +
 1 file changed, 1 insertion(+)
docs/man/xl.pod.1 +1 -0
index e2bd32d..9887f1b 100644
@@ -1263,6 +1263,7 @@ exact same syntax as in B<cpupool-cpu-add> above.
 =item B<cpupool-migrate> I<domain> I<cpu-pool>
 
 Moves a domain specified by domain-id or domain-name into a cpu-pool.
+Domain-0 can't be moved to another cpu-pool.
 
 =item B<cpupool-numa-split>
 
Signature · 7 lines
2.6.6


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#1 lore raw
Quoted 4 lines · Juergen Gross

Domain-0 is always member of Pool-0 (or, to be precise: of the cpuppol with cpupool-id 0). Document this in the xl man page.

Out of interest, why?

Is this a limitation of the current implementation, or something which couldn't be made to work?

Given that it is all just vcpus and linked lists in the end, I can't see why this should necessarily be the case.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw
Quoted 6 lines · Andrew Cooper
Quoted 4 lines · Juergen Gross

Domain-0 is always member of Pool-0 (or, to be precise: of the cpuppol with cpupool-id 0). Document this in the xl man page.

Quoted 7 lines

Out of interest, why?

Is this a limitation of the current implementation, or something which couldn't be made to work?

Given that it is all just vcpus and linked lists in the end, I can't see why this should necessarily be the case.

Main reason was to keep cpu hotplugging simple. New cpus are always added to Pool-0 and should be available to dom0 immediately without having to move them to another cpupool.

It could be changed, of course. But I don't see any advantage in allowing to move dom0 to another cpupool, while the code would be more complicated.

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Acked-by
#3 lore raw
Quoted 15 lines · Juergen Gross
Quoted 6 lines · Andrew Cooper
Quoted 4 lines · Juergen Gross

Domain-0 is always member of Pool-0 (or, to be precise: of the cpuppol with cpupool-id 0). Document this in the xl man page.

Quoted 7 lines

Out of interest, why?

Is this a limitation of the current implementation, or something which couldn't be made to work?

Given that it is all just vcpus and linked lists in the end, I can't see why this should necessarily be the case.

Quoted 9 lines

Main reason was to keep cpu hotplugging simple. New cpus are always added to Pool-0 and should be available to dom0 immediately without having to move them to another cpupool.

It could be changed, of course. But I don't see any advantage in allowing to move dom0 to another cpupool, while the code would be more complicated.

I think this patch is valid in that it documents the current situation. Whether migration of Dom0 should be supported or not is a separate topic.

I've queued this up for committing.

Wei.

Quoted 2 lines

Juergen

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel