commit | a0044755679f3e761b8b95995e5f2db2b7efd0f6 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Wed Feb 10 14:21:31 2010 +0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:36:11 2010 -0300 |
tree | 3a4db9d3e0512109130c2f4f1f425305378c0a27 | |
parent | 60a29d4ea4e7b6b95d9391ebc8625b0426f3a363 [diff] |
KVM: x86 emulator: Add Virtual-8086 mode of emulation For some instructions CPU behaves differently for real-mode and virtual 8086. Let emulator know which mode cpu is in, so it will not poke into vcpu state directly. Signed-off-by: Gleb Natapov <gleb@redhat.com> Cc: stable@kernel.org Signed-off-by: Avi Kivity <avi@redhat.com>