From: Bharat Bhushan Date: Mon, 8 Apr 2013 00:32:14 +0000 (+0000) Subject: KVM: extend EMULATE_EXIT_USER to support different exit reasons X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~32^2~13^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f47f9b51734290968189286e6b65f1139d0f72d;p=pandora-kernel.git KVM: extend EMULATE_EXIT_USER to support different exit reasons Currently the instruction emulator code returns EMULATE_EXIT_USER and common code initializes the "run->exit_reason = .." and "vcpu->arch.hcall_needed = .." with one fixed reason. But there can be different reasons when emulator need to exit to user space. To support that the "run->exit_reason = .." and "vcpu->arch.hcall_needed = .." initialization is moved a level up to emulator. Signed-off-by: Bharat Bhushan Signed-off-by: Alexander Graf --- Reading git-diff-tree failed