Searched refs:vcpu_regs (Results 1 – 3 of 3) sorted by relevance
42 let mut vcpu_regs: kvm_regs = unsafe { std::mem::zeroed() }; in test_run() localVariable43 vcpu_regs.rip = load_addr.offset() as u64; in test_run()44 vcpu_regs.rflags = 2; in test_run()45 vcpu_regs.rax = 0x66; in test_run()46 vcpu_regs.rbx = 0; in test_run()47 vcpu.set_regs(&vcpu_regs).expect("set regs failed"); in test_run()64 .write_obj(vcpu_regs.rax as u8, 0) in test_run()86 assert_eq!(data[0] as u64, vcpu_regs.rax + 1); in test_run()100 vcpu_regs.rax as u8 in test_run()
38 let mut vcpu_regs: kvm_regs = unsafe { std::mem::zeroed() }; in test_run() localVariable39 vcpu_regs.rip = load_addr.offset() as u64; in test_run()40 vcpu_regs.rflags = 2; in test_run()42 vcpu_regs.rsi = 0x8000; in test_run()43 vcpu_regs.rbx = 0x12; in test_run()44 vcpu.set_regs(&vcpu_regs).expect("set regs failed"); in test_run()68 mmap.read_obj::<u64>(vcpu_regs.rsi as usize).unwrap(), in test_run()69 vcpu_regs.rbx in test_run()
44 let mut vcpu_regs: kvm_regs = unsafe { std::mem::zeroed() }; in test_run() localVariable45 vcpu_regs.rip = 0x1000; in test_run()46 vcpu_regs.rax = 2; in test_run()47 vcpu_regs.rbx = 7; in test_run()48 vcpu_regs.rflags = 2; in test_run()49 vcpu.set_regs(&vcpu_regs).expect("set regs failed"); in test_run()