This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH][RESUBMIT] don't schedule unplugged vcpus

On 8 Jun 2005, at 23:00, Ryan Harper wrote:

So, when I trigger a vcpu to go down via dom0 xm operation, I have to
trust that it worked?  I have no way of knowing at some point later
which vcpus are up or down?  I don't see any cost to this other than
during the getdominfo hcall.

The ones you can retrieve info about are up. The ones you can't, are down. :-)

Let me put it this way: I reserve the right in future to change my mind and free the vcpu info structures for vcpus that are down (and re-allocate when they come back up). If I do that then you will not get info about them via hypercalls. There's no good reason to return info about them -- you can infer they are 'down'/non-existent from their absence -- so why bother?

 -- Keir

Xen-devel mailing list