summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-08-21 17:07:00 +0300
committerMarcelo Tosatti <mtosatti@redhat.com>2012-08-27 20:02:19 -0300
commitf5f7b2fe3bf849b58c8144729aba78b8e29e1e4c (patch)
treefed4708d3776377030604f8f5983578b91e4aeae /arch/x86/boot
parent72fbefec26841699fee9ad0b050624aeb43d5bae (diff)
KVM: VMX: Use kvm_segment to save protected-mode segments when entering realmode
Instead of using struct kvm_save_segment, use struct kvm_segment, which is what the other APIs use. This leads to some simplification. We replace save_rmode_seg() with a call to vmx_save_segment(). Since this depends on rmode.vm86_active, we move the call to before setting the flag. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/boot')
0 files changed, 0 insertions, 0 deletions