diff options
author | Avi Kivity <avi@redhat.com> | 2010-05-12 00:28:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-05 11:16:13 -0700 |
commit | da3013a2591def42c0e293b847435c0890b8010b (patch) | |
tree | b34881eeffb08c46655f264e2587716129c37b80 /net/unix/af_unix.c | |
parent | cf050b037d8ab74a1f5a626b2ef62e35cc8288cb (diff) | |
download | kernel-crypto-da3013a2591def42c0e293b847435c0890b8010b.tar.gz kernel-crypto-da3013a2591def42c0e293b847435c0890b8010b.tar.xz kernel-crypto-da3013a2591def42c0e293b847435c0890b8010b.zip |
KVM: Don't allow lmsw to clear cr0.pe
The current lmsw implementation allows the guest to clear cr0.pe, contrary
to the manual, which breaks EMM386.EXE.
Fix by ORing the old cr0.pe with lmsw's operand.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
(cherry picked from commit f78e917688edbf1f14c318d2e50dc8e7dad20445)
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions