Home
last modified time | relevance | path

Searched refs:vm_event (Results 1 – 22 of 22) sorted by relevance

/xen/xen/arch/x86/hvm/
A Dvm_event.c33 if ( unlikely(v->arch.vm_event->set_gprs) ) in hvm_vm_event_set_registers()
37 regs->rax = v->arch.vm_event->gprs.rax; in hvm_vm_event_set_registers()
38 regs->rbx = v->arch.vm_event->gprs.rbx; in hvm_vm_event_set_registers()
39 regs->rcx = v->arch.vm_event->gprs.rcx; in hvm_vm_event_set_registers()
40 regs->rdx = v->arch.vm_event->gprs.rdx; in hvm_vm_event_set_registers()
46 regs->r8 = v->arch.vm_event->gprs.r8; in hvm_vm_event_set_registers()
47 regs->r9 = v->arch.vm_event->gprs.r9; in hvm_vm_event_set_registers()
58 v->arch.vm_event->set_gprs = false; in hvm_vm_event_set_registers()
66 ASSERT(v->arch.vm_event); in hvm_vm_event_do_resume()
70 w = &v->arch.vm_event->write_data; in hvm_vm_event_do_resume()
[all …]
A DMakefile28 obj-y += vm_event.o
A Dhvm.c552 if ( unlikely(v->arch.vm_event) ) in hvm_do_resume()
2279 ASSERT(v->arch.vm_event); in hvm_set_cr0()
2285 v->arch.vm_event->write_data.cr0 = value; in hvm_set_cr0()
2383 ASSERT(curr->arch.vm_event); in hvm_set_cr3()
2460 ASSERT(v->arch.vm_event); in hvm_set_cr4()
2466 v->arch.vm_event->write_data.cr4 = value; in hvm_set_cr4()
3310 if ( unlikely(v->arch.vm_event) && in __hvm_copy()
3312 v->arch.vm_event->send_event && in __hvm_copy()
3604 ASSERT(v->arch.vm_event); in hvm_msr_write_intercept()
3610 v->arch.vm_event->write_data.msr = msr; in hvm_msr_write_intercept()
[all …]
A Demulate.c95 if ( curr->arch.vm_event ) in set_context_data()
98 min(size, curr->arch.vm_event->emul.read.size); in set_context_data()
100 memcpy(buffer, curr->arch.vm_event->emul.read.data, safe_size); in set_context_data()
670 if ( unlikely(curr->arch.vm_event) && in hvmemul_map_linear_addr()
671 curr->arch.vm_event->send_event && in hvmemul_map_linear_addr()
860 current->arch.vm_event->emulate_flags != 0 ) in hvmemul_virtual_to_linear()
1738 const struct arch_vm_event *ev = current->arch.vm_event; in hvmemul_rep_outs_set_context()
2792 sizeof(curr->arch.vm_event->emul.insn.data)); in hvm_emulate_one_vm_event()
2800 memcpy(vio->mmio_insn, curr->arch.vm_event->emul.insn.data, in hvm_emulate_one_vm_event()
A Dmonitor.c241 ASSERT(curr->arch.vm_event->send_event); in hvm_monitor_check_p2m()
/xen/tools/xenpaging/
A Dxenpaging.c266 if ( !paging->vm_event.domain_id ) in xenpaging_getopts()
344 paging->vm_event.ring_page = in xenpaging_init()
359 paging->vm_event.ring_page = in xenpaging_init()
413 paging->vm_event.port = rc; in xenpaging_init()
534 rc = xenevtchn_unbind(paging->vm_event.xce_handle, paging->vm_event.port); in xenpaging_teardown()
539 paging->vm_event.port = -1; in xenpaging_teardown()
556 static void get_request(struct vm_event *vm_event, vm_event_request_t *req) in get_request() argument
561 back_ring = &vm_event->back_ring; in get_request()
573 static void put_response(struct vm_event *vm_event, vm_event_response_t *rsp) in put_response() argument
578 back_ring = &vm_event->back_ring; in put_response()
[all …]
A Dxenpaging.h36 struct vm_event { struct
56 struct vm_event vm_event; member
A Dpagein.c65 page_in_args.dom = paging->vm_event.domain_id; in create_page_in_thread()
/xen/tools/tests/xen-access/
A Dxen-access.c65 typedef struct vm_event { struct
79 vm_event_t vm_event; argument
139 if ( xenaccess->vm_event.ring_page ) in xenaccess_teardown()
211 xenaccess->vm_event.domain_id = domain_id; in xenaccess_init()
214 xenaccess->vm_event.ring_page = in xenaccess_init()
218 if ( xenaccess->vm_event.ring_page == NULL ) in xenaccess_init()
237 if ( xenaccess->vm_event.xce_handle == NULL ) in xenaccess_init()
254 xenaccess->vm_event.port = rc; in xenaccess_init()
258 BACK_RING_INIT(&xenaccess->vm_event.back_ring, in xenaccess_init()
309 back_ring = &vm_event->back_ring; in get_request()
[all …]
/xen/xen/arch/x86/
A Dvm_event.c32 if ( v->arch.vm_event ) in vm_event_init_domain()
35 v->arch.vm_event = xzalloc(struct arch_vm_event); in vm_event_init_domain()
37 if ( !v->arch.vm_event ) in vm_event_init_domain()
54 xfree(v->arch.vm_event); in vm_event_cleanup_domain()
55 v->arch.vm_event = NULL; in vm_event_cleanup_domain()
85 ASSERT(v->arch.vm_event); in vm_event_register_write_resume()
91 w = &v->arch.vm_event->write_data; in vm_event_register_write_resume()
120 v->arch.vm_event->gprs = rsp->data.regs.x86; in vm_event_set_registers()
121 v->arch.vm_event->set_gprs = true; in vm_event_set_registers()
131 v->arch.vm_event->sync_event = value; in vm_event_sync_event()
[all …]
A DMakefile72 obj-y += vm_event.o
A Ddomain.c433 xfree(v->arch.vm_event); in arch_vcpu_destroy()
434 v->arch.vm_event = NULL; in arch_vcpu_destroy()
/xen/xen/arch/x86/hvm/svm/
A Dintr.c142 if ( unlikely(v->arch.vm_event) && v->arch.vm_event->sync_event ) in svm_intr_assist()
/xen/xen/include/asm-x86/
A Dmonitor.h54 if ( d->max_vcpus && d->vcpu[0] && d->vcpu[0]->arch.vm_event ) in arch_monitor_domctl_op()
A Ddomain.h640 struct arch_vm_event *vm_event; member
/xen/xen/arch/x86/hvm/vmx/
A Dintr.c256 if ( unlikely(v->arch.vm_event) && v->arch.vm_event->sync_event ) in vmx_intr_assist()
/xen/xen/arch/arm/
A DMakefile59 obj-y += vm_event.o
/xen/xen/common/
A DMakefile57 obj-y += vm_event.o
/xen/xen/arch/x86/mm/
A Dmem_access.c222 v->arch.vm_event->send_event = true; in p2m_mem_access_check()
224 v->arch.vm_event->send_event = false; in p2m_mem_access_check()
/xen/xen/include/public/
A Dvm_event.h402 DEFINE_RING_TYPES(vm_event, vm_event_request_t, vm_event_response_t);
/xen/
A DMAINTAINERS490 F: xen/arch/*/vm_event.c
494 F: xen/arch/x86/hvm/vm_event.c
497 F: xen/common/vm_event.c
500 F: xen/include/*/vm_event.h
502 F: xen/include/asm-x86/hvm/vm_event.h
/xen/xen/xsm/flask/policy/
A Daccess_vectors233 vm_event

Completed in 36 milliseconds