|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] questions about adding MP support to gdbserver
Polling every breakpoint seems rather unwieldy. However, given that
this will probably never be used with more than 4 processors it will
work fine.
Thanks.
-Kip
There are examples in xenstat, but it uses its own interface library (not libxenctrl) so it will probably only confuse. You have the right
approach described above anyway: 1. getdomaininfo 2. for (i = 0; i <= info.max_vcpu_id; i++) 3. getvcpuinfo / getvcpucontext 4. info.online tells you whether the vcpu is up or down 5. either way, getvcpucontext will succeed if the domU has booted
that vcpu
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|