commit | 90e0a28f6b7241c7793f2ebd540c349580170446 | [log] [tgz] |
---|---|---|
author | Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net> | Thu Nov 22 11:32:09 2007 +0100 |
committer | Avi Kivity <avi@qumranet.com> | Wed Jan 30 17:53:14 2008 +0200 |
tree | e0e92ea3bd13298ac99529e54d1be98d306eb8f0 | |
parent | e9f85cde99fa011db256f6683ba81d155e0d3f57 [diff] |
KVM: x86 emulator: Make a distinction between repeat prefixes F3 and F2 cmps and scas instructions accept repeat prefixes F3 and F2. So in order to emulate those prefixed instructions we need to be able to know if prefixes are REP/REPE/REPZ or REPNE/REPNZ. Currently kvm doesn't make this distinction. This patch introduces this distinction. Signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net> Signed-off-by: Avi Kivity <avi@qumranet.com>