]> git.proxmox.com Git - qemu.git/commit
kvm: Reorder error handling of KVM_RUN
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 15 Mar 2011 11:26:26 +0000 (12:26 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 16 Mar 2011 20:11:06 +0000 (17:11 -0300)
commitdc77d341d2dcd3eeadae736ed7e7775e22324844
treeff913e96be0a29056006276e88d9679bfd0692b9
parent7cbb533f92f040ab1dbafe2233a51c7d4e321d90
kvm: Reorder error handling of KVM_RUN

Test for general errors first as this is the slower path.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
kvm-all.c