commit | a9058ecd3cd72634cf548588ce79b3f225c9ca32 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Fri Dec 29 16:49:37 2006 -0800 |
committer | Linus Torvalds <torvalds@woody.osdl.org> | Sat Dec 30 10:56:44 2006 -0800 |
tree | 11d1edd2dfdcec03ba6b54b3b06d41cae826b940 | |
parent | 1e885461f02259d75e7480a70d291d2d8aaa938e [diff] |
[PATCH] KVM: Simplify is_long_mode() Instead of doing tricky stuff with the arch dependent virtualization registers, take a peek at the guest's efer. This simlifies some code, and fixes some confusion in the mmu branch. Signed-off-by: Avi Kivity <avi@qumranet.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>