Il 30/05/2013 19:43, Paolo Bonzini ha scritto:
> @@ -395,6 +396,14 @@ int main(int ac, char **av)
> printf("Fixed counters: %d\n", edx.split.num_counters_fixed);
> printf("Fixed counter width: %d\n", edx.split.bit_width_fixed);
>
> + num_counters = eax.split.num_counters;
> + if (num_counters > ARRAY_SIZE(gp_events))
> + num_counters = ARRAY_SIZE(gp_events);
> + while (id.b) {
> + num_counters--;
> + id.b &= id.b - 1;
> + }
> +
> apic_write(APIC_LVTPC, PC_VECTOR);
>
> check_gp_counters();
>
Please ignore this patch. The parent one with "[PATCH kvm-unit-tests]"
subject is good though.
Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html