KVM: VMX: Move VMREAD cleanup to exception handler
authorAvi Kivity <avi@redhat.com>
Sun, 15 May 2011 14:13:12 +0000 (10:13 -0400)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:00 +0000 (11:45 +0300)
We clean up a failed VMREAD by clearing the output register.  Do
it in the exception handler instead of unconditionally.  This is
worthwhile since there are more than a hundred call sites.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found