kvm: testsuite: add mmu tests
commit1fca8de8332f303aa4df3ca5d4ec1058ea0c265d
authorAvi Kivity <avi@qumranet.com>
Wed, 10 Jan 2007 17:36:04 +0000 (10 17:36 +0000)
committerAvi Kivity <avi@qumranet.com>
Wed, 10 Jan 2007 17:36:04 +0000 (10 17:36 +0000)
treedfd5416c882d5d0d1dd691a0dccb52de4dafdfc9
parent8b3a0446eafd34c361627200f2966c8595a122b2
kvm: testsuite: add mmu tests

access.c checks every combination of the pte flags, cpl, cr0.wp, and access
type for the correct respone.

in this initial version only the pte.present bit is tested, and only read
access is checked.
kvm/user/Makefile
kvm/user/flat.lds
kvm/user/test/access.c [new file with mode: 0644]