Re: [libvirt] [PATCH] Capabilities: add step to cache control

2017-06-05 Thread Martin Kletzander
On Mon, Jun 05, 2017 at 06:02:25PM +0800, Eli Qiao wrote: This patch adds cache control step size under control tag. step is calculated by total_cache_size / cbm_length. This will be needed while later doing cache allocation to calculate cbm bits. Besides, count host's cbm length by counting

[libvirt] [PATCH] Capabilities: add step to cache control

2017-06-05 Thread Eli Qiao
This patch adds cache control step size under control tag. step is calculated by total_cache_size / cbm_length. This will be needed while later doing cache allocation to calculate cbm bits. Besides, count host's cbm length by counting bit instead of checking cbm_mask length, along with test case