K 10 svn:author V 4 neel K 8 svn:date V 27 2013-07-22T19:38:21.805211Z K 7 svn:log V 495 The macro 'VM_INSTRUCTION_ERROR' was implicitly assuming that %rsp pointed to 'struct vmxctx' associated with the vcpu. This assumption was correct until now since this macro was called only after 'vmresume' and 'vmlaunch'. However when called from 'VMX_CHECK_EPTGEN' the %rsp is still pointing to the host stack and therefore results in a stack corruption when we update 'vmxctx->launch_error'. Fix this by passing in the register that points to 'struct vmxctx' as a parameter to the macro. END