Lines Matching full:sregs
132 * Toggle CR4.PAE while KVM is processing SREGS, EFER.LME=1 with CR4.PAE=0 is
138 __u64 *cr4 = &run->s.regs.sregs.cr4; in race_sregs_cr4()
178 TEST_ASSERT((run->s.regs.sregs.cr4 & X86_CR4_PAE) && in race_sync_regs()
179 (run->s.regs.sregs.efer & EFER_LME), in race_sync_regs()
181 !!(run->s.regs.sregs.cr4 & X86_CR4_PAE), in race_sync_regs()
182 !!(run->s.regs.sregs.efer & EFER_LME)); in race_sync_regs()
254 struct kvm_sregs sregs; in KVM_ONE_VCPU_TEST() local
266 vcpu_sregs_get(vcpu, &sregs); in KVM_ONE_VCPU_TEST()
267 compare_sregs(&sregs, &run->s.regs.sregs); in KVM_ONE_VCPU_TEST()
277 struct kvm_sregs sregs; in KVM_ONE_VCPU_TEST() local
287 run->s.regs.sregs.apic_base = 1 << 11; in KVM_ONE_VCPU_TEST()
297 TEST_ASSERT(run->s.regs.sregs.apic_base == 1 << 11, in KVM_ONE_VCPU_TEST()
299 run->s.regs.sregs.apic_base); in KVM_ONE_VCPU_TEST()
304 vcpu_sregs_get(vcpu, &sregs); in KVM_ONE_VCPU_TEST()
305 compare_sregs(&sregs, &run->s.regs.sregs); in KVM_ONE_VCPU_TEST()