Use kvm_run inside CPUState.
commitc73005d80e8de0a7f29ee632aa3d10fc3f9ea4fb
authorGlauber Costa <glommer@redhat.com>
Fri, 9 Oct 2009 18:03:13 +0000 (9 15:03 -0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 13 Oct 2009 17:01:06 +0000 (13 14:01 -0300)
treef6a755468b502d646de9cfc544b639fe0ebc2c3e
parent64f320008d513c9812582eb3308bf7f910ec5297
Use kvm_run inside CPUState.

There is no need to replicate kvm_run inside vcpu context, since there
is already a field dedicated to that in CPUState. For now, keep both on,
so function can be converted slowly, since a lot of function headers
will be changed to take an env parameter, instead of a vcpu one.

This patch also converts functions that are static to this file as a
first step.

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
qemu-kvm.c
qemu-kvm.h