Re: [Qemu-devel] [PATCH 1/4] kvm: Simplify invtsc check

2016-12-29 Thread Marcelo Tosatti
On Tue, Dec 27, 2016 at 05:21:17PM -0200, Eduardo Habkost wrote: > Instead of searching the table we have just built, we can check > the env->features field directly. > > Signed-off-by: Eduardo Habkost > --- > target/i386/kvm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > dif

[Qemu-devel] [PATCH 1/4] kvm: Simplify invtsc check

2016-12-27 Thread Eduardo Habkost
Instead of searching the table we have just built, we can check the env->features field directly. Signed-off-by: Eduardo Habkost --- target/i386/kvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/i386/kvm.c b/target/i386/kvm.c index 10a9cd8..a26290f 100644 --- a