Searched refs:vcpu_sregs (Results 1 – 3 of 3) sorted by relevance
35 let mut vcpu_sregs = vcpu.get_sregs().expect("get sregs failed"); in test_run() localVariable36 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()
37 let mut vcpu_sregs = vcpu.get_sregs().expect("get sregs failed"); in test_run() localVariable38 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()
33 let mut vcpu_sregs = vcpu.get_sregs().expect("get sregs failed"); in test_run() localVariable34 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()