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,768 | 18.05.2018 18:57:12 | -28,800 | 9e61accbedb7a2a971fe9df63e1ef8b8fae79324 | DM: add spanning devices check for i/o access
i/o access whose handler is not registered should
not be allowed. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/inout.c",
"new_path": "devicemodel/core/inout.c",
"diff": "@@ -99,20 +99,27 @@ emulate_inout(struct vmctx *ctx, int *pvcpu, struct pio_request *pio_request,\nint bytes, flags, in, port;\ninout_func_t handler;\nvoid *arg;\n- int retval;\n+ int ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: add spanning devices check for i/o access
- i/o access whose handler is not registered should
not be allowed.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,718 | 17.05.2018 16:39:12 | -28,800 | 76cc3dd808114bfc10d0f27765514673ccb563b7 | tools: invoke compiler with $(CC) instead of gcc for consistency | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/Makefile",
"new_path": "tools/acrn-manager/Makefile",
"diff": "OUT_DIR ?= .\nall: acrnctl.c\n- gcc -o $(OUT_DIR)/acrnctl acrnctl.c -I../../devicemodel/include -Wall -g\n+ $(CC) -o $(OUT_DIR)/acrnctl acrnctl.c -I../../devicemodel/include -Wal... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: invoke compiler with $(CC) instead of gcc for consistency
Signed-off-by: Tonny Tzeng tonny.tzeng@intel.com |
528,718 | 17.05.2018 16:44:11 | -28,800 | fc2b6fbe86e8e83ce39be4bc588cc77097dbd914 | Makefile: keep using 'PLATFORM' variable for existing documentation | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "# global helper variables\nT := $(CURDIR)\n-PLAT := uefi\n-RELEASE := 0\n+PLATFORM ?= uefi\n+RELEASE ?= 0\nROOT_OUT := $(T)/build\nHV_OUT := $(ROOT_OUT)/hypervisor\n@@ -13,8 +13,8 @@ TOOLS_OUT := $(ROOT_OUT)/tools\na... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Makefile: keep using 'PLATFORM' variable for existing documentation
Signed-off-by: Tonny Tzeng tonny.tzeng@intel.com |
528,794 | 17.05.2018 16:47:54 | -28,800 | 99189b4e48f34bffc0379008cc2eae1762cfc81a | HV: cleanup for io request related functions
Changes:
1. Move io request related functions from hypercall.c to io_request.c
since they are not hypercalls;
2. Remove acrn_insert_request_nowait() as it is never used;
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -130,6 +130,7 @@ C_SRCS += common/hypercall.c\nC_SRCS += common/trusty_hypercall.c\nC_SRCS += common/schedule.c\nC_SRCS += common/vm_load.c\n+C_SRCS += common/io_request.c\nifdef STACK_PROTEC... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: cleanup for io request related functions
Changes:
1. Move io request related functions from hypercall.c to io_request.c
since they are not hypercalls;
2. Remove acrn_insert_request_nowait() as it is never used;
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,768 | 17.05.2018 23:30:32 | -28,800 | 0e5f7cb91cea404ea33648d70cbea3e7c24d83c9 | hv: bugfix - MMIO access size was not properly initialized.
MMIO access size is not initialized before
instruction emulation.
rename 'analyze_instruction()' to 'decode_instruction()' | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/ept.c",
"new_path": "hypervisor/arch/x86/ept.c",
"diff": "@@ -339,10 +339,6 @@ static int dm_emulate_mmio_pre(struct vcpu *vcpu, uint64_t exit_qual)\n{\nint status;\n- status = analyze_instruction(vcpu, &vcpu->mmio);\n- if (status != 0)\n- ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: bugfix - MMIO access size was not properly initialized.
- MMIO access size is not initialized before
instruction emulation.
- rename 'analyze_instruction()' to 'decode_instruction()'
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,733 | 17.05.2018 22:21:13 | -28,800 | 6ef48fa30e168c283d44ee7c48dba3e380bea2d5 | hv: Add reboot shell command
To trigger warm reboot for debugging.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -117,6 +117,7 @@ C_SRCS += arch/x86/guest/vioapic.c\nC_SRCS += arch/x86/guest/instr_emul.c\nC_SRCS += arch/x86/guest/ucode.c\nC_SRCS += arch/x86/guest/pm.c\n+C_SRCS += arch/x86/debug/reboot.c... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: Add reboot shell command
To trigger warm reboot for debugging.
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <Eddie.dong@intel.com> |
528,806 | 18.05.2018 16:35:34 | 18,000 | ba3192ab774b06bdacd9b3957daed46232ce7f92 | Makefile: fix PLATFORM variable at install target
The variable PLAT was renamed to PLATFORM, but was not updated in the
install target giving a failure when installing ACRN hypervisor.
Fixes: ("Makefile: keep using 'PLATFORM' variable for existing documentation") | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -34,7 +34,7 @@ clean:\ninstall: hypervisor-install devicemodel-install tools-install\nhypervisor-install:\n- make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLAT) RELEASE=$(RELEASE) install\n+ make -C $(T)/... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Makefile: fix PLATFORM variable at install target
The variable PLAT was renamed to PLATFORM, but was not updated in the
install target giving a failure when installing ACRN hypervisor.
Fixes: fc2b6fbe86e8 ("Makefile: keep using 'PLATFORM' variable for existing documentation")
Signed-off-by: Miguel Bernal Marin <migu... |
528,783 | 21.05.2018 10:48:56 | -28,800 | 2175bcafa15581370b7677426704471c444174f0 | hv: replace _EC with _ERROR_CODE in VMCS field
EC is not clear, replace it with ERROR_CODE. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/interrupt.c",
"new_path": "hypervisor/arch/x86/interrupt.c",
"diff": "@@ -305,7 +305,7 @@ int acrn_do_intr_process(struct vcpu *vcpu)\n/* handling cancelled event injection when vcpu is switched out */\nif (vcpu->arch_vcpu.inject_event_pend... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: replace _EC with _ERROR_CODE in VMCS field
EC is not clear, replace it with ERROR_CODE.
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> |
528,731 | 20.05.2018 23:35:30 | -28,800 | d8d6176266e003a85ce98ab5a6a7687aa58a8612 | hv: fix general protection injection
Exception type is missing when inject a #GP.
GP should be injected even when guest irq disabled.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/interrupt.c",
"new_path": "hypervisor/arch/x86/interrupt.c",
"diff": "@@ -200,9 +200,17 @@ static int vcpu_do_pending_extint(struct vcpu *vcpu)\nstatic int vcpu_do_pending_gp(__unused struct vcpu *vcpu)\n{\n+ /* SDM Vol. 3A 6-37: if the fau... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix general protection injection
Exception type is missing when inject a #GP.
GP should be injected even when guest irq disabled.
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <Eddie.dong@intel.com> |
528,675 | 21.05.2018 14:37:51 | -28,800 | c09b9aa9c17d41d5dadbb48f99efbd7c58a14d5b | exception: only trap #MC
HV only print out message for #MC then inject it back to guest. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/interrupt.c",
"new_path": "hypervisor/arch/x86/interrupt.c",
"diff": "@@ -476,6 +476,12 @@ int exception_vmexit_handler(struct vcpu *vcpu)\nvcpu->arch_vcpu.exception_info.exception = exception_vector;\nvcpu->arch_vcpu.exception_info.error =... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | exception: only trap #MC
HV only print out message for #MC then inject it back to guest.
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,665 | 21.05.2018 23:47:41 | -28,800 | d2191401c8345913d7bbbf743a1e38dc7dabd7be | HV: Trace: Remove macro GEN_CASE
Macro GEN_CASE in hypervisor is not used. It's just for userspcace tool
acrntrace and we get one copy of it in ./tools/acrntrace/trace_event.h.
So, remove it.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/debug/trace.h",
"new_path": "hypervisor/include/debug/trace.h",
"diff": "#include <sbuf.h>\n-#define GEN_CASE(id) case (id): { id##_FMT; break; }\n-\n#define TRACE_CUSTOM 0xFC\n#define TRACE_FUNC_ENTER 0xFD\n#define TRACE_FUNC_EXIT 0xFE\n#de... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Trace: Remove macro GEN_CASE
Macro GEN_CASE in hypervisor is not used. It's just for userspcace tool
acrntrace and we get one copy of it in ./tools/acrntrace/trace_event.h.
So, remove it.
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Reviewed-by: Yan, Like <like.yan@i... |
528,675 | 21.05.2018 20:13:26 | -28,800 | f505f338bd06134d2df08134b125b865aacad453 | hypercall: only allow hypercall from
only allow hypercall from
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vmcall.c",
"new_path": "hypervisor/arch/x86/guest/vmcall.c",
"diff": "@@ -52,6 +52,11 @@ int vmcall_vmexit_handler(struct vcpu *vcpu)\n/* hypercall param4 from guest, reserved*/\n/* uint64_t param4 = cur_context->guest_cpu_regs.regs.r... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hypercall: only allow hypercall from RING-0
only allow hypercall from RING-0
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,675 | 21.05.2018 20:17:40 | -28,800 | 05f8fd701a47f5e4a331c68a9034a5ced62ee0a6 | hypercall: do not allow hypercall from UOS except trusty
only trusty related hypercall will come from UOS, others should come from VM0
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vmcall.c",
"new_path": "hypervisor/arch/x86/guest/vmcall.c",
"diff": "@@ -57,6 +57,12 @@ int vmcall_vmexit_handler(struct vcpu *vcpu)\nreturn -1;\n}\n+ if (!is_vm0(vm) && hypcall_id != HC_WORLD_SWITCH &&\n+ hypcall_id != HC_INITIALIZE... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hypercall: do not allow hypercall from UOS except trusty
only trusty related hypercall will come from UOS, others should come from VM0
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,768 | 22.05.2018 19:23:52 | -28,800 | f58fe33687c0ef8751dc407281440df5b20b80d8 | DM: avoid NULL pointer dereferenced in 'ioc_parse()'
Pointer 'tmp' may be NULL before passing it to 'strtoul()' | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/ioc.c",
"new_path": "devicemodel/hw/platform/ioc.c",
"diff": "@@ -1043,6 +1043,7 @@ ioc_parse(const char *opts)\nsnprintf(virtual_uart_path, sizeof(virtual_uart_path), \"%s\", param);\nif (tmp != NULL) {\ntmp = strtok(NULL, \",\");\n+ i... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: avoid NULL pointer dereferenced in 'ioc_parse()'
Pointer 'tmp' may be NULL before passing it to 'strtoul()'
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,675 | 22.05.2018 09:06:49 | -28,800 | fcd79325e15807890a9436a63cff90382d8874b2 | doxygen: fix wrong description in hypercall.h
fix wrong description for hcall_get_cpu_pm_state/hcall_world_switch | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/common/hypercall.h",
"new_path": "hypervisor/include/common/hypercall.h",
"diff": "@@ -335,19 +335,21 @@ int64_t hcall_reset_ptdev_intr_info(struct vm *vm, uint64_t vmid,\nint64_t hcall_setup_sbuf(struct vm *vm, uint64_t param);\n/**\n- * @b... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doxygen: fix wrong description in hypercall.h
fix wrong description for hcall_get_cpu_pm_state/hcall_world_switch
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,768 | 21.05.2018 18:29:13 | -28,800 | aee1931ee699719ec80d631a728b2289dc3ff085 | HV: refine 'decode_instruction() function
update:
1. remove 'struct mem_io *'from input arguments
2. return 'opsize' instead of status.
3. rename 'vmm_decode_instruction()' | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/ept.c",
"new_path": "hypervisor/arch/x86/ept.c",
"diff": "@@ -400,7 +400,8 @@ int ept_violation_vmexit_handler(struct vcpu *vcpu)\n*/\nmmio->paddr = gpa;\n- if (decode_instruction(vcpu, mmio) != 0)\n+ mmio->access_size = decode_instruction(... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: refine 'decode_instruction() function
update:
1. remove 'struct mem_io *'from input arguments
2. return 'opsize' instead of status.
3. rename 'vmm_decode_instruction()'
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,783 | 22.05.2018 10:20:21 | -28,800 | ccc1c25e88e637c975416b017873c8c19a472869 | hv:Use exception vector MACRO instead of hardcode
Now use hardcode when inject GP/NMI to guest,
replace it with MACRO. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/interrupt.c",
"new_path": "hypervisor/arch/x86/interrupt.c",
"diff": "@@ -210,7 +210,9 @@ static int vcpu_do_pending_gp(__unused struct vcpu *vcpu)\n/* GP vector = 13 */\nexec_vmwrite(VMX_ENTRY_INT_INFO_FIELD,\nVMX_INT_INFO_VALID |\n- ((VMX... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:Use exception vector MACRO instead of hardcode
Now use hardcode when inject GP/NMI to guest,
replace it with MACRO.
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> |
528,768 | 22.05.2018 22:32:24 | -28,800 | 03ae242eb770b041e786355faaf0241aadc9346b | HV:initialize variables before reference in vmx.c
to avoid complains from code static scan tool | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmx.c",
"new_path": "hypervisor/arch/x86/vmx.c",
"diff": "@@ -372,7 +372,7 @@ static void init_guest_state(struct vcpu *vcpu)\n/* Limit */\nlimit = 0xFFFF;\n} else if (get_vcpu_mode(vcpu) == PAGE_PROTECTED_MODE) {\n- descriptor_table gdtb;\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV:initialize variables before reference in vmx.c
- to avoid complains from code static scan tool
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,768 | 22.05.2018 19:38:48 | -28,800 | 4ed6d92226bd9e4ed8364ded9118473868e4781e | DM:fix suspicious dereference of pointer in 'pci_emul_deinit()
suspicious dereference of pointer 'fi->fi_devi'
by passing it to function 'pci_emul_free_bars()'
before NULL check. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/core.c",
"new_path": "devicemodel/hw/pci/core.c",
"diff": "@@ -792,10 +792,11 @@ pci_emul_deinit(struct vmctx *ctx, struct pci_vdev_ops *ops, int bus, int slot,\nif (fi->fi_param)\nfree(fi->fi_param);\n+ if (fi->fi_devi) {\npci_emul_free_bar... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM:fix suspicious dereference of pointer in 'pci_emul_deinit()
suspicious dereference of pointer 'fi->fi_devi'
by passing it to function 'pci_emul_free_bars()'
before NULL check.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,768 | 22.05.2018 18:39:08 | -28,800 | eb943e7b13bc94fb32ccaa5f0b2603c907a71ba0 | DM:fix the possible buffer overflow issue using 'strncpy'
function 'strncpy' may incorrectly check buffer boundaries
and may overflow buffers. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/sw_load_bzimage.c",
"new_path": "devicemodel/core/sw_load_bzimage.c",
"diff": "@@ -128,7 +128,7 @@ acrn_get_bzimage_setup_size(struct vmctx *ctx)\nint\nacrn_parse_kernel(char *arg)\n{\n- int len = strlen(arg);\n+ size_t len = strlen(arg);\nif ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM:fix the possible buffer overflow issue using 'strncpy'
function 'strncpy' may incorrectly check buffer boundaries
and may overflow buffers.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,768 | 22.05.2018 18:58:34 | -28,800 | cd07c2c9a4ba856ed14b95dded5ca0b54d523f8c | DM: initialize 'create_vm' before reference it in 'vm_open' | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -112,6 +112,7 @@ vm_open(const char *name)\nint error, retry = 10;\nuuid_t vm_uuid;\n+ memset(&create_vm, 0, sizeof(struct acrn_create_vm));\nctx = calloc(1, sizeof(struct vmctx) ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: initialize 'create_vm' before reference it in 'vm_open'
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,768 | 21.05.2018 23:49:58 | -28,800 | 160df8433a95cbf7d5177a6975791d560397d5c7 | DM: fix buffer overflow risk issues in hugetlb.c
Add buffer boundaries to avoid overflow | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/hugetlb.c",
"new_path": "devicemodel/core/hugetlb.c",
"diff": "@@ -119,7 +119,7 @@ static int open_hugetlbfs(struct vmctx *ctx, int level)\nstrncpy(path, hugetlb_priv[level].mount_path, MAX_PATH_LEN);\n/* UUID will use 32 bytes */\n- if (strle... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: fix buffer overflow risk issues in hugetlb.c
Add buffer boundaries to avoid overflow
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,747 | 22.05.2018 08:35:11 | 25,200 | 04572a76a8238953045182e54ac73ca94d5b2195 | doc: add missing param documentation hypercall.h
Add missing documentation for hcall_get_cpu_pm_state vm parameter | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/common/hypercall.h",
"new_path": "hypervisor/include/common/hypercall.h",
"diff": "@@ -337,6 +337,7 @@ int64_t hcall_setup_sbuf(struct vm *vm, uint64_t param);\n/**\n* @brief Get VCPU Power state.\n*\n+ * @param vm pointer to VM data structu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add missing param documentation hypercall.h
Add missing documentation for hcall_get_cpu_pm_state vm parameter
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,733 | 21.05.2018 22:26:02 | -28,800 | b22cc43f819e354bdc53dbc20c4fbfef1cb04827 | hv: move boot/multiboot.c to boot/sbl/multiboot.c
boot/multiboot.c is only used by SBL. So move it to boot/sbl.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -80,7 +80,6 @@ OBJCOPY ?= objcopy\nD_SRCS += $(wildcard debug/*.c)\nC_SRCS += boot/acpi.c\nC_SRCS += boot/dmar_parse.c\n-C_SRCS += boot/multiboot.c\nC_SRCS += arch/x86/ioapic.c\nC_SRCS += arc... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: move boot/multiboot.c to boot/sbl/multiboot.c
boot/multiboot.c is only used by SBL. So move it to boot/sbl.
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <Eddie.dong@intel.com> |
528,733 | 21.05.2018 23:17:13 | -28,800 | 198f2003c2687137d9f32e4e755f087beb232dde | hv: pass kernel cmdline from SBL to vm0 kernel
The SBL could pass cmdline to vm0 kernel by using mbi->mi_cmdline
which should be passed to vm0 kernel as well.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/boot/sbl/multiboot.c",
"new_path": "hypervisor/boot/sbl/multiboot.c",
"diff": "#define ACRN_DBG_BOOT 6\n+/* There are two sources for vm0 kernel cmdline:\n+ * - cmdline from sbl. mbi->cmdline\n+ * - cmdline from acrn stitching tool. mod[0].mm_string... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: pass kernel cmdline from SBL to vm0 kernel
The SBL could pass cmdline to vm0 kernel by using mbi->mi_cmdline
which should be passed to vm0 kernel as well.
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <Eddie.dong@intel.com> |
528,733 | 21.05.2018 23:31:23 | -28,800 | b2c2ca2ecd20cf4b2ebf81fbbb47981518e2e4b9 | hv: not necessary to deal with '\n' of cmdline in ACRN.
We removed '\n' in bootargs file so there is no '\n' attached
to cmdline when stitching ACRN. Then we don't need to deal with
it in ACRN.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/boot/sbl/multiboot.c",
"new_path": "hypervisor/boot/sbl/multiboot.c",
"diff": "@@ -95,7 +95,7 @@ static void parse_other_modules(struct vm *vm,\nvm->sw.linux_info.bootargs_src_addr = load_addr;\n}\n- strcpy_s(load_addr + args_size - 1,\n+ strcpy_s(l... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: not necessary to deal with '\n' of cmdline in ACRN.
We removed '\n' in bootargs file so there is no '\n' attached
to cmdline when stitching ACRN. Then we don't need to deal with
it in ACRN.
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <Eddie.dong@intel.com> |
528,768 | 23.05.2018 01:00:14 | -28,800 | fbaff2aa35c35531fd2ce8facba010f502a60e48 | HV:remove redundant field 'mmio' from 'struct emul_cnx'
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/ept.c",
"new_path": "hypervisor/arch/x86/ept.c",
"diff": "@@ -326,7 +326,7 @@ int dm_emulate_mmio_post(struct vcpu *vcpu)\nif (vcpu->mmio.read_write == HV_MEM_IO_READ) {\nvcpu->mmio.value = vcpu->req.reqs.mmio_request.value;\n/* Emulate ins... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV:remove redundant field 'mmio' from 'struct emul_cnx'
Acked-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,683 | 29.03.2018 23:05:04 | -28,800 | 4c0181a5dbc2e18126eec6011d093e82d40fadf4 | DM/GVT: implement emulated graphics pci device
Enable graphics virtualization GVT-g | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/Makefile",
"new_path": "devicemodel/Makefile",
"diff": "@@ -82,6 +82,7 @@ SRCS += hw/pci/virtio/virtio_hyper_dmabuf.c\nSRCS += hw/pci/virtio/virtio_heci.c\nSRCS += hw/pci/irq.c\nSRCS += hw/pci/uart.c\n+SRCS += hw/pci/gvt.c\n# core\n#SRCS += core/bo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM/GVT: implement emulated graphics pci device
Enable graphics virtualization GVT-g
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
Reviewed-by: He, Min <min.he@intel.com> |
528,783 | 23.05.2018 10:25:00 | -28,800 | 88b8ce8362f6873c5f9c4dee6e4a4eba3a947eb3 | hv: move structure(intr_ctx) to irq.h
move intr_ctx to irq.h, delete intr_ctx.h
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/arch/x86/hv_arch.h",
"new_path": "hypervisor/include/arch/x86/hv_arch.h",
"diff": "#include <vm.h>\n#include <cpuid.h>\n#include <mmu.h>\n-#include <intr_ctx.h>\n#include <irq.h>\n#include <timer.h>\n#include <softirq.h>\n"
},
{
"cha... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: move structure(intr_ctx) to irq.h
move intr_ctx to irq.h, delete intr_ctx.h
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,783 | 23.05.2018 10:33:32 | -28,800 | 8384ed2564b9552aea3c57fb82a65f813f956c8a | hv:rename data structure intr_ctx
rename intr_ctx to intr_excp_ctx
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/interrupt.c",
"new_path": "hypervisor/arch/x86/interrupt.c",
"diff": "@@ -277,7 +277,7 @@ int interrupt_window_vmexit_handler(struct vcpu *vcpu)\nint external_interrupt_vmexit_handler(struct vcpu *vcpu)\n{\nuint32_t intr_info;\n- struct int... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:rename data structure intr_ctx
rename intr_ctx to intr_excp_ctx
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,783 | 21.05.2018 17:48:26 | -28,800 | d88b968305a97335cd33989b92e769b5d4838c74 | hv: Remove nested check when dump exception
removed unnecessary nested check when dump exception
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/dump.c",
"new_path": "hypervisor/debug/dump.c",
"diff": "@@ -296,11 +296,6 @@ void __assert(uint32_t line, const char *file, char *txt)\nvoid dump_exception(struct intr_excp_ctx *ctx, uint32_t cpu_id)\n{\nconst char *name = \"Not defined\";\n-... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: Remove nested check when dump exception
removed unnecessary nested check when dump exception
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,783 | 21.05.2018 18:02:51 | -28,800 | 7c9cc6bcd448bb23c2aeb3c242eacb2bb9de15a2 | hv:Merge dump_interrupt and dump_exception to a commond API
merge these two APIs to 'dump_intr_excp_frame'
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/irq.c",
"new_path": "hypervisor/arch/x86/irq.c",
"diff": "@@ -434,6 +434,7 @@ void dispatch_exception(struct intr_excp_ctx *ctx)\n/* Obtain lock to ensure exception dump doesn't get corrupted */\nspinlock_obtain(&exception_spinlock);\n+ /* ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:Merge dump_interrupt and dump_exception to a commond API
merge these two APIs to 'dump_intr_excp_frame'
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,646 | 25.04.2018 14:57:01 | -28,800 | 780fefcc2001540261cdc27401718a56fb4f56f4 | tools: acrn-crashlog: string utils for acrn-crashlog
This file provides some string operations for acrn-crashlog.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/common/Makefile",
"new_path": "tools/acrn-crashlog/common/Makefile",
"diff": "-objects = log_sys.o\n+objects = log_sys.o \\\n+ strutils.o\nall: check_obj $(objects)\ncheck_obj:\n"
},
{
"change_type": "ADD",
"old_path": null,
... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: string utils for acrn-crashlog
This file provides some string operations for acrn-crashlog.
Signed-off-by: Liu Xinwu <xinwu.liu@intel.com>
Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Revi... |
528,646 | 08.05.2018 10:58:44 | -28,800 | 88ba420af11cbc94f47ee02175b18d501e5fa4d7 | tools: acrn-crashlog: command utils for acrn-crashlog
This file provides functions to call system commands.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/common/Makefile",
"new_path": "tools/acrn-crashlog/common/Makefile",
"diff": "objects = log_sys.o \\\n- strutils.o\n+ strutils.o \\\n+ cmdutils.o\nall: check_obj $(objects)\ncheck_obj:\n"
},
{
"change_type": "ADD",
"old_path": n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: command utils for acrn-crashlog
This file provides functions to call system commands.
Signed-off-by: Liu Xinwu <xinwu.liu@intel.com>
Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-b... |
528,646 | 08.05.2018 11:03:53 | -28,800 | 87b89683148dcb384d2eda4243e87711f7683df3 | tools: acrn-crashlog: file system utils for acrn-crashlog
This file provides file system operations for acrn-crashlog.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/common/Makefile",
"new_path": "tools/acrn-crashlog/common/Makefile",
"diff": "objects = log_sys.o \\\nstrutils.o \\\n- cmdutils.o\n+ cmdutils.o \\\n+ fsutils.o\nall: check_obj $(objects)\ncheck_obj:\n"
},
{
"change_type": "ADD",
... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: file system utils for acrn-crashlog
This file provides file system operations for acrn-crashlog.
Signed-off-by: Liu Xinwu <xinwu.liu@intel.com>
Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>... |
528,646 | 08.05.2018 11:05:40 | -28,800 | 543cdce6c64213a6085d317ad64f05b807d6ebf6 | tools: acrn-crashlog: add more functions to file system utils
More file system operations for acrn-crashlog.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/common/fsutils.c",
"new_path": "tools/acrn-crashlog/common/fsutils.c",
"diff": "@@ -624,3 +624,534 @@ int file_update_int(const char *filename, unsigned int current,\n/* Close file */\nreturn close_file(filename, fp);\n}\n+\n+/**\n+ * Copy ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: add more functions to file system utils
More file system operations for acrn-crashlog.
Signed-off-by: Liu Xinwu <xinwu.liu@intel.com>
Signed-off-by: CHEN Gang <gang.c.chen@intel.com>
Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com>
Reviewe... |
528,646 | 09.05.2018 17:31:33 | -28,800 | f1a557aeaa35071837d1ed9ecad754d55bce9177 | tools: acrn-crashlog: get startup reason of system for acrnprobe
This file provides the functions to get system reboot reason from
kernel command line.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/acrnprobe/Makefile",
"new_path": "tools/acrn-crashlog/acrnprobe/Makefile",
"diff": "@@ -25,7 +25,8 @@ $(BUILDDIR)/acrnprobe/bin/acrnprobe: $(BUILDDIR)/acrnprobe/obj/main.o \\\n$(BUILDDIR)/acrnprobe/obj/event_queue.o \\\n$(BUILDDIR)/acrnprob... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: get startup reason of system for acrnprobe
This file provides the functions to get system reboot reason from
kernel command line.
Signed-off-by: Liu Xinwu <xinwu.liu@intel.com>
Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: ... |
528,646 | 09.05.2018 17:39:55 | -28,800 | 95d6a57358539aae87182078e80ed23e30ef6243 | tools: acrn-crashlog: probe utils for acrnprobe
This patch provides some utils for acrnprobe.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/acrnprobe/Makefile",
"new_path": "tools/acrn-crashlog/acrnprobe/Makefile",
"diff": "@@ -27,7 +27,9 @@ $(BUILDDIR)/acrnprobe/bin/acrnprobe: $(BUILDDIR)/acrnprobe/obj/main.o \\\n$(BUILDDIR)/acrnprobe/obj/crash_reclassify.o \\\n$(BUILDDIR)/acr... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: probe utils for acrnprobe
This patch provides some utils for acrnprobe.
Signed-off-by: Liu Xinwu <xinwu.liu@intel.com>
Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Geoffroy Va... |
528,646 | 09.05.2018 18:19:16 | -28,800 | 384c195faa6988a4b9b0ffb2f52ba0658ed40152 | tools: acrn-crashlog: event handler thread for acrnprobe
Event handler is the thread to handle events detected by channel.
It's awakened by a enqueued event.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/acrnprobe/event_handler.c",
"new_path": "tools/acrn-crashlog/acrnprobe/event_handler.c",
"diff": "* SPDX-License-Identifier: BSD-3-Clause\n*/\n+#include <stdio.h>\n+#include <signal.h>\n+#include <string.h>\n+#include <sys/time.h>\n+#includ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: event handler thread for acrnprobe
Event handler is the thread to handle events detected by channel.
It's awakened by a enqueued event.
Signed-off-by: Liu Xinwu <xinwu.liu@intel.com>
Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com>
Reviewe... |
528,646 | 10.05.2018 09:56:28 | -28,800 | f83bd816458d8d1886fa1ae06bacd4dee9dda176 | tools: acrn-crashlog: sender module for acrnprobe
The sender corresponds to an exit of event.
Crashlog is responsible for collecting logs and save them locally.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/acrnprobe/sender.c",
"new_path": "tools/acrn-crashlog/acrnprobe/sender.c",
"diff": "* SPDX-License-Identifier: BSD-3-Clause\n*/\n+#include <string.h>\n+#include <stdio.h>\n+#include <unistd.h>\n+#include <sys/types.h>\n+#include <sys/stat.h... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: sender module for acrnprobe
The sender corresponds to an exit of event.
Crashlog is responsible for collecting logs and save them locally.
Signed-off-by: Liu Xinwu <xinwu.liu@intel.com>
Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com>
Revi... |
528,646 | 10.05.2018 09:58:16 | -28,800 | 168d3ead00d73a158ca70b473cf61b5969afba8e | tools: acrn-crashlog: add sender telemd for acrnprobe
Sender telemd is responsible for sending log records to the
telemetrics client.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/acrnprobe/sender.c",
"new_path": "tools/acrn-crashlog/acrnprobe/sender.c",
"diff": "#include \"property.h\"\n#include \"startupreason.h\"\n#include \"log_sys.h\"\n+#include \"telemetry.h\"\n+\n+#define CRASH_SEVERITY 4\n+#define INFO_SEVERI... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: add sender telemd for acrnprobe
Sender telemd is responsible for sending log records to the
telemetrics client.
Signed-off-by: Liu Xinwu <xinwu.liu@intel.com>
Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.... |
528,646 | 10.05.2018 17:13:52 | -28,800 | c1f2ba31b64fedd99ce5b8399547c1fa2c7d5ca5 | tools: acrn-crashlog: crash reclassify operations for acrnprobe
Reclassify an event according to its trigger file's content.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/acrnprobe/crash_reclassify.c",
"new_path": "tools/acrn-crashlog/acrnprobe/crash_reclassify.c",
"diff": "* SPDX-License-Identifier: BSD-3-Clause\n*/\n+#include <string.h>\n+#include <stdio.h>\n+#include <malloc.h>\n+#include <sys/mman.h>\n+#... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: crash reclassify operations for acrnprobe
Reclassify an event according to its trigger file's content.
Signed-off-by: Liu Xinwu <xinwu.liu@intel.com>
Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@inte... |
528,646 | 10.05.2018 10:07:16 | -28,800 | 047ffc3f92cdd3faf53b123a039fba83000cda46 | tools: acrn-crashlog: configuration file of acrnprobe
The configuration file of acrnprobe.
Acked-by: Eddie Dong | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "tools/acrn-crashlog/data/acrnprobe.xml",
"diff": "+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<conf>\n+ <senders>\n+ <sender id=\"1\" enable=\"true\">\n+ <name>crashlog</name>\n+ <outdir>/var/log/crashlog</outdir>\n+ <maxcrashdirs>1000</maxcra... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: configuration file of acrnprobe
The configuration file of acrnprobe.
Signed-off-by: Liu Xinwu <xinwu.liu@intel.com>
Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Geoffroy Van C... |
528,732 | 16.05.2018 06:47:04 | 0 | d4b4c03cde68f1868238269d92c498d598f2f9b0 | tools: acrn-crashlog: version control patch for binaries
This patch is the version control patch for the binaries
of acrn-crashlog.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/acrnprobe/Makefile",
"new_path": "tools/acrn-crashlog/acrnprobe/Makefile",
"diff": "+MAJOR_VERSION=1\n+MINOR_VERSION=0\n+\nBASEDIR := $(shell pwd)\nLIBS = -lpthread -lxml2 -lcrypto -lrt -lsystemd -ltelemetry\n@@ -10,7 +13,7 @@ LDFLAGS += $(... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: version control patch for binaries
This patch is the version control patch for the binaries
of acrn-crashlog.
Signed-off-by: CHEN Gang <gang.c.chen@intel.com>
Reviewed-by: Zhang Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Liu Chuansheng <chuansheng.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.... |
528,646 | 23.05.2018 19:33:59 | -28,800 | 05927b1592b27fb3667a0a9d92abc6e4b1e16d85 | tools: acrn-crashlog: compile without telemetrics client
Define a macro HAVE_TELEMETRICS_CLIENT to distinguish the compiling
environment which is not include telemetrics client. | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/Makefile",
"new_path": "tools/acrn-crashlog/Makefile",
"diff": "@@ -19,15 +19,20 @@ export INCLUDE\nexport BUILDDIR\nexport CC\nexport RM\n-export CFLAGS\n-SYSTEMD_LIBS = -lsystemd\n+EXTRA_LIBS = -lsystemd\nLDCNF := $(shell ldconfig -p)\nLI... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: compile without telemetrics client
Define a macro HAVE_TELEMETRICS_CLIENT to distinguish the compiling
environment which is not include telemetrics client.
Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com>
Reviewed-by: Jack Ren <jack.ren@intel.com> |
528,747 | 23.05.2018 08:57:58 | 25,200 | 6d63cb3cba642ce339432f9e16bb5d1a44e092cf | doc: fix error in custom CSS file
Typo caused some styles to be missed | [
{
"change_type": "MODIFY",
"old_path": "doc/static/acrn-custom.css",
"new_path": "doc/static/acrn-custom.css",
"diff": "position: static;\nborder-top: none;\npadding: 0px;\n-} */\n+}\n+*/\n.rst-versions .rst-current-version {\npadding: 5px;\n@@ -81,7 +82,7 @@ table.align-center {\npadding: 1em 0;\nt... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix error in custom CSS file
Typo caused some styles to be missed
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,768 | 23.05.2018 18:17:03 | -28,800 | cb262286c62e4ca5da9d5f4edf4ae0341c75a3b9 | HV: add NULL pointer check in 'vm_fixup()' function.
to clear security warning. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "@@ -368,6 +368,11 @@ void vm_fixup(struct vm *vm)\nint i;\nvm_desc = get_vm_desc(0);\n+ if (vm_desc == NULL) {\n+ pr_err(\"get VM0 description failed.\");\n+ return;\n+ }\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add NULL pointer check in 'vm_fixup()' function.
- to clear security warning.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,731 | 15.05.2018 11:28:16 | -28,800 | 744e09bc7ea4d2ac74a6d1dff1f43c2c2af7b5c6 | hv: define 4 vcpu modes
move enum vm_cpu_mode to guest.h
move enum vm_paging_mode to guest.h
replace REAL_MODE with CPU_MODE_REAL
replace PAGE_PROTECTED_MODE with CPU_MODE_64BIT
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/instr_emul_wrapper.h",
"new_path": "hypervisor/arch/x86/guest/instr_emul_wrapper.h",
"diff": "@@ -124,20 +124,6 @@ struct seg_desc {\n#define SEG_DESC_GRANULARITY(access) (((access) & 0x8000) ? 1 : 0)\n#define SEG_DESC_UNUSABLE(access... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: define 4 vcpu modes
move enum vm_cpu_mode to guest.h
move enum vm_paging_mode to guest.h
replace REAL_MODE with CPU_MODE_REAL
replace PAGE_PROTECTED_MODE with CPU_MODE_64BIT
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,768 | 23.05.2018 20:09:09 | -28,800 | 3df0fbfefbb1a79bd4570a412221d2f999c59886 | DM: bugfix - use of freed memory in 'monitor_close()'
-memory was dereferenced after being freed:
MACRO 'LIST_FOREACH()' dereference
'client' for next list node after 'client'
was freed. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/monitor.c",
"new_path": "devicemodel/core/monitor.c",
"diff": "@@ -453,7 +453,7 @@ int monitor_init(struct vmctx *ctx)\nvoid monitor_close(void)\n{\n- struct vmm_client *client;\n+ struct vmm_client *client, *pclient;\nif (!monitor_thread)\nre... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: bugfix - use of freed memory in 'monitor_close()'
-memory was dereferenced after being freed:
MACRO 'LIST_FOREACH()' dereference
'client' for next list node after 'client'
was freed.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,722 | 23.05.2018 19:24:29 | -28,800 | ac8b87505b88908433f24046ff9ab617924f2ff6 | acrn: allow to specify the build output folder
Usages: make O=<any folder> | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -4,8 +4,8 @@ T := $(CURDIR)\nPLATFORM ?= uefi\nRELEASE ?= 0\n-BUILD_DIR := build\n-ROOT_OUT := $(T)/$(BUILD_DIR)\n+O ?= build\n+ROOT_OUT := $(shell mkdir -p $(O);cd $(O);pwd)\nHV_OUT := $(ROOT_OUT)/hypervisor\nDM_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn: allow to specify the build output folder
Usages: make O=<any folder>
Signed-off-by: Jack Ren <jack.ren@intel.com> |
528,804 | 21.05.2018 15:54:40 | -28,800 | 58c109e8de63b2e2744ff729da487770bfce336c | add platform related config and launch script | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "platform/apl-mrb/launch_uos.sh",
"diff": "+#!/bin/bash\n+\n+function launch_clearlinux()\n+{\n+if [ ! -f \"/data/$5/$5.img\" ]; then\n+ echo \"no /data/$5/$5.img, exit\"\n+ exit\n+fi\n+\n+#vm-name used to generate uos-mac address\n+mac=$(cat /sy... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | add platform related config and launch script
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com> |
528,675 | 22.05.2018 14:33:13 | -28,800 | 67dfec87992c8cc9133624e80f9eedd851be3cc2 | vmexit: refine vmexit loop
move vmexit handling into vmexit_handler
add error handling, failure will inject #GP
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmexit.c",
"new_path": "hypervisor/arch/x86/vmexit.c",
"diff": "@@ -156,10 +156,16 @@ static const struct vm_exit_dispatch dispatch_table[] = {\n.need_exit_qualification = 1}\n};\n-struct vm_exit_dispatch *vmexit_handler(struct vcpu *vcpu)\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | vmexit: refine vmexit loop
- move vmexit handling into vmexit_handler
- add error handling, failure will inject #GP
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,676 | 23.05.2018 16:27:25 | -28,800 | 64d2efcfaf8c32ffa5014eb3253749f41c41e5ff | fix "obsolete use of designated initializer without '='"
According in C99 manual 6.7.8,'=' is required. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmexit.c",
"new_path": "hypervisor/arch/x86/vmexit.c",
"diff": "@@ -76,7 +76,7 @@ static const struct vm_exit_dispatch dispatch_table[] = {\n.handler = unhandled_vmexit_handler},\n[VMX_EXIT_REASON_VMCALL] = {\n.handler = vmcall_vmexit_handl... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | fix "obsolete use of designated initializer without '='"
According in C99 manual 6.7.8,'=' is required.
Signed-off-by: huihuang.shi <huihuang.shi@intel.com> |
528,676 | 24.05.2018 10:15:17 | -28,800 | d3ef8ae5cb08e3c5577c43bfa2ba4ce9b9b0b4cd | fix "warning ISO C forbids omitting the middle term of a?:expression"
According to the C99 manual 6.5.15
syntax conditional-expression
logical-OR-expression
logical-OR-expression ? expression :conditional-expression
above bnf rules requires expression not be none | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/ucode.c",
"new_path": "hypervisor/arch/x86/guest/ucode.c",
"diff": "@@ -50,7 +50,8 @@ uint64_t get_microcode_version(void)\n* According to SDM vol 3 Table 9-7. If data_size field of uCode\n* header is zero, the ucode length is 2000\n*... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | fix "warning ISO C forbids omitting the middle term of a?:expression"
According to the C99 manual 6.5.15
syntax conditional-expression
logical-OR-expression
logical-OR-expression ? expression :conditional-expression
above bnf rules requires expression not be none
Signed-off-by: huihuang.shi <huihuang.shi@intel.c... |
528,806 | 24.05.2018 03:16:57 | 18,000 | 9563e248b7846efaf2ad2143c37a493da698d4a0 | samples: move samples to specifi platform diretory
Move the platform apl-mrb samples to devicemodel samples directory.
Add the install target to the missing samples files and re-organize the
samples directory structure to have nuc and apl-mrb samples.
Suggested-by: Arzhan Kinzhalin | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/Makefile",
"new_path": "devicemodel/Makefile",
"diff": "@@ -114,7 +114,8 @@ DISTCLEAN_OBJS := $(shell find $(BASEDIR) -name '*.o')\nPROGRAM := acrn-dm\n-SAMPLES := $(wildcard samples/*)\n+SAMPLES_NUC := $(wildcard samples/nuc/*)\n+SAMPLES_MRB := $(... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | samples: move samples to specifi platform diretory
Move the platform apl-mrb samples to devicemodel samples directory.
Add the install target to the missing samples files and re-organize the
samples directory structure to have nuc and apl-mrb samples.
Suggested-by: Arzhan Kinzhalin <arzhan.i.kinzhalin@intel.com>
Sign... |
528,806 | 24.05.2018 03:36:32 | 18,000 | 977d48d5504260cee536434e3ed5768e858eef4e | hypervisor: install acrn.efi to /usr/lib
acrn.efi is a binary and need to be installed to /usr/lib instead of
/usr/share.
Suggested-by: Arzhan Kinzhalin | [
{
"change_type": "MODIFY",
"old_path": "doc/getting_started/index.rst",
"new_path": "doc/getting_started/index.rst",
"diff": "@@ -125,7 +125,7 @@ partition. Follow these steps:\n.. code-block:: none\n# mkdir /mnt/EFI/acrn\n- # cp /usr/share/acrn/acrn.efi /mnt/EFI/acrn/\n+ # cp /usr/lib/acrn/acrn.efi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hypervisor: install acrn.efi to /usr/lib
acrn.efi is a binary and need to be installed to /usr/lib instead of
/usr/share.
Suggested-by: Arzhan Kinzhalin <arzhan.i.kinzhalin@intel.com>
Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com> |
528,806 | 24.05.2018 03:45:21 | 18,000 | 364b24224ab96ae9c13d3e12fb8597a6cd745a3a | hypervisor: install acrn.32.out to /usr/lib/acrn/acrn.sbl
Add a target in the make file to install the 32bit ELF acrn binary
and rename to acrn.sbl
Suggested-by: Arzhan Kinzhalin | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -185,6 +185,11 @@ install: efi\nmake -C bsp/uefi/efi HV_OBJDIR=$(HV_OBJDIR) RELEASE=$(RELEASE) install\nendif\n+ifeq ($(PLATFORM), sbl)\n+install: $(VERSION) $(HV_OBJDIR)/$(HV_FILE).32.out\n+... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hypervisor: install acrn.32.out to /usr/lib/acrn/acrn.sbl
Add a target in the make file to install the 32bit ELF acrn binary
and rename to acrn.sbl
Suggested-by: Arzhan Kinzhalin <arzhan.i.kinzhalin@intel.com>
Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com> |
528,806 | 24.05.2018 04:39:59 | 18,000 | 7811bdd51eaa5506e51ec4ddcc6b2c0c13d5f5d6 | Makefile: add a target to build sbl hypervisor
To build with only one command the sbl and efi hypervisor a target was
added which build the SBL hypervisor version.
Now you can call "make all sbl-hypervisor" and
"make install sbl-hypervisor-install" | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -17,6 +17,11 @@ hypervisor:\nmake -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLATFORM) RELEASE=$(RELEASE) clean\nmake -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLATFORM) RELEASE=$(RELEASE)\n+sbl-hyp... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Makefile: add a target to build sbl hypervisor
To build with only one command the sbl and efi hypervisor a target was
added which build the SBL hypervisor version.
Now you can call "make all sbl-hypervisor" and
"make install sbl-hypervisor-install"
Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.... |
528,654 | 21.05.2018 14:17:47 | -28,800 | 57d0bf3b7c628e30e6997b76967d0733f8d09fe0 | hv: refine bitops
Rename bitmap_clr to bitmap_clear
Rename bitmap_isset to bitmap_test
Remove bitmap_setof
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -685,7 +685,7 @@ void cpu_dead(uint32_t logical_id)\n/* Set state to show CPU is halted */\ncpu_set_current_state(logical_id, CPU_STATE_HALTED);\n- bitmap_clr(get_cpu_id(), &pcpu_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: refine bitops
Rename bitmap_clr to bitmap_clear
Rename bitmap_isset to bitmap_test
Remove bitmap_setof
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,654 | 22.05.2018 12:03:02 | -28,800 | efb60e27269474a10e3d3afd5b49db1cb7dc8e02 | hv: refine bit scan API
Rename
bsrl to bsr
bsrq to bsr64
bitmap_ffs to fls64
get_first_zero_bit to ffz64
Remove
ffsl | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/guest.c",
"new_path": "hypervisor/arch/x86/guest/guest.c",
"diff": "@@ -97,7 +97,7 @@ inline uint64_t vcpumask2pcpumask(struct vm *vm, uint64_t vdmask)\nuint64_t dmask = 0;\nstruct vcpu *vcpu;\n- while ((vcpu_id = bitmap_ffs(&vdmask))... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: refine bit scan API
Rename
bsrl to bsr
bsrq to bsr64
bitmap_ffs to fls64
get_first_zero_bit to ffz64
Remove
ffsl
Signed-off-by: Li, Fei1 <fei1.li@intel.com> |
528,654 | 22.05.2018 13:51:36 | -28,800 | 34445008c2fc0665f8b95f2a95635b29d59deb71 | hv: add non-lock bitmap operation
Add __bitmap_set/clear,
__bitmap_test_and_set/clear.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -431,7 +431,7 @@ void bsp_boot_init(void)\nVMX_MACHINE_T_GUEST_SPEC_CTRL_OFFSET,\n\"run_context ia32_spec_ctrl offset not match\");\n- bitmap_set(CPU_BOOT_ID, &pcpu_active_bitmap)... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: add non-lock bitmap operation
Add __bitmap_set/clear,
__bitmap_test_and_set/clear.
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,675 | 24.05.2018 14:16:30 | -28,800 | 1b34870824b661b04ae3606800be4b063962e196 | guest: quick fix for copy_from/to_vm
h_ptr need update from second page walk | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/guest.c",
"new_path": "hypervisor/arch/x86/guest/guest.c",
"diff": "@@ -148,6 +148,7 @@ int copy_from_vm(struct vm *vm, void *h_ptr, uint64_t gpa, uint32_t size)\ng_ptr = HPA2HVA(hpa);\nmemcpy_s(h_ptr, len, g_ptr, len);\ngpa += len;\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | guest: quick fix for copy_from/to_vm
h_ptr need update from second page walk
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,768 | 24.05.2018 22:16:13 | -28,800 | fc93c649d5283c9fd37a40a08e2bc0a52b38bc43 | DM: validate port range explicitly in inout.c
check the port address range explicitly
to avoid buffer overflow. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/inout.c",
"new_path": "devicemodel/core/inout.c",
"diff": "@@ -45,7 +45,7 @@ SET_DECLARE(inout_port_set, struct inout_port);\n#define MAX_IOPORTS (1 << 16)\n#define VERIFY_IOPORT(port, size) \\\n- assert((port) >= 0 && (size) > 0 && ((port) + ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: validate port range explicitly in inout.c
- check the port address range explicitly
to avoid buffer overflow.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,704 | 17.05.2018 12:28:26 | -32,400 | 6e1582452d7905822b1f654c4ce450a99f962ee0 | doc: Getting Started Guide for UP2 board | [
{
"change_type": "ADD",
"old_path": "doc/getting_started/images/up2-gui.png",
"new_path": "doc/getting_started/images/up2-gui.png",
"diff": "Binary files /dev/null and b/doc/getting_started/images/up2-gui.png differ\n"
},
{
"change_type": "MODIFY",
"old_path": "doc/index.rst",
"new_p... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: Getting Started Guide for UP2 board
Signed-off-by: Kien Dinh <kien.t.dinh@intel.com> |
528,747 | 21.05.2018 21:16:26 | 25,200 | 91f7391ad801465a5a2fdf35afb6558ed020d23b | doc: move DM memory setup to GSG
DM memory allocation mechanism is better placed in the Getting Started
material, so move it there from the primer. | [
{
"change_type": "MODIFY",
"old_path": "doc/getting_started/index.rst",
"new_path": "doc/getting_started/index.rst",
"diff": "@@ -311,6 +311,42 @@ Set up Reference UOS\n:name: gsg-successful-boot\n+Device Manager memory allocation mechanism\n+==========================================\n+\n+There are... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: move DM memory setup to GSG
DM memory allocation mechanism is better placed in the Getting Started
material, so move it there from the primer.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,767 | 16.05.2018 10:41:33 | -28,800 | 6c4ebe3f2664d15587bd0b489c72f0a5282bd142 | VRPMB-BE: create virtio rpmb backend VBS-U
This patch implements virtio rpmb backend VBS-U component,
it includes the basic module interface with DM. This
component will work with vRPMB FE driver together to
provide one communication channel between UOS and SOS.
Acked-by: Zhu Bing | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/Makefile",
"new_path": "devicemodel/Makefile",
"diff": "@@ -80,6 +80,7 @@ SRCS += hw/pci/virtio/virtio_net.c\nSRCS += hw/pci/virtio/virtio_rnd.c\nSRCS += hw/pci/virtio/virtio_hyper_dmabuf.c\nSRCS += hw/pci/virtio/virtio_heci.c\n+SRCS += hw/pci/virt... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | VRPMB-BE: create virtio rpmb backend VBS-U
This patch implements virtio rpmb backend VBS-U component,
it includes the basic module interface with DM. This
component will work with vRPMB FE driver together to
provide one communication channel between UOS and SOS.
Signed-off-by: weideng <wei.a.deng@intel.com>
Signed-of... |
528,767 | 16.05.2018 10:43:29 | -28,800 | b6bec540f747a8071c2dd081cd0b190c58bc7e04 | VRPMB-BE: add RPMB protocol
This patch implements RPMB protocol into vRPMB backend
VBS-U. It will handle RPMB request from VRPMB FE.
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 <fcntl.h>\n#include <sys/ioctl.h>\n#include <linux/types.h>\n+#include <rpmb.h>\n#define VIRTIO_RPMB_RINGSZ 64\n@@ -63,6 +64,8 @@ static int virt... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | VRPMB-BE: add RPMB protocol
This patch implements RPMB protocol into vRPMB backend
VBS-U. It will handle RPMB request from VRPMB FE.
Signed-off-by: weideng <wei.a.deng@intel.com>
Signed-off-by: yingbinx <yingbinx.zeng@intel.com>
Acked-by: Zhu Bing <bing.zhu@intel.com> |
528,786 | 15.05.2018 14:28:38 | -28,800 | 76d244137889d254c38423740963d1b1010a7515 | DM: Generate vRPMB key when creating UOS
Generate virtual RPMB key and pass it to HV when
creating UOS.
Acked-by: Zhu Bing | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/Makefile",
"new_path": "devicemodel/Makefile",
"diff": "@@ -103,6 +103,7 @@ SRCS += core/vmmapi.c\nSRCS += core/mptbl.c\nSRCS += core/main.c\nSRCS += core/hugetlb.c\n+SRCS += core/vrpmb.c\n# arch\nSRCS += arch/x86/pm.c\n"
},
{
"change_type"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Generate vRPMB key when creating UOS
Generate virtual RPMB key and pass it to HV when
creating UOS.
Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Acked-by: Zhu Bing <bing.zhu@intel.com> |
528,716 | 22.05.2018 17:42:57 | 14,400 | e6d57f439fca92c91d53d084d269e8776e8cf952 | DM: Add simulated RPMB support
Create file as simulated RPMB storage for pre-production usage.
Add RPMB APIs to emulate behavior of physical RPMB controllor.
Acked-by: Zhu Bing | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/Makefile",
"new_path": "devicemodel/Makefile",
"diff": "@@ -81,6 +81,7 @@ SRCS += hw/pci/virtio/virtio_rnd.c\nSRCS += hw/pci/virtio/virtio_hyper_dmabuf.c\nSRCS += hw/pci/virtio/virtio_heci.c\nSRCS += hw/pci/virtio/virtio_rpmb.c\n+SRCS += hw/pci/vir... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Add simulated RPMB support
Create file as simulated RPMB storage for pre-production usage.
Add RPMB APIs to emulate behavior of physical RPMB controllor.
Signed-off-by: Huang Yang <yang.huang@intel.com>
Signed-off-by: Du Min <minx.du@intel.com>
Acked-by: Zhu Bing <bing.zhu@intel.com> |
528,756 | 17.05.2018 16:06:59 | -28,800 | 11208dd6d5ccdaf99a326c245e9b28cb8a69c61c | IOC mediator: Implement state transfer framework
Implements state transfer framework to support IOC lifecycle virtualization.
Four states will be involved in this framework includes INIT, ACTIVE,SUSPENDING and
SUSPENDED.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/ioc.c",
"new_path": "devicemodel/hw/platform/ioc.c",
"diff": "@@ -139,6 +139,59 @@ static int dummy1_sfd = -1;\nstatic int dummy2_sfd = -1;\n#endif\n+/*\n+ * IOC State Transfer\n+ *\n+ * +-----------+ RESUME EVENT +-----------+\n+ * | I... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | IOC mediator: Implement state transfer framework
Implements state transfer framework to support IOC lifecycle virtualization.
Four states will be involved in this framework includes INIT, ACTIVE,SUSPENDING and
SUSPENDED.
Signed-off-by: Liu Yuan <yuan1.liu@intel.com>
Reviewed-by: Wang Yu <yu1.wang@intel.com>
Reviewed-... |
528,756 | 23.05.2018 09:44:21 | -28,800 | 0b7af5b6e1bc8572083b9644ab4465ac3f3a5296 | IOC mediator: Implement state transfer operations
This patch implements INIT, ACTIVE, SUSPENDING and SUSPENDED operations of
IOC mediator lifecycle virtualization.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/ioc.c",
"new_path": "devicemodel/hw/platform/ioc.c",
"diff": "@@ -767,14 +767,33 @@ cbc_request_dequeue(struct ioc_dev *ioc, enum cbc_queue_type qtype)\nreturn free;\n}\n+/*\n+ * Send a cbc_request to TX handler\n+ */\n+static int\n+sen... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | IOC mediator: Implement state transfer operations
This patch implements INIT, ACTIVE, SUSPENDING and SUSPENDED operations of
IOC mediator lifecycle virtualization.
Signed-off-by: Liu Yuan <yuan1.liu@intel.com>
Reviewed-by: Wang Yu <yu1.wang@intel.com>
Reviewed-by: Liu Shuo <shuo.a.liu@intel.com>
Acked-by: Eddie Dong ... |
528,676 | 24.05.2018 12:09:21 | -28,800 | 2f3953a99ae8e5c0613fc0db0749f7842be5ad2a | fix "warning:ISO C forbids 'return' with expression,in function returning void"
returning void function must return void. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vlapic.c",
"new_path": "hypervisor/arch/x86/guest/vlapic.c",
"diff": "@@ -1112,8 +1112,10 @@ vlapic_intr_accepted(struct vlapic *vlapic, int vector)\nstruct lapic_reg *irrptr, *isrptr;\nint idx, stk_top;\n- if (vlapic->ops.apicv_intr_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | fix "warning:ISO C forbids 'return' with expression,in function returning void"
returning void function must return void.
Signed-off-by: huihuang.shi <huihuang.shi@intel.com> |
528,768 | 24.05.2018 18:21:41 | -28,800 | 71975d63fd3390fd3c087e0b19658ae4e6bd712b | DM: using 'strncpy' coding style cleanup
check buffer boundaries to avoid buffer overflow | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/hugetlb.c",
"new_path": "devicemodel/core/hugetlb.c",
"diff": "@@ -108,6 +108,7 @@ static int open_hugetlbfs(struct vmctx *ctx, int level)\nchar uuid_str[48];\nuint8_t UUID[16];\nchar *path;\n+ size_t len;\nstruct statfs fs;\nif (level >= HUGE... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: using 'strncpy' coding style cleanup
- check buffer boundaries to avoid buffer overflow
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,676 | 24.05.2018 11:04:26 | -28,800 | 784eb6f1893abf38f24a37e0e6b61998b5935dea | fix "warning:range expression in switch statements are not standard"
Range expression in switch statement is in gcc extension standard(gcc
manual 6.28),not in c99 standard.
GCC manual 6.28 reference link below:
(https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/Case-Ranges.html#Case-Ranges) | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vlapic.c",
"new_path": "hypervisor/arch/x86/guest/vlapic.c",
"diff": "@@ -425,7 +425,12 @@ vlapic_get_lvtptr(struct vlapic *vlapic, uint32_t offset)\nswitch (offset) {\ncase APIC_OFFSET_CMCI_LVT:\nreturn &lapic->lvt_cmci;\n- case APIC... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | fix "warning:range expression in switch statements are not standard"
Range expression in switch statement is in gcc extension standard(gcc
manual 6.28),not in c99 standard.
GCC manual 6.28 reference link below:
(https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/Case-Ranges.html#Case-Ranges)
Signed-off-by: huihuang.shi <hu... |
528,806 | 25.05.2018 14:19:12 | 18,000 | a28c75f5edf60d012e415dc767f0c7284a9d7589 | doc: fix references from scripts
The sambles scripts where moved to another directory but did not update
all the references in the documentation.
Fixes: ("hypervisor: install acrn.efi to /usr/lib")
Fixes: ("samples: move samples to specifi platform diretory") | [
{
"change_type": "MODIFY",
"old_path": "doc/getting_started/index.rst",
"new_path": "doc/getting_started/index.rst",
"diff": "@@ -223,13 +223,13 @@ Without a network bridge, the SOS and UOS are not able to talk to each\nother.\nA sample `bridge.sh\n-<https://github.com/projectacrn/acrn-hypervisor/de... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix references from scripts
The sambles scripts where moved to another directory but did not update
all the references in the documentation.
Fixes: 977d48d55042 ("hypervisor: install acrn.efi to /usr/lib")
Fixes: 9563e248b784 ("samples: move samples to specifi platform diretory")
Signed-off-by: Miguel Bernal Ma... |
528,722 | 28.05.2018 13:40:59 | -28,800 | 3b616010e06847104de4d7cfdf9314f6aff1d9e4 | hv: handle the case of empty hypervisor cmdline
Fix a bug:
When the hypervisor cmdline is empty, the hypervisor will be
unable to boot up. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/bsp/uefi/efi/boot.c",
"new_path": "hypervisor/bsp/uefi/efi/boot.c",
"diff": "@@ -368,17 +368,15 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *_table)\n*/\ncmdline16 = StrDuplicate(options);\nbootloader_name = strstr_16(cmdline16, bootloader_param)... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: handle the case of empty hypervisor cmdline
Fix a bug:
When the hypervisor cmdline is empty, the hypervisor will be
unable to boot up.
Signed-off-by: Jack Ren <jack.ren@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,659 | 19.04.2018 21:45:36 | -28,800 | 2d1fb7e480bd46cc270d3fa269e704a6850b741f | DM USB: move the UREQ macro into common header
move the UREQ macro from usb_mouse.c to usb.h
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/usb_mouse.c",
"new_path": "devicemodel/hw/platform/usb_mouse.c",
"diff": "@@ -310,8 +310,6 @@ umouse_init(void *pdata, char *opt)\nreturn dev;\n}\n-#define UREQ(x, y) ((x) | ((y) << 8))\n-\nstatic int\numouse_request(void *scarg, struct... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: move the UREQ macro into common header
move the UREQ macro from usb_mouse.c to usb.h
Change-Id: I977cf73291610b0448eb031a500788a397b55f88
Signed-off-by: Wu, Xiaoguang <xiaoguang.wu@intel.com>
Reviewed-by: Shuo Liu <shuo.a.liu@intel.com>
Reviewed-by: Yu Wang <yu1.wang@intel.com>
Reviewed-by: Zhao Yakui <yakui.... |
528,659 | 19.04.2018 21:50:10 | -28,800 | b12527f35ddf32896270f84f1d60c19b69bf318d | DM USB: add libusb error conversion function
Add a function to covert libusb error to the common USB core
error type.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/usb_pmapper.c",
"new_path": "devicemodel/hw/platform/usb_pmapper.c",
"diff": "static struct usb_dev_sys_ctx_info g_ctx;\n+static inline int\n+usb_dev_err_convert(int err)\n+{\n+ switch (err) {\n+ case LIBUSB_ERROR_TIMEOUT: return USB_ER... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: add libusb error conversion function
Add a function to covert libusb error to the common USB core
error type.
Change-Id: Icb03fae2acdc914b3d32a5942faf7d79793a4bee
Signed-off-by: Wu, Xiaoguang <xiaoguang.wu@intel.com>
Reviewed-by: Shuo Liu <shuo.a.liu@intel.com>
Reviewed-by: Yu Wang <yu1.wang@intel.com>
Review... |
528,659 | 17.05.2018 11:09:56 | -28,800 | caf4916e9997bc5b57167e8f1869b4d062ee2688 | DM USB: xHCI: Support control transfer for USB port mapper.
This patch implements the control transfer for port mapper. With this
patch, USB2.0 device can be enumerated successfully in user OS.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -427,10 +427,10 @@ pci_xhci_dev_create(struct pci_xhci_vdev *xdev, void *dev_data)\n/* TODO: following function pointers will be populated in future */\nue->ue_init = usb_dev_init... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: xHCI: Support control transfer for USB port mapper.
This patch implements the control transfer for port mapper. With this
patch, USB2.0 device can be enumerated successfully in user OS.
Change-Id: I567bd00ca310d68375acd94a5cc5bcd287665df1
Signed-off-by: Wu, Xiaoguang <xiaoguang.wu@intel.com>
Reviewed-by: Shuo... |
528,659 | 17.05.2018 11:14:51 | -28,800 | 3b6392740ee765da87cbbc35787caf9fcf14405d | DM USB: xHCI: DM USB: xHCI: Support port change event for hot connection
This patch implements the port change event related function, it
triggered when USB device be hot plugged in.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -319,6 +319,9 @@ static void pci_xhci_init_port(struct pci_xhci_vdev *xdev, int portn);\nstatic struct pci_xhci_dev_emu *pci_xhci_dev_create(struct pci_xhci_vdev *\nxdev, void *de... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: xHCI: DM USB: xHCI: Support port change event for hot connection
This patch implements the port change event related function, it
triggered when USB device be hot plugged in.
Change-Id: I065c1e93779f85f8ee6031960e129b59146e1bb7
Signed-off-by: Wu, Xiaoguang <xiaoguang.wu@intel.com>
Reviewed-by: Shuo Liu <shuo.... |
528,659 | 15.04.2018 23:52:31 | -28,800 | 7687a3d0d78a0e773fb37581e98e59718eec7574 | DM USB: xHCI: support bulk and interrupt transfer for port mapper
Support USB mouse, USB keyboard and USB flash drive by enabling the
USB bulk and interrupt transfer for port mapper.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -322,6 +322,9 @@ static void pci_xhci_dev_destroy(struct pci_xhci_dev_emu *de);\nstatic int pci_xhci_port_chg(struct pci_xhci_vdev *xdev, int port, int conn);\nstatic void pci_xhc... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: xHCI: support bulk and interrupt transfer for port mapper
Support USB mouse, USB keyboard and USB flash drive by enabling the
USB bulk and interrupt transfer for port mapper.
Change-Id: Ia202729e0cfb26fb44a6b278cf4306f2b0b6fa36
Signed-off-by: Wu, Xiaoguang <xiaoguang.wu@intel.com>
Reviewed-by: Shuo Liu <shuo.... |
528,659 | 10.04.2018 19:04:52 | -28,800 | 0181d19a61aa5d802da0b331c9b216f9feaf1c44 | DM USB: xHCI: support USB hot plug out.
Implements the disconnect callback of libusb which will be called once
USB device plug out.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -325,6 +325,7 @@ static void pci_xhci_set_evtrb(struct xhci_trb *evtrb, uint64_t port,\nstatic int pci_xhci_xfer_complete(struct pci_xhci_vdev *xdev,\nstruct usb_data_xfer *xfer, ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: xHCI: support USB hot plug out.
Implements the disconnect callback of libusb which will be called once
USB device plug out.
Change-Id: Ic5f072f08a92270e6e5836b49e5066da783af243
Signed-off-by: Wu, Xiaoguang <xiaoguang.wu@intel.com>
Reviewed-by: Shuo Liu <shuo.a.liu@intel.com>
Reviewed-by: Yu Wang <yu1.wang@int... |
528,659 | 21.05.2018 14:13:36 | -28,800 | 6449950cccfb4801ef32117129382d2c0155ae96 | DM USB: xHCI: add xHCI de-initialization support
add support for xHCI de-initialization when the guest
dose shutdown or reboot.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -3321,9 +3321,44 @@ done:\nreturn error;\n}\n+static void\n+pci_xhci_deinit(struct vmctx *ctx, struct pci_vdev *dev, char *opts)\n+{\n+ int i;\n+ struct pci_xhci_vdev *xdev;\n+ st... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: xHCI: add xHCI de-initialization support
add support for xHCI de-initialization when the guest
dose shutdown or reboot.
Change-Id: I3dfc1ed1a905b455ef455dff2065e872aa5c1ef8
Signed-off-by: Wu, Xiaoguang <xiaoguang.wu@intel.com>
Reviewed-by: Shuo Liu <shuo.a.liu@intel.com>
Reviewed-by: Yu Wang <yu1.wang@intel.c... |
528,716 | 23.05.2018 19:09:34 | 14,400 | c3793e19ed2986574949a612e224e53e4e2d3f64 | DM sample: update uos launch script for virtio rpmb
Added virtio-rpmb for launch android
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -274,6 +274,7 @@ fi\n-s 3,virtio-blk$boot_dev_flag,/data/$5/$5.img \\\n-s 7,passthru,0/15/0 \\\n-s 8,passthru,0/15/1 \\\n+ -s 13,virtio-rpmb \\\n-s... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM sample: update uos launch script for virtio rpmb
Added virtio-rpmb for launch android
Signed-off-by: weideng <wei.a.deng@intel.com>
Signed-off-by: yingbinx <yingbinx.zeng@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,763 | 25.05.2018 12:51:38 | -28,800 | b19d936356ec74d5ae09206253bca965f14e904b | DM: refuse passthrough PCIe without reset support
Check reset method for PCIe dev according to 'reset' in sysfs, which
indicates reset capability, like FLR and secondary bus reset. PCIe dev
without reset capability is refused for passthrough to avoid failure
after UOS reboot.
Acked-by: Kevin Tian | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/passthrough.c",
"new_path": "devicemodel/hw/pci/passthrough.c",
"diff": "#include <stdbool.h>\n#include <string.h>\n#include <err.h>\n+#include <errno.h>\n#include <fcntl.h>\n#include <sysexits.h>\n#include <unistd.h>\n@@ -102,6 +103,7 @@ st... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: refuse passthrough PCIe without reset support
Check reset method for PCIe dev according to 'reset' in sysfs, which
indicates reset capability, like FLR and secondary bus reset. PCIe dev
without reset capability is refused for passthrough to avoid failure
after UOS reboot.
Signed-off-by: Edwin Zhai <edwin.zhai@int... |
528,763 | 25.05.2018 20:38:31 | -28,800 | 4b4e1e1c59956a59a8c6754ae9cca4e078279320 | DM: Add option of no check against ptdev reset
With '--ptdev_no_reset', DM doen not abort but warn when assign PCIe
dev without reset capability.
Acked-by: Kevin Tian | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "@@ -162,7 +162,8 @@ usage(int code)\n\" -i: ioc boot parameters\\n\"\n\" --vsbl: vsbl file path\\n\"\n\" --part_info: guest partition info file path\\n\"\n- \" --enable_trusty: enable tr... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Add option of no check against ptdev reset
With '--ptdev_no_reset', DM doen not abort but warn when assign PCIe
dev without reset capability.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.com> |
528,676 | 28.05.2018 10:54:24 | -28,800 | b9660eb9d6b2e38b1472268736cdd723ca6927a7 | refomatted GET_DATA_SIZE macro
The macro GET_DATA_SIZE's code style is not correct,
it is merged by accident,the Pull Request
<fix "obsolete use of designated initializer without '='">
have two commid id,the second commit changed the ucode.c
by mistake.
Now fixed. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/ucode.c",
"new_path": "hypervisor/arch/x86/guest/ucode.c",
"diff": "@@ -47,8 +47,8 @@ uint64_t get_microcode_version(void)\n* According to SDM vol 3 Table 9-7. If data_size field of uCode\n* header is zero, the ucode length is 2000\n*... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | refomatted GET_DATA_SIZE macro
The macro GET_DATA_SIZE's code style is not correct,
it is merged by accident,the Pull Request
<fix "obsolete use of designated initializer without '='">
have two commid id,the second commit changed the ucode.c
by mistake.
Now fixed.
Signed-off-by: huihuang.shi <huihuang.shi@intel.com> |
528,665 | 28.05.2018 11:53:09 | -28,800 | 11abe6e81e27cf989b2939a9e7fcaf6544b9d3b1 | tools: acrnctl: fix possibility of buffer overflow
Replace strcpy with strncpy to avoid possibility of buffer overflow | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/acrnctl.c",
"new_path": "tools/acrn-manager/acrnctl.c",
"diff": "#include \"monitor_msg.h\"\n#define ACRNCTL_OPT_ROOT \"/opt/acrn/conf\"\n+#define MAX_NAME_LEN (128)\n/* helper functions */\nstatic int shell_cmd(const char *cmd, char *outbuf... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrnctl: fix possibility of buffer overflow
Replace strcpy with strncpy to avoid possibility of buffer overflow
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,665 | 28.05.2018 16:24:43 | -28,800 | 26b089932c854bd939675d52cb4b607445debdc1 | tools: acrnctl: Properly null-terminate cmd_out and buf
Library function strtok_r and printf accept a string with the constraint that
the string they receive is properly null-terminated. | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/acrnctl.c",
"new_path": "tools/acrn-manager/acrnctl.c",
"diff": "@@ -145,6 +145,7 @@ static void vmm_update(void)\nchar *vmname;\nchar *pvmname = NULL;\nstruct vmm_struct *s;\n+ size_t len = sizeof(cmd_out);\nsnprintf(cmd, sizeof(cmd),\n\"fi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrnctl: Properly null-terminate cmd_out and buf
Library function strtok_r and printf accept a string with the constraint that
the string they receive is properly null-terminated.
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,683 | 29.05.2018 22:26:37 | -28,800 | 5b1c536eeeb1968ed6335fc3082de7c1fbd79185 | DM sample: update sos/uos boot arg to let Android UOS see two displays
Android HWC has problem when only see one display, then this is
workaround patch to make Android HDMI2 display normal.
V2: only change AaaG UOS kernel boot arg | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -352,7 +352,7 @@ case $launch_type in\nlaunch_clearlinux 1 3 \"64 448 8\" 0x000C00 clearlinux 1 $debug\n;;\n6) echo \"Launch android UOS\"\n- launc... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM sample: update sos/uos boot arg to let Android UOS see two displays
Android HWC has problem when only see one display, then this is
workaround patch to make Android HDMI2 display normal.
V2: only change AaaG UOS kernel boot arg
Signed-off-by: Fei Jiang <fei.jiang@intel.com> |
528,758 | 24.05.2018 22:21:16 | -7,200 | f4b9412013734c13176f95ff0aef2124192f3bd0 | fix acrntrace README
fix acrnlog README
Fix acrn-manager README | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/README.rst",
"new_path": "tools/acrn-manager/README.rst",
"diff": "-acrnctl\n-#######\n+``acrnctl``\n+===========\n+\nDESCRIPTION\n-###########\n-acrnctl: The acrnctl can help user to create, delete, launch and stop UOSs.\n-It runs under Ser... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | fix acrntrace README
fix acrnlog README
Fix acrn-manager README
Signed-off-by: T <shrmrf@users.noreply.github.com> |
528,728 | 23.05.2018 13:58:43 | -7,200 | 81a24962181ae0af17f169e712f41d2d18852dcc | Getting Started Guide: add build instructions for the ACRN tools
This adds basic information about the new ACRN tools that have
been integrated in the the acrn-hypervisor repo (under tools/).
It also adds the build dependencies for those tools in the
different development environment that we reference. | [
{
"change_type": "MODIFY",
"old_path": "doc/getting_started/index.rst",
"new_path": "doc/getting_started/index.rst",
"diff": "@@ -374,7 +374,15 @@ each with their own way to install development tools:\ngnu-efi \\\nlibssl-dev \\\nlibpciaccess-dev \\\n- uuid-dev\n+ uuid-dev \\\n+ libsystemd-dev \\\n+ ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Getting Started Guide: add build instructions for the ACRN tools
This adds basic information about the new ACRN tools that have
been integrated in the the acrn-hypervisor repo (under tools/).
It also adds the build dependencies for those tools in the
different development environment that we reference.
Signed-off-by... |
528,716 | 27.05.2018 15:35:07 | 14,400 | c7d1460dfb5551afa65d223db0186ae32a941279 | DM: Fix potential overflow and return value issues
Fix by a fixed string length and correcting return value | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/rpmb_backend.c",
"new_path": "devicemodel/hw/pci/virtio/rpmb_backend.c",
"diff": "@@ -42,13 +42,15 @@ static int virtio_rpmb_debug = 1;\n#define DPRINTF(params) do { if (virtio_rpmb_debug) printf params; } while (0)\n#define WPRINTF(p... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Fix potential overflow and return value issues
Fix by a fixed string length and correcting return value
Signed-off-by: Huang Yang <yang.huang@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,716 | 27.05.2018 17:28:02 | 14,400 | dc566ab3acefca47bc8c9c5dbc298223eb307c7e | DM: refine vRPMB logs
Remove unused logs and correct spelling | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/rpmb_backend.c",
"new_path": "devicemodel/hw/pci/virtio/rpmb_backend.c",
"diff": "@@ -206,7 +206,7 @@ static int rpmb_check_frame(const char *cmd_str, int *err,\nif (addr && !memcmp(cmd_str, WRITE_DATA_STR, sizeof(WRITE_DATA_STR))) {\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: refine vRPMB logs
Remove unused logs and correct spelling
Signed-off-by: Huang Yang <yang.huang@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,716 | 27.05.2018 17:32:06 | 14,400 | 7003e50e4e9d8ba30587def2bd139ac0a17f03e2 | DM: Refactor RPMB files
Move rpmb_sim.c and rpmb_backend.c to hw/platform/rpmb/ | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/Makefile",
"new_path": "devicemodel/Makefile",
"diff": "@@ -68,6 +68,8 @@ SRCS += hw/platform/ioc.c\nSRCS += hw/platform/ioc_cbc.c\nSRCS += hw/platform/acpi/acpi.c\nSRCS += hw/platform/acpi/acpi_pm.c\n+SRCS += hw/platform/rpmb/rpmb_sim.c\n+SRCS += ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Refactor RPMB files
Move rpmb_sim.c and rpmb_backend.c to hw/platform/rpmb/
Signed-off-by: Huang Yang <yang.huang@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,675 | 25.05.2018 12:29:00 | -28,800 | 46071773834804fa26251e033a4eb27a632f9b42 | replace pending_intr with pending_req
the pending_intr is not only serving for interrupt but also for different
request including TLB & TMR updating, so change the function & variants
name accordingly.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/interrupt.c",
"new_path": "hypervisor/arch/x86/interrupt.c",
"diff": "@@ -111,12 +111,12 @@ static bool vcpu_pending_request(struct vcpu *vcpu)\nvcpu_make_request(vcpu, ACRN_REQUEST_EVENT);\n}\n- return vcpu->arch_vcpu.pending_intr != 0;\n+... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | replace pending_intr with pending_req
the pending_intr is not only serving for interrupt but also for different
request including TLB & TMR updating, so change the function & variants
name accordingly.
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,675 | 28.05.2018 13:00:04 | -28,800 | 44af2690f6c21f3b8a1a95442f52d04c52695e4e | add triple fault request support
if vcpu meet triple fault, the vcpu should exit.
Acked-by: Tian, Kevin | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/interrupt.c",
"new_path": "hypervisor/arch/x86/interrupt.c",
"diff": "@@ -304,6 +304,11 @@ int acrn_handle_pending_request(struct vcpu *vcpu)\nbool intr_pending = false;\nuint64_t *pending_req_bits = &vcpu->arch_vcpu.pending_req;\n+ if (bit... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | add triple fault request support
if vcpu meet triple fault, the vcpu should exit.
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Tian, Kevin <kevin.tian@intel.com> |
528,675 | 28.05.2018 13:04:48 | -28,800 | 277830aba89a2e1155122a4922a2e3bd97520924 | exception: add vcpu_queue_exception function
add func vcpu_queue_exception to queue exception based on SDM Vol3 Table 6-5,
which may cause #DF or triple fault
Acked-by: Tian, Kevin | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/interrupt.c",
"new_path": "hypervisor/arch/x86/interrupt.c",
"diff": "#define ACRN_DBG_INTR 6\n+#define EXCEPTION_CLASS_BENIGN 1\n+#define EXCEPTION_CLASS_CONT 2\n+#define EXCEPTION_CLASS_PF 3\n+\nstatic const uint16_t exception_type[] = {\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | exception: add vcpu_queue_exception function
add func vcpu_queue_exception to queue exception based on SDM Vol3 Table 6-5,
which may cause #DF or triple fault
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Tian, Kevin <kevin.tian@intel.com> |
528,675 | 28.05.2018 13:29:55 | -28,800 | 75a03bf0f7fec9b5f034433752ef9d45bdc49894 | exception: use func vcpu_queue_exception to inject exception
use func vcpu_queue_exception for vcpu_inject_gp and exception_vmexit_handler.
Acked-by: Tian, Kevin | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vlapic.c",
"new_path": "hypervisor/arch/x86/guest/vlapic.c",
"diff": "@@ -930,7 +930,7 @@ vlapic_set_cr8(struct vlapic *vlapic, uint64_t val)\nuint8_t tpr;\nif (val & ~0xf) {\n- vcpu_inject_gp(vlapic->vcpu);\n+ vcpu_inject_gp(vlapic->... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | exception: use func vcpu_queue_exception to inject exception
use func vcpu_queue_exception for vcpu_inject_gp and exception_vmexit_handler.
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Tian, Kevin <kevin.tian@intel.com> |
528,675 | 25.05.2018 14:02:50 | -28,800 | 77183380082b6eaf0f6ffa28b73501623451bf3b | exception: add vcpu_inject_pf support
add page fault exception injection support
Acked-by: Tian, Kevin | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/interrupt.c",
"new_path": "hypervisor/arch/x86/interrupt.c",
"diff": "@@ -322,6 +322,16 @@ int vcpu_inject_gp(struct vcpu *vcpu, uint32_t err_code)\nreturn vcpu_make_request(vcpu, ACRN_REQUEST_EXCP);\n}\n+int vcpu_inject_pf(struct vcpu *vcp... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | exception: add vcpu_inject_pf support
add page fault exception injection support
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Tian, Kevin <kevin.tian@intel.com> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.