VMX: allow vmx_update_debug_state to be called when v!=current
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Wed, 13 Nov 2013 08:25:36 +0000 (09:25 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 13 Nov 2013 08:25:36 +0000 (09:25 +0100)
commitde5ce1e3921e86b7b8176d85eaa3263aadba637d
tree5da3a68ffe8943d9edc7d9be5e7a1774e795ffdb
parent48249a140379b6a66cd32438c344a57fa21e00ed
VMX: allow vmx_update_debug_state to be called when v!=current

Removing the assert allows the PVH code to call this during vmcs
construction in a later patch, making the code more robust by removing
duplicate code.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: Eddie Dong <eddie.dong@intel.com>
xen/arch/x86/hvm/vmx/vmx.c