Victor Sun
49e6deaf26
HV: rename the term of vm0 to sos vm
...
Under sharing mode, VM0 is identical with SOS VM. But the coupling of
SOS VM and VM 0 is not friendly for partition mode.
This patch is a pure term change of vm0 to sos VM, it does not change
any code logic or senmantic.
Tracked-On: #2291
Signed-off-by: Victor Sun <victor.sun@intel.com >
Acked-by: Eddie Dong <eddie.dong@intel.com >
2019-01-21 18:03:31 +08:00
Mingqiang Chi
55e5ed2e1a
hv:move ept violation handler to io_emul.c
...
move this api from ept.c to io_emul.c to avoid
reverse dependency.
Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com >
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com >
Reviewed-by: Eddie Dong <eddie.dong@intel.com >
2019-01-21 13:49:54 +08:00
Mingqiang Chi
1d98b7012d
hv: move 'setup_io_bitmap' to vm.c
...
move this api from io_emul.c to vm.c to avoid reverse
dependency
Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com >
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com >
Reviewed-by: Eddie Dong <eddie.dong@intel.com >
2019-01-21 13:49:54 +08:00
Mingqiang Chi
de4ab6fdfa
hv:modulization for IO Emulation
...
-- rename io.c to io_emul.c, add io_emul.h
-- rename io_request.c to io_req.c,rename ioreq.h to io_req.h
-- move some APIs declaration from ioreq.h to io_emul.h
related IO emulation
Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com >
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com >
Reviewed-by: Eddie Dong <eddie.dong@intel.com >
modified: ../doc/acrn.doxyfile
modified: Makefile
renamed: arch/x86/io.c -> arch/x86/io_emul.c
renamed: common/io_request.c -> common/io_req.c
modified: include/arch/x86/hv_arch.h
modified: include/arch/x86/io.h
new file: include/arch/x86/io_emul.h
renamed: include/arch/x86/ioreq.h -> include/arch/x86/io_req.h
2019-01-21 13:49:54 +08:00