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,794
17.06.2019 10:27:51
-28,800
f18dfcf52206a897fd16e05194f663328bc2e912
HV: prepare ve820 for apl nuc Add ve820 table for apl nuc board to enable prelaunched VM on it; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/nuc6cayh/ve820.c", "new_path": "hypervisor/arch/x86/configs/nuc6cayh/ve820.c", "diff": "#include <vm.h>\n+#define VE820_ENTRIES_APL_NUC 5U\n+static const struct e820_entry ve820_entry[VE820_ENTRIES_APL_NUC] = {\n+ { /* usable RAM un...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: prepare ve820 for apl nuc Add ve820 table for apl nuc board to enable prelaunched VM on it; Tracked-On: #3214 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
18.06.2019 12:48:23
-28,800
1884bb0551066d52097aa24d3a6ecb2299a34e06
HV: modify HV RAM and serial config for apl-nuc To support grub multiboot for nuc6cayh, we should put hv ram start at a suitable address; Enable HSUART controller at PCI 0:18.0 as HV serail port; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/nuc6cayh.config", "new_path": "hypervisor/arch/x86/configs/nuc6cayh.config", "diff": "# Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib)\nCONFIG_BOARD=\"nuc6cayh\"\n-CONFIG_SERIAL_LEGACY=y\n+# There is no ready-made...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: modify HV RAM and serial config for apl-nuc - To support grub multiboot for nuc6cayh, we should put hv ram start at a suitable address; - Enable HSUART controller at PCI 0:18.0 as HV serail port; Tracked-On: #3214 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,676
10.07.2019 16:40:06
-28,800
304ae38161a1f923107ee9547ed9e934bf8e9685
HV: fix "use -- or ++ operations" ACRN coding guidelines banned -- or ++ operations. V1->V2: add comments to struct stack_frame
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "#include <sprintf.h>\n#include <cat.h>\n+/* stack_frame is linked with the sequence of stack operation in arch_switch_to() */\n+struct stack_frame {\n+ uint64_t rdi;\n+...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: fix "use -- or ++ operations" ACRN coding guidelines banned -- or ++ operations. V1->V2: add comments to struct stack_frame Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
528,755
04.07.2019 09:22:52
-28,800
b96a3555bc7eec20b83c7478d34fee0f212d1f63
dm: fix some possible memory leak free memory allocated by strdup()
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/block_if.c", "new_path": "devicemodel/hw/block_if.c", "diff": "@@ -660,7 +660,7 @@ blockif_open(const char *optstr, const char *ident)\nif (size < DEV_BSIZE || (size & (DEV_BSIZE - 1))) {\nWPRINTF((\"%s size not corret, should be multiple of %d\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: fix some possible memory leak free memory allocated by strdup() Tracked-On: #3395 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,755
11.07.2019 09:20:01
-28,800
178c016a491211a22193394c38ac9fc86fed012a
tools: fix variable argument list read without ending with va_end va_end() was not getting called under certain condition after the va_start() function call taking the va_list Acked-by: Gang Chen
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/common/log_sys.c", "new_path": "tools/acrn-crashlog/common/log_sys.c", "diff": "@@ -21,10 +21,14 @@ void debug_log(const int level, const char *func, const int line, ...)\nva_start(args, line);\nfmt = va_arg(args, char *);\n- if (!fmt)\n+ i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: fix variable argument list read without ending with va_end va_end() was not getting called under certain condition after the va_start() function call taking the va_list Tracked-On: #3396 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Acked-by: Gang Chen <gang.c.chen@intel.com>
528,755
04.07.2019 15:46:19
-28,800
e749ced4a0b371ce6cc94fb76528ac3f6ea8fd70
dm: remove unsafe apis in dm log sprintf/vsnprintf are not safe, so use snprintf instead of sprintf, use vasprintf instead of vsnprintf.
[ { "change_type": "MODIFY", "old_path": "devicemodel/log/disk_logger.c", "new_path": "devicemodel/log/disk_logger.c", "diff": "@@ -139,7 +139,8 @@ static void write_to_disk(const char *fmt, va_list args)\n{\nchar buffer[DISK_LOG_MAX_LEN];\nchar *file_name = buffer;\n- int len1, len2;\n+ char *buf;\n+...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: remove unsafe apis in dm log sprintf/vsnprintf are not safe, so use snprintf instead of sprintf, use vasprintf instead of vsnprintf. Tracked-On: #3394 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Minggui Cao <minggui.cao@intel.com>
528,755
05.07.2019 09:51:40
-28,800
2d4809e3b1bdbbdc949c934143e86fcff565773e
hv: fix some potential array overflow risk 'pcpu_id' should be less than CONFIG_MAX_PCPU_NUM, else 'per_cpu_data' will overflow. This commit fixes this potential overflow issue.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/assign.c", "new_path": "hypervisor/arch/x86/guest/assign.c", "diff": "@@ -66,7 +66,7 @@ static uint32_t calculate_logical_dest_mask(uint64_t pdmask)\nuint16_t pcpu_id;\npcpu_id = ffs64(pcpu_mask);\n- while (pcpu_id != INVALID_BIT_INDE...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix some potential array overflow risk 'pcpu_id' should be less than CONFIG_MAX_PCPU_NUM, else 'per_cpu_data' will overflow. This commit fixes this potential overflow issue. Tracked-On: #3397 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,659
09.07.2019 20:31:00
-28,800
5686898291a199a2974da25fa05a40105bdf55f6
DM USB: xHCI: change log for convenience of debugging Not change code logic, just modify some logging code. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/usb_pmapper.c", "new_path": "devicemodel/hw/platform/usb_pmapper.c", "diff": "@@ -170,6 +170,7 @@ usb_dev_comp_cb(struct libusb_transfer *trn)\nstruct usb_dev_req *r;\nstruct usb_data_xfer *xfer;\nstruct usb_data_xfer_block *block;\n+ s...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: change log for convenience of debugging Not change code logic, just modify some logging code. Tracked-On: #3401 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,659
09.07.2019 21:24:36
-28,800
32d186ba68ab0757bea8cc2d4b7e3fe0ffe50e2e
DM USB: xHCI: add the resume state for PLS bits Add resume state for the Port Link Status (PLS) bits. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -1323,8 +1323,8 @@ pci_xhci_portregs_write(struct pci_xhci_vdev *xdev,\nUPRINTF(LDBG, \"Port new PLS: %d\\r\\n\", newpls);\nswitch (newpls) {\n- case 0: /* U0 */\n- case 3: /* U3 ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: add the resume state for PLS bits Add resume state for the Port Link Status (PLS) bits. Tracked-On: #3401 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,733
11.07.2019 16:08:25
-28,800
c2d25aafb889ade954af8795df2405a94024d860
pci_vdev: add pci_vdev_ops to pci_vdev It will be used to define pci vdev own ops. And high level API will call this ops intead of invoking device specific functions directly. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/dm/vpci.h", "new_path": "hypervisor/include/dm/vpci.h", "diff": "@@ -64,6 +64,14 @@ union pci_cfgdata {\nuint32_t data_32[(PCI_REGMAX + 1U) >> 4U];\n};\n+struct pci_vdev;\n+struct pci_vdev_ops {\n+ void (*init_vdev)(struct pci_vdev *vdev);\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
pci_vdev: add pci_vdev_ops to pci_vdev It will be used to define pci vdev own ops. And high level API will call this ops intead of invoking device specific functions directly. Tracked-On: #3241 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,733
11.07.2019 16:24:06
-28,800
37de8f0b993b20a36533685f1d8b37a49b2c0a1e
vbar:msi:msix: export vbar/msi/msix access checking Change vbar/msi/msix access checking from private to public. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/vmsi.c", "new_path": "hypervisor/dm/vpci/vmsi.c", "diff": "#include \"vpci_priv.h\"\n-/**\n- * @pre vdev != NULL\n- */\n-static inline bool has_msi_cap(const struct pci_vdev *vdev)\n-{\n- return (vdev->msi.capoff != 0U);\n-}\n-\n-/**\n- * @p...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
vbar:msi:msix: export vbar/msi/msix access checking Change vbar/msi/msix access checking from private to public. Tracked-On: #3241 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,733
11.07.2019 16:43:14
-28,800
9eba328befcb6ff372c86de8e347f8ef19d9084d
vdev_ops: add general vdev ops And use the ops based operations instead of direct access vdev specific API. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/vpci.c", "new_path": "hypervisor/dm/vpci/vpci.c", "diff": "@@ -330,6 +330,68 @@ static struct pci_vdev *find_vdev(const struct acrn_vpci *vpci, union pci_bdf bd\nreturn vdev;\n}\n+static void vpci_init_pt_dev(struct pci_vdev *vdev)\n+{\n+ in...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
vdev_ops: add general vdev ops And use the ops based operations instead of direct access vdev specific API. Tracked-On: #3241 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,733
11.07.2019 17:43:47
-28,800
009a16bd7d28342fc8142864f6c54bbadfa0e3a6
vhostbridge: update vhostbridge to use vdev_ops And use vhostbridge for both SOS and pre-launched VM. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/vhostbridge.c", "new_path": "hypervisor/dm/vpci/vhostbridge.c", "diff": "* @pre vdev->vpci != NULL\n* @pre vdev->vpci->vm != NULL\n*/\n-void init_vhostbridge(struct pci_vdev *vdev)\n+static void init_vhostbridge(struct pci_vdev *vdev)\n{\n- ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
vhostbridge: update vhostbridge to use vdev_ops And use vhostbridge for both SOS and pre-launched VM. Tracked-On: #3241 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,670
12.07.2019 16:44:48
-28,800
be586b49596094a84b64ada332dfab1072e8972e
doc:Update Getting started guide for Intel NUC
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/apl-nuc.rst", "new_path": "doc/getting-started/apl-nuc.rst", "diff": "@@ -85,10 +85,10 @@ manually, as described below).\nPlease refer to the ACRN :ref:`release_notes` for the Clear Linux OS\nversion number tested with a specific ACRN relea...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc:Update Getting started guide for Intel NUC Signed-off-by: yunzha4x <yunx.zhang@intel.com>
528,654
16.07.2019 21:31:43
-28,800
1081e1000eaa7b0e9df6446dad9632ce7f2603ab
hv: schedule: NEED_RESCHEDULE flag should be set atomically Schedule context flag may set out of schedule lock protection, like NEED_OFFLINE or NEED_SHUTDOWN_VM. So NEED_RESCHEDULE flag should be set atomically too.
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/schedule.c", "new_path": "hypervisor/common/schedule.c", "diff": "@@ -112,7 +112,7 @@ void make_reschedule_request(uint16_t pcpu_id, uint16_t delmode)\n{\nstruct sched_context *ctx = &per_cpu(sched_ctx, pcpu_id);\n- bitmap_set_nolock(NEED_RES...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: schedule: NEED_RESCHEDULE flag should be set atomically Schedule context flag may set out of schedule lock protection, like NEED_OFFLINE or NEED_SHUTDOWN_VM. So NEED_RESCHEDULE flag should be set atomically too. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
16.07.2019 21:35:53
-28,800
b1dd3e26f5dbd6ae5e2891e6876bf2a36dc565f6
hv: cpu: pcpu_active_bitmap should be set atomically It's a global parameter and could be set concurrently. So it should be set atomically.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -154,7 +154,7 @@ void init_pcpu_pre(uint16_t pcpu_id_args)\n}\n}\n- bitmap_set_nolock(pcpu_id, &pcpu_active_bitmap);\n+ bitmap_set_lock(pcpu_id, &pcpu_active_bitmap);\n/* Set stat...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: cpu: pcpu_active_bitmap should be set atomically It's a global parameter and could be set concurrently. So it should be set atomically. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Reviewed-by: Yin Fenwgei <fengwei.yin@intel.com>
528,654
09.07.2019 00:17:51
-28,800
e69b3dcf6737bc61d93ca9d53952395b4411ce0b
hv: schedule: remove runqueue_lock in sched_context Now sched_object and sched_context are protected by scheduler_lock. There's no chance to use runqueue_lock to protect schedule runqueue if we have no plan to support schedule migration.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "@@ -620,7 +620,7 @@ void pause_vcpu(struct acrn_vcpu *vcpu, enum vcpu_state new_state)\nvcpu->state = new_state;\nif (atomic_load32(&vcpu->running) == 1U) {\n- remove_f...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: schedule: remove runqueue_lock in sched_context Now sched_object and sched_context are protected by scheduler_lock. There's no chance to use runqueue_lock to protect schedule runqueue if we have no plan to support schedule migration. Signed-off-by: Li, Fei1 <fei1.li@intel.com> Reviewed-by: Yin Fengwei <fengwei.yi...
528,654
15.07.2019 17:43:49
-28,800
0eb0854858d9d2a3971dc86cd6598b2ef198d0e4
hv: schedule: minor fix about the return type of need_offline ACRN Coding guidelines requires type conversion shall be explicity. However, there's no need for this case since we could return bool directly. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hv_main.c", "new_path": "hypervisor/common/hv_main.c", "diff": "@@ -88,7 +88,7 @@ void default_idle(__unused struct sched_object *obj)\nwhile (1) {\nif (need_reschedule(pcpu_id)) {\nschedule();\n- } else if (need_offline(pcpu_id) != 0) {\n+ }...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: schedule: minor fix about the return type of need_offline ACRN Coding guidelines requires type conversion shall be explicity. However, there's no need for this case since we could return bool directly. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
15.07.2019 17:55:42
-28,800
540841ac5dadd80b316531ff8ee212606d4be4c7
hv: vlapic: EOI exit bitmap should set or clear atomically For per-vCPU, EOI exit bitmap is a global parameter which should set or clear atomically since there's no lock to protect this critical variable.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "@@ -168,7 +168,7 @@ void vcpu_set_eoi_exit_bitmap(struct acrn_vcpu *vcpu, uint32_t vector)\n{\npr_dbg(\"%s\", __func__);\n- if (!bitmap_test_and_set_nolock((uint16_t)(v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: EOI exit bitmap should set or clear atomically For per-vCPU, EOI exit bitmap is a global parameter which should set or clear atomically since there's no lock to protect this critical variable. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
528,654
15.07.2019 19:26:15
-28,800
8af334cbb288eac59ed419530b7010f3fed46e6d
hv: vcpu: operation in vcpu_create don't need to be atomic For pre-launched VMs and SOS, vCPUs are created on BSP one by one; For post-launched VMs, vCPUs are created under vmm_hypercall_lock protection. So vcpu_create is called sequentially. Operation in vcpu_create don't need to be atomic.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "@@ -362,7 +362,7 @@ int32_t create_vcpu(uint16_t pcpu_id, struct acrn_vm *vm, struct acrn_vcpu **rtn\n* vcpu->vcpu_id = vm->hw.created_vcpus;\n* vm->hw.created_vcpus++;...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vcpu: operation in vcpu_create don't need to be atomic For pre-launched VMs and SOS, vCPUs are created on BSP one by one; For post-launched VMs, vCPUs are created under vmm_hypercall_lock protection. So vcpu_create is called sequentially. Operation in vcpu_create don't need to be atomic. Tracked-On: #1842 Signed-...
528,654
15.07.2019 18:59:28
-28,800
b39526f759251ada48119bf739796e258e251f96
hv: schedule: vCPU schedule state setting don't need to be atomic vCPU schedule state change is under schedule lock protection. So there's no need to be atomic. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "#include <cpu_caps.h>\n#include <per_cpu.h>\n#include <init.h>\n-#include <atomic.h>\n#include <vm.h>\n#include <vmcs.h>\n#include <mmu.h>\n@@ -416,7 +415,7 @@ int32_t ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: schedule: vCPU schedule state setting don't need to be atomic vCPU schedule state change is under schedule lock protection. So there's no need to be atomic. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
16.07.2019 22:30:44
-28,800
e352553e1aed7902fe5d00ddd09b23cc79a2a174
hv: atomic: remove atomic load/store and set/clear In x86 architecture, word/doubleword/quadword aligned read/write on its boundary is atomic, so we may remove atomic load/store. As for atomic set/clear, use bitmap_set/claer seems more reasonable. After replace them all, we could remove them too.
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/lib/atomic.h", "new_path": "hypervisor/include/arch/x86/lib/atomic.h", "diff": "#define BUS_LOCK \"lock ; \"\n-#define build_atomic_load(name, size, type) \\\n-static inline type name(const volatile type *ptr) \\\n-{ \\\n- type ret;...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: atomic: remove atomic load/store and set/clear In x86 architecture, word/doubleword/quadword aligned read/write on its boundary is atomic, so we may remove atomic load/store. As for atomic set/clear, use bitmap_set/claer seems more reasonable. After replace them all, we could remove them too. Tracked-On: #1842 Si...
528,794
17.07.2019 10:02:56
-28,800
600aa8ea5aaa7a6da8ceaf3c6c47c1162d4c78ad
HV: change param type of init_pcpu_pre When initialize secondary pcpu, pass INVALID_CPU_ID as param of init_pcpu_pre() looks weird, so change the param type to bool to represent whether the pcpu is a BSP or AP. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -94,12 +94,13 @@ uint64_t get_active_pcpu_bitmap(void)\nreturn pcpu_active_bitmap;\n}\n-void init_pcpu_pre(uint16_t pcpu_id_args)\n+void init_pcpu_pre(bool is_bsp)\n{\n- uint16_t ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: change param type of init_pcpu_pre When initialize secondary pcpu, pass INVALID_CPU_ID as param of init_pcpu_pre() looks weird, so change the param type to bool to represent whether the pcpu is a BSP or AP. Tracked-On: #3420 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel....
528,747
17.07.2019 09:15:49
25,200
ecc472f9b4754291f3f9ca0440dad9253efceb4f
doc: fix format in WaaG document Update WaaG document with Windows (upper case) and step numbering.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_windows_as_uos.rst", "new_path": "doc/tutorials/using_windows_as_uos.rst", "diff": "@@ -98,10 +98,10 @@ Preparations\n.. note:: :kbd:`Win` + :kbd:`R` to open the Run window. Key in ``winver`` to get your working Windows version.\n-* Downloa...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix format in WaaG document Update WaaG document with Windows (upper case) and step numbering. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,755
17.07.2019 14:33:47
-28,800
63e258bd01308d0fb262361145c90d3d0ae10dbf
efi-stub: update string operation in efi-stub Remove unsafe API in efi-stub 1, use Strnlen instead of StrLen except the parameter is a static string. 2, strlen() only work on static strings.
[ { "change_type": "MODIFY", "old_path": "efi-stub/boot.c", "new_path": "efi-stub/boot.c", "diff": "@@ -347,7 +347,7 @@ static inline EFI_STATUS isspace(CHAR8 ch)\nreturn ((uint8_t)ch <= ' ');\n}\n-#define DEFAULT_UEFI_OS_LOADER_NAME \"\\\\EFI\\\\org.clearlinux\\\\bootloaderx64.efi\"\n+#define DEFAULT...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
efi-stub: update string operation in efi-stub Remove unsafe API in efi-stub 1, use Strnlen instead of StrLen except the parameter is a static string. 2, strlen() only work on static strings. Tracked-On: #3276 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,708
17.07.2019 13:58:31
-28,800
a90a6a10592441300e8c0eb30801335ba6a52d8f
HV: add SDC2 config in hypervisor/arch/x86/Kconfig Per community requirement;up to three post-launched VM might be needed for some automotive SDC system, so add SDC2 scenario to satisfy this requirement.
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -52,6 +52,8 @@ include scripts/kconfig/kconfig.mk\n#initialize scenarios name\nifeq ($(CONFIG_SDC),y)\nSCENARIO_NAME := sdc\n+else ifeq ($(CONFIG_SDC2),y)\n+SCENARIO_NAME := sdc2\nelse ifeq (...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: add SDC2 config in hypervisor/arch/x86/Kconfig Per community requirement;up to three post-launched VM might be needed for some automotive SDC system, so add SDC2 scenario to satisfy this requirement. Tracked-On: #3429 Signed-off-by: fuzhongl <fuzhong.liu@intel.com> Reviewed-by: Victor Sun <victor.sun@intel.com>
528,747
15.07.2019 13:34:59
25,200
d28264ff5610bd28882e2861a94a27bbe9b99ca2
doc: update CODEOWNERS for doc reviews Deb (@deb-intel) added as a reviewer for ACRN documentation.
[ { "change_type": "MODIFY", "old_path": "CODEOWNERS", "new_path": "CODEOWNERS", "diff": "/hypervisor/ @anthonyzxu @dongyaozu\n/devicemodel/ @anthonyzxu @dongyaozu\n-/doc/ @dbkinder\n+/doc/ @dbkinder @deb-intel\n/tools/acrn-crashlog/ @dizhang417 @chengangc\n-*.rst @dbkinder\n+*.rst @dbkinder @deb-inte...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update CODEOWNERS for doc reviews Deb (@deb-intel) added as a reviewer for ACRN documentation. Signed-off-by: David B. Kinder <david.b.kinder@intel.com> Tracked-On: #3419
528,706
16.07.2019 18:17:49
0
c1b4121e3bb3ce1c79b1e9fa199c656ad8ed0e54
dm: virtio-i2c: minor fix Change the condition of checking native adapter number. Change sprintf to snprintf.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_i2c.c", "new_path": "devicemodel/hw/pci/virtio/virtio_i2c.c", "diff": "@@ -443,7 +443,7 @@ native_adapter_create(int bus, uint16_t slave_addr[], int n_slave)\nreturn NULL;\n}\n- sprintf(native_path, \"/dev/i2c-%d\", bus);\n+ sn...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: virtio-i2c: minor fix Change the condition of checking native adapter number. Change sprintf to snprintf. Tracked-On: #3437 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,647
02.07.2019 16:00:57
-28,800
97f6097f04681cf080a7a9a0d6b548d0b9da46fe
hv: add ops to vlapic structure This commit adds ops to vlapic structure, and add an *ops parameter to vlapic_reset(). At vlapic reset, the ops is set to the global apicv_ops, and may be assigned to other ops later. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "@@ -601,7 +601,7 @@ void reset_vcpu(struct acrn_vcpu *vcpu)\nvcpu->arch.cur_context = NORMAL_WORLD;\nvlapic = vcpu_vlapic(vcpu);\n- vlapic_reset(vlapic);\n+ vlapic_rese...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: add ops to vlapic structure This commit adds ops to vlapic structure, and add an *ops parameter to vlapic_reset(). At vlapic reset, the ops is set to the global apicv_ops, and may be assigned to other ops later. Tracked-On: #3227 Signed-off-by: Yan, Like <like.yan@intel.com> Acked-by: Eddie Dong <eddie.dong@intel...
528,747
18.07.2019 12:03:38
25,200
be44e138fdeef3472aa3d2f5434f5fd038c11896
doc: update WaaG doc Update batch script documentation and add reference to source of material. Also some grammar cleanup in a few places. Include an updated install_by_vga_gsg.tar.gz with an updated script with copyright/licensing added.
[ { "change_type": "DELETE", "old_path": "doc/scripts/Virtio-Inject.bat", "new_path": null, "diff": "-REM VirtIO Driver Injection by Derek Seaman\n-REM www.derekseaman.com\n-REM Version 1.0\n-REM Place Windows boot.wim and install.wim in C:\\Wim\n-REM Create a directory C:\\Mount and leave it empty\n-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update WaaG doc Update batch script documentation and add reference to source of material. Also some grammar cleanup in a few places. Include an updated install_by_vga_gsg.tar.gz with an updated script with copyright/licensing added. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,662
18.07.2019 15:10:14
-28,800
ffa7f80544cf976b2d011706f43ff7b83a869a75
doc: Add tutorial to learn to sign binaries of a Clear Linux image. This tutorial will describe steps to sign binaries of a Clear Linux image that allows user to launch VM throught the secure boot enabled OVMF.
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/scripts/sign_image.sh", "diff": "+#!/bin/bash\n+# Copyright (C) 2019 Intel Corporation.\n+# SPDX-License-Identifier: BSD-3-Clause\n+\n+help() {\n+ echo \"=======================================================================================...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Add tutorial to learn to sign binaries of a Clear Linux image. This tutorial will describe steps to sign binaries of a Clear Linux image that allows user to launch VM throught the secure boot enabled OVMF. Signed-off-by: lirui34 <ruix.li@intel.com>
528,662
17.07.2019 11:50:41
-28,800
e729b657c0c7a8c3de9147d4d423923285543f00
doc: Add ACRN tag or Clear Linux version info for some tutorials Neither ACRN tag nor Clear Linux version is specified in some tutorials. Declare those information for those tutorials.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/acrn-dm_QoS.rst", "new_path": "doc/tutorials/acrn-dm_QoS.rst", "diff": "@@ -70,6 +70,8 @@ the maximal CPU resource for the VM0 or VM1 is 33% of the entire CPU resource.\nHow to use ACRN-DM QoS\n**********************\n+#. Follow :ref:`getting-sta...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Add ACRN tag or Clear Linux version info for some tutorials Neither ACRN tag nor Clear Linux version is specified in some tutorials. Declare those information for those tutorials. Signed-off-by: lirui34 <ruix.li@intel.com>
528,706
16.07.2019 18:06:40
0
87558b6f981ce5f8401876845ed2922f975d2879
doc: remove vuart configuration in nuc and up2 As the vuart config option is not support anymore, remove it.
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/apl-nuc.rst", "new_path": "doc/getting-started/apl-nuc.rst", "diff": "@@ -429,7 +429,7 @@ partition. Follow these steps:\ndouble-check the platform boot order using ``efibootmgr -v`` and\nmodify it if needed.\n- The ACRN hypervisor (``acrn....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: remove vuart configuration in nuc and up2 As the vuart config option is not support anymore, remove it. Signed-off-by: Conghui Chen <conghui.chen@intel.com>
528,733
19.07.2019 09:35:43
-28,800
f0e1c5e55f5c96deb24cc095b745efd3958255e7
vcpu: init vcpu host stack when reset vcpu Otherwise, the previous local variables in host stack is not reset. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "@@ -570,6 +570,34 @@ void offline_vcpu(struct acrn_vcpu *vcpu)\nvcpu->state = VCPU_OFFLINE;\n}\n+/*\n+* @pre (&vcpu->stack[CONFIG_STACK_SIZE] & (CPU_STACK_ALIGN - 1UL))...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
vcpu: init vcpu host stack when reset vcpu Otherwise, the previous local variables in host stack is not reset. Tracked-On: #3387 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,733
09.07.2019 18:02:57
-28,800
12955fa80f3a3f3e3e0af94efd58d03fdb567ea5
hv_main: Remove the continue in vcpu_thread To avoid acrn_handle_pending_request called twice within one vmexit, we remove the error-prone "continue" in vcpu_thread. And make vcpu shecheduled out if fatal error happens with vcpu. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hv_main.c", "new_path": "hypervisor/common/hv_main.c", "diff": "@@ -34,7 +34,6 @@ void vcpu_thread(struct sched_object *obj)\n/* Don't open interrupt window between here and vmentry */\nif (need_reschedule(vcpu->pcpu_id)) {\nschedule();\n- co...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv_main: Remove the continue in vcpu_thread To avoid acrn_handle_pending_request called twice within one vmexit, we remove the error-prone "continue" in vcpu_thread. And make vcpu shecheduled out if fatal error happens with vcpu. Tracked-On: #3387 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony ...
528,768
22.07.2019 09:51:52
-28,800
dde20bdb035cdfa4f416c4919cc1ac4a197dc2bf
HV:refine the handler for 'invept' vmexit 'invept' is not expected in guest and hypervisor should inject UD when 'invept' VM exit happens.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmexit.c", "new_path": "hypervisor/arch/x86/guest/vmexit.c", "diff": "@@ -136,7 +136,7 @@ static const struct vm_exit_dispatch dispatch_table[NR_VMX_EXIT_REASONS] = {\n.handler = ept_misconfig_vmexit_handler,\n.need_exit_qualification...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:refine the handler for 'invept' vmexit 'invept' is not expected in guest and hypervisor should inject UD when 'invept' VM exit happens. Tracked-On: #3444 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,794
16.07.2019 16:52:23
-28,800
3cf1daa4801699f647f719ba9947591821f7476f
HV: move vbar info to board specific pci_devices.h The vbar info which hard-coded in scenarios/logical_partition/pt_dev.c is board specific actually, so move these information to arch/x86/configs/$(CONFIG_BOARD)/pci_devices.h. Please be aware that the memory range of vBAR should exactly match with the e820 layout of VM...
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/apl-mrb/pci_devices.h", "new_path": "hypervisor/arch/x86/configs/apl-mrb/pci_devices.h", "diff": "#define PCI_DEVICES_H_\n#define HOST_BRIDGE .pbdf.bits = {.b = 0x00U, .d = 0x00U, .f = 0x00U}\n-#define SATA_CONTROLLER_0 .pbdf.bits =...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: move vbar info to board specific pci_devices.h The vbar info which hard-coded in scenarios/logical_partition/pt_dev.c is board specific actually, so move these information to arch/x86/configs/$(CONFIG_BOARD)/pci_devices.h. Please be aware that the memory range of vBAR should exactly match with the e820 layout of ...
528,794
23.07.2019 09:54:14
-28,800
a7b6fc74e5af44f96d1fd82b76890244e372a4a8
HV: allow write 0 to MSR_IA32_MCG_STATUS Per SDM, writing 0 to MSR_IA32_MCG_STATUS is allowed, HV should not return -EACCES on this case; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmsr.c", "new_path": "hypervisor/arch/x86/guest/vmsr.c", "diff": "@@ -635,8 +635,14 @@ int32_t wrmsr_vmexit_handler(struct acrn_vcpu *vcpu)\nerr = vlapic_set_apicbase(vcpu_vlapic(vcpu), v);\nbreak;\n}\n- case MSR_IA32_MCG_CAP:\ncase M...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: allow write 0 to MSR_IA32_MCG_STATUS Per SDM, writing 0 to MSR_IA32_MCG_STATUS is allowed, HV should not return -EACCES on this case; Tracked-On: #3454 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,670
22.07.2019 17:02:34
-28,800
2e79501e4d80e2e3fc95496915da6ba82e2835e0
doc:udpate using_partition_mode_on_nuc nuc7i7bnh to nuc7i7dnb
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_partition_mode_on_nuc.rst", "new_path": "doc/tutorials/using_partition_mode_on_nuc.rst", "diff": "@@ -132,7 +132,7 @@ Update ACRN hypervisor Image\n.. note::\nDouble check PCI devices BDF defined in the\n- ``hypervisor/arch/x86/configs/nuc7...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc:udpate using_partition_mode_on_nuc nuc7i7bnh to nuc7i7dnb Signed-off-by: yunzha4x <yunx.zhang@intel.com>
528,748
22.07.2019 13:19:50
-28,800
0887eecde82f287c364aeed35bf1d037461be784
doc: remove deprecated sos_bootargs SOS bootargs is specified in vm_configurations.h in different scenarios. The files in devicemodel/samples/<board>/sos_bootargs_*.txt are removed. remove deprecated sos_bootargs in create-up2-images.sh
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/create-up2-images.sh", "new_path": "doc/tutorials/create-up2-images.sh", "diff": "@@ -46,8 +46,6 @@ create_sos_images() {\nreturn 1\n}\n- SOS_BOOTARGS_DEBUG=sos_rootfs/usr/share/acrn/samples/apl-up2/sos_bootargs_debug.txt\n-\nif [[ ! ${ACRN_SBL} ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: remove deprecated sos_bootargs SOS bootargs is specified in vm_configurations.h in different scenarios. The files in devicemodel/samples/<board>/sos_bootargs_*.txt are removed. remove deprecated sos_bootargs in create-up2-images.sh Tracked-On: #3443 Signed-off-by: Lei Lu <leix.lu@intel.com>
528,768
23.07.2019 09:32:03
-28,800
49e60ae151bb8b625cb06453d5fa29c43290e0ce
hv: refine handler to 'rdpmc' vmexit PMC is hidden from guest and hypervisor should inject UD to guest when 'rdpmc' vmexit. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmexit.c", "new_path": "hypervisor/arch/x86/guest/vmexit.c", "diff": "@@ -65,7 +65,7 @@ static const struct vm_exit_dispatch dispatch_table[NR_VMX_EXIT_REASONS] = {\n[VMX_EXIT_REASON_INVLPG] = {\n.handler = unhandled_vmexit_handler,},...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: refine handler to 'rdpmc' vmexit PMC is hidden from guest and hypervisor should inject UD to guest when 'rdpmc' vmexit. Tracked-On: #3453 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,787
18.07.2019 08:44:45
0
ff299d5c50a86b31ee6fe9e4b6095bcdca508d78
dm: support VMs communication with virtio-console Add feature that client uos can still connect to server uos after rebooting. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_console.c", "new_path": "devicemodel/hw/pci/virtio/virtio_console.c", "diff": "@@ -109,7 +109,9 @@ struct virtio_console_port {\nstruct virtio_console_backend {\nstruct virtio_console_port *port;\nstruct mevent *evp;\n+ struct ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: support VMs communication with virtio-console Add feature that client uos can still connect to server uos after rebooting. Tracked-On: #3459 Signed-off-by: Gao Junhao <junhao.gao@intel.com> Reviewed-by: Jian Jun Chen <jian.jun.chen@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,747
23.07.2019 16:17:51
25,200
9fef51abf9ce3b4b188eb5066a7b05c98d521278
doc: organize release notes into a folder Unclutter the main doc folder by putting all the release notes into a separate folder.
[ { "change_type": "MODIFY", "old_path": "doc/index.rst", "new_path": "doc/index.rst", "diff": "@@ -30,7 +30,7 @@ Sections\nuser-guides/index.rst\ndeveloper-guides/index.rst\ntutorials/index.rst\n- release_notes.rst\n+ release_notes/index.rst\nfaq.rst\nIndices and Tables\n" }, { "change_type":...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: organize release notes into a folder Unclutter the main doc folder by putting all the release notes into a separate folder. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,706
25.07.2019 10:08:50
0
3945bc4c40a9109ff6c62aea3e697a182cbacdb7
dm: array bound and NULL pointer issue fix Remove the possible NULL pointer access code for virtio-console.c Add '\0' to end of native_patch[], to avoid the potential issue when using %s to print the array for virtio-i2c.c
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_console.c", "new_path": "devicemodel/hw/pci/virtio/virtio_console.c", "diff": "@@ -619,7 +619,7 @@ virtio_console_open_backend(const char *path,\ncase VIRTIO_CONSOLE_BE_SOCKET:\nfd = socket(AF_UNIX, SOCK_STREAM, 0);\nif (fd < 0...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: array bound and NULL pointer issue fix Remove the possible NULL pointer access code for virtio-console.c Add '\0' to end of native_patch[], to avoid the potential issue when using %s to print the array for virtio-i2c.c Tracked-On: #3467 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Reviewed-by: Yonghua Hua...
528,654
24.07.2019 17:50:27
-28,800
cc47dbe7698b1991bc5844a609fb5f00608af0f8
hv: uart: enable early boot uart Enable uart as early as possible to make things easier for debugging. After this we could use printf to output information to the uart. As for pr_xxx APIs, they start to work when init_logmsg is called.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "#include <cat.h>\n#include <vboot.h>\n#include <sgx.h>\n+#include <uart16550.h>\n#define CPU_UP_TIMEOUT 100U /* millisecond */\n#define CPU_DOWN_TIMEOUT 100U /* millisecond */\n@@ -1...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: uart: enable early boot uart Enable uart as early as possible to make things easier for debugging. After this we could use printf to output information to the uart. As for pr_xxx APIs, they start to work when init_logmsg is called. Tracked-On: #2987 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
23.07.2019 19:10:33
-28,800
40475e22b8ed4cf0bc2a7797b0554f12afe3f9c1
hv: debug: use printf to debug on early boot 1) Using printf to warn if platform ram size configuration is wrong. 2) Using printf to warn if the platform is not supported by ACRN hypervisor.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -120,6 +120,10 @@ void init_pcpu_pre(bool is_bsp)\n*/\ninit_pcpu_capabilities();\n+ if (detect_hardware_support() != 0) {\n+ panic(\"hardware not support!\");\n+ }\n+\ninit_pcpu_m...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: debug: use printf to debug on early boot 1) Using printf to warn if platform ram size configuration is wrong. 2) Using printf to warn if the platform is not supported by ACRN hypervisor. Tracked-On: #2987 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
24.07.2019 18:03:44
-28,800
11cf9a4a8a2c96772989b9e6b2ac49f597c320c6
hv: mmu: add hpa2hva_early API for earlt boot When need hpa and hva translation before init_paging, we need hpa2hva_early and hva2hpa_early since init_paging may modify hva2hpa to not be identical mapping.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -109,7 +109,6 @@ void init_pcpu_pre(bool is_bsp)\n(void)parse_hv_cmdline();\n/*\n- * WARNNING: here assume that vaddr2paddr is identical mapping.\n* Enable UART as early as possib...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: add hpa2hva_early API for earlt boot When need hpa and hva translation before init_paging, we need hpa2hva_early and hva2hpa_early since init_paging may modify hva2hpa to not be identical mapping. Tracked-On: #2987 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,787
25.07.2019 13:07:39
0
c175141c7731f7984466410935bf7729d996a2d2
dm: bugfix for remote launch guest issue when stdio is set as a virtio-console, guest run in backend, the open file descriptor is not referring to a terminal.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_console.c", "new_path": "devicemodel/hw/pci/virtio/virtio_console.c", "diff": "@@ -906,13 +906,18 @@ virtio_console_add_backend(struct virtio_console *console, char *opt)\nbe->evp = mevent_add(fd, EVF_READ,\nvirtio_console_acce...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: bugfix for remote launch guest issue when stdio is set as a virtio-console, guest run in backend, the open file descriptor is not referring to a terminal. Tracked-On: #3473 Signed-off-by: Gao Junhao <junhao.gao@intel.com> Reviewed-by: Jian Jun Chen <jian.jun.chen@intel.com>
528,799
25.07.2019 17:25:13
25,200
a092f400097acd3a383c04f45140829130d6108e
HV: make the functions void The functions always return 0 so it makes sense to make them void functions Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/pci_pt.c", "new_path": "hypervisor/dm/vpci/pci_pt.c", "diff": "@@ -129,7 +129,7 @@ static uint64_t get_pbar_base(const struct pci_pdev *pdev, uint32_t idx)\n/**\n* @pre vdev != NULL\n*/\n-int32_t vdev_pt_read_cfg(const struct pci_vdev *vdev,...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: make the functions void The functions always return 0 so it makes sense to make them void functions Tracked-On: #3475 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
29.07.2019 09:30:27
-28,800
cd3b8ed7f1e5afe9973594444822db4602c00cad
HV: fix MISRA violation of cpu state table Per MISRA C, the dimention of a array must be specified.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu_state_tbl.c", "new_path": "hypervisor/arch/x86/cpu_state_tbl.c", "diff": "#include <cpu_caps.h>\n/* The table includes cpu px info of Intel A3960 SoC */\n-static const struct cpu_px_data px_a3960[] = {\n+static const struct cpu_px_data ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: fix MISRA violation of cpu state table Per MISRA C, the dimention of a array must be specified. Tracked-On: #3477 Signed-off-by: Victor Sun <victor.sun@intel.com>
528,656
23.07.2019 21:31:27
14,400
ce7a126f7e82e10bfe6b56bacb221273495f5f19
Added 3 SGX images
[ { "change_type": "ADD", "old_path": "doc/tutorials/images/sgx-1.png", "new_path": "doc/tutorials/images/sgx-1.png", "diff": "Binary files /dev/null and b/doc/tutorials/images/sgx-1.png differ\n" }, { "change_type": "ADD", "old_path": "doc/tutorials/images/sgx-2.jpg", "new_path": "doc...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Added 3 SGX images
528,747
29.07.2019 14:04:20
25,200
8ee1615e5172cd3c3119407a5819cbca8e70802d
doc: fix issues from moving tools to misc/tools PR cleaned up the project root folder and moved stuff that was in /tools into a new /misc folder. There were a few references to the old /tools folder missed in that update, addressed in this PR.
[ { "change_type": "MODIFY", "old_path": "doc/Makefile", "new_path": "doc/Makefile", "diff": "@@ -64,7 +64,7 @@ singlehtml: doxy content kconfig\nclean:\nrm -fr $(BUILDDIR) doxygen\n- rm -fr tools\n+ rm -fr misc\nrm -fr reference/kconfig/*.rst\n# Copy material over to the GitHub pages staging repo\n" ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix issues from moving tools to misc/tools PR #3483 cleaned up the project root folder and moved stuff that was in /tools into a new /misc folder. There were a few references to the old /tools folder missed in that update, addressed in this PR. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,680
26.07.2019 19:45:31
25,200
d1c8a514f68ed66f89d157ba47f690058553dd51
doc: Add ovmf option description Added ovmf NV storage writeback option "w" description and usage example.
[ { "change_type": "MODIFY", "old_path": "doc/user-guides/acrn-dm-parameters.rst", "new_path": "doc/user-guides/acrn-dm-parameters.rst", "diff": "@@ -255,7 +255,7 @@ Here are descriptions for each of these ``acrn-dm`` command line parameters:\nuses ``/usr/share/acrn/bios/VSBL.bin`` as the vSBL image\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Add ovmf option description Added ovmf NV storage writeback option "w" description and usage example. Signed-off-by: Yang, Yu-chu <yu-chu.yang@intel.com>
528,772
27.06.2019 14:05:02
0
59fd4202d3e392044b42e90fda2f0999e6376dcd
tools: add force parameter to acrn VM stop operations Add 'force' parameter to acrn_stop(), which will be write to request message, the value of data.acrnd_stop.force. So we can tell DM to force stop VM, instead of telling UOS to shutdown itself. Acked-by: Yan, Like
[ { "change_type": "MODIFY", "old_path": "misc/acrn-manager/acrn_vm_ops.c", "new_path": "misc/acrn-manager/acrn_vm_ops.c", "diff": "@@ -366,7 +366,7 @@ int start_vm(const char *vmname)\nreturn system(cmd);\n}\n-int stop_vm(const char *vmname)\n+int stop_vm(const char *vmname, int force)\n{\nstruct mng...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: add force parameter to acrn VM stop operations Add 'force' parameter to acrn_stop(), which will be write to request message, the value of data.acrnd_stop.force. So we can tell DM to force stop VM, instead of telling UOS to shutdown itself. Tracked-On: #3484 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Acke...
528,772
27.06.2019 14:44:18
0
653aa859b1de0195f7c6312fff6f3596d5305d73
DM: monitor support force stop When someone send DM message DM_STOP, with a non-zero data.acrnd_stop.force value, DM set suspend mode to VM_SUSPEND_POWEROFF directly, that will cause DM quit main loop. That can force stop VM
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/monitor.c", "new_path": "devicemodel/core/monitor.c", "diff": "@@ -337,11 +337,42 @@ static void name(struct mngr_msg *msg, int client_fd, void *param) \\\nmngr_send_msg(client_fd, &ack, NULL, ACK_TIMEOUT); \\\n}\n-DEFINE_HANDLER(handle_stop, ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: monitor support force stop When someone send DM message DM_STOP, with a non-zero data.acrnd_stop.force value, DM set suspend mode to VM_SUSPEND_POWEROFF directly, that will cause DM quit main loop. That can force stop VM Tracked-On: #3484 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Reviewed-by: Yan, Like <li...
528,663
25.07.2019 23:24:33
-28,800
bde1d4b1bb725f2f1c48381e280796d43960164a
acrn-hv: code review fix lib/string.c In lib/string.c, strncmp doesn't consider condition "n_arg=0", just add a process to "n_arg=0". Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/lib/string.c", "new_path": "hypervisor/lib/string.c", "diff": "@@ -233,19 +233,26 @@ int32_t strcmp(const char *s1_arg, const char *s2_arg)\nreturn *str1 - *str2;\n}\n+/**\n+ * @pre n_arg > 0\n+ */\nint32_t strncmp(const char *s1_arg, const char *s2...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-hv: code review fix lib/string.c In lib/string.c, strncmp doesn't consider condition "n_arg=0", just add a process to "n_arg=0". Tracked-On: projectacrn/acrn-hypervisor#3466 Signed-off-by: YanX Fu <yanx.fu@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,768
30.07.2019 14:59:51
-28,800
d4f44bc7a697726a0885eaec2bf3399720a00ff6
hv: fix debug message format in 'init_pci_pdev_list' To fix below err format: "%s" is used to output 'secondary_bus' with type of 'uint8_t'
[ { "change_type": "MODIFY", "old_path": "hypervisor/hw/pci.c", "new_path": "hypervisor/hw/pci.c", "diff": "@@ -177,7 +177,7 @@ void init_pci_pdev_list(void)\nsecondary_bus = (uint8_t)pci_pdev_read_cfg(pbdf, PCIR_SECBUS_1, 1U);\nif (bus_to_scan[secondary_bus] != BUS_SCAN_SKIP) {\npr_err(\"%s, bus %d m...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix debug message format in 'init_pci_pdev_list' To fix below err format: "%s" is used to output 'secondary_bus' with type of 'uint8_t' Tracked-On: #861 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,755
17.07.2019 16:07:36
-28,800
493ddefd47b4be800ea67fe12451f04152986046
dm: fix pointer not checked for null before use this patch fix null pointer access issues.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -2923,7 +2923,7 @@ retry:\ntrb->dwTrb2 & 0x1FFFF, (void *)addr,\nccs);\n- if (trb->dwTrb3 & XHCI_TRB_3_CHAIN_BIT)\n+ if (xfer_block && (trb->dwTrb3 & XHCI_TRB_3_CHAIN_BIT))\nxfer_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: fix pointer not checked for null before use this patch fix null pointer access issues. Tracked-On: #3434 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Reviewed-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
528,755
17.07.2019 16:39:48
-28,800
107c406baa7f31e3155262d31b330e9a4810a904
dm: array bound checking to avoid buffer overflow The array index of "epid" may be out of bounds if "epid >= XHCI_MAX_ENDPOINTS", so bound check is necessary before it is used.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -3718,6 +3718,8 @@ pci_xhci_dev_intr(struct usb_hci *hci, int epctx)\n/* HW endpoint contexts are 0-15; convert to epid based on dir */\nepid = (epid * 2) + (dir_in ? 1 : 0);\n+ i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: array bound checking to avoid buffer overflow The array index of "epid" may be out of bounds if "epid >= XHCI_MAX_ENDPOINTS", so bound check is necessary before it is used. Tracked-On: #3434 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Xia...
528,709
30.07.2019 09:24:29
-28,800
18b4e3023a8ff49f40ebbfa87c7e5504586986ec
acrn-config: add README for scenario_config and launch_config currently scenario config and launch config is not ready, leave these two folders for futrue useage and make folder structure clear. Acked-by: Terry Zou Acked-by: Victor Sun
[ { "change_type": "ADD", "old_path": null, "new_path": "misc/acrn-config/launch_config/README", "diff": "+TODO: parse board_info XML, scenario XML and devicemodel param XML to generate launch script for post-launched vm under devicesmodel/samples/$(BOARD)/ folder\n" }, { "change_type": "ADD",...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: add README for scenario_config and launch_config currently scenario config and launch config is not ready, leave these two folders for futrue useage and make folder structure clear. Signed-off-by: Wei Liu <weix.w.liu@intel.com> Reviewed-by: Shuang Zheng shuang.zheng@intel.com Acked-by: Terry Zou <terry.z...
528,746
28.07.2019 17:46:56
-19,080
4adc8102fdfb17e3041504a667a4d65383e2c2a8
Makefile: Add install for uefi firmware Add to include acrn.32.out during cl rpm generation as acrn.(board).32.out This is required for Hybrid mode bringup in multios
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -67,7 +67,7 @@ ifeq ($(FIRMWARE),sbl)\n$(MAKE) -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) BOARD=$(BOARD) FIRMWARE=$(FIRMWARE) RELEASE=$(RELEASE) install\nendif\nifeq ($(FIRMWARE),uefi)\n- $(MAKE) -C $(T)/hypervisor HV...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Makefile: Add install for uefi firmware Add to include acrn.32.out during cl rpm generation as acrn.(board).32.out This is required for Hybrid mode bringup in multios Tracked-On:#3487 Signed-off-by: Nikhil Rane <nikhil.rane@intel.com>
528,724
31.07.2019 10:29:08
25,200
8f65bfe68dfdbd6ca587e63fcc2289e9dd66f79a
README: Fix Getting Started URL
[ { "change_type": "MODIFY", "old_path": "README.rst", "new_path": "README.rst", "diff": "@@ -92,7 +92,7 @@ ACRN support systems:\n.. _Introduction: https://projectacrn.github.io/latest/introduction/\n-.. _Getting Started Guide: https://projectacrn.github.io/latest/getting_started/\n+.. _Getting Start...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
README: Fix Getting Started URL Signed-off-by: Alex Merritt <mail@alexmerritt.us>
528,662
30.07.2019 11:07:38
-28,800
52618d0a23de6283c9ce8b82a700aa0e387714c4
doc: Update WaaG tutorial launch script and OVMF binary Change WaaG launch script to the default ``launch_win.sh``, and also provide one OVMF.fd binary in order to launch WaaG. Change SOS / UOS to Service VM / Guest VM.
[ { "change_type": "ADD", "old_path": "doc/tutorials/OVMF.fd", "new_path": "doc/tutorials/OVMF.fd", "diff": "Binary files /dev/null and b/doc/tutorials/OVMF.fd differ\n" }, { "change_type": "MODIFY", "old_path": "doc/tutorials/using_windows_as_uos.rst", "new_path": "doc/tutorials/using...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Update WaaG tutorial launch script and OVMF binary Change WaaG launch script to the default ``launch_win.sh``, and also provide one OVMF.fd binary in order to launch WaaG. Change SOS / UOS to Service VM / Guest VM. Signed-off-by: lirui34 <ruix.li@intel.com>
528,766
31.07.2019 01:26:45
25,200
87cafaea330af458a155f52b3820ebd96eadd55d
OVMF release v1.2 Add support for VRING_USED_F_NO_NOTIFY in virtio devices Revert "Initialize EmuVariable NV storage memory with varstore from ROM" Add AcrnEmuVariableFvbRuntimeDxe to support NV storage Enable ahci driver. Secure boot is supported from this release onwards.
[ { "change_type": "MODIFY", "old_path": "devicemodel/bios/MD5SUM_ovmf", "new_path": "devicemodel/bios/MD5SUM_ovmf", "diff": "-29e97353233e5e29e23e3ef75494b05e OVMF.fd\n-a5f6be7bff05dc6d3f04c22be91358df OVMF_debug.fd\n+03cfb7b37dc4f799981b15944900dc3e OVMF.fd\n+6b51a787eeebaa27dc4ad85814f27a5b OVMF_de...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
OVMF release v1.2 - Add support for VRING_USED_F_NO_NOTIFY in virtio devices - Revert "Initialize EmuVariable NV storage memory with varstore from ROM" - Add AcrnEmuVariableFvbRuntimeDxe to support NV storage - Enable ahci driver. Secure boot is supported from this release onwards. Tracked-On: #3506 Signed-off-by:...
528,659
17.07.2019 11:24:22
-28,800
0e2cfd2dee36189cc233c4fe32b871b4fac535bf
DM USB: add native info in control transfer logging code Add native bus and port information in the control transfer logging code. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/usb_pmapper.c", "new_path": "devicemodel/hw/platform/usb_pmapper.c", "diff": "@@ -916,7 +916,6 @@ usb_dev_request(void *pdata, struct usb_data_xfer *xfer)\nint rc;\nudev = pdata;\n-\nxfer->status = USB_ERR_NORMAL_COMPLETION;\nif (!udev-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: add native info in control transfer logging code Add native bus and port information in the control transfer logging code. Tracked-On: #3486 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,659
17.07.2019 17:17:28
-28,800
e188e1f24599084906b2239bd03f2c18f48fe9c7
DM USB: xHCI: fix an error in PORTSC emulation When DM receives the Disable Slot command, according to xHCI spec, the PP bit in PORTSC register should not be cleared. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -1801,7 +1801,7 @@ pci_xhci_cmd_disable_slot(struct pci_xhci_vdev *xdev, uint32_t slot)\nif (i <= XHCI_MAX_DEVS && XHCI_PORTREG_PTR(xdev, i)) {\nXHCI_PORTREG_PTR(xdev, i)->portsc ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: fix an error in PORTSC emulation When DM receives the Disable Slot command, according to xHCI spec, the PP bit in PORTSC register should not be cleared. Tracked-On: #3486 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,794
31.07.2019 15:01:26
-28,800
f49ab66b65af940568dff1f22ea87f4ac49b18be
HV: fix highest severity flag in hybrid mode In hybrid mode, pre-launched VM should have the highest severity to handle platform reset, the flag should not be set in SOS VM; Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/scenarios/hybrid/vm_configurations.c", "new_path": "hypervisor/scenarios/hybrid/vm_configurations.c", "diff": "@@ -49,8 +49,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {\n0xa1U, 0x2cU, 0x22U, 0x01U, 0xf1U, 0xabU, 0x02U, 0x40U},\n/* db...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: fix highest severity flag in hybrid mode In hybrid mode, pre-launched VM should have the highest severity to handle platform reset, the flag should not be set in SOS VM; Tracked-On: #3505 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,794
05.07.2019 16:35:27
-28,800
901a65cb53347fadbfcb8a4dc014696b5c5f28fb
HV: inject exception for invalid vmcall For non-trusty hypercalls, HV should inject #GP(0) to vCPU if they are from non-ring0 or inject #UD if they are from ring0 of non-SOS. Also we should not modify RAX of vCPU for these invalid vmcalls.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcall.c", "new_path": "hypervisor/arch/x86/guest/vmcall.c", "diff": "@@ -233,6 +233,7 @@ int32_t vmcall_vmexit_handler(struct acrn_vcpu *vcpu)\nif (!is_hypercall_from_ring0()) {\npr_err(\"hypercall is only allowed from RING-0!\\n\");...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: inject exception for invalid vmcall For non-trusty hypercalls, HV should inject #GP(0) to vCPU if they are from non-ring0 or inject #UD if they are from ring0 of non-SOS. Also we should not modify RAX of vCPU for these invalid vmcalls. Tracked-On: #3497 Signed-off-by: Victor Sun <victor.sun@intel.com>
528,747
01.08.2019 21:12:59
25,200
0d07dad5cb73d1f4c9bed273126169f971dcc609
doc: additional doc navigation restructuring Adjust doc navigation organization based on additional feedback.
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -132,7 +132,7 @@ language = None\n# List of patterns, relative to source directory, that match files and\n# directories to ignore when looking for source files.\n# This patterns also effect to html_static_pa...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: additional doc navigation restructuring Adjust doc navigation organization based on additional feedback. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
02.08.2019 07:16:50
25,200
cd232f4442481afabb528bb6529b0a4444d56657
doc: fix broken links after content reorg Home page "button" links needed to be manually updated (because of the raw html usage) after content around. Move partition mode docs from try to develop persona pages.
[ { "change_type": "MODIFY", "old_path": "doc/develop.rst", "new_path": "doc/develop.rst", "diff": "@@ -19,6 +19,8 @@ Configuration Tutorials\ntutorials/sign_clear_linux_image\ntutorials/static-ip\ntutorials/debug\n+ tutorials/using_partition_mode_on_nuc\n+ tutorials/using_partition_mode_on_up2\nUser ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix broken links after content reorg Home page "button" links needed to be manually updated (because of the raw html usage) after content around. Move partition mode docs from try to develop persona pages. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
02.08.2019 09:36:50
25,200
abd8b710a434cf90a32514cb472a0dbc267a5083
doc: improve CSS for home page grid Update the ACRN logo size to remove specifics in the CSS. (Grid images should be ~100px high for the grid.)
[ { "change_type": "ADD", "old_path": "doc/images/ACRNlogo80w.png", "new_path": "doc/images/ACRNlogo80w.png", "diff": "Binary files /dev/null and b/doc/images/ACRNlogo80w.png differ\n" }, { "change_type": "MODIFY", "old_path": "doc/index.rst", "new_path": "doc/index.rst", "diff": "...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: improve CSS for home page grid Update the ACRN logo size to remove specifics in the CSS. (Grid images should be ~100px high for the grid.) Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,718
25.07.2019 06:42:47
-28,800
0ab14fab3990356719927b5915ae7ebbed9c54e1
doc: adding guide to launch 2 Linux UOSes using SDC2 scenario
[ { "change_type": "ADD", "old_path": "doc/tutorials/images/sdc2-defconfig.png", "new_path": "doc/tutorials/images/sdc2-defconfig.png", "diff": "Binary files /dev/null and b/doc/tutorials/images/sdc2-defconfig.png differ\n" }, { "change_type": "ADD", "old_path": "doc/tutorials/images/sdc2-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: adding guide to launch 2 Linux UOSes using SDC2 scenario Tracked-On: #3462 Signed-off-by: Tonny Tzeng <tonny.tzeng@intel.com> Reviewed-by: Fuzhong Liu <fuzhong.liu@intel.com> Reviewed-by: Nanlin Xie <nanlin.xie@intel.com>
528,747
02.08.2019 12:42:11
25,200
9580a2131be1db489585ace363660b134110c7e4
doc: apply edits to SDC2 scenario doc Update merged PR with format and wording improvements. (Not linked yet into the document navigation)
[ { "change_type": "MODIFY", "old_path": "doc/develop.rst", "new_path": "doc/develop.rst", "diff": "@@ -22,6 +22,8 @@ Configuration Tutorials\ntutorials/using_partition_mode_on_nuc\ntutorials/using_partition_mode_on_up2\n+.. tutorials/using_sdc2_mode_on_nuc\n+\nUser VM Tutorials\n*****************\n" ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: apply edits to SDC2 scenario doc Update merged PR #3463 with format and wording improvements. (Not linked yet into the document navigation) Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
02.08.2019 14:08:07
25,200
f0ecf8291f27e923be7309bde1b88318e47aa2fe
doc: incorporate scenario-based doc update PR was submitted during a documentation reorganization and resulted in merge conflicts with files that no longer exist. We closed that PR and opened this one with those changes applied to the right files.
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/building-from-source.rst", "new_path": "doc/getting-started/building-from-source.rst", "diff": "@@ -171,42 +171,80 @@ each with their own way to install development tools:\ndetails.\n-Build the hypervisor, device model and tools\n-*********...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: incorporate scenario-based doc update PR #3516 was submitted during a documentation reorganization and resulted in merge conflicts with files that no longer exist. We closed that PR and opened this one with those changes applied to the right files. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
02.08.2019 17:08:53
25,200
70fdde4230e412547bbec7b870aabf4bd2b5c65d
doc: add the SDC2 scenario doc into the navigation
[ { "change_type": "MODIFY", "old_path": "doc/develop.rst", "new_path": "doc/develop.rst", "diff": "@@ -21,8 +21,7 @@ Configuration Tutorials\ntutorials/debug\ntutorials/using_partition_mode_on_nuc\ntutorials/using_partition_mode_on_up2\n-\n-.. tutorials/using_sdc2_mode_on_nuc\n+ tutorials/using_sdc2_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add the SDC2 scenario doc into the navigation Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,663
05.08.2019 22:16:38
-28,800
83e887dbb356e907ddd068cbaa747d6a7388404f
memmap:reserve phys-addr for hvlog acrn.conf:add memmap phys-addr 2M for hvlog, not mapped by kernel.
[ { "change_type": "MODIFY", "old_path": "misc/efi-stub/clearlinux/acrn.conf", "new_path": "misc/efi-stub/clearlinux/acrn.conf", "diff": "title The ACRN Service OS\nlinux /EFI/org.clearlinux/kernel-org.clearlinux.iot-lts2018-sos.4.19.13-1901141830\n-options console=tty0 console=ttyS0 root=PARTUUID=<UU...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
memmap:reserve phys-addr for hvlog acrn.conf:add memmap phys-addr 2M for hvlog, not mapped by kernel. Tracked-On: projectacrn/acrn-hypervisor#3533 Signed-off-by: YanX Fu <yanx.fu@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
528,654
02.08.2019 05:48:10
-28,800
adbaaaf6cbc6dfa7b5e87d2891c35a6aacf726d2
hv: vpci: rename ptdev_config to pci_dev_config pci_dev_config in VM configure stores all the PCI devices for a VM. Besides PT devices, there're other type devices, like virtual host bridge. So rename ptdev to pci_dev for these configure. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/sw_design_guidelines.rst", "new_path": "doc/developer-guides/sw_design_guidelines.rst", "diff": "@@ -290,7 +290,7 @@ The rules of error detection and error handling on a module level are shown in\n| | | array size and non-null | | |\n| | |...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vpci: rename ptdev_config to pci_dev_config pci_dev_config in VM configure stores all the PCI devices for a VM. Besides PT devices, there're other type devices, like virtual host bridge. So rename ptdev to pci_dev for these configure. Tracked-On: #3475 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie D...
528,654
02.08.2019 08:17:02
-28,800
eb21f205e459423ea9c6dac16e2cc867e4cd31cf
hv: vm_config: build pci device configure for SOS Align SOS pci device configure with pre-launched VM and filter pre-launched VM's PCI PT device from SOS pci device configure.
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -247,6 +247,7 @@ VP_BASE_C_SRCS += boot/guest/vboot_info.c\nVP_BASE_C_SRCS += common/hv_main.c\nVP_BASE_C_SRCS += common/vm_load.c\nVP_BASE_C_SRCS += arch/x86/configs/vmptable.c\n+VP_BASE_C_S...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vm_config: build pci device configure for SOS Align SOS pci device configure with pre-launched VM and filter pre-launched VM's PCI PT device from SOS pci device configure. Tracked-On: #3475 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
02.08.2019 08:21:22
-28,800
599a058403aacbdc5e75547bfa23a2c114f3c905
hv: vpci: refine init_vdevs Now almost the vPCI device information could be obtain from PCI device configure in VM configure. init_vdevs could make things more easier. And rename init_vdevs to vpci_init_vdevs, init_vdev to vpci_init_vdevs to avoid MISRA-C violations.
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/vpci.c", "new_path": "hypervisor/dm/vpci/vpci.c", "diff": "#include <errno.h>\n#include <logmsg.h>\n#include \"vpci_priv.h\"\n+#include \"pci_dev.h\"\n-static void init_vdevs(const struct acrn_vm *vm);\n+static void vpci_init_vdevs(struct ac...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vpci: refine init_vdevs Now almost the vPCI device information could be obtain from PCI device configure in VM configure. init_vdevs could make things more easier. And rename init_vdevs to vpci_init_vdevs, init_vdev to vpci_init_vdevs to avoid MISRA-C violations. Tracked-On: #3475 Signed-off-by: Li, Fei1 <fei1.li...
528,654
01.08.2019 21:56:45
-28,800
5471473f60133943be60d3ad17d4c23f24ce3ea0
hv: vpci: create iommu domain in vpci_init for all guests Create an iommu domain for all guest in vpci_init no matter if there's a PTDev in it.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -589,9 +589,7 @@ int32_t shutdown_vm(struct acrn_vm *vm)\nptdev_release_all_entries(vm);\n/* Free iommu */\n- if (vm->iommu != NULL) {\ndestroy_iommu_domain(vm->iommu);\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vpci: create iommu domain in vpci_init for all guests Create an iommu domain for all guest in vpci_init no matter if there's a PTDev in it. Tracked-On: #3475 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com> Reviewed-by: Dongsheng Zhang <dongsheng.x.zhang@intel.com>
528,773
06.08.2019 15:43:07
-28,800
50e0a932a2dbe4ff77defadff78938099b0087dc
dm: virtio-i2c: fix native_adapter memory leak If failed to create native_adapter, free allocated native_adapter memory before return.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_i2c.c", "new_path": "devicemodel/hw/pci/virtio/virtio_i2c.c", "diff": "@@ -449,7 +449,7 @@ native_adapter_create(int bus, uint16_t slave_addr[], int n_slave)\nfd = open(native_path, O_RDWR);\nif (fd < 0) {\nWPRINTF(\"virtio_i2c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: virtio-i2c: fix native_adapter memory leak If failed to create native_adapter, free allocated native_adapter memory before return. Tracked-On: #3543 Signed-off-by: Yifan Luo <luoyifan@cmss.chinamobile.com>
528,773
06.08.2019 15:10:24
-28,800
f65ba2154f3bb62bec243f029500dd27f5c84703
HV: shell: fix temp_str out of bounds buffer access String buffer temp_str is defined with size TEMP_STR_SIZE(60U) but accessed with MAX_STR_SIZE(256U). Better to limit the access bound to TEMP_STR_SIZE to prevent potential issue.
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/shell.c", "new_path": "hypervisor/debug/shell.c", "diff": "@@ -252,7 +252,7 @@ static uint16_t sanitize_vmid(uint16_t vmid)\nchar temp_str[TEMP_STR_SIZE];\nif (vmid >= CONFIG_MAX_VM_NUM) {\n- snprintf(temp_str, MAX_STR_SIZE,\n+ snprintf(temp_s...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: shell: fix temp_str out of bounds buffer access String buffer temp_str is defined with size TEMP_STR_SIZE(60U) but accessed with MAX_STR_SIZE(256U). Better to limit the access bound to TEMP_STR_SIZE to prevent potential issue. Tracked-On: #3549 Signed-off-by: Yifan Luo <luoyifan@cmss.chinamobile.com>
528,653
05.08.2019 16:21:26
14,400
4dfd5d6ae6be7725d544b67c227c02c0c530756e
dm:gvt:keep LaaG aperture size consistent with the host Keep LaaG aperture size consistent with the host bios setting, if we statically set LaaG aperture 256MB, it may not have memory space for LaaG aperture. We get host aperture size from cfg port 0x62.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/gvt.c", "new_path": "devicemodel/hw/pci/gvt.c", "diff": "@@ -89,6 +89,8 @@ gvt_init_config(struct pci_gvt *gvt)\nint ret;\nchar name[PATH_MAX];\nuint8_t cap_ptr = 0;\n+ uint8_t aperture_size_reg;\n+ uint16_t aperture_size = 256;\nsnprintf(na...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm:gvt:keep LaaG aperture size consistent with the host Keep LaaG aperture size consistent with the host bios setting, if we statically set LaaG aperture 256MB, it may not have memory space for LaaG aperture. We get host aperture size from cfg port 0x62. Tracked-On: #3537 Signed-off-by: Junming Liu <junming.liu@intel...
528,654
07.08.2019 22:06:11
-28,800
ff54fa2325b74a5d30ae9a239eb48a44f3bf5d01
hv: vpci: add emulated PCI device configure for SOS Add emulated PCI device configure for SOS to prepare for add support for customizing special pci operations for each emulated PCI device.
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -213,8 +213,8 @@ HW_C_SRCS += hw/pci.c\nHW_C_SRCS += arch/x86/configs/vm_config.c\nHW_C_SRCS += arch/x86/configs/$(CONFIG_BOARD)/board.c\nHW_C_SRCS += scenarios/$(SCENARIO_NAME)/vm_configurat...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vpci: add emulated PCI device configure for SOS Add emulated PCI device configure for SOS to prepare for add support for customizing special pci operations for each emulated PCI device. Tracked-On: #3475 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
07.08.2019 23:29:18
-28,800
4c8e60f1d053b6500b321d688bf956f586ac0c24
hv: vpci: add each vdev_ops for each emulated PCI device Add a field (vdev_ops) in struct acrn_vm_pci_dev_config to configure a PCI CFG operation for an emulated PCI device. Use pci_pt_dev_ops for PCI_DEV_TYPE_PTDEV by default if there's no such configure. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/pci_dev.c", "new_path": "hypervisor/arch/x86/configs/pci_dev.c", "diff": "#include <vm_config.h>\n#include <pci.h>\n#include <pci_dev.h>\n+#include <vpci.h>\n/*\n* In theory, emulated PCI device doesn't need to bind to physical PCI ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vpci: add each vdev_ops for each emulated PCI device Add a field (vdev_ops) in struct acrn_vm_pci_dev_config to configure a PCI CFG operation for an emulated PCI device. Use pci_pt_dev_ops for PCI_DEV_TYPE_PTDEV by default if there's no such configure. Tracked-On: #3475 Signed-off-by: Li, Fei1 <fei1.li@intel.com>...
528,662
05.08.2019 15:33:48
-28,800
70e1e8d154d999a8114773da05292757f4d361e5
doc: hybrid mode scenario introduction Add introduction about how to enable hybrid mode scenario.
[ { "change_type": "MODIFY", "old_path": "doc/develop.rst", "new_path": "doc/develop.rst", "diff": "@@ -22,6 +22,7 @@ Configuration Tutorials\ntutorials/using_partition_mode_on_nuc\ntutorials/using_partition_mode_on_up2\ntutorials/using_sdc2_mode_on_nuc\n+ tutorials/using_hybrid_mode_on_nuc\nUser VM T...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: hybrid mode scenario introduction Add introduction about how to enable hybrid mode scenario. Signed-off-by: lirui34 <ruix.li@intel.com>
528,654
09.08.2019 22:16:50
-28,800
90480db5532b788a7b346e78e11c4ce1c81c19a6
hv: vpci: split vPCI device from SOS for post-launched VM When assgined a PCI PTDev to post-launched VM from SOS, using a pointer to point to the real struct pci_vdev. When post-launched VM access its PTDev configure space in SOS address space, using this real struct pci_vdev.
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/vdev.c", "new_path": "hypervisor/dm/vpci/vdev.c", "diff": "@@ -74,7 +74,7 @@ void pci_vdev_write_cfg(struct pci_vdev *vdev, uint32_t offset, uint32_t bytes,\n* @pre vpci != NULL\n* @pre vpci->pci_vdev_cnt <= CONFIG_MAX_PCI_DEV_NUM\n*/\n-stru...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vpci: split vPCI device from SOS for post-launched VM When assgined a PCI PTDev to post-launched VM from SOS, using a pointer to point to the real struct pci_vdev. When post-launched VM access its PTDev configure space in SOS address space, using this real struct pci_vdev. Tracked-On: #3475 Signed-off-by: Li, Fei...
528,654
09.08.2019 22:24:34
-28,800
d82a00a128be2fadf145e8598d2d7d9f68f86d5f
hv: vpci: remove pBDF configure for emulated device Since now we use vBDF to search the device for PCI vdev.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/pci_dev.c", "new_path": "hypervisor/arch/x86/configs/pci_dev.c", "diff": "#include <pci_dev.h>\n#include <vpci.h>\n-/*\n- * In theory, emulated PCI device doesn't need to bind to physical PCI device.\n- * However, now we need to sea...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vpci: remove pBDF configure for emulated device Since now we use vBDF to search the device for PCI vdev. Tracked-On: #3475 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,801
13.08.2019 08:48:44
-28,800
c3001e61a28ff2391b87a60a156b66ecaeabe424
doc: add limitation for UEFI services add limitation for UEFI services
[ { "change_type": "MODIFY", "old_path": "doc/introduction/index.rst", "new_path": "doc/introduction/index.rst", "diff": "@@ -162,6 +162,11 @@ The Boot process proceeds as follows:\nbootloader through dm-verity\n#. Virtual bootloader starts the User-side verified boot process\n+.. note::\n+ To avoid h...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add limitation for UEFI services - add limitation for UEFI services Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,748
12.08.2019 16:14:49
-28,800
bf1a162c3e14b4d5ae818f9fcac160c1e064aa00
doc: update Using SBL on UP2 Board 1. The origin clearlinux version 29070 in this doucment example is not workable with acrn latest code, update the clearlinux version. 2. Replace the sos_console_login.png with vm_console_login.png
[ { "change_type": "DELETE", "old_path": "doc/tutorials/images/sos_console_login.png", "new_path": "doc/tutorials/images/sos_console_login.png", "diff": "Binary files a/doc/tutorials/images/sos_console_login.png and /dev/null differ\n" }, { "change_type": "ADD", "old_path": "doc/tutorials/...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update Using SBL on UP2 Board 1. The origin clearlinux version 29070 in this doucment example is not workable with acrn latest code, update the clearlinux version. 2. Replace the sos_console_login.png with vm_console_login.png Signed-off-by: Lei Lu <leix.lu@intel.com>
528,670
09.08.2019 11:23:49
-28,800
b06c84ba1f8633c412a381f8c4ac3df93a438382
doc:update Getting started guide for Intel NUC software setup
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/apl-nuc.rst", "new_path": "doc/getting-started/apl-nuc.rst", "diff": "@@ -114,6 +114,7 @@ manually, as described below).\n#. Select \"User Manager\" to add an administrative user \"clear\" and\npassword.\n#. Select \"Assign Hostname\" to se...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc:update Getting started guide for Intel NUC software setup Signed-off-by: yunzha4x <yunx.zhang@intel.com>
528,755
09.08.2019 09:02:56
-28,800
9c48fc4ac51e0dd684ef703c2d31dba377bfccd2
hv: fix failed to build release version build with Kconfig setting Hardcode "RELEASE=0" will cause the value of "CONFIG_RELEASE" to be 'n' in kconfig.mk, it will be overwritten "CONFIG_RELEASE" with Kconfig setting.
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -19,7 +19,6 @@ HV_OBJDIR ?= $(CURDIR)/build\nHV_MODDIR ?= $(HV_OBJDIR)/modules\nHV_FILE := acrn\nSUB_MAKEFILES := $(wildcard */Makefile)\n-RELEASE ?= 0\nLIB_MOD = $(HV_MODDIR)/lib_mod.a\nBOOT...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix failed to build release version build with Kconfig setting Hardcode "RELEASE=0" will cause the value of "CONFIG_RELEASE" to be 'n' in kconfig.mk, it will be overwritten "CONFIG_RELEASE" with Kconfig setting. Tracked-On: #3565 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Reviewed-by: Junjie Mao <junji...
528,801
13.08.2019 08:41:00
-28,800
062fe19800d77f129fd0db0d526af4a5907890e3
hv: move vmx_rdmsr_pat/vmx_wrmsr_pat from vmcs.c to vmsr.c This patch moves vmx_rdmsr_pat/vmx_wrmsr_pat from vmcs.c to vmsr.c, so that these two functions would become internal functions inside vmsr.c. This approach improves the modularity. v1 -> v2: * remove 'vmx_rdmsr_pat' * rename 'vmx_wrmsr_pat' with 'write_pat_msr...
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcs.c", "new_path": "hypervisor/arch/x86/guest/vmcs.c", "diff": "#include <vmexit.h>\n#include <logmsg.h>\n-uint64_t vmx_rdmsr_pat(const struct acrn_vcpu *vcpu)\n-{\n- /*\n- * note: if run_ctx->cr0.CD is set, the actual value in gues...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: move vmx_rdmsr_pat/vmx_wrmsr_pat from vmcs.c to vmsr.c This patch moves vmx_rdmsr_pat/vmx_wrmsr_pat from vmcs.c to vmsr.c, so that these two functions would become internal functions inside vmsr.c. This approach improves the modularity. v1 -> v2: * remove 'vmx_rdmsr_pat' * rename 'vmx_wrmsr_pat' with 'write_pat...
528,756
13.08.2019 13:29:21
-28,800
f1b71d983ace29e7557af64c8da70ebf0499c97f
dm: expand default WaaG memory to 4G This patch is used to expand WaaG memory from 2G to 4G in launch script. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/nuc/launch_win.sh", "new_path": "devicemodel/samples/nuc/launch_win.sh", "diff": "@@ -17,7 +17,7 @@ echo \"8086:9d71\" > /sys/bus/pci/drivers/pci-stub/new_id\necho \"0000:00:1f.3\" > /sys/bus/pci/drivers/pci-stub/bind\n#for memsize setting\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: expand default WaaG memory to 4G This patch is used to expand WaaG memory from 2G to 4G in launch script. Tracked-On: #3576 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,747
15.08.2019 09:31:28
25,200
5b5efe7193d7752920b871a429efda0fe96395cd
doc: add v1.2 to the release navigation picker
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -189,10 +189,10 @@ else:\nhtml_context = {\n'current_version': current_version,\n'versions': ( (\"latest\", \"/latest/\"),\n+ (\"1.2\", \"/1.2/\"),\n(\"1.1\", \"/1.1/\"),\n(\"1.0\", \"/1.0/\"),\n(\"0.8\", \"...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add v1.2 to the release navigation picker Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,751
12.08.2019 11:47:39
-28,800
866935a53fd683b10eb839938357ac076c9213c8
hv: vcr: check guest cr3 before loading pdptrs Check whether the address area pointed by the guest cr3 is valid or not before loading pdptrs. Inject #GP(0) to guest if there are any invalid cases. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/virtual_cr.c", "new_path": "hypervisor/arch/x86/guest/virtual_cr.c", "diff": "CR4_OSXMMEXCPT | CR4_SMAP | CR4_PKE | \\\nCR4_SMXE | CR4_UMIP)\n+/* PAE PDPTE bits 1 ~ 2, 5 ~ 8 are always reserved */\n+#define PAE_PDPTE_FIXED_RESVD_BITS ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vcr: check guest cr3 before loading pdptrs Check whether the address area pointed by the guest cr3 is valid or not before loading pdptrs. Inject #GP(0) to guest if there are any invalid cases. Tracked-On: #3572 Signed-off-by: Jie Deng <jie.deng@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked...
528,747
15.08.2019 08:50:45
25,200
4d4c4e7b68ad8c31c3ec24386253504b92a58b57
doc: remove modernizr.min.js modernizr.min.js is no longer used by Sphinx's rtd theme and is causing some browsers to have a noticable flash when pages are loaded. While we can't easily remove it from the RTD theme, we can replace the script with an empty file instead.
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/static/js/modernizr.min.js", "diff": "+/* modernizr.min.js is causing unnecessary reloads of a page causing\n+ * flashing of the browser window during page load. This empty script\n+ * effectively wipes out the modernizr.min.js loaded by the...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: remove modernizr.min.js modernizr.min.js is no longer used by Sphinx's rtd theme and is causing some browsers to have a noticable flash when pages are loaded. While we can't easily remove it from the RTD theme, we can replace the script with an empty file instead. Signed-off-by: David B. Kinder <david.b.kinder@i...
528,708
13.08.2019 10:31:49
-28,800
c7f569da305a944f02964dab4d8597e0ba6334c8
HV: switch launch LaaG with OVMF by default OVMF will open source for V1.2, so enable launch LaaG with OVMF.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/nuc/launch_uos.sh", "new_path": "devicemodel/samples/nuc/launch_uos.sh", "diff": "@@ -102,16 +102,22 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge \\\n-s 3,virtio-blk,/home/clear/uos/uos.img \\\n-s 4,virtio-net,tap0 \\\n-s 7,virtio-rnd...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: switch launch LaaG with OVMF by default OVMF will open source for V1.2, so enable launch LaaG with OVMF. Tracked-On: #3506 Reviewed-by: Binbin Wu <binbin.wu@intel.com> Signed-off-by: fuzhongl <fuzhong.liu@intel.com>
528,706
14.08.2019 11:18:01
0
eab4e42e7b4f7988218b618bfbb52ad08a6922ee
hv: enable console vuart in industry scenario Enable console vuart for the reset of VMs in industry scenario.
[ { "change_type": "MODIFY", "old_path": "hypervisor/scenarios/industry/vm_configurations.c", "new_path": "hypervisor/scenarios/industry/vm_configurations.c", "diff": "@@ -46,7 +46,8 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {\n/* d2795438-25d6-11e8-864e-cb7a18b34643 */\n.vuart[0] = {\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: enable console vuart in industry scenario Enable console vuart for the reset of VMs in industry scenario. Tracked-On: #3370 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com>
528,768
16.08.2019 14:29:55
-28,800
700a37856f266980d0ffe6d4a603034d24986770
hv: remove 'flags' field in struct vm_io_range Currently, 'flags' is defined and set but never be used in the flow of handling i/o request after then. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/pm.c", "new_path": "hypervisor/arch/x86/guest/pm.c", "diff": "@@ -222,7 +222,6 @@ static void register_gas_io_handler(struct acrn_vm *vm, uint32_t pio_idx, const\nif ((gas->address != 0UL) && (gas->space_id == SPACE_SYSTEM_IO)\n&& (ga...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove 'flags' field in struct vm_io_range Currently, 'flags' is defined and set but never be used in the flow of handling i/o request after then. Tracked-On: #861 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>