From: Gleb Natapov Date: Thu, 15 Apr 2010 18:03:50 +0000 (+0300) Subject: KVM: prevent spurious exit to userspace during task switch emulation. X-Git-Tag: v2.6.35-rc1~436^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acb5451789f21ad51215897bb8f9306a05e8acd4;p=pandora-kernel.git KVM: prevent spurious exit to userspace during task switch emulation. If kvm_task_switch() fails code exits to userspace without specifying exit reason, so the previous exit reason is reused by userspace. Fix this by specifying exit reason correctly. Signed-off-by: Gleb Natapov Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed