-
Paolo Bonzini authored
Test various combinations of the AC bit and reading/writing into user pages at CPL=0. One notable missing test is implicit kernel reads and writes (e.g. reading the IDT/GDT/LDT/TSS). The interesting part of this is that AC must be ignored in ring 3; the processor always behaves as if AC=0. I skipped this because QEMU doesn't emulate this correctly, and because right now there's no kvm-unit-tests infrastructure to run code in ring 3 at all. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
fa6318d1