Home
last modified time | relevance | path

Searched refs:vcpu_sregs (Results 1 – 3 of 3) sorted by relevance

/external/crosvm/kvm/tests/
Dread_only_memory.rs35 let mut vcpu_sregs = vcpu.get_sregs().expect("get sregs failed"); in test_run() localVariable
36 vcpu_sregs.cs.base = 0; in test_run()
37 vcpu_sregs.cs.selector = 0; in test_run()
38 vcpu_sregs.es.base = 0x3000; in test_run()
39 vcpu_sregs.es.selector = 0; in test_run()
40 vcpu.set_sregs(&vcpu_sregs).expect("set sregs failed"); in test_run()
67 GuestAddress(vcpu_sregs.es.base), in test_run()
85 assert_eq!(address, vcpu_sregs.es.base); in test_run()
Dreal_run_adder.rs37 let mut vcpu_sregs = vcpu.get_sregs().expect("get sregs failed"); in test_run() localVariable
38 assert_ne!(vcpu_sregs.cs.base, 0); in test_run()
39 assert_ne!(vcpu_sregs.cs.selector, 0); in test_run()
40 vcpu_sregs.cs.base = 0; in test_run()
41 vcpu_sregs.cs.selector = 0; in test_run()
42 vcpu.set_sregs(&vcpu_sregs).expect("set sregs failed"); in test_run()
Ddirty_log.rs33 let mut vcpu_sregs = vcpu.get_sregs().expect("get sregs failed"); in test_run() localVariable
34 vcpu_sregs.cs.base = 0; in test_run()
35 vcpu_sregs.cs.selector = 0; in test_run()
36 vcpu.set_sregs(&vcpu_sregs).expect("set sregs failed"); in test_run()