mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
rename 'req_buf' field in 'struct vm_sw_info'
- rename it to 'io_shared_page' to keep consistent with ACRN HDL foils. - update related code that reference this data structure. Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
@@ -353,7 +353,7 @@ int dm_emulate_mmio_post(struct vcpu *vcpu)
|
||||
int cur = vcpu->vcpu_id;
|
||||
struct vhm_request_buffer *req_buf;
|
||||
|
||||
req_buf = (struct vhm_request_buffer *)(vcpu->vm->sw.req_buf);
|
||||
req_buf = (struct vhm_request_buffer *)(vcpu->vm->sw.io_shared_page);
|
||||
|
||||
vcpu->req.reqs.mmio_request.value =
|
||||
req_buf->req_queue[cur].reqs.mmio_request.value;
|
||||
|
@@ -169,7 +169,7 @@ int create_vm(struct vm_description *vm_desc, struct vm **rtn_vm)
|
||||
|
||||
/* Populate return VM handle */
|
||||
*rtn_vm = vm;
|
||||
vm->sw.req_buf = NULL;
|
||||
vm->sw.io_shared_page = NULL;
|
||||
|
||||
status = set_vcpuid_entries(vm);
|
||||
if (status)
|
||||
|
@@ -44,7 +44,7 @@ int dm_emulate_pio_post(struct vcpu *vcpu)
|
||||
0xFFFFFFFFul >> (32 - 8 * vcpu->req.reqs.pio_request.size);
|
||||
uint64_t *rax;
|
||||
|
||||
req_buf = (struct vhm_request_buffer *)(vcpu->vm->sw.req_buf);
|
||||
req_buf = (struct vhm_request_buffer *)(vcpu->vm->sw.io_shared_page);
|
||||
|
||||
rax = &vcpu->arch_vcpu.contexts[cur_context].guest_cpu_regs.regs.rax;
|
||||
vcpu->req.reqs.pio_request.value =
|
||||
|
Reference in New Issue
Block a user