[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 for Xen 4.6 2/6] tools/libxl: fix socket display error for CMT
On Tue, 2015-09-29 at 15:49 +0800, Chao Peng wrote: > When displaying the CMT information for all the sockets, we assume > socket > number is continuous. This is not true in the hotplug case. For > instance, > when the 3rd socket is plugged out on a 4-socket system, the > available > sockets numbers are 1,2,4 but current we will display the CMT > information for socket 1,2,3. > > The fix is getting the socket bitmap for all the sockets on the > system > first and then displaying CMT information for_each_set_bit in that > bitmap. > > Signed-off-by: Chao Peng <chao.p.peng@xxxxxxxxxxxxxxx> > Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> > --- > v2: > * add libxl_bitmap_init(). > FWIW, Reviewed-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx> Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |