acrn-hypervisor/hypervisor/arch/x86/guest
Junjie Mao 88f74b5dbb HV: io: unify vhm_request req and mem_io in vcpu
The current struct vcpu has two members, namely 'struct vhm_request req' and
'struct mem_io mmio', that hold similar info, including the address, direction, size,
value and status of mmio reqeusts.

As a step towards a unified framework for both MMIO/PIO, this patch unifies
these two members by a tailored version of vhm_reqeust, mostly with the reserved
fields dropped. The definitions to request types, directions and process status
are reused.

Handling errors during emulations will be revisited after the I/O emulation
paths are unified. Thus for this patch the mmio.mmio_status in inherited by
io_req.processed which is not yet properly processed.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-07-27 10:50:19 +08:00
..
guest.c hv: mmu: refine delete page table mapping 2018-07-26 12:46:34 +08:00
instr_emul_wrapper.c HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
instr_emul_wrapper.h hv: cpu: align general-purpose register layout with vmx 2018-07-25 13:05:38 +08:00
instr_emul.c HV:treewide:fix "Attempt to change parameter passed by value" 2018-07-26 09:35:52 +08:00
instr_emul.h HV:treewide:fix "Attempt to change parameter passed by value" 2018-07-26 09:35:52 +08:00
pm.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00
ucode.c HV: Bracket for the same level of precendence 2018-07-24 10:10:39 +08:00
vcpu.c HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
vioapic.c HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
vlapic_priv.h HV: vlapic: convert loop variables to unsigned 2018-07-13 10:02:44 +08:00
vlapic.c HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
vm.c HV:refine 'create_vm()' to avoid potential crash and memory leak 2018-07-27 10:40:28 +08:00
vmcall.c hv: hypercall: add support to change guest page write permission 2018-07-26 12:46:34 +08:00
vmsr.c HV:treewide:fix "Attempt to change parameter passed by value" 2018-07-26 09:35:52 +08:00
vpic.c HV:treewide:fix "Attempt to change parameter passed by value" 2018-07-26 09:35:52 +08:00