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,783
08.04.2019 11:09:59
-28,800
17faa897a585d906aed477fe510a7d5d3d6f2e04
hv:move common/io_req.c/h to dm folder renamed: common/io_req.c -> dm/io_req.c renamed: include/arch/x86/io_req.h -> include/dm/io_req.h
[ { "change_type": "MODIFY", "old_path": "doc/acrn.doxyfile", "new_path": "doc/acrn.doxyfile", "diff": "@@ -803,7 +803,7 @@ INPUT = custom-doxygen/mainpage.md \\\n../hypervisor/include/arch/x86/guest/vlapic.h \\\n../hypervisor/include/dm/vioapic.h \\\n../hypervisor/include/dm/vpic.h \\\n- ../hyperviso...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:move common/io_req.c/h to dm folder renamed: common/io_req.c -> dm/io_req.c renamed: include/arch/x86/io_req.h -> include/dm/io_req.h Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
528,783
08.04.2019 11:15:21
-28,800
69627ad7b627a94e3516ca810d83c32ce3a49e24
hv: rename io_emul.c to vmx_io.c renamed: arch/x86/guest/io_emul.c -> arch/x86/guest/vmx_io.c renamed: include/arch/x86/guest/io_emul.h -> include/arch/x86/guest/vmx_io.h Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "doc/acrn.doxyfile", "new_path": "doc/acrn.doxyfile", "diff": "@@ -804,7 +804,7 @@ INPUT = custom-doxygen/mainpage.md \\\n../hypervisor/include/dm/vioapic.h \\\n../hypervisor/include/dm/vpic.h \\\n../hypervisor/include/dm/io_req.h \\\n- ../hypervisor/include/ar...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: rename io_emul.c to vmx_io.c renamed: arch/x86/guest/io_emul.c -> arch/x86/guest/vmx_io.c renamed: include/arch/x86/guest/io_emul.h -> include/arch/x86/guest/vmx_io.h Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie...
528,783
10.04.2019 17:57:28
-28,800
ad1bfd95ba8b2d22430d17bfb52988daa8fbec4f
hv: move pci.h to include/hw renamed: include/dm/pci.h -> include/hw/pci.h
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -113,6 +113,7 @@ INCLUDE_PATH += include/arch/x86/guest\nINCLUDE_PATH += include/debug\nINCLUDE_PATH += include/public\nINCLUDE_PATH += include/dm\n+INCLUDE_PATH += include/hw\nINCLUDE_PATH +...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: move pci.h to include/hw renamed: include/dm/pci.h -> include/hw/pci.h Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,654
21.03.2019 07:03:23
-28,800
fa8fa37cdfe69f39abd3e8bba04fa63312179af9
hv: vlapic: remove vlapic_rdmsr/wrmsr We could call vlapic API directly, remove vlapic_rdmsr/wrmsr to make things easier. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -401,7 +401,7 @@ static void vlapic_icrtmr_write_handler(struct acrn_vlapic *vlapic)\n}\n}\n-static uint64_t vlapic_get_tsc_deadline_msr(const struct acrn_vlapic...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: remove vlapic_rdmsr/wrmsr We could call vlapic API directly, remove vlapic_rdmsr/wrmsr to make things easier. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,654
11.04.2019 23:43:33
-28,800
4557033a3ab03584d3e39eb14bd9722584010484
hv: vlapic: minor fix about vlapic write 1) In x2apic mode, when read ICR, we want to read a 64-bits value. 2) In x2apic mode, write self-IPI will trap out through MSR write when VID isn't enabled. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -92,6 +92,8 @@ apicv_set_intr_ready(struct acrn_vlapic *vlapic, uint32_t vector);\nstatic void apicv_post_intr(uint16_t dest_pcpu_id);\n+static void vlapic_x2api...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: minor fix about vlapic write 1) In x2apic mode, when read ICR, we want to read a 64-bits value. 2) In x2apic mode, write self-IPI will trap out through MSR write when VID isn't enabled. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,794
12.04.2019 10:16:57
-28,800
6071234337ab33255bf9db936466ab198f4d6c9b
HV: use term of UUID The code mixed the usage on term of UUID and GUID, now use UUID to make code more consistent, also will use lowercase (i.e. uuid) in variable name definition. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/vmmapi.c", "new_path": "devicemodel/core/vmmapi.c", "diff": "@@ -126,7 +126,7 @@ vm_create(const char *name, uint64_t req_buf)\nuuid_copy(ctx->vm_uuid, vm_uuid);\n/* Pass uuid as parameter of create vm*/\n- uuid_copy(create_vm.GUID, vm_uuid);\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: use term of UUID The code mixed the usage on term of UUID and GUID, now use UUID to make code more consistent, also will use lowercase (i.e. uuid) in variable name definition. Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
09.04.2019 15:40:24
-28,800
cb10dc7e73b7874bd7cf8e6b0d7794e8c7156a29
HV: return bool in sanitize_vm_config Return true if vm configs is sanitized successfully, otherwise return false; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/vm_config.c", "new_path": "hypervisor/arch/x86/configs/vm_config.c", "diff": "@@ -23,9 +23,9 @@ struct acrn_vm_config *get_vm_config(uint16_t vm_id)\n/**\n* @pre vm_config != NULL\n*/\n-int32_t sanitize_vm_config(void)\n+bool saniti...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: return bool in sanitize_vm_config Return true if vm configs is sanitized successfully, otherwise return false; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
08.04.2019 15:08:51
-28,800
ccecd55075991a07013a7e0aa87d513f5f02ef39
HV: show VM UUID in shell Enhance "vm_list" command in shell to Show VM UUID; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "doc/user-guides/acrn-shell.rst", "new_path": "doc/user-guides/acrn-shell.rst", "diff": "@@ -14,7 +14,7 @@ The ACRN hypervisor shell supports the following commands:\n* - help\n- Display information about supported hypervisor shell commands\n* - vm_list\n- - Li...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: show VM UUID in shell Enhance "vm_list" command in shell to Show VM UUID; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,801
15.04.2019 11:42:11
-28,800
869de397575dde5cfca98480a6bdaf48fc9ee115
hv: rename 'assign_iommu_device' and 'unassign_iommu_device' rename 'assign_iommu_device' to 'assign_pt_device' rename 'unassign_iommu_device' to 'unassign_pt_device' Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hv-vt-d.rst", "new_path": "doc/developer-guides/hld/hv-vt-d.rst", "diff": "@@ -326,9 +326,9 @@ The following API are provided during runtime:\n.. doxygenfunction:: resume_iommu\n:project: Project ACRN\n-.. doxygenfunction:: assign_iomm...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: rename 'assign_iommu_device' and 'unassign_iommu_device' - rename 'assign_iommu_device' to 'assign_pt_device' - rename 'unassign_iommu_device' to 'unassign_pt_device' Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@inte.com>
528,768
07.03.2019 23:22:09
-28,800
6ac9e15a2b634af7fbe52e29e165c8b0fd1c5be8
dm: fix possible memory leak in 'load_elf32()' Dynamic memory stored in 'elf32_phdr' allocated through 'calloc' be lost. the patch port from apl_sdc_stable branch. Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/sw_load_elf.c", "new_path": "devicemodel/core/sw_load_elf.c", "diff": "@@ -136,6 +136,7 @@ static int load_elf32(struct vmctx *ctx, FILE *fp, void *buf)\nctx->lowmem) {\nfprintf(stderr,\n\"No enough memory to load elf file\\n\");\n+ free(elf32...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: fix possible memory leak in 'load_elf32()' Dynamic memory stored in 'elf32_phdr' allocated through 'calloc' be lost. the patch port from apl_sdc_stable branch. Tracked-On: #2705 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Acked-by: Yin Fengwei <fen...
528,768
15.02.2019 19:57:36
-28,800
46480f6e23c088eb6f749ec25e142894277024a8
hv: add new hypercall to fetch platform configurations add new hypercall get platform information, such as physical CPU number. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcall.c", "new_path": "hypervisor/arch/x86/guest/vmcall.c", "diff": "@@ -40,6 +40,10 @@ static int32_t dispatch_hypercall(struct acrn_vcpu *vcpu)\nret = hcall_get_api_version(vm, param1);\nbreak;\n+ case HC_GET_PLATFORM_INFO:\n+ ret ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: add new hypercall to fetch platform configurations add new hypercall get platform information, such as physical CPU number. Tracked-On: #2538 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,777
17.12.2018 10:38:40
-28,800
98dfc6f26715b146fb7e498a5b02fdb511e8e093
dm: virtio-block: extend the max iov number of virtio block It is found that windows will issue blkio operation with amount of sectors in one request. This patch extends the max iov number of virtio block to 256. Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/include/block_if.h", "new_path": "devicemodel/include/block_if.h", "diff": "#include <sys/uio.h>\n#include <sys/unistd.h>\n-#define BLOCKIF_IOV_MAX 33 /* not practical to be IOV_MAX */\n+#define BLOCKIF_IOV_MAX 256 /* not practical to be IOV_MAX */...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: virtio-block: extend the max iov number of virtio block It is found that windows will issue blkio operation with amount of sectors in one request. This patch extends the max iov number of virtio block to 256. Tracked-On: #2962 Signed-off-by: Yu Wang <yu1.wang@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.co...
528,802
01.03.2019 11:05:08
-28,800
fd389cb15c8a345c046f19fab4c31a184202befc
dm: disable ACPI PM timer ACPI PM timer is disabled in FADT since there is no pm timer emulation in device model now. Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/acpi/acpi.c", "new_path": "devicemodel/hw/platform/acpi/acpi.c", "diff": "@@ -374,7 +374,7 @@ basl_fwrite_fadt(FILE *fp, struct vmctx *ctx)\nEFPRINTF(fp, \"[0001]\\t\\tPM1 Event Block Length : 04\\n\");\nEFPRINTF(fp, \"[0001]\\t\\tPM1 C...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: disable ACPI PM timer ACPI PM timer is disabled in FADT since there is no pm timer emulation in device model now. Tracked-On: #2962 Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
528,802
18.03.2019 16:30:57
-28,800
2f4e32073042bb5835eb93e0ad49bfa7a6e63ba8
dm: virtio-input: adapt Windows virtio-input driver Update PCIR_SUBDEV_0 and PCIR_REVID in PCI configuration space to adapt windows virtio-input driver. Otherwise virtio-input driver on Windows will not be loaded correctly. Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_input.c", "new_path": "devicemodel/hw/pci/virtio/virtio_input.c", "diff": "@@ -673,8 +673,9 @@ virtio_input_init(struct vmctx *ctx, struct pci_vdev *dev, char *opts)\npci_set_cfgdata16(dev, PCIR_VENDOR, VIRTIO_VENDOR);\npci_set...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: virtio-input: adapt Windows virtio-input driver Update PCIR_SUBDEV_0 and PCIR_REVID in PCI configuration space to adapt windows virtio-input driver. Otherwise virtio-input driver on Windows will not be loaded correctly. Tracked-On: #2962 Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Acked-by: Yin Fengwei...
528,733
28.01.2019 16:09:01
-28,800
2e5a6e28b981294f8df6a84c74ab5ef04e2a8452
watchdog: map the watchdog reset to warm reset Per debugging requirement, map the watchdog reset to warm reset. So the ramconsole could be used to capture the kernel log of UOS before watchdog is hit. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "@@ -322,6 +322,13 @@ delete_cpu(struct vmctx *ctx, int vcpu)\nreturn CPU_EMPTY(&cpumask);\n}\n+void\n+notify_vmloop_thread(void)\n+{\n+ pthread_kill(mt_vmm_info[0].mt_thr, SIGCONT);\n+ r...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
watchdog: map the watchdog reset to warm reset Per debugging requirement, map the watchdog reset to warm reset. So the ramconsole could be used to capture the kernel log of UOS before watchdog is hit. Tracked-On: #2471 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,709
16.04.2019 10:59:25
-28,800
948d58fb9c0b30bb4cab72c071e86cd3d0cce01c
acrn-dm: enable debug option for acrn-dm enable acrn-dm debug option via RELEASE=0(by default) Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -43,8 +43,8 @@ sbl-hypervisor:\n$(MAKE) -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT)-sbl/apl-up2 BOARD=apl-up2 FIRMWARE=sbl RELEASE=$(RELEASE)\ndevicemodel: tools\n- $(MAKE) -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) clean...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-dm: enable debug option for acrn-dm enable acrn-dm debug option via RELEASE=0(by default) Tracked-On: #2939 Reviewed-by: Minggui Cao <minggui.cao@intel.com> Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,794
16.04.2019 10:59:50
-28,800
35ef11e650ad8b77fc80b811ca1083a00572edc2
HV: enable lapic passthru for logical partition VM1
[ { "change_type": "MODIFY", "old_path": "hypervisor/scenarios/logical_partition/vm_configurations.c", "new_path": "hypervisor/scenarios/logical_partition/vm_configurations.c", "diff": "@@ -50,7 +50,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {\n/* dd87ce08-66f9-473d-bc58-7605837f935e *...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: enable lapic passthru for logical partition VM1 Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com>
528,768
17.04.2019 23:45:54
-28,800
0ae5ef3a2912c59f8ec593a9cc2f9f25ca37bdca
dm: add IOCTL command to get platform information Add interface to get hardware information and configurations for current platform. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "devicemodel/include/public/vhm_ioctl_defs.h", "new_path": "devicemodel/include/public/vhm_ioctl_defs.h", "diff": "/* General */\n#define IC_ID_GEN_BASE 0x0UL\n#define IC_GET_API_VERSION _IC_ID(IC_ID, IC_ID_GEN_BASE + 0x00)\n+#define IC_GET_PLATFORM_INFO _IC_ID...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: add IOCTL command to get platform information Add interface to get hardware information and configurations for current platform. Tracked-On: #2538 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,662
15.04.2019 18:08:57
-28,800
bba432905ea4fe719962df8af7464ef8eae8ff25
Setting up KBL serial console on the GSG
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/apl-nuc.rst", "new_path": "doc/getting-started/apl-nuc.rst", "diff": "Getting started guide for Intel NUC\n###################################\n-The Intel |reg| NUC (NUC6CAYH) is the primary tested\n-platform for ACRN development, and its s...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Setting up KBL serial console on the GSG Signed-off-by: ruix.li <ruix.li@intel.com>
528,768
10.04.2019 00:59:13
-28,800
f1aa35a27cd24377fff0e4e9b755a347d6a72256
doc: add security advisory section in ACRN introduction website Add survivability plan for ACRN Open source project.
[ { "change_type": "MODIFY", "old_path": "README.rst", "new_path": "README.rst", "diff": "@@ -64,6 +64,23 @@ ACRN support systems:\nthe Github issues system: https://github.com/projectacrn/acrn-hypervisor/issues.\nYou can browse through the reported issues and submit issues of your own.\n+* **Reportin...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add security advisory section in ACRN introduction website Add survivability plan for ACRN Open source project. Tracked-On: #2945 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,783
18.04.2019 12:08:19
-28,800
a4c9cb997e358acea6259bc5d30e0c8a7596a467
hv:change register_mmio_emulation_handler to void change this api to void type
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/io_req.c", "new_path": "hypervisor/dm/io_req.c", "diff": "@@ -596,7 +596,8 @@ void register_pio_emulation_handler(struct acrn_vm *vm, uint32_t pio_idx,\n/**\n* @brief Register a MMIO handler\n*\n- * This API registers a MMIO handler to \\p vm bef...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:change register_mmio_emulation_handler to void change this api to void type Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
528,654
19.04.2019 22:13:57
-28,800
334c5ae70110f1017d666bab6acbda05899ec1ce
hv: ept: correct EPT mapping gpa check The previous will not check the EPT gpa correctly. This patch try to fix this. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hypercall.c", "new_path": "hypervisor/common/hypercall.c", "diff": "@@ -655,9 +655,10 @@ static int32_t set_vm_memory_region(struct acrn_vm *vm,\nret = -EINVAL;\n} else {\ngpa_end = region->gpa + region->size;\n- if (gpa_end > vm->arch_vm.ept...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: ept: correct EPT mapping gpa check The previous will not check the EPT gpa correctly. This patch try to fix this. Tracked-On: #2291 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,786
19.04.2019 09:01:17
-28,800
fa475540545c34f86cf4ea365c2d46545afd8ce9
hv: seed: fix potential NULL pointer dereferencing The 'boot_params' and 'entry' might be dereferenced after they were positively checked for NULL. Refine checking logic to fix the issue. Acked-by: Zhu Bing
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/seed/seed_sbl.c", "new_path": "hypervisor/arch/x86/seed/seed_sbl.c", "diff": "@@ -62,21 +62,21 @@ bool parse_seed_sbl(uint64_t addr, struct physical_seed *phy_seed)\n{\nuint8_t i;\nuint8_t dseed_index = 0U;\n- struct image_boot_params *boot...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: seed: fix potential NULL pointer dereferencing The 'boot_params' and 'entry' might be dereferenced after they were positively checked for NULL. Refine checking logic to fix the issue. Tracked-On: #2979 Signed-off-by: Qi Yadong <yadong.qi@intel.com> Acked-by: Zhu Bing <bing.zhu@intel.com>
528,766
05.04.2019 02:31:10
25,200
a718fbe8609ad5961b3fa0813054294ac67490f8
dm: pci: change return type to bool Change return type to bool when returning int is not necessary.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/core.c", "new_path": "devicemodel/hw/pci/core.c", "diff": "@@ -542,25 +542,25 @@ register_bar(struct pci_vdev *dev, int idx)\n}\n/* Are we decoding i/o port accesses for the emulated pci device? */\n-static int\n+static bool\nporten(struct p...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: pci: change return type to bool Change return type to bool when returning int is not necessary. Tracked-On: #2902 Signed-off-by: Peter Fang <peter.fang@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
528,766
16.04.2019 18:35:47
25,200
4c38ff00c65e1829882ec29118e091403808b6d4
dm: completely remove enable_bar()/disable_bar() functions Following up on surgically remove all the functions related to enable_bar()/disable_bar() that got introduced in
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/inout.c", "new_path": "devicemodel/core/inout.c", "diff": "* $FreeBSD$\n*/\n-#include <stdbool.h>\n#include <stdio.h>\n#include <string.h>\n#include <assert.h>\n@@ -45,7 +44,6 @@ static struct {\nint flags;\ninout_func_t handler;\nvoid *arg;\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: completely remove enable_bar()/disable_bar() functions Following up on d648df766c263512c93356a55ff97cb3e23fe3e4, surgically remove all the functions related to enable_bar()/disable_bar() that got introduced in 8787b65fdee622639925ad75fe920913e0e7f102. Tracked-On: #2902 Signed-off-by: Peter Fang <peter.fang@intel....
528,794
18.04.2019 09:51:44
-28,800
82181f4cdc6760487570e10aa3835ef9ecbc1764
HV: remove ifndef on vpci_set_ptdev_intr_info The function vpci_set_ptdev_intr_info() is not compiled for CONFIG_SHARING_MODE only any more so the #ifndef here is useless. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hypercall.c", "new_path": "hypervisor/common/hypercall.c", "diff": "@@ -969,9 +969,7 @@ int32_t hcall_set_ptdev_intr_info(struct acrn_vm *vm, uint16_t vmid, uint64_t pa\nret = -1;\n} else {\n/* Inform vPCI about the interupt info changes */\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: remove ifndef on vpci_set_ptdev_intr_info The function vpci_set_ptdev_intr_info() is not compiled for CONFIG_SHARING_MODE only any more so the #ifndef here is useless. Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,665
18.04.2019 14:33:42
0
cfe8637cc11ce7a73b2c0d43269ad365b511aafa
HV: Kconfig: Remove CPU_UP_TIMEOUT This patch remove the over design CPU_UP_TIMEOUT and use CPU_UP_TIMEOUT and CPU_DOWN_TIMEOUT instead. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/Kconfig", "new_path": "hypervisor/arch/x86/Kconfig", "diff": "@@ -107,14 +107,6 @@ config LOG_DESTINATION\nare 3 destinations available. Bit 0 represents the serial console, bit\n1 the SOS ACRN log and bit 2 NPK log. Effective only in debug...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Kconfig: Remove CPU_UP_TIMEOUT This patch remove the over design CPU_UP_TIMEOUT and use CPU_UP_TIMEOUT and CPU_DOWN_TIMEOUT instead. Tracked-On: #2991 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,665
18.04.2019 17:45:46
0
91c1408197f3ba7eea0ed7fb40af2b457a530903
HV: Reset physical core of lapic_pt vm when shutdown The physical core of lapic_pt vm should be reset for security and correctness when shutdown the vm. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -332,6 +332,17 @@ bool start_cpus(uint64_t mask)\nreturn ((pcpu_active_bitmap & mask) == mask);\n}\n+void wait_pcpus_offline(uint64_t mask)\n+{\n+ uint32_t timeout;\n+\n+ timeout ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Reset physical core of lapic_pt vm when shutdown The physical core of lapic_pt vm should be reset for security and correctness when shutdown the vm. Tracked-On: #2991 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
18.04.2019 19:46:17
-28,800
2c13ac7400ee0914beb3a14e78652b6a253c732c
hv: vmcs: minor fix about APICv feature setting 1) Shouldn't try to set APIC-register virtualization if the physical doesn't support APICV advanced mode. 2) Remove all APICv features VMCS setting when LAPIC is passed through to guest.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcs.c", "new_path": "hypervisor/arch/x86/guest/vmcs.c", "diff": "@@ -316,6 +316,7 @@ static void init_exec_ctrl(struct acrn_vcpu *vcpu)\n/*Disable VM_EXIT for CR3 access*/\nvalue32 &= ~(VMX_PROCBASED_CTLS_CR3_LOAD | VMX_PROCBASED_CTL...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vmcs: minor fix about APICv feature setting 1) Shouldn't try to set APIC-register virtualization if the physical doesn't support APICV advanced mode. 2) Remove all APICv features VMCS setting when LAPIC is passed through to guest. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,768
23.04.2019 01:03:03
-28,800
f991d179b0448e80eb111a89abaf24842ebdefe5
hv: fix possible buffer overflow in vlapic.c Possible buffer overflow will happen in vlapic_set_tmr() and vlapic_update_ppr(),this path is to fix them. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -462,11 +462,11 @@ vlapic_set_tmr(struct acrn_vlapic *vlapic, uint32_t vector, bool level)\nlapic = &(vlapic->apic_page);\ntmrptr = &lapic->tmr[0];\nif (level) {...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix possible buffer overflow in vlapic.c Possible buffer overflow will happen in vlapic_set_tmr() and vlapic_update_ppr(),this path is to fix them. Tracked-On: #1252 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,768
23.04.2019 01:13:20
-28,800
30609565820dc0946050a7d0254f1a3fcc3f88fa
dm: fix possible null pointer dereference in pci_gvt_deinit will access null pointer if 'gvt' is null.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/gvt.c", "new_path": "devicemodel/hw/pci/gvt.c", "diff": "@@ -262,7 +262,8 @@ pci_gvt_deinit(struct vmctx *ctx, struct pci_vdev *pi, char *opts)\nint ret;\nstruct pci_gvt *gvt = pi->arg;\n- if (gvt && gvt->host_config) {\n+ if (gvt) {\n+ if (...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: fix possible null pointer dereference in pci_gvt_deinit will access null pointer if 'gvt' is null. Tracked-On: #1479 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: He, Min <min.he@intel.com>
528,802
23.04.2019 09:39:45
-28,800
f3f870b7be003a97c120292fd5b36aa1e54f117e
dm: uart: use mevent_add only when it is a tty When acrn-dm is started by acrnd as a background process, STDIN is redirected to journal. In this case mevent_add cannot be called on the fd of STDIN. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/uart_core.c", "new_path": "devicemodel/hw/uart_core.c", "diff": "@@ -790,11 +790,13 @@ uart_reset_backend(struct uart_backend *be)\nbreak;\n}\n+ if (evp) {\nerror = mevent_enable(evp);\nif (error) {\nWPRINTF((\"mevent_enable error\\n\"));\nretur...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: uart: use mevent_add only when it is a tty When acrn-dm is started by acrnd as a background process, STDIN is redirected to journal. In this case mevent_add cannot be called on the fd of STDIN. Tracked-On: #2998 Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,756
19.04.2019 09:24:28
-28,800
763d218302aa9bde6827dd3df0bb8f897fbba2a9
DM: virtio-gpio: fix array overflow issue explicitly initialize the cmd_cap string array. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "diff": "@@ -1571,13 +1571,14 @@ print_virtio_gpio_info(struct virtio_gpio_request *req,\nstruct virtio_gpio_response *rsp, bool in)\n{\nconst char *item;\n- const...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: virtio-gpio: fix array overflow issue explicitly initialize the cmd_cap string array. Tracked-On: #3001 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,654
18.03.2019 19:50:46
-28,800
fde2c07c0a98cfe9bacf2190d56a2cc9f436efe7
hv: vlapic: minor fix about APICv inject interrupt When VID is enabeld, we should always inejct the pending interrupts when vm enter.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/virq.c", "new_path": "hypervisor/arch/x86/guest/virq.c", "diff": "@@ -468,6 +468,20 @@ int32_t acrn_handle_pending_request(struct acrn_vcpu *vcpu)\narch->inject_event_pending = false;\n} else {\n+ /* SDM Vol 3 - table 6-2, inject high...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: minor fix about APICv inject interrupt When VID is enabeld, we should always inejct the pending interrupts when vm enter. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
18.03.2019 22:38:57
-28,800
1db8123c2d850ade02dec7ac71bcb5165e9cab12
hv: virq: refine pending event inject coding style In order to combine vlapic_apicv_inject_pir and vcpu_inject_vlapic_int.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/virq.c", "new_path": "hypervisor/arch/x86/guest/virq.c", "diff": "@@ -111,7 +111,9 @@ static bool vcpu_pending_request(struct acrn_vcpu *vcpu)\n{\nstruct acrn_vlapic *vlapic;\nuint32_t vector = 0U;\n+ bool pending = false;\n+ if (!is_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: virq: refine pending event inject coding style In order to combine vlapic_apicv_inject_pir and vcpu_inject_vlapic_int. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
21.03.2019 00:22:24
-28,800
037fffc203ef0049d3ceb775507cf01a6e0cb145
hv: vlapic: wrap APICv inject interrupt API apicv_advanced_inject_intr is used if APICv fully features are supported, it uses PIR to inject interrupt. otherwise, apicv_basic_inject_intr is used. it will use VMCS INTR INFO field to inject irq.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hv-virt-interrupt.rst", "new_path": "doc/developer-guides/hld/hv-virt-interrupt.rst", "diff": "@@ -94,9 +94,6 @@ an interrupt, for example:\nThese APIs will finish by making a request for *ACRN_REQUEST_EVENT.*\n-.. doxygenfunction:: vl...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: wrap APICv inject interrupt API apicv_advanced_inject_intr is used if APICv fully features are supported, it uses PIR to inject interrupt. otherwise, apicv_basic_inject_intr is used. it will use VMCS INTR INFO field to inject irq. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
18.04.2019 22:40:44
-28,800
28d50f1b96951554abc489175e57cc81971e9af0
hv: vlapic: add apic register offset check API Add apic rgister offset check before do vlapic read/write.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -2038,6 +2038,27 @@ vlapic_x2apic_pt_icr_access(struct acrn_vm *vm, uint64_t val)\nreturn ret;\n}\n+static bool apicv_basic_x2apic_read_msr_may_valid(uint32_t of...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: add apic register offset check API Add apic rgister offset check before do vlapic read/write. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,665
23.04.2019 10:40:14
0
581c0a239ad0a09442e6c729e8a1ab736b8991c3
HV: move AP_MASK to cpu.h It is better to use an unified MACRO. So, this patch moves AP_MASK to cpu.h and removes the defination of the MACRO spanning different source files. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "#define CPU_UP_TIMEOUT 100U /* millisecond */\n#define CPU_DOWN_TIMEOUT 100U /* millisecond */\n-#define AP_MASK (((1UL << phys_cpu_num) - 1UL) & ~(1UL << 0U))\n-\nstruct per_cpu_reg...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: move AP_MASK to cpu.h It is better to use an unified MACRO. So, this patch moves AP_MASK to cpu.h and removes the defination of the MACRO spanning different source files. Tracked-On: #2991 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
23.04.2019 11:16:30
-28,800
2362e58509484fd7f6d54b42f224a73a53eb6374
HV: correct usage of GUEST_FLAG_IO_COMPLETION_POLLING The guest flags of GUEST_FLAG_IO_COMPLETION_POLLING work for NORMAL_VM only; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -430,7 +430,7 @@ int32_t create_vm(uint16_t vm_id, struct acrn_vm_config *vm_config, struct acrn_\n/* Populate return VM handle */\n*rtn_vm = vm;\nvm->sw.io_shared_page ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: correct usage of GUEST_FLAG_IO_COMPLETION_POLLING The guest flags of GUEST_FLAG_IO_COMPLETION_POLLING work for NORMAL_VM only; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,706
16.04.2019 06:32:38
-28,800
1234f4f7b1ecc1a48732eae8b6909452551c4869
HV: shell: rename sos_console to vm_console Change sos_console to vm_console, as this command is used to switch console between VMs. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/shell.c", "new_path": "hypervisor/debug/shell.c", "diff": "@@ -37,7 +37,7 @@ static int32_t shell_list_vm(__unused int32_t argc, __unused char **argv);\nstatic int32_t shell_list_vcpu(__unused int32_t argc, __unused char **argv);\nstatic int32...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: shell: rename sos_console to vm_console Change sos_console to vm_console, as this command is used to switch console between VMs. Tracked-On: #2987 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,706
26.04.2019 06:46:24
-28,800
a3922797aff9015125abbca93554ff5e3dd6961b
HV: cleanup SHARING_MODE and PARTITION_MODE As SHARING_MODE and PARTITION_MODE are not used anymore, cleanup the code. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/Kconfig", "new_path": "hypervisor/arch/x86/Kconfig", "diff": "@@ -17,28 +17,6 @@ config LOGICAL_PARTITION\nendchoice\n-choice\n- prompt \"Hypervisor mode\"\n- default SHARING_MODE\n- help\n- Select the usage mode of the hypervisor.\n-\n-con...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: cleanup SHARING_MODE and PARTITION_MODE As SHARING_MODE and PARTITION_MODE are not used anymore, cleanup the code. Tracked-On: #2291 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,706
26.04.2019 07:03:24
-28,800
307d348721ac506e3747997889ad7e86f4c29e3e
DOC: remove PARTITION_MODE related content Update the document as the PARTITION_MODE is removed from the code.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hv-io-emulation.rst", "new_path": "doc/developer-guides/hld/hv-io-emulation.rst", "diff": "@@ -34,11 +34,6 @@ inside the hypervisor:\nControl flow of I/O emulation in the hypervisor\n-:option:`CONFIG_PARTITION_MODE` is the only configu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DOC: remove PARTITION_MODE related content Update the document as the PARTITION_MODE is removed from the code. Signed-off-by: Conghui Chen <conghui.chen@intel.com>
528,664
23.04.2019 20:12:14
-28,800
ae07844717d18823146d9067ffbf50eddeb06378
DM: virtio-gpio: close gpio line fd When vm reset,the gpio line state is busy if we don't close the fd. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "diff": "@@ -291,6 +291,7 @@ static void print_intr_statistics(struct gpio_irq_chip *chip);\nstatic void record_intr_statistics(struct gpio_irq_chip *chip, uint64_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: virtio-gpio: close gpio line fd When vm reset,the gpio line state is busy if we don't close the fd. Tracked-On: #3028 Signed-off-by: fuyongjie <fuyongjie@vip.qq.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,794
29.04.2019 01:37:41
-28,800
00ebe8630fffa3f9404abd50cccec687065425ed
HV: remove dummy DRHD in template platform acpi info The DRHD MACROs are needed only when CONFIG_DMAR_PARSE_ENABLED set to n, whereas the template platform_acpi_info.h is prepared for generic boards that usually CONFIG_DMAR_PARSE_ENABLED is set to y, so remove these dummy DRHD info MACROs. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/platform_acpi_info.h", "new_path": "hypervisor/arch/x86/configs/platform_acpi_info.h", "diff": "#define WAKE_VECTOR_32 0UL\n#define WAKE_VECTOR_64 0UL\n-/* DRHD of DMAR */\n-#define DRHD_COUNT 0U\n-\n-#define DRHD0_DEV_CNT 0U\n-#def...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: remove dummy DRHD in template platform acpi info The DRHD MACROs are needed only when CONFIG_DMAR_PARSE_ENABLED set to n, whereas the template platform_acpi_info.h is prepared for generic boards that usually CONFIG_DMAR_PARSE_ENABLED is set to y, so remove these dummy DRHD info MACROs. Tracked-On: #2291 Signed-o...
528,706
29.04.2019 14:37:58
-28,800
c61db6ffa0589a14975a93ee9d2206ec7eb1ee7b
HV: vuart: remove console related code from vuart Move the console related code from dm/vuart.c to debug/console.c as console is not supported in release version. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/console.c", "new_path": "hypervisor/debug/console.c", "diff": "#include <timer.h>\n#include <vuart.h>\n#include <logmsg.h>\n+#include <acrn_hv_defs.h>\n+#include <vm.h>\nstruct hv_timer console_timer;\n#define CONSOLE_KICK_TIMER_TIMEOUT 40UL /...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: vuart: remove console related code from vuart Move the console related code from dm/vuart.c to debug/console.c as console is not supported in release version. Tracked-On: #2987 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,706
29.04.2019 14:39:57
-28,800
a4b5e39fab62ed78996e6111ad73f772aaf555fe
HV: vuart: MISRA clean in vuart.c 1. remove multiple return 2. remove goto 3. fix potential NULL pointer dereferencing 4. rename struct fifo to struct vuart_fifo to avoid naming conflicts. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vuart.c", "new_path": "hypervisor/dm/vuart.c", "diff": "@@ -43,14 +43,14 @@ static uint16_t vuart_com_base = CONFIG_COM_BASE;\n#define vuart_lock(vu) spinlock_obtain(&((vu)->lock))\n#define vuart_unlock(vu) spinlock_release(&((vu)->lock))\n-stati...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: vuart: MISRA clean in vuart.c 1. remove multiple return 2. remove goto 3. fix potential NULL pointer dereferencing 4. rename struct fifo to struct vuart_fifo to avoid naming conflicts. Tracked-On: #2987 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,647
26.04.2019 12:06:23
-28,800
624185c3ca5d3d3b54066c2f5453fab0fd8c5264
hv: add scenario for the industry use case This scenario is typical for industry usage with 3 VMs: 1 pre-launched SOS VM, 1 post-launched user VM for HMI and 1 post-launched RT VM for real-time control.
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -44,6 +44,8 @@ ifeq ($(CONFIG_SDC),y)\nSCENARIO_NAME := sdc\nelse ifeq ($(CONFIG_LOGICAL_PARTITION),y)\nSCENARIO_NAME := logical_partition\n+else ifeq ($(CONFIG_INDUSTRY),y)\n+SCENARIO_NAME :...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: add scenario for the industry use case This scenario is typical for industry usage with 3 VMs: 1 pre-launched SOS VM, 1 post-launched user VM for HMI and 1 post-launched RT VM for real-time control. Tracked-On: #3039 Signed-off-by: Yan, Like <like.yan@intel.com>
528,646
18.04.2019 15:25:24
-28,800
9d22a18659d2ee3efc1fe9b81309301bdf94686e
tools:acrn-crashlog: simplify the logic in sender Function sender_id need to traverse all senders and then find the matched id. This patch adds property "id" for each configuration object and removes function sender_id. Acked-by: Chen, Gang
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/acrnprobe/android_events.c", "new_path": "tools/acrn-crashlog/acrnprobe/android_events.c", "diff": "@@ -145,20 +145,16 @@ static int refresh_key_synced_stage1(const struct sender_t *sender,\n{\nchar log_new[64];\nchar *log_vmrecordid;\n- in...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools:acrn-crashlog: simplify the logic in sender Function sender_id need to traverse all senders and then find the matched id. This patch adds property "id" for each configuration object and removes function sender_id. Tracked-On: #1024 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Liu, Xiaojing <xiao...
528,646
18.04.2019 15:31:18
-28,800
b5236f21fde0c92431e31eebfdbe7d4a3137de9f
tools:acrn-crashlog: new functions to operate file vmrecord This patch provides some new functions to operate file /var/log/crashlog/VM_eventsID.log. Adding a mutex to protect this file as it will be accessed in multiple threads in the coming patches. Acked-by: Chen, Gang
[ { "change_type": "ADD", "old_path": null, "new_path": "tools/acrn-crashlog/acrnprobe/include/vmrecord.h", "diff": "+/*\n+ * Copyright (C) 2018 Intel Corporation\n+ * SPDX-License-Identifier: BSD-3-Clause\n+ */\n+\n+#ifndef __VMRECORD_H__\n+#define __VMRECORD_H__\n+#include \"pthread.h\"\n+\n+#define...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools:acrn-crashlog: new functions to operate file vmrecord This patch provides some new functions to operate file /var/log/crashlog/VM_eventsID.log. Adding a mutex to protect this file as it will be accessed in multiple threads in the coming patches. Tracked-On: #1024 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> ...
528,646
18.04.2019 16:00:38
-28,800
84cf7156ae2dd4eff50ad0429f3f268b09051139
tools:acrn-crashlog: update operations about vmrecord Replace vmrecord file operations with new functions in vmrecord.c. Acked-by: Chen, Gang
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/acrnprobe/Makefile", "new_path": "tools/acrn-crashlog/acrnprobe/Makefile", "diff": "@@ -37,7 +37,8 @@ $(BUILDDIR)/acrnprobe/bin/acrnprobe: $(BUILDDIR)/acrnprobe/obj/main.o \\\n$(BUILDDIR)/acrnprobe/obj/probeutils.o \\\n$(BUILDDIR)/acrnprobe...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools:acrn-crashlog: update operations about vmrecord Replace vmrecord file operations with new functions in vmrecord.c. Tracked-On: #1024 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Liu, Xiaojing <xiaojing.liu@intel.com> Acked-by: Chen, Gang <gang.c.chen@intel.com>
528,646
18.04.2019 16:44:16
-28,800
fa1216325bb0bf6f82290743aa8e621820f47310
tools:acrn-crashlog: separate the detection and collection of vm events Push the recorded vm events to event_queue, and let senders do the collecting job in the event_handler thread. Acked-by: Chen, Gang
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/acrnprobe/android_events.c", "new_path": "tools/acrn-crashlog/acrnprobe/android_events.c", "diff": "@@ -130,11 +130,13 @@ static int get_vms_history(const struct sender_t *sender)\nvm->datafs = NULL;\ncontinue;\n}\n+\n+ e2fs_close(vm->dataf...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools:acrn-crashlog: separate the detection and collection of vm events Push the recorded vm events to event_queue, and let senders do the collecting job in the event_handler thread. Tracked-On: #1024 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Liu, Xiaojing <xiaojing.liu@intel.com> Acked-by: Chen, G...
528,646
19.04.2019 10:25:10
-28,800
13d50c229624b508b7eb1d49a3cbf39640ff65a6
tools:acrn-crashlog: check blocks size instead of file size What acrnprobe really care about is the storage capacity taken up from emmc. This patch checks all the logs' blocks size instead of the file size before collecting new logs. Acked-by: Chen, Gang
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/acrnprobe/sender.c", "new_path": "tools/acrn-crashlog/acrnprobe/sender.c", "diff": "@@ -57,7 +57,8 @@ static int crashlog_check_space(void)\nif (!space_available(crashlog->outdir, quota))\nreturn -1;\n- if (dir_size(crashlog->outdir, crashl...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools:acrn-crashlog: check blocks size instead of file size What acrnprobe really care about is the storage capacity taken up from emmc. This patch checks all the logs' blocks size instead of the file size before collecting new logs. Tracked-On: #1024 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Liu, ...
528,646
19.04.2019 13:46:46
-28,800
728a48069376026743d8219302f9b1b3e902d40d
tools:acrn-crashlog: request resources of SOS in crashlog Dispatch the new event id and log directory in one place. Acked-by: Chen, Gang
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/acrnprobe/event_queue.c", "new_path": "tools/acrn-crashlog/acrnprobe/event_queue.c", "diff": "#include \"event_queue.h\"\n#include \"log_sys.h\"\n+const char *etype_str[] = {\"CRASH\", \"INFO\", \"UPTIME\", \"HEART_BEAT\",\n+ \"REBOOT\", \"...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools:acrn-crashlog: request resources of SOS in crashlog Dispatch the new event id and log directory in one place. Tracked-On: #1024 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Liu, Xiaojing <xiaojing.liu@intel.com> Acked-by: Chen, Gang <gang.c.chen@intel.com>
528,646
19.04.2019 13:58:26
-28,800
38cd3f74bddd7b1075c75433867df12e52ede7e9
tools:acrn-crashlog: unify events process in sender telemd This patch unifies the event handling process in the telemd_sender functions: a. unify the event analyzing process. b. unify the event resource requesting process. Acked-by: Chen, Gang
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/acrnprobe/sender.c", "new_path": "tools/acrn-crashlog/acrnprobe/sender.c", "diff": "@@ -370,12 +370,11 @@ static void crashlog_get_log(struct log_t *log, void *data)\n}\n#ifdef HAVE_TELEMETRICS_CLIENT\n-static void telemd_send_crash(struct ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools:acrn-crashlog: unify events process in sender telemd This patch unifies the event handling process in the telemd_sender functions: a. unify the event analyzing process. b. unify the event resource requesting process. Tracked-On: #1024 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Liu, Xiaojing <x...
528,706
24.04.2019 03:23:33
-28,800
af0b16e1a8245c001ec37ae30d6d9e046966b9f7
DOC: change hv shell cmd sos_console to vm_console Change shell command 'sos_console' to 'vm_console' as it is not only used to switch console to SOS.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hv-partitionmode.rst", "new_path": "doc/developer-guides/hld/hv-partitionmode.rst", "diff": "@@ -339,7 +339,7 @@ For details on how hypervisor console works, refer to\n:ref:`hv-console`.\nFor a guest console in partition mode, ACRN pro...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DOC: change hv shell cmd sos_console to vm_console Change shell command 'sos_console' to 'vm_console' as it is not only used to switch console to SOS. Tracked-On: #2987 Signed-off-by: Conghui Chen <conghui.chen@intel.com>
528,794
29.04.2019 17:32:08
-28,800
b42d5c710cc47656f56e30a89ce2c01fdbaf82d2
HV: correct GUEST_FLAG_IO_COMPLETION_POLLING in SOS As commit info of the guest flags of GUEST_FLAG_IO_COMPLETION_POLLING work for POST_LAUNCHED_VM only, this patch fix the wrong setting in SOS_VM;
[ { "change_type": "MODIFY", "old_path": "hypervisor/scenarios/industry/vm_configurations.c", "new_path": "hypervisor/scenarios/industry/vm_configurations.c", "diff": "@@ -16,7 +16,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {\n.uuid = {0xdbU, 0xbbU, 0xd4U, 0x34U, 0x7aU, 0x57U, 0x42U, 0...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: correct GUEST_FLAG_IO_COMPLETION_POLLING in SOS As commit info of 2362e58509484fd7f6d54b42f224a73a53eb6374, the guest flags of GUEST_FLAG_IO_COMPLETION_POLLING work for POST_LAUNCHED_VM only, this patch fix the wrong setting in SOS_VM; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com>
528,801
30.04.2019 10:09:53
-28,800
42a05c5f27e5ccd655dfbea7b7dede340304ccc3
doc: add rules in C coding guidelines This patch adds rules in C coding guidelines.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/c_coding_guidelines.rst", "new_path": "doc/developer-guides/c_coding_guidelines.rst", "diff": "@@ -1832,6 +1832,30 @@ Compliant example::\nshowcase_a++, showcase_b++;\n+C-EP-22: Magic numbers shall be used with restrictions\n+=============...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add rules in C coding guidelines This patch adds rules in C coding guidelines. Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,670
29.04.2019 03:30:14
0
7553d1cd26e9eb910f7bfb50527b49019b084122
doc: How to build ACRN on Fedora 29 Update FAQ about compilation issue workaround on Fedora 29
[ { "change_type": "MODIFY", "old_path": "doc/faq.rst", "new_path": "doc/faq.rst", "diff": "@@ -145,3 +145,39 @@ static memory allocation. This is why ACRN removed all ``malloc()``-type code,\nand why it needs to pre-identify the size of all buffers and structures used in\nthe Virtual Memory Manager. ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: How to build ACRN on Fedora 29 Update FAQ about compilation issue workaround on Fedora 29 Tracked-On: #2457 Signed-off-by: zhangyun <yunxzhang@intel.com>
528,703
28.04.2019 10:15:49
0
e8242a797b85dd10f1f4dc9631008e81c13405d1
Updated GSG of using RT Linux as RTVM in accordance with acrn-kernel v4.19.28
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/tutorials/rt_linux.patch", "diff": "+diff --git a/mm/swap.c b/mm/swap.c\n+index 26fc9b5..d5067e5 100644\n+--- a/mm/swap.c\n++++ b/mm/swap.c\n+@@ -654,13 +654,15 @@ void lru_add_drain(void)\n+ put_cpu();\n+ }\n+\n++#ifdef CONFIG_SMP\n++\n++st...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Updated GSG of using RT Linux as RTVM in accordance with acrn-kernel v4.19.28 Signed-off-by: Li, Wilson <wilson.li@intel.com>
528,662
25.04.2019 16:24:05
-28,800
4bdc34f4ff326f71e824f56061cbc121efd6d49d
doc: Add instruction for gsg_quick_setup.sh script. An instruction is needed from gsg so that user could know where to get the script and also how to use it to setup SOS, UOS automatically.
[ { "change_type": "RENAME", "old_path": "doc/getting-started/gsg_quick_setup.sh", "new_path": "doc/getting-started/acrn_quick_setup.sh", "diff": "@@ -174,7 +174,17 @@ function upgrade_uos()\nfi\n# Do upgrade UOS process.\n- if [[ $skip_download_uos == 1 ]]; then\n+ if [[ $skip_download_uos != 1 ]]; t...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Add instruction for gsg_quick_setup.sh script. An instruction is needed from gsg so that user could know where to get the script and also how to use it to setup SOS, UOS automatically. Signed-off-by: ruix.li <ruix.li@intel.com>
528,747
02.05.2019 14:40:16
25,200
321ad5c374fb48555ea48c6d1464b9256bba8c1f
doc: update APL GSG details Add additional edits to APL NUC GSG. Also update corrupt PNG image
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/apl-nuc.rst", "new_path": "doc/getting-started/apl-nuc.rst", "diff": "@@ -29,6 +29,8 @@ below:\n.. figure:: images/KBL-serial-port-header.png\n:align: center\n+ KBL Serial port header details\n+\nYou can refer to the `'Technical Product Spe...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update APL GSG details Add additional edits to APL NUC GSG. Also update corrupt PNG image Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,706
01.05.2019 09:41:05
-28,800
e6670b32f498699fb8a29c33db402fb57191a2ab
HV: rename structure acrn_vm_type Rename structure acrn_vm_type to acrn_vm_load_order as it is used to indicate the load order instead of the VM type. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/vm_config.c", "new_path": "hypervisor/arch/x86/configs/vm_config.c", "diff": "@@ -83,7 +83,7 @@ bool sanitize_vm_config(void)\n*/\nfor (vm_id = 0U; vm_id < CONFIG_MAX_VM_NUM; vm_id++) {\nvm_config = get_vm_config(vm_id);\n- switch (...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: rename structure acrn_vm_type Rename structure acrn_vm_type to acrn_vm_load_order as it is used to indicate the load order instead of the VM type. Tracked-On: #2291 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,804
01.04.2019 10:48:19
-28,800
c3954cecbef5e41aec15cd605b67c014f0c08710
DM: add log macro/func and basic data structure. also set default logger as console and enabled. Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "@@ -154,6 +154,9 @@ SRCS += arch/x86/pm.c\nSRCS += vmcfg/vmcfg.c\nSRCS += vmcfg/apl-mrb/vm1/vm1.c\n+# log\n+SRCS += log/log.c\n+\nOBJS := $(patsubst %.c,$(DM_OBJDIR)/%.o,$(SRCS))\nVERSION_H :=...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add log macro/func and basic data structure. also set default logger as console and enabled. Tracked-On: #3012 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
528,804
25.04.2019 17:13:07
-28,800
1cd914f9925bbb3cd5a14e31955ada72e423344e
DM: add logger setting parser function the logger setting can be input as acrn-dm params; so need parse it to init logger system. Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "#include \"vmcfg.h\"\n#include \"tpm.h\"\n#include \"virtio.h\"\n+#include \"log.h\"\n#define GUEST_NIO_PORT 0x488 /* guest upcalls via i/o port */\n@@ -140,7 +141,8 @@ usage(int code)\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add logger setting parser function the logger setting can be input as acrn-dm params; so need parse it to init logger system. Tracked-On: #3012 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
528,804
26.04.2019 09:40:34
-28,800
4e289341ff6aefd20684b9b262be6699d58e0a63
DM: add logger params in launch script for NUC&UP2 add logger_setting params in launch_uos.sh for NUC & UP2; then the logger system can work; by default console logger is enabled. Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-up2/launch_uos.sh", "new_path": "devicemodel/samples/apl-up2/launch_uos.sh", "diff": "@@ -148,6 +148,8 @@ else\nGVT_args=''\nfi\n+#logger_setting, format: logger_name,level; like following\n+logger_setting=\"--logger_setting console,lev...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add logger params in launch script for NUC&UP2 add logger_setting params in launch_uos.sh for NUC & UP2; then the logger system can work; by default console logger is enabled. Tracked-On: #3012 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
528,804
26.04.2019 11:27:36
-28,800
c3d60297f267a2d5431e6adce10595a134824ce2
DM: use log macro/func to output log info also add logs for some key entries. Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "@@ -947,51 +947,52 @@ dm_run(int argc, char *argv[])\nusage(1);\nif (!check_hugetlb_support()) {\n- fprintf(stderr, \"check_hugetlb_support failed\\n\");\n+ pr_err(\"check_hugetlb_suppor...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: use log macro/func to output log info also add logs for some key entries. Tracked-On: #3012 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
528,801
06.05.2019 13:59:58
-28,800
94e1e362fb171dc526fd803927ea0d4c69d94234
hv: rename 'interrupt_init' to 'init_interrupt' This patch renames 'interrupt_init' to 'init_interrupt'. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hv-interrupt.rst", "new_path": "doc/developer-guides/hld/hv-interrupt.rst", "diff": "@@ -484,7 +484,7 @@ related operations.\nvoid dispatch_interrupt(struct intr_excp_ctx *ctx)\n/* To dispatch an interrupt, an action callback will be c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: rename 'interrupt_init' to 'init_interrupt' This patch renames 'interrupt_init' to 'init_interrupt'. Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,706
06.05.2019 14:43:27
-28,800
dd86a78e75d1ed4e0a4f73788b842d5ebcdf1bc3
HV: rename 'type' in struct io_request Rename 'type' in struct io_request to 'io_type' to be more readable. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmx_io.c", "new_path": "hypervisor/arch/x86/guest/vmx_io.c", "diff": "@@ -35,7 +35,7 @@ void arch_fire_vhm_interrupt(void)\n/**\n* @brief General complete-work for port I/O emulation\n*\n- * @pre io_req->type == REQ_PORTIO\n+ * @pre i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: rename 'type' in struct io_request Rename 'type' in struct io_request to 'io_type' to be more readable. Tracked-On: #3061 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,651
05.05.2019 10:40:48
-28,800
37dfea1df3ca39b364d402d0b8f78ba417559af0
doc: Update the diagram of KBL NUC serial port rework Update the connection of serial port rework for KBL NUC
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/apl-nuc.rst", "new_path": "doc/getting-started/apl-nuc.rst", "diff": "@@ -14,26 +14,27 @@ Intel Apollo Lake NUC (APL) and Intel Kaby Lake NUC (KBL),\ndescribed in :ref:`hardware`, are currently supported for ACRN development:\n- We can enab...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Update the diagram of KBL NUC serial port rework Update the connection of serial port rework for KBL NUC Signed off by: Xie, Zhengtian<zhengtian.xie@intel.com>
528,747
06.05.2019 14:00:12
25,200
30de7e8e3464532631ff90811842c6629235a864
doc: Fix references to be Wi-Fi Correct spelling of the trademarked name is Wi-Fi
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-devicemodel.rst", "new_path": "doc/developer-guides/hld/hld-devicemodel.rst", "diff": "@@ -934,9 +934,9 @@ OS owns part of the devices with passthrough, as shown below:\n- Ethernet\n-\n- * - **WIFI**\n+ * - **Wi-Fi**\n-\n- - WIFI\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Fix references to be Wi-Fi Correct spelling of the trademarked name is Wi-Fi Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,723
02.05.2019 11:47:37
25,200
b1f61669fc990079b49f157aca962b8349f03f93
DOC: Usage guide for Virtio-blk blkrescan feature This patch adds the steps required to use the newly introduced blkrescan feature for Virtio-blk device.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/primer.rst", "new_path": "doc/developer-guides/primer.rst", "diff": "@@ -795,6 +795,35 @@ To use the Virtio-blk device, use the following command:\nnohpet console=hvc0 no_timer_check ignore_loglevel \\\nlog_buf_len=16M consoleblank=0 tsc=r...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DOC: Usage guide for Virtio-blk blkrescan feature This patch adds the steps required to use the newly introduced blkrescan feature for Virtio-blk device. Tracked-On: #3051 Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
528,783
29.04.2019 17:13:23
-28,800
b68aee6ef1d8217f592df0cdd3446618d5a770f9
hv:remove common header files remove hypervisor.h/hv_debug.h/hv_arch.h deleted: include/arch/x86/hv_arch.h deleted: include/hv_debug.h deleted: include/hypervisor.h
[ { "change_type": "MODIFY", "old_path": "hypervisor/boot/acpi.c", "new_path": "hypervisor/boot/acpi.c", "diff": "* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n* SUCH DAMAGE.\n*/\n-\n-#include <hypervisor.h>\n+#include <types.h>\n+#include <rtl.h>\n#include <firmware.h>\n#i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:remove common header files remove hypervisor.h/hv_debug.h/hv_arch.h Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> deleted: include/arch/x86/hv_arch.h deleted: include/hv_debug.h deleted: include/hypervisor.h
528,801
28.04.2019 14:39:55
-28,800
81e13de4071a6de6b2b5217141ddd29df6fd2260
doc: initial draft of Assembly coding guidelines This patch creates initial draft of Assembly coding guidelines.
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/developer-guides/asm_coding_guidelines.rst", "diff": "+.. _asm_coding_guidelines:\n+\n+Assembly Language Coding Guidelines\n+###################################\n+\n+.. contents::\n+ :local:\n+\n+\n+General\n+*******\n+\n+ASM-GN-01: One addr...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: initial draft of Assembly coding guidelines This patch creates initial draft of Assembly coding guidelines. Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,794
06.05.2019 19:19:15
-28,800
ad3658ee17ae378f0d914052e2e1d011df54251b
HV: remove CONFIG_CONSTANT_ACPI from Kconfig The MACRO of CONFIG_CONSTANT_ACPI will be defined per scenario usage, so move it from Kconfig to vm_configurations.h; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/Kconfig", "new_path": "hypervisor/arch/x86/Kconfig", "diff": "@@ -235,15 +235,6 @@ config SOS_RAM_SIZE\nA 64-bit integer indicating the size of the User OS RAM (MMIO not\nincluded). Now we assume each UOS uses same amount of RAM size.\n-con...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: remove CONFIG_CONSTANT_ACPI from Kconfig The MACRO of CONFIG_CONSTANT_ACPI will be defined per scenario usage, so move it from Kconfig to vm_configurations.h; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,706
07.05.2019 03:16:32
-28,800
39e7c69fb585e4f115517570e4610195f6da4273
HV: vuart: cleanup MISRA-C issues 1. Add brackets for if/else sentence. 2. Add suffix 'U' for the unsigned constants. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vuart.c", "new_path": "hypervisor/dm/vuart.c", "diff": "@@ -112,7 +112,7 @@ static inline void vuart_fifo_init(struct acrn_vuart *vu)\n*/\nstatic uint8_t vuart_intr_reason(const struct acrn_vuart *vu)\n{\n- uint8_t ret = IIR_NOPEND;\n+ uint8_t re...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: vuart: cleanup MISRA-C issues 1. Add brackets for if/else sentence. 2. Add suffix 'U' for the unsigned constants. Tracked-On: #2987 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,706
07.05.2019 08:00:20
-28,800
14e2c66a1ea9508640cc55a6f1d7cec7b1139b7a
HV: vuart: rename functions Rename functions to be more unified. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vuart.c", "new_path": "hypervisor/dm/vuart.c", "diff": "@@ -175,7 +175,7 @@ void vuart_toggle_intr(const struct acrn_vuart *vu)\nvioapic_set_irqline_lock(vu->vm, vu->irq, operation);\n}\n-static void vuart_write_to_target(struct acrn_vuart *vu, u...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: vuart: rename functions Rename functions to be more unified. Tracked-On: #2987 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,706
07.05.2019 07:35:30
-28,800
926fe655d51c3308b236d5d253574d21ee12c605
HV: vuart: split vuart_write Split vuart_write as its cyclomatic complexity is greater than 20. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vuart.c", "new_path": "hypervisor/dm/vuart.c", "diff": "@@ -218,35 +218,51 @@ static uint8_t get_modem_status(uint8_t mcr)\nreturn msr;\n}\n-static bool vuart_write(struct acrn_vm *vm, uint16_t offset_arg,\n- __unused size_t width, uint32_t value...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: vuart: split vuart_write Split vuart_write as its cyclomatic complexity is greater than 20. Tracked-On: #2987 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,665
06.05.2019 16:17:12
0
0cadc16b8be1d19eaa8f5c84148a1436838de9db
DM: Add one sample script to launch VxWorks as guest This patch add one sample script to launch VxWorks as guest.
[ { "change_type": "ADD", "old_path": null, "new_path": "devicemodel/samples/nuc/launch_vxworks.sh", "diff": "+#!/bin/bash\n+\n+function launch_vxworks()\n+{\n+vm_name=vxworks_vm$1\n+\n+#check if the vm is running or not\n+vm_ps=$(pgrep -a -f acrn-dm)\n+result=$(echo $vm_ps | grep \"${vm_name}\")\n+if...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: Add one sample script to launch VxWorks as guest This patch add one sample script to launch VxWorks as guest. Tracked-On: #3069 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com>
528,794
07.05.2019 13:56:00
-28,800
ddd54927d7bac290b5f70ab033d66363b32a7d4b
HV: hotfix for acpi.c compile error In commit acpi.c removed "hypervisor.h" which includes "acrn_common.h", but commit is depend on "acrn_common.h", this caused build error.
[ { "change_type": "MODIFY", "old_path": "hypervisor/boot/acpi.c", "new_path": "hypervisor/boot/acpi.c", "diff": "#include <ioapic.h>\n#include <logmsg.h>\n#include <host_pm.h>\n+#include <acrn_common.h>\n#define ACPI_SIG_RSDP \"RSD PTR \" /* Root System Description Ptr */\n#define ACPI_OEM_ID_SIZE 6\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: hotfix for acpi.c compile error In commit b68aee6ef1d8217f592df0cdd3446618d5a770f9, acpi.c removed "hypervisor.h" which includes "acrn_common.h", but commit e2d723d4fa914071fa99c801c7e3ef93ab7ec269 is depend on "acrn_common.h", this caused build error. Tracked-On: #3073 Signed-off-by: Victor Sun <victor.sun@inte...
528,747
07.05.2019 10:35:47
25,200
a569ea45f9b452c4e286e533016592201864e019
doc: update APL NUC GSG APL NUC Getting started guide has some obsolete information (such as saying the user had to build ACRN as part of the installation process and changed instructions because the Clear Linux installer changed), along with some spelling and grammar issues.
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/apl-nuc.rst", "new_path": "doc/getting-started/apl-nuc.rst", "diff": "@@ -24,7 +24,7 @@ Connecting to the serial port\nIf you don't need a serial console you can ignore this section.\nNeither the APL or KBL NUCs present an external serial p...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update APL NUC GSG APL NUC Getting started guide has some obsolete information (such as saying the user had to build ACRN as part of the installation process and changed instructions because the Clear Linux installer changed), along with some spelling and grammar issues. Signed-off-by: David B. Kinder <david.b.k...
528,799
02.05.2019 17:22:50
25,200
4e2d13bda7bd3e88e0191a981873258e2d18c7ac
HV: rename hostbridge related functions vdev_hostbridge_init --> vhostbridge_init vdev_hostbridge_cfgread --> vhostbridge_cfgread vdev_hostbridge_cfgwrite --> vhostbridge_cfgwrite vdev_hostbridge_deinit --> vhostbridge_deinit Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/vhostbridge.c", "new_path": "hypervisor/dm/vpci/vhostbridge.c", "diff": "#include <pci.h>\n#include \"vpci_priv.h\"\n-void vdev_hostbridge_init(struct pci_vdev *vdev)\n+void vhostbridge_init(struct pci_vdev *vdev)\n{\n/* PCI config space */\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: rename hostbridge related functions vdev_hostbridge_init --> vhostbridge_init vdev_hostbridge_cfgread --> vhostbridge_cfgread vdev_hostbridge_cfgwrite --> vhostbridge_cfgwrite vdev_hostbridge_deinit --> vhostbridge_deinit Tracked-On: #3056 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: Eddie Dong...
528,799
02.05.2019 18:17:49
25,200
41d87ea828059c9ba787a7089de3b8eebdb27dc4
HV: replace partition mode with pre-launched VM in comments This is to get rid of partition mode strings in comments Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/vpci.c", "new_path": "hypervisor/dm/vpci/vpci.c", "diff": "@@ -220,7 +220,7 @@ void vpci_init(struct acrn_vm *vm)\nif (ret == 0) {\n/*\n* SOS: intercept port CF8 only.\n- * UOS or partition mode: register handler for CF8 only and I/O request...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: replace partition mode with pre-launched VM in comments This is to get rid of partition mode strings in comments Tracked-On: #3056 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
08.05.2019 15:24:23
-28,800
1f93f7f46c271a5f54d8307e86c8b0e1a3da665f
HV: remove some redundant includes vm_config.h has included types.h/acrn_common.h/vm_configurations.h, acrn_common.h has included types.h, so remove the redundant includes;
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/vm_config.c", "new_path": "hypervisor/arch/x86/configs/vm_config.c", "diff": "*/\n#include <vm_config.h>\n-#include <acrn_common.h>\n#include <logmsg.h>\n#include <cat.h>\n" }, { "change_type": "MODIFY", "old_path": "hyp...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: remove some redundant includes vm_config.h has included types.h/acrn_common.h/vm_configurations.h, acrn_common.h has included types.h, so remove the redundant includes; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com>
528,733
07.05.2019 22:10:52
-28,800
8626e5aa3aaf7790f9be7f702521e76d604d2ecb
vm_state: Update vm state VM_STATE_INVALID to VM_POWERED_OFF Replace the vm state VM_STATE_INVALID to VM_POWERED_OFF. Also replace is_valid_vm() with is_poweroff_vm(). Add API is_created_vm() to identify VM created state.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -50,9 +50,17 @@ uint16_t get_vmid_by_uuid(const uint8_t *uuid)\n/**\n* @pre vm != NULL\n*/\n-bool is_valid_vm(const struct acrn_vm *vm)\n+bool is_poweroff_vm(const struc...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
vm_state: Update vm state VM_STATE_INVALID to VM_POWERED_OFF Replace the vm state VM_STATE_INVALID to VM_POWERED_OFF. Also replace is_valid_vm() with is_poweroff_vm(). Add API is_created_vm() to identify VM created state. Tracked-On: #3082 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
528,647
08.05.2019 10:41:44
-28,800
83c971221ddb814f6b09f323243848ae2ba26081
doc: acrnlog: update loglevel usage This commit updates the usage of "loglevel" command in README.rst, which was out-of-date due to change of "loglevel" command.
[ { "change_type": "MODIFY", "old_path": "tools/acrnlog/README.rst", "new_path": "tools/acrnlog/README.rst", "diff": "@@ -51,9 +51,8 @@ steps:\n# acrnlog -n 8 -s 4 &\n-You can use ``get_loglevel`` and ``set_loglevel`` commands\n-in the hypervisor shell (not the Service OS shell)\n-to query and change ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: acrnlog: update loglevel usage This commit updates the usage of "loglevel" command in README.rst, which was out-of-date due to change of "loglevel" command. Tracked-On: #2712 Signed-off-by: Yan, Like <like.yan@intel.com>
528,747
08.05.2019 11:49:50
25,200
38c553b397e1c95ccddeb6bded88b1f3304be3d7
doc: add v1.0 doc menu to master Update the /latest documents with a menu choice for the 1.0 release docs.
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -189,6 +189,7 @@ else:\nhtml_context = {\n'current_version': current_version,\n'versions': ( (\"latest\", \"/latest/\"),\n+ (\"1.0\", \"/1.0/\"),\n(\"0.8\", \"/0.8/\"),\n(\"0.7\", \"/0.7/\"),\n(\"0.6\", \"/0...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add v1.0 doc menu to master Update the /latest documents with a menu choice for the 1.0 release docs. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
08.05.2019 12:00:23
25,200
5cbaafd7177eea5b2c316bbd1d06fed854f04043
doc: Update intro to 1.0 release notes Update the high-level summary.
[ { "change_type": "MODIFY", "old_path": "doc/release_notes_1.0.rst", "new_path": "doc/release_notes_1.0.rst", "diff": "ACRN v1.0 (May 2019)\n####################\n-We are pleased to announce the release of Project ACRN version 1.0,\n-a major ACRN project milestone focused on automotive software-defin...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Update intro to 1.0 release notes Update the high-level summary. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,801
08.05.2019 15:22:21
-28,800
1f0ccd5f83ba852b4ca122409dca045f5a209469
doc: add rules in C coding guidelines This patch adds rules in C coding guidelines for function naming convention.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/c_coding_guidelines.rst", "new_path": "doc/developer-guides/c_coding_guidelines.rst", "diff": "@@ -3441,6 +3441,74 @@ Compliant example::\n};\n+C-NC-08: Function name shall be descriptive\n+===========================================\n+\n+...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add rules in C coding guidelines This patch adds rules in C coding guidelines for function naming convention. Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,662
09.05.2019 11:21:32
-28,800
c954ec57a0039ff0ee2d1b5d74a7048e87fd94e9
doc: release note v1.0, correct some words.
[ { "change_type": "MODIFY", "old_path": "doc/release_notes_1.0.rst", "new_path": "doc/release_notes_1.0.rst", "diff": "@@ -6,7 +6,7 @@ ACRN v1.0 (May 2019)\nWe are pleased to announce the release of ACRN version 1.0, a key\nProject ACRN milestone focused on automotive Software-Defined Cockpit\n(SDC) ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: release note v1.0, correct some words. Signed-off-by: ruix.li <ruix.li@intel.com>
528,675
06.05.2019 21:46:42
-28,800
d364d352f842ebc14ed6e2cd2ccf96a7f80384e0
reshuffle struct vboot_candidates struct vboot_candidates is private, so move it into source file, and change it to a more suitable name vboot_bootloader_map. this patch also add sos_boot_mode to indicate if the sos boot is using de-privilege or direct boot mode.
[ { "change_type": "MODIFY", "old_path": "hypervisor/boot/guest/vboot_wrapper.c", "new_path": "hypervisor/boot/guest/vboot_wrapper.c", "diff": "#include <direct_boot.h>\n#include <deprivilege_boot.h>\n+#define BOOTLOADER_NUM 4U\n+#define BOOTLOADER_NAME_SIZE 20U\n+\n+struct vboot_bootloader_map {\n+ c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
reshuffle struct vboot_candidates struct vboot_candidates is private, so move it into source file, and change it to a more suitable name vboot_bootloader_map. this patch also add sos_boot_mode to indicate if the sos boot is using de-privilege or direct boot mode. Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason....
528,675
08.05.2019 20:20:54
-28,800
7494ed27757c0a295994061b42d161e6af8b4aeb
Clean up MISRA C violation clean up a few MISRA C violations that can be fixed by code change in vboot files
[ { "change_type": "MODIFY", "old_path": "efi-stub/boot.c", "new_path": "efi-stub/boot.c", "diff": "@@ -271,7 +271,7 @@ switch_to_guest_mode(EFI_HANDLE image, EFI_PHYSICAL_ADDRESS hv_hpa)\nif (addr < 4096)\nPrint(L\"Warning: CPU trampoline code buf occupied zero-page\\n\");\n- efi_ctx->ap_trampoline_b...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Clean up MISRA C violation clean up a few MISRA C violations that can be fixed by code change in vboot files Tracked-On: #861 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,731
09.05.2019 10:18:09
-28,800
ef19ed8961a09136388fe5ce2e953908e78c7d84
hv: vcpuid: reduce the cyclomatic complexity of function guest_cpuid This patch reduces the cyclomatic complexity of the function guest_cpuid.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpuid.c", "new_path": "hypervisor/arch/x86/guest/vcpuid.c", "diff": "@@ -294,33 +294,16 @@ int32_t set_vcpuid_entries(struct acrn_vm *vm)\nreturn result;\n}\n-void guest_cpuid(struct acrn_vcpu *vcpu, uint32_t *eax, uint32_t *ebx, uin...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vcpuid: reduce the cyclomatic complexity of function guest_cpuid This patch reduces the cyclomatic complexity of the function guest_cpuid. Tracked-On: #2834 Signed-off-by: Binbin Wu <binbin.wu@intel.com>
528,731
30.04.2019 10:27:11
-28,800
a581f50600d003cb517d48959868d9941e2455cf
hv: vmsr: enable msr ia32_misc_enable emulation Add MSR_IA32_MISC_ENABLE to emulated_guest_msrs to enable the emulation. Init MSR_IA32_MISC_ENABLE for guest. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcs.c", "new_path": "hypervisor/arch/x86/guest/vmcs.c", "diff": "@@ -92,6 +92,9 @@ static void init_guest_vmx(struct acrn_vcpu *vcpu, uint64_t cr0, uint64_t cr3,\nload_segment(ectx->tr, VMX_GUEST_TR);\nload_segment(ectx->ldtr, VMX_GU...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vmsr: enable msr ia32_misc_enable emulation Add MSR_IA32_MISC_ENABLE to emulated_guest_msrs to enable the emulation. Init MSR_IA32_MISC_ENABLE for guest. Tracked-On: #2834 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,731
08.05.2019 14:09:01
-28,800
5d19228814b2db3a8dfd8ea33130c32ea63002b7
Doc: virtio-blk: add description of boot device option Add the description of option 'b' to indicate the boot device including the bootable image.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/virtio-blk.rst", "new_path": "doc/developer-guides/hld/virtio-blk.rst", "diff": "@@ -63,8 +63,11 @@ Usage:\nThe device model configuration command syntax for virtio-blk is::\n- -s <slot>,virtio-blk,<filepath>[,options]\n+ -s <slot>,vir...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Doc: virtio-blk: add description of boot device option Add the description of option 'b' to indicate the boot device including the bootable image. Tracked-On: #1917 Signed-off-by: Binbin Wu <binbin.wu@intel.com>
528,801
09.05.2019 13:11:10
-28,800
773889bb650efc1878eac67e2cc096f4b9c54e0b
hv: dmar_parse: remove dynamic memory allocation This patch removes the dynamic memory allocation in dmar_parse.c. v1 -> v2: - rename 'const_dmar.c' to 'dmar_info.c' and move it to 'boot' directory - add CONFIG_DMAR_PARSE_ENABLED check for function declaration
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -156,6 +156,7 @@ C_SRCS += scenarios/$(SCENARIO_NAME)/pt_dev.c\nendif\nC_SRCS += boot/acpi.c\n+C_SRCS += boot/dmar_info.c\nC_SRCS += boot/dmar_parse.c\nC_SRCS += boot/cmdline.c\nC_SRCS += boo...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: dmar_parse: remove dynamic memory allocation This patch removes the dynamic memory allocation in dmar_parse.c. v1 -> v2: - rename 'const_dmar.c' to 'dmar_info.c' and move it to 'boot' directory - add CONFIG_DMAR_PARSE_ENABLED check for function declaration Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqin...
528,801
09.05.2019 13:30:11
-28,800
dbb41575e7c3f7f3e56d11eb5ce8a3f8d4d4871b
hv: remove dynamic memory allocation APIs This patch removes dynamic memory allocation APIs, including: calloc malloc free The corresponding data structures, MACROs, and Kconfig items are also removed. v1 -> v2: no change
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/Kconfig", "new_path": "hypervisor/arch/x86/Kconfig", "diff": "@@ -147,15 +147,6 @@ config COM_IRQ\nhelp\nIRQ of the vuart port.\n-config MALLOC_ALIGN\n- int \"Block size in the heap for malloc()\"\n- range 8 32\n- default 16\n-\n-config HEA...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove dynamic memory allocation APIs This patch removes dynamic memory allocation APIs, including: - calloc - malloc - free The corresponding data structures, MACROs, and Kconfig items are also removed. v1 -> v2: no change Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,801
10.05.2019 10:53:01
-28,800
7b8abe156c6efc738669034fa0321d758662f389
hv: refine 'init_percpu_lapic_id' This patch refines 'init_percpu_lapic_id' to move the error handling to 'init_pcpu_pre'.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -45,24 +45,26 @@ static void print_hv_banner(void);\nstatic uint16_t get_pcpu_id_from_lapic_id(uint32_t lapic_id);\nstatic uint64_t start_tsc __attribute__((__section__(\".bss_noi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: refine 'init_percpu_lapic_id' This patch refines 'init_percpu_lapic_id' to move the error handling to 'init_pcpu_pre'. Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,783
09.05.2019 13:20:29
-28,800
350d6a9eb6e3f7361949b521f6cfd9835899c320
hv:Move BUS_LOCK to atomic.h now this MACRO is used in atomic.h and bits.h, move it from cpu.h to atomic.h to avoid reverse dependency(i.e. from lower layer to upper one)
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/cpu.h", "new_path": "hypervisor/include/arch/x86/cpu.h", "diff": "#ifndef ASSEMBLER\n-#define BUS_LOCK \"lock ; \"\n-\n#define AP_MASK (((1UL << get_pcpu_nums()) - 1UL) & ~(1UL << 0U))\n/**\n" }, { "change_type": "MODIFY", ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:Move BUS_LOCK to atomic.h now this MACRO is used in atomic.h and bits.h, move it from cpu.h to atomic.h to avoid reverse dependency(i.e. from lower layer to upper one) Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
528,783
10.05.2019 19:29:42
-28,800
795d6de0fbab455712706458bede83779a001200
hv:move several files related X86 for lib modified: Makefile renamed: lib/memory.c -> arch/x86/lib/memory.c renamed: include/lib/atomic.h -> include/arch/x86/lib/atomic.h renamed: include/lib/bits.h -> include/arch/x86/lib/bits.h renamed: include/lib/spinlock.h -> include/arch/x86/lib/spinlock.h
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -112,6 +112,7 @@ INCLUDE_PATH += include/common\nINCLUDE_PATH += include/arch/x86\nINCLUDE_PATH += include/arch/x86/boot\nINCLUDE_PATH += include/arch/x86/guest\n+INCLUDE_PATH += include/arch...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:move several files related X86 for lib modified: Makefile renamed: lib/memory.c -> arch/x86/lib/memory.c renamed: include/lib/atomic.h -> include/arch/x86/lib/atomic.h renamed: include/lib/bits.h -> include/arch/x86/lib/bits.h renamed: include/lib/spinlock.h -> include/arch/x86/lib/spinlock.h Tracked...
528,802
10.05.2019 14:19:49
-28,800
4c28a374409849ddf5ac2e9711e1982e4fa0cd02
dm: add sample script to launch Windows as guest This patch adds one sample script to launch Windows as guest.
[ { "change_type": "ADD", "old_path": null, "new_path": "devicemodel/samples/nuc/launch_win.sh", "diff": "+#!/bin/bash\n+\n+function launch_win()\n+{\n+vm_name=win_vm$1\n+\n+#check if the vm is running or not\n+vm_ps=$(pgrep -a -f acrn-dm)\n+result=$(echo $vm_ps | grep \"${vm_name}\")\n+if [[ \"$resul...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: add sample script to launch Windows as guest This patch adds one sample script to launch Windows as guest. Tracked-On: #3099 Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com>