commit | e8ebaa91f96407a90c1cb81708a87a25f40ba8ab | [log] [tgz] |
---|---|---|
author | Laurent Vivier <Laurent.Vivier@bull.net> | Thu Sep 20 11:17:24 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Thu Sep 20 11:20:33 2007 +0200 |
tree | 7de3b85a97eb6e3c2aa65c85be8a7287a4dca46b | |
parent | 0203e2d5d0d0cea6eed6e437d9456aad71135913 [diff] |
KVM: x86 emulator: fix repne/repnz decoding The repnz/repne instructions must set rep_prefix to 1 like rep/repe/repz. This patch correct the disk probe problem met with OpenBSD. This issue appears with commit 091b206f6c56f2329e11bac2fa40d6f236ab0bc2 because before it, the decoding was done internally to kvm and after it is done by x86_emulate.c (which doesn't do it correctly). Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net> Signed-off-by: Avi Kivity <avi@qumranet.com>