author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
528,733
10.06.2019 11:04:41
-28,800
6b7233446f32a72f4873c355732af42fb6ba4bcc
xsave: inject GP when guest tries to write 1 to XCR0 reserved bit According to SDM vol1 13.3: Write 1 to reserved bit of XCR0 will trigger GP. This patch make ACRN behavior align with SDM definition. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmexit.c", "new_path": "hypervisor/arch/x86/guest/vmexit.c", "diff": "@@ -283,6 +283,14 @@ int32_t cpuid_vmexit_handler(struct acrn_vcpu *vcpu)\n/*\n* XSETBV instruction set's the XCR0 that is used to tell for which\n* components stat...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
xsave: inject GP when guest tries to write 1 to XCR0 reserved bit According to SDM vol1 13.3: Write 1 to reserved bit of XCR0 will trigger GP. This patch make ACRN behavior align with SDM definition. Tracked-On: #3239 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,801
04.06.2019 08:45:54
-28,800
8c70871ff1218f04f5effca1dcd455d9e1bbb03c
doc: add an introduction for building hypervisor add an introduction part for building ACRN hypervisor clarify why ACRN hypervisor does not support one binary for all platforms
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/building-from-source.rst", "new_path": "doc/getting-started/building-from-source.rst", "diff": "Build ACRN from Source\n######################\n+Introduction\n+************\n+\n+Following general embedded system programming model, ACRN hype...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add an introduction for building hypervisor - add an introduction part for building ACRN hypervisor - clarify why ACRN hypervisor does not support one binary for all platforms Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,647
11.06.2019 19:52:45
-28,800
32239cf55f0a630fb6698dec03b566a53986c19d
hv: reduce cyclomatic complexity of create_vm() This commit extract pm io handler registration code to register_pm_io_handler() to reduce the cyclomatic complexity of create_vm() in order to be complied with MISRA-C rules.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -393,6 +393,21 @@ static void prepare_epc_vm_memmap(struct acrn_vm *vm)\n}\n}\n+static void register_pm_io_handler(struct acrn_vm *vm)\n+{\n+ if (is_sos_vm(vm)) {\n+ /* ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: reduce cyclomatic complexity of create_vm() This commit extract pm io handler registration code to register_pm_io_handler() to reduce the cyclomatic complexity of create_vm() in order to be complied with MISRA-C rules. Tracked-On: #3227 Signed-off-by: Yan, Like <like.yan@intel.com>
528,747
12.06.2019 12:08:30
25,200
c91a54882f1372e640ff7ae47aa1371055a8849e
doc: improve clarity of build-from-source intro Rather than have the developer make edits, it was easier to merge PR and submit a new PR with improvements.
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/building-from-source.rst", "new_path": "doc/getting-started/building-from-source.rst", "diff": "@@ -6,49 +6,48 @@ Build ACRN from Source\nIntroduction\n************\n-Following general embedded system programming model, ACRN hypervisor\n-is...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: improve clarity of build-from-source intro Rather than have the developer make edits, it was easier to merge PR #3246 and submit a new PR with improvements. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,659
29.04.2019 10:33:08
-28,800
f2e35ab70128f4b88db14e4d79211091358b1ad2
DM USB: save MaxPacketSize value in endpoint descriptor Save the MaxPacketSize value for every endpoint of virtual USB device. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/usb_pmapper.c", "new_path": "devicemodel/hw/platform/usb_pmapper.c", "diff": "#define LOG_TAG \"USBPM: \"\nstatic struct usb_dev_sys_ctx_info g_ctx;\n-static inline uint8_t usb_dev_get_ep_type(struct usb_dev *udev, int pid,\n- int epnum...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: save MaxPacketSize value in endpoint descriptor Save the MaxPacketSize value for every endpoint of virtual USB device. Tracked-On: #3054 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,659
29.04.2019 10:41:22
-28,800
adaed5c0e3c99a5074cf833266ffe58b8cb25fa6
DM USB: xHCI: add 'chained' field in struct usb_data_xfer_block The chained field could help to describe the relationship of USB data blocks. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -2875,6 +2875,9 @@ retry:\nXHCI_GADDR(xdev, trb->qwTrb0)),\ntrb->dwTrb2 & 0x1FFFF, (void *)addr,\nccs);\n+\n+ if (trb->dwTrb3 & XHCI_TRB_3_CHAIN_BIT)\n+ xfer_block->chained = 1;\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: add 'chained' field in struct usb_data_xfer_block The chained field could help to describe the relationship of USB data blocks. Tracked-On: #3054 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,659
29.04.2019 11:50:47
-28,800
b57f6f9243ce1bed93ce7da9b38859a7114d5a7e
DM USB: clean-up: give shorter names to libusb_xfer and req The names for the two variables are too long, change to shorter name. This patch doesn't change any logic, just clean up. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/usb_pmapper.c", "new_path": "devicemodel/hw/platform/usb_pmapper.c", "diff": "@@ -170,9 +170,9 @@ libusb_speed_to_usb_speed(int libusb_speed)\n}\nstatic void\n-usb_dev_comp_req(struct libusb_transfer *libusb_xfer)\n+usb_dev_comp_req(str...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: clean-up: give shorter names to libusb_xfer and req The names for the two variables are too long, change to shorter name. This patch doesn't change any logic, just clean up. Tracked-On: #3054 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,659
29.04.2019 12:36:48
-28,800
1be719c6305721186bdc6ff0b6632be03adbc86d
DM USB: clean-up: change name of function usb_dev_comp_req Change it to usb_dev_comp_cb, which is more accurate for what it does. This patch doesn't change original program logic. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/usb_pmapper.c", "new_path": "devicemodel/hw/platform/usb_pmapper.c", "diff": "@@ -170,7 +170,7 @@ libusb_speed_to_usb_speed(int libusb_speed)\n}\nstatic void\n-usb_dev_comp_req(struct libusb_transfer *trn)\n+usb_dev_comp_cb(struct libus...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: clean-up: change name of function usb_dev_comp_req Change it to usb_dev_comp_cb, which is more accurate for what it does. This patch doesn't change original program logic. Tracked-On: #3054 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,659
08.05.2019 22:43:26
-28,800
5a9627ced893b960b69c06e426f9686720ef2306
DM USB: xHCI: refine the emulation of Stop Endpoint Command Old implementation does nothing when Stop Endpoint cmd is received, it is not right. The new implementation will cancel all the libusb requests in processing. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -201,6 +201,7 @@ struct pci_xhci_dev_ep {\n#define ep_sctx_trbs _ep_trb_rings._epu_sctx_trbs\nstruct usb_data_xfer *ep_xfer; /* transfer chain */\n+ pthread_mutex_t mtx;\n};\n/* d...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: refine the emulation of Stop Endpoint Command Old implementation does nothing when Stop Endpoint cmd is received, it is not right. The new implementation will cancel all the libusb requests in processing. Tracked-On: #3054 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Acked-by: Yu Wang <yu1.wang@...
528,804
23.05.2019 11:00:06
-28,800
6fa41eee98d76861da11a4d069c4ca8acb39c0b5
DM: add static for local variables variables defined by struct logger_ops just used in local file, so add static to them.
[ { "change_type": "MODIFY", "old_path": "devicemodel/log/kmsg_logger.c", "new_path": "devicemodel/log/kmsg_logger.c", "diff": "@@ -87,7 +87,7 @@ static void write_to_kmsg(const char *fmt, va_list args)\n}\n}\n-struct logger_ops logger_kmsg = {\n+static struct logger_ops logger_kmsg = {\n.name = \"kms...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add static for local variables variables defined by struct logger_ops just used in local file, so add static to them. Tracked-On: #3012 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
528,804
30.05.2019 16:38:34
-28,800
5ab098eae2ed9ca164cbf54b1f6505673f16ff24
DM: add disk-logger configure in launch script add disk-logger setting in nuc/up2 launch script files.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-up2/launch_uos.sh", "new_path": "devicemodel/samples/apl-up2/launch_uos.sh", "diff": "@@ -172,7 +172,7 @@ else\nfi\n#logger_setting, format: logger_name,level; like following\n-logger_setting=\"--logger_setting console,level=4;kmsg,leve...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add disk-logger configure in launch script add disk-logger setting in nuc/up2 launch script files. Tracked-On: #3012 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
528,804
30.05.2019 16:55:44
-28,800
d05349d76725cd0af57f4eb65dfebc05f0787118
DM: use pr_dbg in vrtc instead of printf also add "\n" in the end of each log.
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/vmmapi.c", "new_path": "devicemodel/core/vmmapi.c", "diff": "@@ -411,7 +411,7 @@ static int suspend_mode = VM_SUSPEND_NONE;\nvoid\nvm_set_suspend_mode(enum vm_suspend_how how)\n{\n- pr_notice(\"vm mode changed from %d to:%d\", suspend_mode, ho...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: use pr_dbg in vrtc instead of printf also add "\n" in the end of each log. Tracked-On: #3012 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
528,804
31.05.2019 09:31:48
-28,800
ed7f64d7480a53517befe11d8335718e29cd7345
DM: add deinit API for loggers when DM exit, it is better to call deinit_loggers to do some cleanup work.
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "@@ -1073,5 +1073,6 @@ fail:\nvm_destroy(ctx);\ncreate_fail:\nuninit_hugetlb();\n+ deinit_loggers();\nexit(ret);\n}\n" }, { "change_type": "MODIFY", "old_path": "devicemodel/i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add deinit API for loggers when DM exit, it is better to call deinit_loggers to do some cleanup work. Tracked-On: #3012 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
528,756
13.06.2019 14:36:04
-28,800
66943be353f32a4b132fb142441519aa1c899e21
dm: enable audio passthrough device. Enable audio device by default on WaaG Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/nuc/launch_win.sh", "new_path": "devicemodel/samples/nuc/launch_win.sh", "diff": "@@ -12,6 +12,10 @@ if [[ \"$result\" != \"\" ]]; then\nexit\nfi\n+#add audio passthrough device\n+echo \"8086:9d71\" > /sys/bus/pci/drivers/pci-stub/new_id\n+...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: enable audio passthrough device. Enable audio device by default on WaaG Tracked-On: #3257 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,786
13.06.2019 12:08:47
-28,800
8426db93097fe57259f5a36fe51e41edf96177a5
DM: vrpmb: replace assert() with return false Replace assert() with explicit parameter checking and error handling. Acked-by: Zhu Bing
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/vrpmb.c", "new_path": "devicemodel/core/vrpmb.c", "diff": "@@ -56,7 +56,10 @@ int get_vrpmb_key(uint8_t *out, size_t size)\nreturn 0;\n}\n- assert(size == RPMB_KEY_LEN);\n+ if (size != RPMB_KEY_LEN) {\n+ fprintf(stderr, \"%s: Invalid input key...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: vrpmb: replace assert() with return false Replace assert() with explicit parameter checking and error handling. Tracked-On: #3252 Signed-off-by: Qi Yadong <yadong.qi@intel.com> Acked-by: Zhu Bing <bing.zhu@intel.com>
528,783
10.06.2019 14:37:47
-28,800
8338cd463ba95c01a20c3e934398daa73c651a96
hv: move 3 files to lib & arch folder move stack_protector.c/retpoline-thunk.S into lib folder move vmptable.c into arch/x86/config modified: Makefile renamed: arch/x86/retpoline-thunk.S -> arch/x86/lib/retpoline-thunk.S renamed: common/stack_protector.c -> lib/stack_protector.c renamed: dm/vmptable.c -> arc...
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -233,7 +233,7 @@ C_SRCS += common/schedule.c\nC_SRCS += common/vm_load.c\nC_SRCS += common/ptdev.c\nifdef STACK_PROTECTOR\n-C_SRCS += common/stack_protector.c\n+C_SRCS += lib/stack_protector....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: move 3 files to lib & arch folder move stack_protector.c/retpoline-thunk.S into lib folder move vmptable.c into arch/x86/config Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> modified: Makefile renamed: arch/x86/retpoline-thunk...
528,783
29.05.2019 10:59:58
-28,800
76f21e97b4e339b18ecb5c190efcccd7e8a5a8e3
hv: build boot module to boot_mod.a support compiling boot code to boot_mod.a modified: Makefile
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -162,11 +162,12 @@ CFLAGS += -DCONFIG_RETPOLINE\nLIB_S_SRCS += arch/x86/lib/retpoline-thunk.S\nendif\nendif\n-# boot component\n-S_SRCS += arch/x86/boot/cpu_primary.S\n-S_SRCS += arch/x86/boo...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: build boot module to boot_mod.a support compiling boot code to boot_mod.a Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> modified: Makefile
528,783
10.06.2019 16:03:14
-28,800
83e2a873b0aa764c67db3288077203f5131926fd
hv:build hardware layer to hw_mod.a support compiling hw management code to hw_mod.a modified: Makefile
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -21,6 +21,8 @@ HV_FILE := acrn\nSUB_MAKEFILES := $(wildcard */Makefile)\nLIB_MOD = $(HV_MODDIR)/lib_mod.a\n+BOOT_MOD = $(HV_MODDIR)/boot_mod.a\n+HW_MOD = $(HV_MODDIR)/hw_mod.a\nLIB_DEBUG = $(...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:build hardware layer to hw_mod.a support compiling hw management code to hw_mod.a Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> modified: Makefile
528,783
10.06.2019 16:28:50
-28,800
4d646c0255a65f73a9c82f146fb523a406b097b6
hv:build virtual platform base to vp_base_mod.a support compiling virtual platform base layer to vp_base_mod.a modified: Makefile
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -23,6 +23,7 @@ SUB_MAKEFILES := $(wildcard */Makefile)\nLIB_MOD = $(HV_MODDIR)/lib_mod.a\nBOOT_MOD = $(HV_MODDIR)/boot_mod.a\nHW_MOD = $(HV_MODDIR)/hw_mod.a\n+VP_BASE_MOD = $(HV_MODDIR)/vp_ba...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:build virtual platform base to vp_base_mod.a support compiling virtual platform base layer to vp_base_mod.a Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> modified: Makefile
528,783
10.06.2019 16:55:04
-28,800
e67f0eab8e8e79884a4a33fceb3c2f7992be6366
hv:build virtual platform DM to vp_dm_mod.a support compiling virtual platform device model layer to vp_dm_mod.a modified: Makefile
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -24,6 +24,7 @@ LIB_MOD = $(HV_MODDIR)/lib_mod.a\nBOOT_MOD = $(HV_MODDIR)/boot_mod.a\nHW_MOD = $(HV_MODDIR)/hw_mod.a\nVP_BASE_MOD = $(HV_MODDIR)/vp_base_mod.a\n+VP_DM_MOD = $(HV_MODDIR)/vp_dm_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:build virtual platform DM to vp_dm_mod.a support compiling virtual platform device model layer to vp_dm_mod.a Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> modified: Makefile
528,783
10.06.2019 18:23:40
-28,800
02bf362d50d84fe081d3b6dd709f63382cf1640d
hv:build virtual platform trusty to vp_trusty_mod.a support compiling virtual platform trusty to vp_trusty_mod.a modified: Makefile
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -25,6 +25,7 @@ BOOT_MOD = $(HV_MODDIR)/boot_mod.a\nHW_MOD = $(HV_MODDIR)/hw_mod.a\nVP_BASE_MOD = $(HV_MODDIR)/vp_base_mod.a\nVP_DM_MOD = $(HV_MODDIR)/vp_dm_mod.a\n+VP_TRUSTY_MOD = $(HV_MODDIR...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:build virtual platform trusty to vp_trusty_mod.a support compiling virtual platform trusty to vp_trusty_mod.a Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> modified: Makefile
528,783
10.06.2019 18:33:12
-28,800
5abca947ff38c8f7c157607191def29dcb67b18b
hv: build virtual platform hypercall to vp_hcall_mod.a support compiling virtual platform hypercall to vp_hcall_mod.a modified: Makefile
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -26,6 +26,7 @@ HW_MOD = $(HV_MODDIR)/hw_mod.a\nVP_BASE_MOD = $(HV_MODDIR)/vp_base_mod.a\nVP_DM_MOD = $(HV_MODDIR)/vp_dm_mod.a\nVP_TRUSTY_MOD = $(HV_MODDIR)/vp_trusty_mod.a\n+VP_HCALL_MOD = $(...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: build virtual platform hypercall to vp_hcall_mod.a support compiling virtual platform hypercall to vp_hcall_mod.a Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> modified: Makefile
528,783
10.06.2019 18:46:33
-28,800
4add405978858d431c1d591b34541448dfc12a5e
hv:build system initialization to sys_init_mod.a support compiling system initialization code to sys_init_mod.a
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -29,6 +29,7 @@ VP_TRUSTY_MOD = $(HV_MODDIR)/vp_trusty_mod.a\nVP_HCALL_MOD = $(HV_MODDIR)/vp_hcall_mod.a\nLIB_DEBUG = $(HV_MODDIR)/libdebug.a\nLIB_RELEASE = $(HV_MODDIR)/librelease.a\n+SYS_INI...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:build system initialization to sys_init_mod.a support compiling system initialization code to sys_init_mod.a Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,654
14.06.2019 18:32:19
-28,800
9960ff98c515638d5ce2966e3a79d32c8f25e9e3
hv: ept: unify EPT API name to verb-object style Rename ept_mr_add to ept_add_mr Rename ept_mr_modify to ept_modify_mr Rename ept_mr_del to ept_del_mr
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hv-cpu-virt.rst", "new_path": "doc/developer-guides/hld/hv-cpu-virt.rst", "diff": "@@ -552,7 +552,7 @@ request as shown below.\n* - ACRN_REQUEST_EPT_FLUSH\n- Request for EPT flush\n- - ept_mr_add, ept_mr_modify, ept_mr_del, or vmx_writ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: ept: unify EPT API name to verb-object style Rename ept_mr_add to ept_add_mr Rename ept_mr_modify to ept_modify_mr Rename ept_mr_del to ept_del_mr Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,665
13.06.2019 09:24:07
0
22f24c229b48a98e70572e7e25b1de2077fbd198
DM: Samples: Enable VxWorks as hard-rt VM This patch adds --lapic_pt option to launch VxWorks as hard-rt VM.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/nuc/launch_vxworks.sh", "new_path": "devicemodel/samples/nuc/launch_vxworks.sh", "diff": "@@ -16,20 +16,16 @@ fi\nmem_size=2048M\n# Note:\n-# Here we just launch VxWorks as a normal vm without lapic_pt. If you want try it\n-# with lapic_pt,...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: Samples: Enable VxWorks as hard-rt VM This patch adds --lapic_pt option to launch VxWorks as hard-rt VM. Tracked-On: #3069 Signed-off-by: Kaige Fu <kaige.fu@intel.com>
528,747
17.06.2019 10:59:53
25,200
86d3065de1af1c59146d8f8e999d4f5fa4243c05
doc: tweak doxygen precondition label The doxygen-collected API information about function preconditions has a uninspired title of "pre". This change tweaks that to be "preconditions" in the generated HTML output by editing the generated xml output before it is processed by Sphinx/Breathe.
[ { "change_type": "MODIFY", "old_path": "doc/Makefile", "new_path": "doc/Makefile", "diff": "@@ -40,6 +40,7 @@ help:\ndoxy:\n$(Q)(cat acrn.doxyfile) | doxygen - > doc.log 2>&1\n+ $(Q)find doxygen/xml/* | xargs sed -i 's/simplesect kind=\"pre\"/simplesect kind=\"preconditions\"/'\ncontent:\n$(Q)script...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: tweak doxygen precondition label The doxygen-collected API information about function preconditions has a uninspired title of "pre". This change tweaks that to be "preconditions" in the generated HTML output by editing the generated xml output before it is processed by Sphinx/Breathe. Signed-off-by: David B. Ki...
528,748
14.06.2019 14:52:06
-28,800
030e7683ad44be67b835182733e400e43b86b8eb
doc: add systemd-networkd-autostart bundle in APL GSG Clear Linux changed from systemd-networkd to NetworkManager as default "network manager", We need to install "systemd-networkd-autostart" bundle to enable systemd-networkd to create ACRN network bridges and Tap devices.
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/acrn_quick_setup.sh", "new_path": "doc/getting-started/acrn_quick_setup.sh", "diff": "@@ -77,8 +77,8 @@ function upgrade_sos()\n# Do the setups if previous process succeed.\nif [[ $? -eq 0 ]]; then\n- echo \"Adding the service-os and kernel...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add systemd-networkd-autostart bundle in APL GSG Clear Linux changed from systemd-networkd to NetworkManager as default "network manager", We need to install "systemd-networkd-autostart" bundle to enable systemd-networkd to create ACRN network bridges and Tap devices. Signed-off-by: Lei Lu <leix.lu@intel.com>
528,787
11.06.2019 06:45:29
0
efccdd22a06642ec1edba8a9626d9454ff127b4b
dm: add virtio-rnd device to command line When FE virtio devices work in polling mode, sshd.service can't start normally and blocks at generating random bytes. When reading from the random source, getrandom() blocks caused by no random bytes.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/nuc/launch_uos.sh", "new_path": "devicemodel/samples/nuc/launch_uos.sh", "diff": "@@ -101,6 +101,7 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \\\n-s 6,virtio-hyper_dmabuf \\\n-s 3,virtio-blk,/home/clear/uos/...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: add virtio-rnd device to command line When FE virtio devices work in polling mode, sshd.service can't start normally and blocks at generating random bytes. When reading from the random source, getrandom() blocks caused by no random bytes. Tracked-On: #3268 Signed-off-by: Gao Junhao <junhao.gao@intel.com> Reviewed...
528,731
14.06.2019 15:10:52
-28,800
0ea788b48eabad343814311ec42d0ca407ebfb58
dm: passthru: remove the use of assert() Remove the use of assert() in passthrough driver.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/passthrough.c", "new_path": "devicemodel/hw/pci/passthrough.c", "diff": "extern uint64_t audio_nhlt_len;\n-/* TODO: Add support for IO BAR of PTDev */\n-static int iofd = -1;\n-\n/* reference count for libpciaccess init/deinit */\nstatic int...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: passthru: remove the use of assert() Remove the use of assert() in passthrough driver. Tracked-On: #3252 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,755
11.06.2019 10:22:27
-28,800
1e1244c36b6158e9701df180b95fab10b0c752fb
dm: use strncpy to replace strcpy Use strncpy instead of strcpy to avoid buf overflow. Fix strncpy null-terminated issues. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_audio.c", "new_path": "devicemodel/hw/pci/virtio/virtio_audio.c", "diff": "@@ -121,6 +121,7 @@ virtio_audio_kernel_dev_set(struct vbs_dev_info *kdev, const char *name,\n{\n/* init kdev */\nstrncpy(kdev->name, name, VBS_NAME_LEN...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: use strncpy to replace strcpy Use strncpy instead of strcpy to avoid buf overflow. Fix strncpy null-terminated issues. Tracked-On: #3245 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,755
12.06.2019 15:23:14
-28,800
0620980fab151ebfdce0fdb94e87de6199a009b1
dm: use strnlen to replace strlen Replace strlen function with strnlen function in DM Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "diff": "@@ -652,10 +652,10 @@ virtio_gpio_proc(struct virtio_gpio *gpio, struct iovec *iov, int n)\n* command line paremeter, then provide it to UOS,\n* otherwise...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: use strnlen to replace strlen Replace strlen function with strnlen function in DM Tracked-On: #3276 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,755
14.06.2019 16:04:47
-28,800
b0015963f51b351ea236d1681868ecc2e4a8dd23
dm: fix some potential memory leaks This patch is to fix some potential memory leak issues 1, free mrp if the mmio_rb_lookup() function return 0; 2, free memory allocated by strdup in some error case handling. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/mem.c", "new_path": "devicemodel/core/mem.c", "diff": "@@ -196,7 +196,7 @@ register_mem_int(struct mmio_rb_tree *rbt, struct mem_range *memp)\nstruct mmio_rb_range *entry, *mrp;\nint err;\n- err = 0;\n+ err = -1;\nmrp = malloc(sizeof(struct mm...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: fix some potential memory leaks This patch is to fix some potential memory leak issues 1, free mrp if the mmio_rb_lookup() function return 0; 2, free memory allocated by strdup in some error case handling. Tracked-On: #3277 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Acked-by: Anthony Xu <anthony.xu@in...
528,751
14.06.2019 18:26:25
-28,800
cdc5f120f1751246e55de46ff70f5ac7d7f0ec49
dm: virtio-net: clean up assert This patch is to clean up assert from virtio-net.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_net.c", "new_path": "devicemodel/hw/pci/virtio/virtio_net.c", "diff": "#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n-#include <assert.h>\n#include <openssl/md5.h>\n#include <pthread.h>\n#include <sys/ioctl.h>\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: virtio-net: clean up assert This patch is to clean up assert from virtio-net. Tracked-On: #3252 Signed-off-by: Jie Deng <jie.deng@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,662
17.05.2019 14:32:38
-28,800
f145cd490c2e36bef48a55ea141f6e595d63a5e8
doc: Instruction of enabling ACRN-DM QoS. Add instruction of enabling ACRN-DM QoS based on runC container.
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/tutorials/acrn-dm_QoS.rst", "diff": "+.. _acrn-dm_qos:\n+\n+Enable QoS based on runC container\n+##################################\n+This document describes how ACRN supports Device-Model Quality of Service (QoS)\n+based on using runC conta...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Instruction of enabling ACRN-DM QoS. Add instruction of enabling ACRN-DM QoS based on runC container. Tracked-On: #3131 Signed-off-by: ruix.li <ruix.li@intel.com>
528,768
17.06.2019 18:10:14
-28,800
ec626482d20bb32b1dced38b2e244b74a150ce03
dm: cleanup 'assert' for guest software loading module cleanup 'assert' to avoid possible vulnerabilities.
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/sw_load_common.c", "new_path": "devicemodel/core/sw_load_common.c", "diff": "@@ -121,7 +121,7 @@ acrn_parse_bootargs(char *arg)\nwith_bootargs = 1;\nprintf(\"SW_LOAD: get bootargs %s\\n\", bootargs);\nreturn 0;\n- } else\n+ }\nreturn -1;\n}\n@...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: cleanup 'assert' for guest software loading module cleanup 'assert' to avoid possible vulnerabilities. Tracked-On: #3252 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,768
17.06.2019 18:18:30
-28,800
a2332b159ae0d1ab785a7b089f895313cbb06aec
dm: refine 'assert' usage in timer.c and rtc.c - 'assert' cleanup - fix memory leakage in vrtc_init()
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/timer.c", "new_path": "devicemodel/core/timer.c", "diff": "#include <stdbool.h>\n#include <unistd.h>\n#include <errno.h>\n-#include <assert.h>\n#include <sys/timerfd.h>\n#include \"vmmapi.h\"\n@@ -51,7 +50,9 @@ timer_handler(int fd __attribute...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: refine 'assert' usage in timer.c and rtc.c - 'assert' cleanup - fix memory leakage in vrtc_init() Tracked-On: #3252 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,768
17.06.2019 18:27:31
-28,800
dedf9befa6eeb3387e88f65468892bfd50d7ed98
dm: refine 'assert' in inout.c and post.c - 'assert' cleanup to avoid possible software vulnerabilities.
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/inout.c", "new_path": "devicemodel/core/inout.c", "diff": "#include <stdio.h>\n#include <string.h>\n-#include <assert.h>\n#include \"inout.h\"\n-\nSET_DECLARE(inout_port_set, struct inout_port);\n#define MAX_IOPORTS (1 << 16)\n@@ -99,8 +97,9 @...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: refine 'assert' in inout.c and post.c - 'assert' cleanup to avoid possible software vulnerabilities. Tracked-On: #3252 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,768
17.06.2019 18:33:03
-28,800
65d7d83b1c7bd691f4c9ab1564c31cebaaa5408e
refine 'assert' usage in vmmapi.c and main.c cleanup 'assert' to avoid possible software vulnerabilities
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "#include <errno.h>\n#include <libgen.h>\n#include <unistd.h>\n-#include <assert.h>\n#include <pthread.h>\n#include <sysexits.h>\n#include <stdbool.h>\n@@ -654,10 +653,15 @@ vm_loop(struc...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
refine 'assert' usage in vmmapi.c and main.c cleanup 'assert' to avoid possible software vulnerabilities Tracked-On: #3252 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,768
17.06.2019 18:39:24
-28,800
885d503a60e791cd99b573bba3da9605a4c17b6a
dm: refine 'assert' in hugetlb.c and mem.c cleanup 'assert' usage to avoid possible software vulnerabilities.
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/hugetlb.c", "new_path": "devicemodel/core/hugetlb.c", "diff": "#include <sys/types.h>\n#include <fcntl.h>\n#include <errno.h>\n-#include <assert.h>\n#include \"vmmapi.h\"\n@@ -267,7 +266,6 @@ static int mmap_hugetlbfs(struct vmctx *ctx, size_t...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: refine 'assert' in hugetlb.c and mem.c cleanup 'assert' usage to avoid possible software vulnerabilities. Tracked-On: #3252 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,768
17.06.2019 18:46:50
-28,800
e6eef9b67267fba407eb59e1e3010a94e6b4fda5
dm: refine 'assert' usage in pm.c and acpi.c 'assert' usage cleanup to avoid possible software vulnerabilities
[ { "change_type": "MODIFY", "old_path": "devicemodel/arch/x86/pm.c", "new_path": "devicemodel/arch/x86/pm.c", "diff": "#include <sys/cdefs.h>\n#include <sys/types.h>\n#include <stdio.h>\n-#include <assert.h>\n#include <errno.h>\n#include <pthread.h>\n#include <signal.h>\n@@ -69,7 +68,6 @@ static int\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: refine 'assert' usage in pm.c and acpi.c 'assert' usage cleanup to avoid possible software vulnerabilities Tracked-On: #3252 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,768
17.06.2019 18:51:08
-28,800
13228d910fef7dc73acb3d3400bcca2dbba1deb5
dm: refine 'assert' usage in irq.c and wdt_i6300esb.c cleanup 'assert' usage to avoid possible software vulnerabilities
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/irq.c", "new_path": "devicemodel/hw/pci/irq.c", "diff": "*/\n-#include <assert.h>\n#include <pthread.h>\n#include <stdbool.h>\n#include <stdio.h>\n@@ -80,7 +79,9 @@ pirq_valid_irq(int reg)\nuint8_t\npirq_read(int pin)\n{\n- assert(pin > 0 &&...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: refine 'assert' usage in irq.c and wdt_i6300esb.c cleanup 'assert' usage to avoid possible software vulnerabilities Tracked-On: #3252 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,706
18.06.2019 19:25:25
-28,800
4145b8af6e9a0b16cb0c5232b84cd6fb2affe293
dm: block: clean up assert This patch is to clean up assert for block interface. 'magic' is removed from block structure, as the user should make sure the block device is created and not closed when access to it.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/block_if.c", "new_path": "devicemodel/hw/block_if.c", "diff": "#include <linux/falloc.h>\n#include <linux/fs.h>\n#include <errno.h>\n-#include <assert.h>\n#include <err.h>\n#include <fcntl.h>\n#include <stdio.h>\n@@ -98,7 +97,6 @@ struct blockif...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: block: clean up assert This patch is to clean up assert for block interface. 'magic' is removed from block structure, as the user should make sure the block device is created and not closed when access to it. Tracked-On: #3252 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Reviewed-by: Shuo A Liu <shuo.a.li...
528,706
18.06.2019 19:30:46
-28,800
3ef385d6c4ad2f421682e9cdb856a63a0a08357e
dm: ahci: clean up assert This patch is to clean up assert from achi.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/ahci.c", "new_path": "devicemodel/hw/pci/ahci.c", "diff": "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n-#include <assert.h>\n#include <pthread.h>\n#include <inttypes.h>\n#include <openssl/md5.h>\n@@ -626,7 +625,6 @@ ahci_bu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: ahci: clean up assert This patch is to clean up assert from achi. Tracked-On: #3252 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,706
18.06.2019 19:33:57
-28,800
d0e08712832ca780058dbd09b9ed36dbbec9e08b
dm: virtio-block: clean up assert This patch is to clean up assert from virtio-block
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_block.c", "new_path": "devicemodel/hw/pci/virtio/virtio_block.c", "diff": "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n-#include <assert.h>\n#include <pthread.h>\n#include <openssl/md5.h>\n@@ -219,6 +218,15 @@...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: virtio-block: clean up assert This patch is to clean up assert from virtio-block Tracked-On: #3252 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,756
13.06.2019 18:03:53
-28,800
f81585eb3da0c50092b7ae32f82d200b618db802
HV: Add flush_address_space API. flush_address_space is used to flush address space by clflushopt instruction. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/mmu.c", "new_path": "hypervisor/arch/x86/mmu.c", "diff": "@@ -294,3 +294,16 @@ void init_paging(void)\n/* set ptep in sanitized_page point to itself */\nsanitize_pte((uint64_t *)sanitized_page);\n}\n+\n+/*\n+ * @pre: addr != NULL && size !=...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Add flush_address_space API. flush_address_space is used to flush address space by clflushopt instruction. Signed-off-by: Jack Ren <jack.ren@intel.com> Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,756
14.06.2019 14:26:03
-28,800
7018a13cb631edde9844113b45f3d057ce331ee0
HV: Add ept_flush_leaf_page API The ept_flush_leaf_page API is used to flush address space from a ept page entry, user can use it to match walk_ept_mr to flush VM address space. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/ept.c", "new_path": "hypervisor/arch/x86/guest/ept.c", "diff": "@@ -156,6 +156,23 @@ void ept_del_mr(struct acrn_vm *vm, uint64_t *pml4_page, uint64_t gpa, uint64_t\n}\n}\n+/**\n+ * @pre pge != NULL && size > 0.\n+ */\n+void ept_flush...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Add ept_flush_leaf_page API The ept_flush_leaf_page API is used to flush address space from a ept page entry, user can use it to match walk_ept_mr to flush VM address space. Signed-off-by: Jack Ren <jack.ren@intel.com> Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com> Acked-b...
528,756
18.06.2019 17:26:09
-28,800
ea699af861408f658e83bcddf1a6e1fc6d970f9e
HV: Add has_rt_vm API The has_rt_vm walk through all VMs to check RT VM flag and if there is no any RT VM, then return false otherwise return true.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -854,3 +854,19 @@ enum vm_vlapic_state check_vm_vlapic_state(const struct acrn_vm *vm)\nvlapic_state = vm->arch_vm.vlapic_state;\nreturn vlapic_state;\n}\n+\n+/**\n+ * i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Add has_rt_vm API The has_rt_vm walk through all VMs to check RT VM flag and if there is no any RT VM, then return false otherwise return true. Signed-off-by: Jack Ren <jack.ren@intel.com> Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com>
528,667
18.06.2019 13:59:21
-28,800
2b3dedfb9ba13f15887f22b935d373f36c9a59fa
dm: pci: clean up assert() in pci core
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/core.c", "new_path": "devicemodel/hw/pci/core.c", "diff": "@@ -426,11 +426,10 @@ pci_emul_mem_handler(struct vmctx *ctx, int vcpu, int dir, uint64_t addr,\nuint64_t offset;\nint bidx = (int) arg2;\n- assert(bidx <= PCI_BARMAX);\n- assert(pdi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: pci: clean up assert() in pci core Tracked-On: #3252 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,667
18.06.2019 13:59:56
-28,800
1b7995387d864a3520a302b13cf47b6f554ba05d
dm: pcidev: clean up assert() for some pci devices
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/lpc.c", "new_path": "devicemodel/hw/pci/lpc.c", "diff": "@@ -103,7 +103,10 @@ lpc_uart_intr_assert(void *arg)\n{\nstruct lpc_uart_vdev *lpc_uart = arg;\n- assert(lpc_uart->irq >= 0);\n+ if (lpc_uart->irq < 0) {\n+ pr_warn(\"%s: Invalid irq p...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: pcidev: clean up assert() for some pci devices Tracked-On: #3252 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,667
18.06.2019 14:00:23
-28,800
db7e7f1c4447cc1d08dd1f5d4d86f4251f9f985a
dm: platform: clean up assert() for some platform devices
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/atkbdc.c", "new_path": "devicemodel/hw/platform/atkbdc.c", "diff": "*/\n#include <stdint.h>\n-#include <assert.h>\n#include <errno.h>\n#include <stdbool.h>\n#include <stdlib.h>\n#include \"ps2mouse.h\"\n#include \"vmmapi.h\"\n#include \...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: platform: clean up assert() for some platform devices Tracked-On: #3252 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,756
13.06.2019 15:57:42
-28,800
1e23c4dc4194b993de34e8ebe4f5f06dfabcfc5a
dm: ioc: clean up assert This patch is to clean up assert from ioc
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/ioc.c", "new_path": "devicemodel/hw/platform/ioc.c", "diff": "#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n-#include <assert.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <pty.h>\n@@ -1329,7 +1328,6 @@ ioc_rx_thr...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: ioc: clean up assert This patch is to clean up assert from ioc Tracked-On: #3252 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,756
19.06.2019 16:18:41
-28,800
5cbda22d295b178a1a8616090958a57fd7dc88c6
dm: virtio_gpio: clean up assert This patch is to clean up assert from virtio-gpio
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "diff": "#include <sys/ioctl.h>\n#include <unistd.h>\n-#include <assert.h>\n#include <errno.h>\n#include <inttypes.h>\n#include <fcntl.h>\n@@ -293,6 +292,15 @@ sta...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: virtio_gpio: clean up assert This patch is to clean up assert from virtio-gpio Tracked-On: #3252 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,676
19.06.2019 16:20:10
-28,800
e3ee9cf20ea2d17a3ff170779c0deb0029772af1
HV: fix expression is not boolean MISRA-C standard requires the type of result of expression in if/while pattern shall be boolean.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/pm.c", "new_path": "hypervisor/arch/x86/guest/pm.c", "diff": "@@ -249,7 +249,7 @@ static bool rt_vm_pm1a_io_write(struct acrn_vm *vm, uint16_t addr, size_t width,\nif (width != 2U) {\npr_dbg(\"Invalid address (0x%x) or width (0x%x)\",...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: fix expression is not boolean MISRA-C standard requires the type of result of expression in if/while pattern shall be boolean. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
528,787
17.06.2019 07:52:22
0
14a93f7475d4743bd5fc3f01d4c67a3b43b679d6
dm: clean up assert in virtio_input.c clean up assert in virtio_input.c Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_input.c", "new_path": "devicemodel/hw/pci/virtio/virtio_input.c", "diff": "#include <stdbool.h>\n#include <string.h>\n#include <unistd.h>\n-#include <assert.h>\n#include <pthread.h>\n#include \"dm.h\"\n@@ -251,7 +250,19 @@ virt...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: clean up assert in virtio_input.c clean up assert in virtio_input.c Tracked-On: #3303 Signed-off-by: Gao Junhao <junhao.gao@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,787
17.06.2019 05:10:13
0
c265bd555280fa7b7978e75cb12d326fa2b8982c
dm: clean up assert in virtio_audio.c clean up assert from virtio_audio Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_audio.c", "new_path": "devicemodel/hw/pci/virtio/virtio_audio.c", "diff": "#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n-#include <assert.h>\n#include <pthread.h>\n#include <sysexits.h>\n@@ -368,7 +367,11 @@ v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: clean up assert in virtio_audio.c clean up assert from virtio_audio Tracked-On: #3301 Signed-off-by: Gao Junhao <junhao.gao@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,787
17.06.2019 08:27:05
0
93b4cf57fa7bc172b718aa86b54232db7e5e2ff4
dm: clean up assert in virtio.c clean up assert in virtio.c Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio.c", "new_path": "devicemodel/hw/pci/virtio/virtio.c", "diff": "@@ -63,7 +63,10 @@ virtio_start_timer(struct acrn_timer *timer, time_t sec, time_t nsec)\n/* set the delay time it will be started when timer_setting */\nts.it_valu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: clean up assert in virtio.c clean up assert in virtio.c Tracked-On: #3302 Signed-off-by: Gao Junhao <junhao.gao@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,783
21.06.2019 10:13:33
-28,800
c1e23f1a4a997eedb7ca84121b2c8949f541d1ca
hv:Fix MISRA-C violations for static inline MISRA-C requires inline functions should be declared static, these APIs are external interfaces,remove inline modified: arch/x86/guest/vcpu.c
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "#include <sprintf.h>\n#include <cat.h>\n-inline uint64_t vcpu_get_gpreg(const struct acrn_vcpu *vcpu, uint32_t reg)\n+uint64_t vcpu_get_gpreg(const struct acrn_vcpu *vc...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:Fix MISRA-C violations for static inline MISRA-C requires inline functions should be declared static, these APIs are external interfaces,remove inline Tracked-On: #861 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> modified: arch/x86/guest/vcpu.c
528,802
18.06.2019 13:38:37
-28,800
56469f3edce7e56b33bd3b6d5cd14efb8ede7a1b
dm: refine assert usage Remove unnecessary assert and add error handling when required.
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/mevent.c", "new_path": "devicemodel/core/mevent.c", "diff": "* Micro event library for FreeBSD, designed for a single i/o thread\n* using EPOLL, and having events be persistent by default.\n*/\n-#include <assert.h>\n#include <errno.h>\n#includ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: refine assert usage Remove unnecessary assert and add error handling when required. Tracked-On: #3252 Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,665
22.06.2019 12:54:26
0
217145e33b3dcb5402f5114febedfc4a5362dd40
Doc: Update acrn-shell.rst for new 'version' cmd This patch updates acrn-shell.rst for new 'version' cmd.
[ { "change_type": "MODIFY", "old_path": "doc/user-guides/acrn-shell.rst", "new_path": "doc/user-guides/acrn-shell.rst", "diff": "@@ -13,6 +13,8 @@ The ACRN hypervisor shell supports the following commands:\n- Description\n* - help\n- Display information about supported hypervisor shell commands\n+ * ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Doc: Update acrn-shell.rst for new 'version' cmd This patch updates acrn-shell.rst for new 'version' cmd. Tracked-On: #3310 Signed-off-by: Kaige Fu <kaige.fu@intel.com>
528,747
21.06.2019 10:27:40
25,200
0dc8c179e6321189e9eaff7e7924d55a1d660757
doc: update acrnd/acrnctl option docs Document the acrnd -t, and acrnctl add -C options, noted as missing in PR
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/README.rst", "new_path": "tools/acrn-manager/README.rst", "diff": "@@ -14,7 +14,7 @@ on ``acrn-dm``. The daemon for acrn-manager is `acrnd`_.\nUsage\n-*****\n+=====\nYou can see the available ``acrnctl`` commands by running:\n@@ -48,6 +48,11...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update acrnd/acrnctl option docs Document the acrnd -t, and acrnctl add -C options, noted as missing in PR #3137 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,767
14.06.2019 14:20:38
-28,800
fbf16d7327f97ac0f85acd2368619a5103908106
DM: virtio_rpmb: clean up assert clean up assert from virtio rpmb module. Acked-by: Zhu Bing
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_rpmb.c", "new_path": "devicemodel/hw/pci/virtio/virtio_rpmb.c", "diff": "#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n-#include <assert.h>\n#include <pthread.h>\n#include <errno.h>\n#include \"dm.h\"\n@@ -432,...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: virtio_rpmb: clean up assert clean up assert from virtio rpmb module. Tracked-On: #3252 Signed-off-by: dengwei <wei.a.deng@intel.com> Signed-off-by: yingbinx <yingbinx.zeng@intel.com> Acked-by: Zhu Bing <bing.zhu@intel.com>
528,676
25.06.2019 14:45:39
-28,800
3a61530d4e9f01c05c54d5312124af405ef51d5c
HV:fix simple violations Fix the violations not touched the logical. 1.Function return value not checked. 2.Logical conjuctions need brackets. 3.No brackets to then/else. 4.Type conversion without cast.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/vmptable.c", "new_path": "hypervisor/arch/x86/configs/vmptable.c", "diff": "@@ -100,7 +100,7 @@ int32_t mptable_build(struct acrn_vm *vm)\nmptable = &vm_mptables[vm->vm_id];\nvcpu_num = vm->hw.created_vcpus;\npcpu_bitmap = vm_config...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:fix simple violations Fix the violations not touched the logical. 1.Function return value not checked. 2.Logical conjuctions need brackets. 3.No brackets to then/else. 4.Type conversion without cast. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
528,728
19.06.2019 01:15:16
-7,200
b759708cad2cc17fa8c4b1aa6bc0553d6e26d382
TravisCI: remove all config and support files related to TravisCI The project does not make use of TravisCI. Remove all the configuration and support files (that are also mostly bit-rotten by now).
[ { "change_type": "DELETE", "old_path": ".travis-dockerfiles/Dockerfile.centos7", "new_path": null, "diff": "-# Build container based on CentOS 7\n-FROM centos:centos7\n-\n-RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm\n-RUN yum -y update; yum clean all\n-R...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
TravisCI: remove all config and support files related to TravisCI The project does not make use of TravisCI. Remove all the configuration and support files (that are also mostly bit-rotten by now). Tracked-On: #3286 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,783
25.06.2019 14:28:00
-28,800
7e6ff2a176263e0f54258a63f37cd090565a5174
hv:fix a bug for building debug/release lib there is a build error if we only build debug/release library because missing the build/modules folder modified: Makefile modified: debug/Makefile modified: release/Makefile
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -142,7 +142,7 @@ OBJCOPY ?= objcopy\nexport CC AS AR LD OBJCOPY\nexport CFLAGS ASFLAGS ARFLAGS LDFLAGS ARCH_CFLAGS ARCH_ASFLAGS ARCH_ARFLAGS ARCH_LDFLAGS\n-export HV_OBJDIR CONFIG_RELEASE INC...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:fix a bug for building debug/release lib there is a build error if we only build debug/release library because missing the build/modules folder Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> modified: Makefile modified: debug/Makefile modified: release/Makefile
528,659
25.06.2019 14:52:38
-28,800
31e23cd09c6077528bb465c66f46d2ed5a777282
DM USB: clean up the assert usage Remove assert in USB mediator code.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -492,9 +492,6 @@ pci_xhci_get_free_vport(struct pci_xhci_vdev *xdev,\nint ports, porte;\nint i, j, k;\n- assert(xdev);\n- assert(di);\n-\nif (di->bcd < 0x300)\nports = xdev->usb2_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: clean up the assert usage Remove assert in USB mediator code. Tracked-On: #3252 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,731
22.06.2019 13:54:47
-28,800
ad6f54b99a4487cda22cf828901e19a3916f6a3e
dm: sample: remove deprecated sos_bootargs files SOS bootargs is specified in vm_configurations.h in different scenarios. The files in devicemodel/samples/<board>/sos_bootargs_*.txt are not used anymore. Remove these deprecated files to avoid confusion. Acked-by: Victor Sun
[ { "change_type": "DELETE", "old_path": "devicemodel/samples/apl-mrb/sos_bootargs_debug.txt", "new_path": null, "diff": "-module_blacklist=dwc3_pci\n-no_timer_check\n-console=tty0\n-console=ttyS2\n-quiet loglevel=3\n-consoleblank=0\n-root=/dev/mmcblk1p1 rw rootwait\n-i915.nuclear_pageflip=1\n-i915.en...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: sample: remove deprecated sos_bootargs files SOS bootargs is specified in vm_configurations.h in different scenarios. The files in devicemodel/samples/<board>/sos_bootargs_*.txt are not used anymore. Remove these deprecated files to avoid confusion. Tracked-On: #3214 Signed-off-by: Binbin Wu <binbin.wu@intel.com>...
528,799
10.06.2019 13:15:44
25,200
c61ea3b5af253c8f8ad92f5dedf2f9c15551e3d5
HV: remove unused function find_pci_pdev find_pci_pdev is not used any more, remove it. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/hw/pci.c", "new_path": "hypervisor/hw/pci.c", "diff": "@@ -394,18 +394,3 @@ static void init_pdev(uint16_t pbdf)\npr_err(\"%s, failed to alloc pci_pdev!\\n\", __func__);\n}\n}\n-\n-struct pci_pdev *find_pci_pdev(union pci_bdf pbdf)\n-{\n- struct pci...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: remove unused function find_pci_pdev find_pci_pdev is not used any more, remove it. Tracked-On: #3241 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,799
24.06.2019 13:11:27
25,200
28d454bfb9f9410dab4ed18509a3d5f2ed7796e6
HV: move bar access and alignment checking out of vdev_pt_write_vbar And put the checking in vdev_pt_write_cfg instead to have less nesting in vdev_pt_write_vbar to improve code readability. Rename function: vdev_pt_remap_generic_bar --> vdev_pt_remap_generic_mem_vbar vdev_pt_read_cfg's function declaration is merged i...
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/pci_pt.c", "new_path": "hypervisor/dm/vpci/pci_pt.c", "diff": "*\n* $FreeBSD$\n*/\n-\n-/* Passthrough PCI device related operations */\n-\n#include <vm.h>\n#include <errno.h>\n#include <ept.h>\n@@ -46,8 +43,7 @@ static inline uint32_t get_ba...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: move bar access and alignment checking out of vdev_pt_write_vbar And put the checking in vdev_pt_write_cfg instead to have less nesting in vdev_pt_write_vbar to improve code readability. Rename function: vdev_pt_remap_generic_bar --> vdev_pt_remap_generic_mem_vbar vdev_pt_read_cfg's function declaration is merge...
528,728
24.06.2019 10:27:07
-7,200
9b2b4cd84ca711cc4e27c991e103a9cac5d6ef06
tools: enhance online and built-in help messages Enhance and re-order the help messages for the `acrnd` tools (daemon for ACRN VM management). Fix a few typos in the process.
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/README.rst", "new_path": "tools/acrn-manager/README.rst", "diff": "@@ -138,13 +138,15 @@ You can see the available ``acrnd`` commands by running:\n.. code-block:: none\n$ acrnd -h\n- acrnd - Deamon for ACRN VM Management\n+ acrnd - Daemon fo...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: enhance online and built-in help messages Enhance and re-order the help messages for the `acrnd` tools (daemon for ACRN VM management). Fix a few typos in the process. Tracked-On: #3329 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,662
26.06.2019 12:09:31
-28,800
680edd1d3c69ff2d660eab3e5b145e833d36df7c
doc: Update acrn-manager README and QoS introduction Modify 'launch_UOS.sh' to 'launch_uos.sh' and provide an example for the script which is support '-C' option.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/acrn-dm_QoS.rst", "new_path": "doc/tutorials/acrn-dm_QoS.rst", "diff": "@@ -112,8 +112,20 @@ How to use ACRN-DM QoS\n# acrnctl add launch_uos.sh -C\n+ .. note:: You can download an `example launch_uos.sh script\n+ <https://raw.githubusercontent.c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Update acrn-manager README and QoS introduction Modify 'launch_UOS.sh' to 'launch_uos.sh' and provide an example for the script which is support '-C' option. Signed-off-by: ruix.li <ruix.li@intel.com>
528,747
27.06.2019 14:40:54
25,200
2376b3af5c12e7a355ca85ee24953b1cfb4c79aa
doc: update doc version menu Update the /latest/ (master) version of the docs to provide the menu choice for the v1.1 release.
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -189,11 +189,10 @@ else:\nhtml_context = {\n'current_version': current_version,\n'versions': ( (\"latest\", \"/latest/\"),\n+ (\"1.1\", \"/1.1/\"),\n(\"1.0\", \"/1.0/\"),\n(\"0.8\", \"/0.8/\"),\n(\"0.7\", \"...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update doc version menu Update the /latest/ (master) version of the docs to provide the menu choice for the v1.1 release. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,647
26.06.2019 10:39:05
-28,800
c42b41fe2b723a0d24b2084a780be41e0a7dff5c
dm: add "noapic" to rt-linux kernel parameters This commit adds "noapic" boot option to rt-linux, to skip IOAPIC probe. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/nuc/launch_hard_rt_vm.sh", "new_path": "devicemodel/samples/nuc/launch_hard_rt_vm.sh", "diff": "@@ -39,7 +39,7 @@ echo ${passthru_bdf[\"sata\"]} > /sys/bus/pci/drivers/pci-stub/bind\n-s 3,virtio-console,@stdio:stdio_port \\\n-B \"root=/dev/...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: add "noapic" to rt-linux kernel parameters This commit adds "noapic" boot option to rt-linux, to skip IOAPIC probe. Tracked-On: #3227 Signed-off-by: Yan, Like <like.yan@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,676
27.06.2019 18:23:11
-28,800
74b788988df4f32726e12a0ab3130e51e9dadcde
HV:fix vcpu more than one return entry ACRN coding guideline requires function shall have only one return entry. Fix it. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "@@ -349,11 +349,7 @@ int32_t create_vcpu(uint16_t pcpu_id, struct acrn_vm *vm, struct acrn_vcpu **rtn\n* vm->hw.created_vcpus++;\n*/\nvcpu_id = atomic_xadd16(&vm->hw.cr...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:fix vcpu more than one return entry ACRN coding guideline requires function shall have only one return entry. Fix it. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,799
27.06.2019 17:40:49
25,200
0247c0b9427707b50acff9aa3b96c4ddb321b848
Hv: minor cosmetic fix Define/Use variable in place of code to improve readability: Define new local variable struct pci_bar *vbar, and use vbar-> in place of vdev->bar[idx]. Define new local variable uint64_t vbar_base in init_vdev_pt Rename uint64_t vbar[PCI_BAR_COUNT] of struct acrn_vm_pci_ptdev_config to uint64_t v...
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/pci_pt.c", "new_path": "hypervisor/dm/vpci/pci_pt.c", "diff": "@@ -152,7 +152,6 @@ int32_t vdev_pt_read_cfg(const struct pci_vdev *vdev, uint32_t offset, uint32_t\nvoid vdev_pt_remap_msix_table_bar(struct pci_vdev *vdev)\n{\nuint32_t i;\n- u...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Hv: minor cosmetic fix Define/Use variable in place of code to improve readability: Define new local variable struct pci_bar *vbar, and use vbar-> in place of vdev->bar[idx]. Define new local variable uint64_t vbar_base in init_vdev_pt Rename uint64_t vbar[PCI_BAR_COUNT] of struct acrn_vm_pci_ptdev_config to uint64...
528,799
27.06.2019 17:57:22
25,200
84e09a22465b0874266e06878903f68347c7bfb7
HV: remove uint64_t base from struct pci_bar At this point, uint64_t base in struct pci_bar is not used by any code, so we can remove it. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/pci_pt.c", "new_path": "hypervisor/dm/vpci/pci_pt.c", "diff": "@@ -345,7 +345,6 @@ static void vdev_pt_write_vbar(struct pci_vdev *vdev, uint32_t offset, uint32_t\nswitch (vdev->bar[idx].type) {\ncase PCIBAR_NONE:\n- vdev->bar[idx].base = 0U...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: remove uint64_t base from struct pci_bar At this point, uint64_t base in struct pci_bar is not used by any code, so we can remove it. Tracked-On: #3241 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,799
25.06.2019 12:42:21
25,200
ae996250c159d3bb3070f8a275aa5ea858d02835
HV: extract functions from code to improve code reuse and readability Create 2 functions from code: pci_base_from_size_mask vdev_pt_remap_mem_vbar Use vbar in place of vdev->bar[idx] by setting vbar to &vdev->bar[idx] Change base to uint64_t to accommodate 64-bit MMIO bar size masking in subsequent commits
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/pci_pt.c", "new_path": "hypervisor/dm/vpci/pci_pt.c", "diff": "@@ -305,6 +305,22 @@ static void vdev_pt_remap_generic_mem_vbar(struct pci_vdev *vdev, uint32_t idx)\n}\n}\n+/**\n+ * @pre vdev != NULL\n+ */\n+static void vdev_pt_remap_mem_vbar...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: extract functions from code to improve code reuse and readability Create 2 functions from code: pci_base_from_size_mask vdev_pt_remap_mem_vbar Use vbar in place of vdev->bar[idx] by setting vbar to &vdev->bar[idx] Change base to uint64_t to accommodate 64-bit MMIO bar size masking in subsequent commits Tracke...
528,711
25.06.2019 22:24:27
-28,800
bd3f2044eb23fa63d0196e336170c3116ee4e259
dm: hyper_dmabuf: clean up assert validate fd before use it
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_hyper_dmabuf.c", "new_path": "devicemodel/hw/pci/virtio/virtio_hyper_dmabuf.c", "diff": "#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n-#include <assert.h>\n#include <pthread.h>\n#include \"dm.h\"\n@@ -343,8 +3...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: hyper_dmabuf: clean up assert validate fd before use it Tracked-On: #3349 Signed-off-by: Liu Xinyun <xinyun.liu@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,711
25.06.2019 19:40:45
-28,800
5a9a7bcd31024ea74d10e1c8358919407debcba4
dm: gvt: clean up assert handle the error if failed to create GVT device. remove assert clean up the allocated resource V2: refine code and clean up the allocated resource
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/gvt.c", "new_path": "devicemodel/hw/pci/gvt.c", "diff": "#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n-#include <assert.h>\n#include \"dm.h\"\n#include \"pci_core.h\"\n@@ -39,7 +38,7 @@ struct pci_gvt {\nint host_config_fd;\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: gvt: clean up assert handle the error if failed to create GVT device. - remove assert - clean up the allocated resource V2: refine code and clean up the allocated resource Tracked-On: #3349 Signed-off-by: Liu Xinyun <xinyun.liu@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,766
28.06.2019 21:52:29
25,200
aac82750983e1d41570aaf63a4fb9c9065da11eb
dm: vpit: clean up asserts Remove the use of assert() in vPIT. Acked-by: Yin, Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/pit.c", "new_path": "devicemodel/hw/platform/pit.c", "diff": "*/\n#include <pthread.h>\n-#include <assert.h>\n#include <errno.h>\n#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n+#include <err.h>\n+#include <sysexits.h>\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: vpit: clean up asserts Remove the use of assert() in vPIT. Tracked-On: #3252 Signed-off-by: Peter Fang <peter.fang@intel.com> Reviewed-by: <yonghua.huang@intel.com> Acked-by: Yin, Fengwei <fengwei.yin@intel.com>
528,766
28.06.2019 21:59:14
25,200
82f7720ae79ec30d1ed11b9540db65f9a8a5e8d5
dm: vhpet: clean up asserts Remove the use of assert() in vHPET. Acked-by: Yin, Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/timer.c", "new_path": "devicemodel/core/timer.c", "diff": "@@ -115,6 +115,7 @@ int32_t\nacrn_timer_settime(struct acrn_timer *timer, const struct itimerspec *new_value)\n{\nif (timer == NULL) {\n+ errno = EINVAL;\nreturn -1;\n}\n@@ -126,6 +127...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: vhpet: clean up asserts Remove the use of assert() in vHPET. Tracked-On: #3252 Signed-off-by: Peter Fang <peter.fang@intel.com> Reviewed-by: <yonghua.huang@intel.com> Acked-by: Yin, Fengwei <fengwei.yin@intel.com>
528,766
28.06.2019 22:54:57
25,200
cb8bbf7bea9ff7160649d3edada6b060105979c8
dm: clean up the use of errx errx() does not require an additional exit(). Acked-by: Yin, Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "@@ -836,8 +836,7 @@ main(int argc, char *argv[])\nelse\nbreak;\ncase 'm':\n- error = vm_parse_memsize(optarg, &memsize);\n- if (error)\n+ if (vm_parse_memsize(optarg, &memsize) != 0)\ner...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: clean up the use of errx errx() does not require an additional exit(). Tracked-On: #3252 Signed-off-by: Peter Fang <peter.fang@intel.com> Reviewed-by: <yonghua.huang@intel.com> Acked-by: Yin, Fengwei <fengwei.yin@intel.com>
528,654
02.07.2019 21:37:08
-28,800
647797ff1a2bacee7c4a203a41ea0dc22fa3dba3
hv: ptdev: refine ptdev active flag Since spinlock ptdev_lock is used to protect ptdev entry, there's no need to use atomic operation to protect ptdev active flag in split of it's wrong used to protect ptdev entry. And refine active flag data type to bool.
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/ptdev.c", "new_path": "hypervisor/common/ptdev.c", "diff": "#include <softirq.h>\n#include <ptdev.h>\n#include <irq.h>\n-#include <atomic.h>\n#include <logmsg.h>\n#define PTIRQ_BITMAP_ARRAY_SIZE INT_DIV_ROUNDUP(CONFIG_MAX_PT_IRQ_ENTRIES, 64U)...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: ptdev: refine ptdev active flag Since spinlock ptdev_lock is used to protect ptdev entry, there's no need to use atomic operation to protect ptdev active flag in split of it's wrong used to protect ptdev entry. And refine active flag data type to bool. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
02.07.2019 21:51:34
-28,800
ebf5c5eb5d654e73d02b40ca1e66551119439f3b
hv: cpu: remove CPU up count Since there's no one uses it. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "struct per_cpu_region per_cpu_data[CONFIG_MAX_PCPU_NUM] __aligned(PAGE_SIZE);\nstatic uint16_t phys_cpu_num = 0U;\nstatic uint64_t pcpu_sync = 0UL;\n-static uint16_t up_count = 0U;\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: cpu: remove CPU up count Since there's no one uses it. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,768
04.07.2019 13:25:21
-28,800
842da0ac1e728461f92cf5576feeed46774521e2
dm: cleanup assert in core.c - check input by condition check, instead of assert. - remove redundant header file including for some files.
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/vrpmb.c", "new_path": "devicemodel/core/vrpmb.c", "diff": "#include <stdbool.h>\n#include <stdio.h>\n#include <string.h>\n-#include <assert.h>\n#include <openssl/rand.h>\n#include \"types.h\"\n" }, { "change_type": "MODIFY", "old_p...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: cleanup assert in core.c - check input by condition check, instead of assert. - remove redundant header file including for some files. Tracked-On: #3252 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Shuo Liu <shuo.a.liu@intel.com>
528,787
04.07.2019 07:38:09
0
e83711669113071460e0b1ac297be72ce4994bf4
dm: clean up assert in virtio_rnd.c clean up assert in virtio_rnd.c
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_rnd.c", "new_path": "devicemodel/hw/pci/virtio/virtio_rnd.c", "diff": "#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n-#include <assert.h>\n#include <pthread.h>\n+#include <errno.h>\n#include \"dm.h\"\n#include ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: clean up assert in virtio_rnd.c clean up assert in virtio_rnd.c Tracked-On: #3252 Signed-off-by: Gao Junhao <junhao.gao@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,706
22.05.2019 09:43:41
-28,800
a450add6725e74ed948233f0cf00cb2e6fd5f245
DM: virtio-i2c: add support for virtio i2c adapter Add virtio i2c adapter BE driver. Acked-by: Wang Yu
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "@@ -105,6 +105,7 @@ SRCS += hw/pci/core.c\nSRCS += hw/pci/virtio/virtio_console.c\nSRCS += hw/pci/virtio/virtio_block.c\nSRCS += hw/pci/virtio/virtio_input.c\n+SRCS += hw/pci/virtio/virtio_i2c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: virtio-i2c: add support for virtio i2c adapter Add virtio i2c adapter BE driver. Tracked-On: #3357 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Reviewed-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Wang Yu <yu1.wang@intel.com>
528,676
05.07.2019 17:09:01
-28,800
9a7043e83f7731a3ebcbbd6ac76507a4a9f48ac8
HV: remove instr_emul.c dead code ACRN Coding guidelines requires no dead code.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/instr_emul.c", "new_path": "hypervisor/arch/x86/guest/instr_emul.c", "diff": "@@ -497,17 +497,6 @@ static void vm_get_seg_desc(enum cpu_reg_name seg, struct seg_desc *desc)\ndesc->access = exec_vmread32(tdesc.access_field);\n}\n-stati...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: remove instr_emul.c dead code ACRN Coding guidelines requires no dead code. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com>
528,667
01.07.2019 14:40:54
-28,800
4129b72b2e858a4f2ee4c6d3756cf9e4d76a3388
hv: remove unnecessary cancel_event_injection related stuff cancel_event_injection is not need any more if we do 'scheudle' prior to acrn_handle_pending_request. Commit "921288a6672: hv: fix interrupt lost when do acrn_handle_pending_request twice" bring 'schedule' forward, so remove cancel_event_injection related stuf...
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "@@ -579,7 +579,6 @@ void reset_vcpu(struct acrn_vcpu *vcpu)\nvcpu->arch.exception_info.exception = VECTOR_INVALID;\nvcpu->arch.cur_context = NORMAL_WORLD;\nvcpu->arch.i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove unnecessary cancel_event_injection related stuff cancel_event_injection is not need any more if we do 'scheudle' prior to acrn_handle_pending_request. Commit "921288a6672: hv: fix interrupt lost when do acrn_handle_pending_request twice" bring 'schedule' forward, so remove cancel_event_injection related stu...
528,676
05.07.2019 12:01:45
-28,800
564a60120adf604685fb8da6fc4e5bf136d474f1
HV: fix vuart.c "Parameter needs to add const" ACRN Coding guidelines requires parameters need to add const prefix when the parameter is not modified in its function or recursion function call. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vuart.c", "new_path": "hypervisor/dm/vuart.c", "diff": "@@ -472,7 +472,7 @@ static bool vuart_register_io_handler(struct acrn_vm *vm, uint16_t port_base, ui\n}\nstatic void vuart_setup(struct acrn_vm *vm,\n- struct vuart_config *vu_config, uint16...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: fix vuart.c "Parameter needs to add const" ACRN Coding guidelines requires parameters need to add const prefix when the parameter is not modified in its function or recursion function call. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,676
05.07.2019 13:39:30
-28,800
4b6dc0255f23a739ef7ec9ab2b7212a3f2159e7b
HV: fix vmptable misc violations Fix the violations list below: 1.Function should have one return entry. 2.Do not use -- or ++ operation. 3.For loop should be simple, shall not use comma operations. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/vmptable.c", "new_path": "hypervisor/arch/x86/configs/vmptable.c", "diff": "@@ -65,18 +65,18 @@ static struct proc_entry proc_entry_template = {\n.feature_flags = MPEP_FEATURES\n};\n-static uint8_t mpt_compute_checksum(void *base, s...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: fix vmptable misc violations Fix the violations list below: 1.Function should have one return entry. 2.Do not use -- or ++ operation. 3.For loop should be simple, shall not use comma operations. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,662
25.06.2019 18:33:55
-28,800
93659f0160be7b86236abe72e243e331d8f8df77
doc: Add introduction of launching Celadon User OS Add introduction of launching Celadon User OS
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/tutorials/using_celadon_as_uos.rst", "diff": "+.. _using_celadon_as_uos:\n+\n+Using Celadon as User OS\n+########################\n+\n+`Celadon <https://01.org/projectceladon/>`_ is an open source Android* software reference stack\n+for Inte...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Add introduction of launching Celadon User OS Add introduction of launching Celadon User OS Signed-off-by: ruix.li <ruix.li@intel.com>
528,675
27.06.2019 20:28:40
-28,800
503b71a16e9c050281547210a9c36b63bf144a6c
doc: add guideline for RTVM workload design a quick guideline document help RTOS designer/developer to design RT workload based on RTVM
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/tutorials/rtvm_workload_design_guideline.rst", "diff": "+.. _rtvm_workload_guideline:\n+\n+Real time VM application design guidelines\n+##########################################\n+\n+An RTOS developer must be aware of the differences betwee...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add guideline for RTVM workload design a quick guideline document help RTOS designer/developer to design RT workload based on RTVM Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,747
09.07.2019 17:13:35
25,200
44fc5fcbf09ab901945efc2258c7a1d371360897
doc: fix typos in rtvm workload design doc
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/rtvm_workload_design_guideline.rst", "new_path": "doc/tutorials/rtvm_workload_design_guideline.rst", "diff": "@@ -19,7 +19,7 @@ Cache Allocation Technology, aka CAT) to RTVMs. For best real time performance o\nwe recommend using dedicated (pass-t...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix typos in rtvm workload design doc Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,706
08.07.2019 20:00:29
-28,800
d90fee9fd84bd1bcd8c41fa4eb241f839a40ca9f
hv: add vuart for VM2 in hybrid scenario Add vuart COM1: port base: 0x3F8 irq: 4 for LaaG (VM2) in hybird scenario. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/scenarios/hybrid/vm_configurations.c", "new_path": "hypervisor/scenarios/hybrid/vm_configurations.c", "diff": "@@ -79,7 +79,8 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {\n/* d2795438-25d6-11e8-864e-cb7a18b34643 */\n.vuart[0] = {\n.typ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: add vuart for VM2 in hybrid scenario Add vuart COM1: port base: 0x3F8 irq: 4 for LaaG (VM2) in hybird scenario. Tracked-On: #3370 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
03.07.2019 19:54:09
-28,800
05a4ee807497676dec1967cac2ac232dca04219b
hv: cpu: refine secondary cpu start up 1) add a write memory barrier after setting pcpu_sync to one to let this change visible to AP immediately. 2) there's only BSP will set pcpu_sync, so there's no memory order issue between CPUs. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "*/\n#include <types.h>\n-#include <atomic.h>\n#include <bits.h>\n#include <page.h>\n#include <e820.h>\n@@ -311,7 +310,8 @@ bool start_pcpus(uint64_t mask)\nuint64_t expected_start_ma...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: cpu: refine secondary cpu start up 1) add a write memory barrier after setting pcpu_sync to one to let this change visible to AP immediately. 2) there's only BSP will set pcpu_sync, so there's no memory order issue between CPUs. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <e...
528,676
09.07.2019 15:40:13
-28,800
714162fb8b721ad8823fbaea3d27bcc9aee25513
HV: fix violations touched type conversion ACRN Coding guidelines requires type conversion shall be explicity. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/vmptable.c", "new_path": "hypervisor/arch/x86/configs/vmptable.c", "diff": "@@ -105,10 +105,10 @@ int32_t mptable_build(struct acrn_vm *vm)\n(const void *)&mptable_template, sizeof(struct mptable_info));\nmptable->mpch.entry_count =...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: fix violations touched type conversion ACRN Coding guidelines requires type conversion shall be explicity. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,662
11.07.2019 09:34:21
-28,800
1aef5290ea4cb2ad749fbc3148823a51054ae0f1
doc: Add platform sos info and GUI screenshots against Celadon Guest OS Add sos info and Celadon OS GUI screenshots for the Celadon UOS tutorial.
[ { "change_type": "ADD", "old_path": "doc/tutorials/images/Celadon_apps.png", "new_path": "doc/tutorials/images/Celadon_apps.png", "diff": "Binary files /dev/null and b/doc/tutorials/images/Celadon_apps.png differ\n" }, { "change_type": "ADD", "old_path": "doc/tutorials/images/Celadon_hom...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Add platform sos info and GUI screenshots against Celadon Guest OS Add sos info and Celadon OS GUI screenshots for the Celadon UOS tutorial. Signed-off-by: ruix.li <ruix.li@intel.com>
528,676
09.07.2019 11:19:14
-28,800
9063504bc836ba6d613f4d33e0bb2abfe55f2c89
HV: ve820 fix "Casting operation to a pointer" ACRN Coding guidelines requires two different types pointer can't convert to each other, except void *.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/apl-mrb/ve820.c", "new_path": "hypervisor/arch/x86/configs/apl-mrb/ve820.c", "diff": "@@ -46,5 +46,5 @@ static const struct e820_entry ve820_entry[VE820_ENTRIES_APL_MRB] = {\nvoid create_prelaunched_vm_e820(struct acrn_vm *vm)\n{\nv...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: ve820 fix "Casting operation to a pointer" ACRN Coding guidelines requires two different types pointer can't convert to each other, except void *. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
528,676
09.07.2019 11:19:55
-28,800
79d033027b4c739cff9d77a8a6e01f1b523f5a56
HV: fix vmptable "Casting operation to a pointer" ACRN Coding guidelines requires two different types pointer can't convert to each other, except void *.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/vmptable.c", "new_path": "hypervisor/arch/x86/configs/vmptable.c", "diff": "@@ -85,10 +85,9 @@ static uint8_t mpt_compute_checksum(const void *base, size_t len)\n*/\nint32_t mptable_build(struct acrn_vm *vm)\n{\n- char *startaddr;\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: fix vmptable "Casting operation to a pointer" ACRN Coding guidelines requires two different types pointer can't convert to each other, except void *. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
528,676
09.07.2019 11:20:04
-28,800
2ec1694901019b544816bf5b42a3a0c6d27e3c89
HV: fix sbuf "Casting operation to a pointer" ACRN Coding guidelines requires two different types pointer can't convert to each other, except void *. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/logmsg.c", "new_path": "hypervisor/debug/logmsg.c", "diff": "@@ -89,7 +89,7 @@ void do_logmsg(uint32_t severity, const char *fmt, ...)\n/* Check if flags specify to output to memory */\nif (do_mem_log) {\nuint32_t i, msg_len;\n- struct shared_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: fix sbuf "Casting operation to a pointer" ACRN Coding guidelines requires two different types pointer can't convert to each other, except void *. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>