aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAvi Kivity <[email protected]>2012-08-21 17:06:58 +0300
committerMarcelo Tosatti <[email protected]>2012-08-27 20:02:19 -0300
commitbaa7e81e325bbb6ddebd7680ac1068859244b61d (patch)
tree6112cb18cfe6a8c06bdcaf5f30dbc5f3dfe69f96 /fs/jbd2/commit.c
parentdd856efafe6097a5c9104725c2bca74430423db8 (diff)
KVM: VMX: Separate saving pre-realmode state from setting segments
Commit b246dd5df139 ("KVM: VMX: Fix KVM_SET_SREGS with big real mode segments") moved fix_rmode_seg() to vmx_set_segment(), so that it is applied not just on transitions to real mode, but also on KVM_SET_SREGS (migration). However fix_rmode_seg() not only munges the vmcs segments, it also sets up the save area for us to restore when returning to protected mode or to return in vmx_get_segment(). Move saving the segment into a new function, save_rmode_seg(), and call it just during the transition. Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions