diff options
author | Avi Kivity <[email protected]> | 2010-05-12 00:28:44 +0300 |
---|---|---|
committer | Avi Kivity <[email protected]> | 2010-05-19 11:41:08 +0300 |
commit | f78e917688edbf1f14c318d2e50dc8e7dad20445 (patch) | |
tree | 8894410296279382ec6d9860534442c4cd1a5087 /tools/perf/util/trace-event-scripting.c | |
parent | 09c9e81366b9167b88ff05cf29fa94dc3553eb3d (diff) |
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 <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions