[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Bug #327 xentop/libxenstat vcpu fix
xentop will error when getting vcpu information if there are disabled vcpus for a domain at the end of the vcpu list. xentop merely goes through the num_vcpus list and calls DOM0_GETVCPUCONTEXT, it doesn't check if the requested vcpu is disabled or enabled. DOM0_GETVCPUCONTEXT returns the next enabled vcpu in the list or an error if it doesn't find one. xentop will then error. This is just a quick fix to check the vcpu_to_cpu[] map before requesting vcpu info. Signed-off-by: Daniel Stekloff <dsteklof@xxxxxxxxxx> Attachment:
xenstat-vcpus-fix.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |