commit | 0760d44868f351ba30fc9a08cf1830e46aa72466 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Wed Apr 14 15:50:57 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Mon May 17 12:17:44 2010 +0300 |
tree | 55e8a204260c2a301c8da281b52bfef15f21bc1c | |
parent | 8f6abd06f521112a0a3bc906df273fa3ce0a9387 [diff] |
KVM: x86: Terminate early if task_switch_16/32 failed Stop the switch immediately if task_switch_16/32 returned an error. Only if that step succeeded, the switch should actually take place and update any register states. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>