commit | 786f19daa8b109ae6b96a351eee3a14b9f8b57d0 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Fri Apr 16 00:11:34 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Mon May 17 12:18:17 2010 +0300 |
tree | 9f2ce80363552264bdbee1ce6eb99291f5064640 | |
parent | d32154f1b8b748ea23edc90b06f640304a979012 [diff] |
KVM: PPC: Add SR swapping code Later in this series we will move the current segment switch code to generic code and make that call hooks for the specific sub-archs (32 vs. 64 bit). This is the hook for 32 bits. It enabled the entry and exit code to swap segment registers with values from the shadow cpu structure. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>