]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
KVM: x86 emulator: fix repne/repnz decoding
authorLaurent Vivier <Laurent.Vivier@bull.net>
Thu, 20 Sep 2007 09:17:24 +0000 (11:17 +0200)
committerAvi Kivity <avi@qumranet.com>
Mon, 22 Oct 2007 10:03:28 +0000 (12:03 +0200)
commitae6200baea4175cac684ea76f78082b31afbdefa
treea6b8a9d17179b85018d4fb4250373cd3ba28e597
parent1a52e051368a0e29b26e8790bacd8d1d759e3287
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 e70669abd4e60dfea3ac1639848e20e2b8dd1255
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>
drivers/kvm/x86_emulate.c