kvm: Simplify invtsc check
authorEduardo Habkost <ehabkost@redhat.com>
Sun, 8 Jan 2017 17:32:33 +0000 (15:32 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 23 Jan 2017 23:26:27 +0000 (21:26 -0200)
commitd74460ec1bfaad740eee79bf7cb111b1125ffdef
treeca402f6c57c25d29361a70443126fba7c810b336
parent3964ec6c0b49e4c2fa3e48fdbbb7d8ff0c1cb00b
kvm: Simplify invtsc check

Instead of searching the table we have just built, we can check
the env->features field directly.

Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170108173234.25721-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/kvm.c