git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c9e81
)
KVM: Don't allow lmsw to clear cr0.pe
author
Avi Kivity
<avi@redhat.com>
Tue, 11 May 2010 21:28:44 +0000
(
00:28
+0300)
committer
Avi Kivity
<avi@redhat.com>
Wed, 19 May 2010 08:41:08 +0000
(11:41 +0300)
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>
No differences found