kvm: Align kvm_arch_handle_exit to kvm_cpu_exec changes
commitbb4ea39329d6c3de4c10034621781f703d095699
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 15 Mar 2011 11:26:28 +0000 (15 12:26 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 16 Mar 2011 20:11:06 +0000 (16 17:11 -0300)
tree9627e9893b96c6b3aba7f804484a08e584309ff6
parentd73cd8f4ea1c2944bd16f7a1c445eaa25c9e6e26
kvm: Align kvm_arch_handle_exit to kvm_cpu_exec changes

Make the return code of kvm_arch_handle_exit directly usable for
kvm_cpu_exec. This is straightforward for x86 and ppc, just s390
would require more work. Avoid this for now by pushing the return code
translation logic into s390's kvm_arch_handle_exit.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
CC: Alexander Graf <agraf@suse.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
kvm-all.c
target-i386/kvm.c
target-ppc/kvm.c
target-s390x/kvm.c