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,703 | 08.05.2019 10:03:48 | -28,800 | d9717967d768e88229b8f9786cd82f6e69fd99f1 | dm:add grep -w option for uos launch sh
for vm_name with vxworks_vm1 or zephyr_vm1 or vm1
grep "vm1" will match three of them, add -w option fix this issue | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -75,7 +75,7 @@ fi\n#check if the vm is running or not\nvm_ps=$(pgrep -a -f acrn-dm)\n-result=$(echo $vm_ps | grep \"${vm_name}\")\n+result=$(echo $... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm:add grep -w option for uos launch sh
for vm_name with vxworks_vm1 or zephyr_vm1 or vm1
grep "vm1" will match three of them, add -w option fix this issue
Tracked-On:#3081
Signed-off-by: zhangyun <yunx.zhang@intel.com> |
528,794 | 10.05.2019 23:36:09 | -28,800 | 565f3cb72c8fa8bdebe463c5c002546f92bf3fb6 | HV: move dmar parse code to acpi parser folder
The acpi parse code would not go FuSa cert, move acpi parser related code
to a separate folder is helpful on FuSa isolation.
This patch moves dmar parse code;
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -156,9 +156,14 @@ ifneq (,$(wildcard scenarios/$(SCENARIO_NAME)/pt_dev.c))\nC_SRCS += scenarios/$(SCENARIO_NAME)/pt_dev.c\nendif\n+# ACPI parsing component\n+# This part should be isolated fr... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: move dmar parse code to acpi parser folder
The acpi parse code would not go FuSa cert, move acpi parser related code
to a separate folder is helpful on FuSa isolation.
This patch moves dmar parse code;
Tracked-On: #3107
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,794 | 11.05.2019 00:51:46 | -28,800 | cbab1f831cf92411c71b88cd179ec8c93bb3f045 | HV: remove acpi_priv.h
Keep acpi.h as the only acpi api interface;
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/acpi_parser/dmar_parse.c",
"new_path": "hypervisor/acpi_parser/dmar_parse.c",
"diff": "#include <spinlock.h>\n#include \"pci.h\"\n#include \"vtd.h\"\n-#include \"acpi_priv.h\"\n+#include \"acpi.h\"\n+\n+#define ACPI_SIG_DMAR \"DMAR\"\nenum acpi_dmar... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove acpi_priv.h
Keep acpi.h as the only acpi api interface;
Tracked-On: #3107
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,794 | 11.05.2019 01:19:02 | -28,800 | 86fe2e033c343e476c261cf1d90c5915f05aa021 | HV: split acpi.c
Split acpi.c to acpi_base.c and acpi_ext.c. The former one will
go FuSa and the later one will not;
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -161,8 +161,9 @@ endif\nifeq ($(CONFIG_DMAR_PARSE_ENABLED),y)\nC_SRCS += acpi_parser/dmar_parse.c\nendif\n+C_SRCS += acpi_parser/acpi_ext.c\n-C_SRCS += boot/acpi.c\n+C_SRCS += boot/acpi_base.... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: split acpi.c
Split acpi.c to acpi_base.c and acpi_ext.c. The former one will
go FuSa and the later one will not;
Tracked-On: #3107
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,665 | 09.05.2019 11:40:43 | 0 | 356bf1849188c4c673a4a89283feaf420fbf690d | DM: Get max vcpu per vm from HV instead of hardcode
This patch tries to fetch max vcpu per vm from HV instead of hardcode in DM.
Acked-by: Yin Fengwei | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "#include <sysexits.h>\n#include <stdbool.h>\n#include <getopt.h>\n+#include <sys/ioctl.h>\n#include \"vmmapi.h\"\n#include \"sw_load.h\"\n@@ -695,10 +696,20 @@ vm_loop(struct vmctx *ctx)... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Get max vcpu per vm from HV instead of hardcode
This patch tries to fetch max vcpu per vm from HV instead of hardcode in DM.
Tracked-On: #3116
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Yin Fengwei <fengwei.yin@intel.com> |
528,794 | 14.05.2019 14:48:23 | -28,800 | 1aac0dffaf0cf39fe6b9b540ee647f2cb7dff222 | HV: hot fix on usage of CONFIG_ACPI_PARSE_ENABLED
The acpi_fixup() is only called when CONFIG_ACPI_PARSE_ENABLED is enabled; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/boot/guest/vboot_wrapper.c",
"new_path": "hypervisor/boot/guest/vboot_wrapper.c",
"diff": "@@ -66,7 +66,7 @@ void init_vboot_operations(void)\n/* @pre: vboot_ops->init != NULL */\nvoid init_vboot(void)\n{\n-#ifndef CONFIG_ACPI_PARSE_ENABLED\n+#ifdef... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: hot fix on usage of CONFIG_ACPI_PARSE_ENABLED
The acpi_fixup() is only called when CONFIG_ACPI_PARSE_ENABLED is enabled;
Tracked-On: #3107
Signed-off-by: Victor Sun <victor.sun@intel.com> |
528,664 | 07.05.2019 17:09:49 | -32,400 | 49350634b18770622b96fe368905bd12b0fd04ae | DM: virtio-gpio: fixed static variable keeps increasing issue
virtio_gpio_ops variable type is static,so use "+=" will let
the value keep increasing when acrn-dm reset.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"diff": "@@ -620,7 +620,7 @@ virtio_gpio_cfgread(void *vdev, int offset, int size, uint32_t *retval)\nstatic struct virtio_ops virtio_gpio_ops = {\n\"virtio_gpio\"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: virtio-gpio: fixed static variable keeps increasing issue
virtio_gpio_ops variable type is static,so use "+=" will let
the value keep increasing when acrn-dm reset.
Tracked-On: #3118
Reviewed-by: Yuan Liu <yuan1.liu@intel.com>
Signed-off-by: fuyongjie <fuyongjie@neusoft.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,783 | 15.05.2019 10:48:26 | -28,800 | 517cff1bbeb20f92972ecca9620a3d7bd5b2af7a | hv:remove some unnecessary includes
remove some unnecessary includes,
some can cause reverse dependency.
modified: acpi_parser/acpi_ext.c
modified: acpi_parser/dmar_parse.c
modified: boot/acpi_base.c
modified: boot/guest/direct_boot_info.c
modified: include/arch/x86/per_cpu.h | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/acpi_parser/acpi_ext.c",
"new_path": "hypervisor/acpi_parser/acpi_ext.c",
"diff": "*/\n#include <types.h>\n#include <rtl.h>\n-#include <vboot.h>\n#include \"acpi.h\"\n#include <pgtable.h>\n#include <ioapic.h>\n"
},
{
"change_type": "MODIFY",... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:remove some unnecessary includes
remove some unnecessary includes,
some can cause reverse dependency.
Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
modified: acpi_parser/acpi_ext.c
modified: acpi_parser/dmar_parse.c
modified: boot/acpi_base.c
modified: boot/guest/direct_boot... |
528,799 | 13.05.2019 17:12:52 | 25,200 | a97e6e64654475b1c3f241fd3e21aed4447ccc89 | HV: rename sharing_mode_find_vdev_sos to find_vdev_for_sos
Rename the function to find_vdev_for_sos for the following reasons:
1. meet the <verb>_<nouns> function name guidelines
2. remove sharing_mode from the function name | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vpci.c",
"new_path": "hypervisor/dm/vpci/vpci.c",
"diff": "@@ -435,13 +435,13 @@ void partition_mode_cfgwrite(const struct acrn_vpci *vpci, union pci_bdf vbdf,\n}\n}\n-static struct pci_vdev *sharing_mode_find_vdev_sos(union pci_bdf pbdf)\n+... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: rename sharing_mode_find_vdev_sos to find_vdev_for_sos
Rename the function to find_vdev_for_sos for the following reasons:
1. meet the <verb>_<nouns> function name guidelines
2. remove sharing_mode from the function name
Tracked-On: #3056
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Reviewed-by: Eddie Do... |
528,799 | 14.05.2019 11:37:40 | 25,200 | f873b843de6d71f4e4e3304dca222eaaa659967d | HV: cosmetix fix for pci_pt.c
Use local variable msix instead of vdev->msix, vdev_pt_remap_msix_table_bar has
already defined a local variable msix (&vdev->msix), use msix instead of
vdev->msix to simplify the code.
Fix for functions
Rename pci_bar_base to get_bar_base
Fix typo in comment
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "#include <logmsg.h>\n#include \"vpci_priv.h\"\n-static inline uint32_t pci_bar_base(uint32_t bar)\n+static inline uint32_t get_bar_base(uint32_t bar)\n{\nreturn bar & PCIM_BAR_ME... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: cosmetix fix for pci_pt.c
Use local variable msix instead of vdev->msix, vdev_pt_remap_msix_table_bar has
already defined a local variable msix (&vdev->msix), use msix instead of
vdev->msix to simplify the code.
Fix @pre for functions
Rename pci_bar_base to get_bar_base
Fix typo in comment
Tracked-On: #3056
Si... |
528,799 | 14.05.2019 14:27:30 | 25,200 | 3a6c63f2d8b7a11145244d134858f39078cea5f6 | HV: unify the sharing_mode_vpci_init and partition_mode_vpci_init code
Put the init code in init_vdev_for_pdev for both sos and pre-launched VMs, and
remove sharing_mode_vpci_init() and partition_mode_vpci_init().
Rename functions used by init_vdev_for_pdev:
vhostbridge_init --> init_vhostbridge
vmsi_init --> init_vmsi... | [
{
"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 vhostbridge_init(struct pci_vdev *vdev)\n+void init_vhostbridge(struct pci_vdev *vdev)\n{\nif (is_ho... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: unify the sharing_mode_vpci_init and partition_mode_vpci_init code
Put the init code in init_vdev_for_pdev for both sos and pre-launched VMs, and
remove sharing_mode_vpci_init() and partition_mode_vpci_init().
Rename functions used by init_vdev_for_pdev:
vhostbridge_init --> init_vhostbridge
vmsi_init --> init_... |
528,799 | 14.05.2019 16:35:13 | 25,200 | 0018da4114dd8e62df894650c741c77c13f11f50 | HV: add missing for some functions
Add for some functions, and fix outdated statements
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vdev.c",
"new_path": "hypervisor/dm/vpci/vdev.c",
"diff": "#include <vm.h>\n#include \"vpci_priv.h\"\n+/**\n+ * @pre vdev != NULL\n+ */\nuint32_t pci_vdev_read_cfg(const struct pci_vdev *vdev, uint32_t offset, uint32_t bytes)\n{\nuint32_t va... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add missing @pre for some functions
Add @pre for some functions, and fix outdated @pre statements
Tracked-On: #3056
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,697 | 20.05.2019 17:08:43 | -28,800 | aba357dd363a70e0702711134476672dde51abe2 | 1. fix cpu family calculation
2. Modifie the parameter 'fl' order | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu_caps.c",
"new_path": "hypervisor/arch/x86/cpu_caps.c",
"diff": "@@ -214,9 +214,9 @@ void init_pcpu_capabilities(void)\ncpuid(CPUID_FEATURES, &eax, &unused,\n&boot_cpu_data.cpuid_leaves[FEAT_1_ECX],\n&boot_cpu_data.cpuid_leaves[FEAT_1_ED... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | 1. fix cpu family calculation
2. Modifie the parameter 'fl' order
Tracked-On:#3142
Signed-off-by: Andy <andyx.liu@intel.com> |
528,799 | 20.05.2019 14:26:53 | 25,200 | 4cdaa519a04bb8497f1071cbac4fc5d693cbe91b | HV: rename vdev_pt_cfgwrite_bar to vdev_pt_write_vbar and some misra-c fix
Rename vdev_pt_cfgwrite_bar to vdev_pt_write_vbar
Misra-c violation fix:
Add missing else for find_vdev()
Fix more than one exit (return) in function
vdev_pt_cfgwrite_bar/vdev_pt_write_vbar
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "@@ -203,18 +203,15 @@ static void vdev_pt_remap_generic_bar(const struct pci_vdev *vdev, uint32_t idx,\n/**\n* @pre vdev != NULL\n*/\n-static void vdev_pt_cfgwrite_bar(struct pci... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: rename vdev_pt_cfgwrite_bar to vdev_pt_write_vbar and some misra-c fix
Rename vdev_pt_cfgwrite_bar to vdev_pt_write_vbar
Misra-c violation fix:
Add missing else for find_vdev()
Fix more than one exit (return) in function
vdev_pt_cfgwrite_bar/vdev_pt_write_vbar
Tracked-On: #3022
Signed-off-by: dongshen <dongsh... |
528,794 | 21.05.2019 12:50:08 | -28,800 | 90f3ce442db4ce6126538ae8ab01a24a013dce15 | HV: remove unused UNDEFINED_VM
The enum of UNDEFINED_VM has never been used, remove it; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/configs/vm_config.c",
"new_path": "hypervisor/arch/x86/configs/vm_config.c",
"diff": "@@ -108,7 +108,7 @@ bool sanitize_vm_config(void)\n/* Nothing to do here for a POST_LAUNCHED_VM, break directly. */\nbreak;\ndefault:\n- /* Nothing to do ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove unused UNDEFINED_VM
The enum of UNDEFINED_VM has never been used, remove it;
Tracked-On: #2291
Signed-off-by: Victor Sun <victor.sun@intel.com> |
528,804 | 15.05.2019 18:15:48 | -28,800 | 9876138b699be2206e647ef319ca9111aa3f3fad | HV: add spinlock to dmar_enable/disable_qi
add spinlock to dmar_enable_qi & dmar_disable_qi to protect
struct dmar_unit variables; keep consistent with other same
level functions.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -952,6 +952,8 @@ static void dmar_enable_qi(struct dmar_drhd_rt *dmar_unit)\n{\nuint32_t status = 0;\n+ spinlock_obtain(&(dmar_unit->lock));\n+\ndmar_unit->qi_queue = hva2hpa(get_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add spinlock to dmar_enable/disable_qi
add spinlock to dmar_enable_qi & dmar_disable_qi to protect
struct dmar_unit variables; keep consistent with other same
level functions.
Tracked-On: #3130
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,804 | 15.05.2019 18:52:33 | -28,800 | fc1cbebe3169410188a5738804138b6368563d62 | HV: remove vcpu arch lock, not needed.
the pcpu just write its own vmcs, not need spinlock.
and the arch.lock not used other places, remove it too.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu_caps.c",
"new_path": "hypervisor/arch/x86/cpu_caps.c",
"diff": "#include <page.h>\n#include <cpufeatures.h>\n#include <cpuid.h>\n-#include <spinlock.h>\n#include <cpu.h>\n#include <per_cpu.h>\n#include <vmx.h>\n"
},
{
"change_ty... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove vcpu arch lock, not needed.
the pcpu just write its own vmcs, not need spinlock.
and the arch.lock not used other places, remove it too.
Tracked-On: #3130
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,804 | 16.05.2019 15:01:12 | -28,800 | 9b7dee90a622a0ebbdc186fd72b123cfc1c927cb | HV: remove one lock for ctx->flags operation.
for ctx->flags is protected by scheduler lock, so not need
to set lock again.
Acked-by: Eddie Dong | [
{
"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_lock(NEED_RESCH... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove one lock for ctx->flags operation.
for ctx->flags is protected by scheduler lock, so not need
to set lock again.
Tracked-On: #3130
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,668 | 17.05.2019 14:35:31 | 25,200 | 83012a5a0a53b896c1e385e1bfef9ebb62c5a921 | HV: remove unused function disable_iommu
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -1301,11 +1301,6 @@ void enable_iommu(void)\ndo_action_for_iommus(dmar_enable);\n}\n-void disable_iommu(void)\n-{\n- do_action_for_iommus(dmar_disable);\n-}\n-\nvoid suspend_iommu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove unused function disable_iommu
Change-Id: Ia2347008082991d56cdbfab9f9940cfccc473702
Tracked-On: #3123
Signed-off-by: yliu79 <ying2.liu@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,668 | 17.05.2019 14:41:32 | 25,200 | c68c6e4af28e1050ff21a548b4a8451dabb53abf | HV: remove unused function shutdown_vcpu
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vcpu.c",
"new_path": "hypervisor/arch/x86/guest/vcpu.c",
"diff": "@@ -529,13 +529,6 @@ int32_t run_vcpu(struct acrn_vcpu *vcpu)\nreturn status;\n}\n-int32_t shutdown_vcpu(__unused struct acrn_vcpu *vcpu)\n-{\n- /* TODO : Implement VCP... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove unused function shutdown_vcpu
Change-Id: Ia6f9aa4d2d603d23bc0cb9c3b12032d1a96504db
Tracked-On: #3123
Signed-off-by: yliu79 <ying2.liu@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,668 | 17.05.2019 14:44:36 | 25,200 | 163c63d21f3f269bab27736b87b506f8dc305b42 | HV: remove unused function resume_vm
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "@@ -591,21 +591,6 @@ void pause_vm(struct acrn_vm *vm)\n}\n}\n-/**\n- * * @pre vm != NULL\n- */\n-void resume_vm(struct acrn_vm *vm)\n-{\n- uint16_t i;\n- struct acrn_vcpu ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove unused function resume_vm
Change-Id: Ia6b6617e55044b5555a2d80c26a4ef7d7e56b7fa
Tracked-On: #3123
Signed-off-by: yliu79 <ying2.liu@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,668 | 17.05.2019 14:45:48 | 25,200 | 26de86d7619e342b5578013e104e153441d0a5ab | HV: remove unused function copy_to_gva
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/guest_memory.c",
"new_path": "hypervisor/arch/x86/guest/guest_memory.c",
"diff": "@@ -426,12 +426,6 @@ int32_t copy_from_gva(struct acrn_vcpu *vcpu, void *h_ptr, uint64_t gva,\nreturn copy_gva(vcpu, h_ptr, gva, size, err_code, fault_a... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove unused function copy_to_gva
Change-Id: I18a6c860ba4bcec4e5915fa6a2a18ed1ecb20fff
Tracked-On: #3123
Signed-off-by: yliu79 <ying2.liu@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,668 | 17.05.2019 14:46:51 | 25,200 | c5391d2592a374e489eff6b33858c9226671cc7a | HV: remove unused function vcpu_inject_ac
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/virq.c",
"new_path": "hypervisor/arch/x86/guest/virq.c",
"diff": "@@ -304,12 +304,6 @@ void vcpu_inject_ud(struct acrn_vcpu *vcpu)\n(void)vcpu_queue_exception(vcpu, IDT_UD, 0);\n}\n-/* Inject alignment check exception(#AC) to guest */... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove unused function vcpu_inject_ac
Change-Id: I4b139e78c372d0941923fc8260db7a3578a894f2
Tracked-On: #3123
Signed-off-by: yliu79 <ying2.liu@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,668 | 17.05.2019 14:48:05 | 25,200 | 36568ff5ea22ea329936b0a11c6d4639b07d6f89 | HV: remove unused function sbuf_is_empty and sbuf_get
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/sbuf.c",
"new_path": "hypervisor/debug/sbuf.c",
"diff": "#include <cpu.h>\n#include <per_cpu.h>\n-static inline bool sbuf_is_empty(const struct shared_buf *sbuf)\n-{\n- return (sbuf->head == sbuf->tail);\n-}\n-\nuint32_t sbuf_next_ptr(uint32_t... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove unused function sbuf_is_empty and sbuf_get
Change-Id: I5fc3c472d445fc7a60c65e87cef692471ce6a26a
Tracked-On: #3123
Signed-off-by: yliu79 <ying2.liu@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,668 | 17.05.2019 14:49:27 | 25,200 | fe4fcf491f753230628994374027962412c1ec24 | xHV: remove unused function is_dbg_uart_enabled
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hv-memmgt.rst",
"new_path": "doc/developer-guides/hld/hv-memmgt.rst",
"diff": "@@ -430,9 +430,6 @@ Data Transferring between hypervisor and VM\n.. doxygenfunction:: copy_from_gva\n:project: Project ACRN\n-.. doxygenfunction:: copy_to_g... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | xHV: remove unused function is_dbg_uart_enabled
Change-Id: I64b3e08818f1cb15ec7c41557900d6e462c4e107
Tracked-On: #3123
Signed-off-by: yliu79 <ying2.liu@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,662 | 15.05.2019 14:24:39 | -28,800 | 214eb5e96b1bfda57082967f2be26c5aa7c495e9 | doc: Update clearlinux os installation guide link.
bare-metal-install is replaced with bare-metal-install-server. | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/apl-nuc.rst",
"new_path": "doc/getting-started/apl-nuc.rst",
"diff": "@@ -90,7 +90,7 @@ manually, as described below).\n#. Download the compressed Clear Linux OS installer image from\nhttps://download.clearlinux.org/releases/28960/clear/cle... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: Update clearlinux os installation guide link.
bare-metal-install is replaced with bare-metal-install-server.
Signed-off-by: ruix.li <ruix.li@intel.com> |
528,728 | 14.05.2019 10:43:52 | -7,200 | c561f2d626a90f843070cb0d78eea3ab42e684aa | doc: add <vm_id> parameter to the "vm_console" command description
Add the <vm_id> parameter to the documentation for the ACRN shell
"vm_console" command. | [
{
"change_type": "MODIFY",
"old_path": "doc/user-guides/acrn-shell.rst",
"new_path": "doc/user-guides/acrn-shell.rst",
"diff": "@@ -22,7 +22,7 @@ The ACRN hypervisor shell supports the following commands:\n* - dumpmem <hva> <length>\n- Dump host memory, starting at a given address, and for a given l... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add <vm_id> parameter to the "vm_console" command description
Add the <vm_id> parameter to the documentation for the ACRN shell
"vm_console" command.
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,801 | 07.05.2019 16:52:39 | -28,800 | 474496fc0e6fb031b445c4c14fb633a3683be448 | doc: remove hard-coded interfaces in .rst files
This patch removes hard-coded interfaces in .rst files and
refers to the definition via doxygen style comments.
This patch mainly focus on Hypervisor part.
Other parts will be covered in seperate patches. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hv-interrupt.rst",
"new_path": "doc/developer-guides/hld/hv-interrupt.rst",
"diff": "@@ -386,71 +386,29 @@ IOAPIC\nThe following APIs are external interfaces for IOAPIC related\noperations.\n-.. code-block:: c\n-\n- void ioapic_get_rte... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: remove hard-coded interfaces in .rst files
This patch removes hard-coded interfaces in .rst files and
refers to the definition via doxygen style comments.
This patch mainly focus on Hypervisor part.
Other parts will be covered in seperate patches.
Tracked-On: #1595
Signed-off-by: Shiqing Gao <shiqing.gao@intel.... |
528,747 | 22.05.2019 09:30:46 | 25,200 | cb6a3e8f080063116f6c863fac3a67395e0bb1be | doc: prepare for sphinx 2.0 upgrade
Sphinx 2.0 reports some "expected errors" differently, so add the new
message patterns to our known-errors scanning.
Also, the kerneldoc tool has a problem with sphinx 2.0, but a fix was
available. | [
{
"change_type": "MODIFY",
"old_path": "doc/.known-issues/doc/dupdecl.conf",
"new_path": "doc/.known-issues/doc/dupdecl.conf",
"diff": "#\n#^(?P<filename>[-._/\\w]+/hld/hv-cpu-virt.rst):(?P<lineno>[0-9]+): WARNING: Duplicate declaration.\n^(?P<filename>[-._/\\w]+/hld/[-._/\\w]+.rst):(?P<lineno>[0-9]... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: prepare for sphinx 2.0 upgrade
Sphinx 2.0 reports some "expected errors" differently, so add the new
message patterns to our known-errors scanning.
Also, the kerneldoc tool has a problem with sphinx 2.0, but a fix was
available.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,799 | 21.05.2019 14:40:49 | 25,200 | a6503c6af31189521fc30e30c3f012e643f3a5ff | HV: remove function pci_pdev_foreach()
And make other related changes accordingly:
Remove pci_pdev_enumeration_cb define
Create init_vdevs() to iterate through the pdev list and create vdev for each pdev
Export num_pci_pdev and pci_pdev_array as globals in header file
Minor cosmetic fix:
Remove trailing whitespace | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vpci.c",
"new_path": "hypervisor/dm/vpci/vpci.c",
"diff": "#include <logmsg.h>\n#include \"vpci_priv.h\"\n-static void init_vdev_for_pdev(struct pci_pdev *pdev, const void *vm);\n+static void init_vdevs(const struct acrn_vm *vm);\nstatic voi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove function pci_pdev_foreach()
And make other related changes accordingly:
Remove pci_pdev_enumeration_cb define
Create init_vdevs() to iterate through the pdev list and create vdev for each pdev
Export num_pci_pdev and pci_pdev_array as globals in header file
Minor cosmetic fix:
Remove trailing whitespac... |
528,799 | 21.05.2019 15:29:56 | 25,200 | d0fe18209ced52488308c8021e7d0834c3f39fe3 | HV: call function is_prelaunched_vm() instead to reduce code
And make related changes accordingly:
Remove calling of get_vm_config()
Remove local variables vm and acrn_vm_config
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "@@ -74,14 +74,9 @@ void vdev_pt_remap_msix_table_bar(struct pci_vdev *vdev)\nstruct pci_msix *msix = &vdev->msix;\nstruct pci_pdev *pdev = vdev->pdev;\nstruct pci_bar *bar;\n- st... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: call function is_prelaunched_vm() instead to reduce code
And make related changes accordingly:
Remove calling of get_vm_config()
Remove local variables vm and acrn_vm_config
Tracked-On: #3022
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,671 | 22.05.2019 10:16:03 | -28,800 | 321e4f1300a59206a046b44a6b1fb9901a8304cd | DM: add virtual hostbridge in launch script for RTVM
Hostbridge is necessary for passing kernel pci subsystem initialization
sanity check which is located in pci_sanity_check(). It will check
whether a host bridge exists.
BTW, set rtvm flag explicitly. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/nuc/launch_hard_rt_vm.sh",
"new_path": "devicemodel/samples/nuc/launch_hard_rt_vm.sh",
"diff": "@@ -30,9 +30,10 @@ echo ${passthru_vpid[\"sata\"]} > /sys/bus/pci/drivers/pci-stub/new_id\necho ${passthru_bdf[\"sata\"]} > /sys/bus/pci/devices... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: add virtual hostbridge in launch script for RTVM
Hostbridge is necessary for passing kernel pci subsystem initialization
sanity check which is located in pci_sanity_check(). It will check
whether a host bridge exists.
BTW, set rtvm flag explicitly.
Tracked-On: #3152
Signed-off-by: Tw <wei.tan@intel.com>
Reviewed... |
528,646 | 23.05.2019 13:02:34 | -28,800 | 0a461a453296874263d1f58713376d3d909175d7 | tools:acrn-crashlog: fix potential memory corruption
Make sure vm event is not NULL before freeing vm_msg.
Acked-by: Chen, Gang | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/acrnprobe/event_handler.c",
"new_path": "tools/acrn-crashlog/acrnprobe/event_handler.c",
"diff": "@@ -177,7 +177,7 @@ static void *event_handle(void *unused __attribute__((unused)))\nif (e->event_type == VM) {\nvme = (struct vm_event_t *)e-... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools:acrn-crashlog: fix potential memory corruption
Make sure vm event is not NULL before freeing vm_msg.
Tracked-On: #1024
Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com>
Reviewed-by: Liu, Xiaojing <xiaojing.liu@intel.com>
Acked-by: Chen, Gang <gang.c.chen@intel.com> |
528,783 | 20.05.2019 13:09:52 | -28,800 | 04ccaacb9cee978c0a3cbefe82c8676fd41ea7a7 | hv:not allow SOS to access prelaunched vm memory
filter out prelaunched vm memory from e820 table
and unmap prelaunched vm memory from ept table
before boot service OS | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "@@ -210,28 +210,13 @@ static void prepare_prelaunched_vm_memmap(struct acrn_vm *vm, const struct acrn_\n}\n}\n-/**\n- * before boot sos_vm(service OS), call it to hide the ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:not allow SOS to access prelaunched vm memory
filter out prelaunched vm memory from e820 table
and unmap prelaunched vm memory from ept table
before boot service OS
Tracked-On: #3148
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,801 | 14.05.2019 09:33:25 | -28,800 | 7e52067575cc5028fdf07144d828031dfd8f6382 | doc: update coding guidelines
This patch updates coding guidelines about legal entity. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/asm_coding_guidelines.rst",
"new_path": "doc/developer-guides/asm_coding_guidelines.rst",
"diff": "@@ -704,6 +704,41 @@ Compliant example::\n/* This is a comment. This is a comment. This is a comment. This is a comment. This is a comment. ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update coding guidelines
This patch updates coding guidelines about legal entity.
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> |
528,693 | 22.05.2019 16:01:31 | 25,200 | 3d459dfddc934e711c7909f378e7c3cedf45c28e | DM: Fix minor issue of USB vendor ID
Provide a minor fix for following issue:
Emulated USB controller Vendor ID and Device ID are swapped. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -4036,8 +4036,8 @@ pci_xhci_init(struct vmctx *ctx, struct pci_vdev *dev, char *opts)\nxdev->excap_ptr = excap_group_dft;\n- xdev->vid = XHCI_PCI_DEVICE_ID_DFLT;\n- xdev->pid = XH... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Fix minor issue of USB vendor ID
Provide a minor fix for following issue:
Emulated USB controller Vendor ID and Device ID are swapped.
Tracked-On: #3053
Signed-off-by: Arindam Roy <arindam.roy@intel.com>
Reviewed-by: Xu, Anthony <anthony.xu@intel.com> |
528,794 | 20.05.2019 15:15:24 | -28,800 | 57275a58b3d0ad5ead27c643b4bfc249d6c38d45 | HV: add px cx data for kbl nuc refresh
Add Px/Cx data of Intel Core(TM) i7-8650U CPU which used by NUC7i7DNH to
enable guest controlled CPU power states; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu_state_tbl.c",
"new_path": "hypervisor/arch/x86/cpu_state_tbl.c",
"diff": "@@ -84,6 +84,33 @@ static const struct cpu_cx_data cx_j3455[] = {\n{{SPACE_FFixedHW, 0x1U, 0x2U, 0x1U, 0x60UL}, 0x3U, 0x96U, 0x0AUL} /* C3 */\n};\n+/* The table i... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add px cx data for kbl nuc refresh
Add Px/Cx data of Intel Core(TM) i7-8650U CPU which used by NUC7i7DNH to
enable guest controlled CPU power states;
Tracked-On: #3158
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> |
528,668 | 22.05.2019 09:56:45 | 25,200 | 2d6e6ca375b85d23f568d6f2fd682d545495fb3b | DM: remove unused function usb_native_is_ss_port
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/usb_core.c",
"new_path": "devicemodel/hw/usb_core.c",
"diff": "@@ -131,50 +131,6 @@ usb_native_is_bus_existed(uint8_t bus_num)\nreturn access(buf, R_OK) ? 0 : 1;\n}\n-int\n-usb_native_is_ss_port(uint8_t bus_of_port)\n-{\n- char buf[128];\n- char... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function usb_native_is_ss_port
Change-Id: I7991560b40b936776e45f7b81fee085935eb6eae
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:15:45 | 25,200 | 62f14bb11fb06aab05e1392f510f6cfd75937ab6 | DM: remove unused function virtio_dev_error
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio.c",
"diff": "@@ -1177,30 +1177,6 @@ virtio_set_modern_bar(struct virtio_base *base, bool use_notify_pio)\nreturn rc;\n}\n-/**\n- * @brief Indicate the device has experienced an ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function virtio_dev_error
Change-Id: I6e94ab0286e73435429e2ccf971207c7d8ed6ef6
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:19:00 | 25,200 | dcd6d8b5a9d25ac6585b2ef6c9f3c165041d7cbb | DM: remove unused function virtio_pci_modern_cfgread and virtio_pci_modern_cfgwrite
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio.c",
"diff": "@@ -1839,131 +1839,6 @@ virtio_pci_write(struct vmctx *ctx, int vcpu, struct pci_vdev *dev,\nbase->vops->name, baridx);\n}\n-/**\n- * @brief Handle PCI configuratio... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function virtio_pci_modern_cfgread and virtio_pci_modern_cfgwrite
Change-Id: I3f362858956a642ae0de9ab36387e274fc939659
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:20:08 | 25,200 | 8cb64cc71f1edc6b0d1c039654052fdc0e45f9f1 | DM: remove unused function vrtc_nvram_read
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/rtc.c",
"new_path": "devicemodel/hw/platform/rtc.c",
"diff": "@@ -850,36 +850,6 @@ vrtc_set_reg_a(struct vrtc *vrtc, uint8_t newval)\n}\n}\n-int\n-vrtc_nvram_read(struct vrtc *vrtc, int offset, uint8_t *retval)\n-{\n- time_t basetime;\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function vrtc_nvram_read
Change-Id: I0b8c42879256e53762aeb031f63fc043ae2d9128
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:21:12 | 25,200 | 1a726ce010579cb8515f3abbcb28c6556d6863fc | DM: remove unused function vrtc_get_time
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/rtc.c",
"new_path": "devicemodel/hw/platform/rtc.c",
"diff": "@@ -1007,18 +1007,6 @@ vrtc_set_time(struct vrtc *vrtc, time_t secs)\nreturn error;\n}\n-time_t\n-vrtc_get_time(struct vrtc *vrtc)\n-{\n- time_t basetime;\n- time_t t;\n-\n- ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function vrtc_get_time
Change-Id: I2074295234f8cfaf5f325bfbacab9c86779653bf
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:21:57 | 25,200 | 2a33d52ec67dc5b1975ec27537f2ef7e4e18910d | DM: remove unused function vrtc_reset
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/rtc.c",
"new_path": "devicemodel/hw/platform/rtc.c",
"diff": "@@ -1007,20 +1007,6 @@ vrtc_set_time(struct vrtc *vrtc, time_t secs)\nreturn error;\n}\n-void\n-vrtc_reset(struct vrtc *vrtc)\n-{\n- struct rtcdev *rtc;\n-\n- pthread_mutex_l... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function vrtc_reset
Change-Id: If0dbd40cf54eb81ca4ced9acae273d291e99b25c
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:22:55 | 25,200 | 4e7703161e75fe10b4210a86ab17457a34742a60 | DM: remove unused function swtpm_reset_tpm_established_flag
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/tpm/tpm_emulator.c",
"new_path": "devicemodel/hw/platform/tpm/tpm_emulator.c",
"diff": "@@ -762,31 +762,6 @@ bool swtpm_get_tpm_established_flag(void)\nreturn tpm_context.established_flag;\n}\n-int swtpm_reset_tpm_established_flag(void)... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function swtpm_reset_tpm_established_flag
Change-Id: I8253df84ef490418e37ac3d565dcdc7bb8123f3b
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:25:04 | 25,200 | 475c51e53a44636b16760a7fcf2d4c0e1d8eb098 | DM: remove unused function console_set_fbaddr
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/console.c",
"new_path": "devicemodel/core/console.c",
"diff": "@@ -50,12 +50,6 @@ console_init(int w, int h, void *fbaddr)\nconsole.gc = gc_init(w, h, fbaddr);\n}\n-void\n-console_set_fbaddr(void *fbaddr)\n-{\n- gc_set_fbaddr(console.gc, fbadd... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function console_set_fbaddr
Change-Id: Ia0d96880a53a7564492ec4d7943b3040e32dd6e0
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:25:53 | 25,200 | d153bb86640a654e53163331a5c242fba8454a88 | DM: remove unused function gc_set_fbaddr
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/gc.c",
"new_path": "devicemodel/core/gc.c",
"diff": "@@ -37,15 +37,6 @@ gc_init(int width, int height, void *fbaddr)\nreturn gc;\n}\n-void\n-gc_set_fbaddr(struct gfx_ctx *gc, void *fbaddr)\n-{\n- gc->raw = 1;\n- if (gc->gc_image->data && gc->g... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function gc_set_fbaddr
Change-Id: I005edc5f69fcd3b4969c7c7d75f633d2219acbe5
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:26:55 | 25,200 | e6360b9b7fdb01561e4e7226ff086a3b24f64172 | DM: remove unused function gc_resize
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/gc.c",
"new_path": "devicemodel/core/gc.c",
"diff": "@@ -37,24 +37,6 @@ gc_init(int width, int height, void *fbaddr)\nreturn gc;\n}\n-void\n-gc_resize(struct gfx_ctx *gc, int width, int height)\n-{\n- struct gfx_ctx_image *gc_image;\n-\n- gc_i... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function gc_resize
Change-Id: I82504374fed44f08d92910d0d34a02337d844fd0
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:30:01 | 25,200 | 43c01f8e262b1bbbd0519e9cb1fcddf9943ab5e6 | DM: remove unused function console_init
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/console.c",
"new_path": "devicemodel/core/console.c",
"diff": "@@ -44,12 +44,6 @@ static struct {\nint ptr_priority;\n} console;\n-void\n-console_init(int w, int h, void *fbaddr)\n-{\n- console.gc = gc_init(w, h, fbaddr);\n-}\n-\nstruct gfx_ct... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function console_init
Change-Id: I5c06a1dd057cea0edd364c846958074ee3df4987
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:31:50 | 25,200 | d19d0e26c64267eb74a863ccbe9795255c62eaf2 | DM: remove unused function gc_init
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/gc.c",
"new_path": "devicemodel/core/gc.c",
"diff": "@@ -10,33 +10,6 @@ struct gfx_ctx {\nint raw;\n};\n-struct gfx_ctx *\n-gc_init(int width, int height, void *fbaddr)\n-{\n- struct gfx_ctx *gc;\n- struct gfx_ctx_image *gc_image;\n-\n- gc = c... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function gc_init
Change-Id: I91f498b9ae98002bc86b78fce2a0836c508b3945
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:33:41 | 25,200 | 2711e553ceb784e15fd023f1ec9ed016561ce148 | DM: remove unused function console_fb_register
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/console.c",
"new_path": "devicemodel/core/console.c",
"diff": "@@ -54,13 +54,6 @@ console_get_image(void)\nreturn image;\n}\n-void\n-console_fb_register(fb_render_func_t render_cb, void *arg)\n-{\n- console.fb_render_cb = render_cb;\n- console... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function console_fb_register
Change-Id: I334b83c0b0a69f705c11ff7017a96dc6875e5c9a
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:34:27 | 25,200 | aacc6e5926f983d520d8421aee8fa92fb183a882 | DM: remove unused function console_refresh
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/console.c",
"new_path": "devicemodel/core/console.c",
"diff": "@@ -54,13 +54,6 @@ console_get_image(void)\nreturn image;\n}\n-void\n-console_refresh(void)\n-{\n- if (console.fb_render_cb)\n- (*console.fb_render_cb)(console.gc, console.fb_arg);... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function console_refresh
Change-Id: I7ad16ecf3325e012fd738f2774aec6d957efd678
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:35:12 | 25,200 | 12f55d13898675a4b9877abaa3e85e7c6eb14ac1 | DM: remove unused function console_key_event
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/console.c",
"new_path": "devicemodel/core/console.c",
"diff": "@@ -90,13 +90,6 @@ console_ptr_unregister()\nconsole.ptr_priority = 0;\n}\n-void\n-console_key_event(int down, uint32_t keysym)\n-{\n- if (console.kbd_event_cb)\n- (*console.kbd_ev... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function console_key_event
Change-Id: I6ab81750757fd12929fd60c9d7fa92fd96c9520b
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:37:18 | 25,200 | 683e2416b1878b178327a609c6d36bc94d0d693f | DM: remove unused function console_ptr_event
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/console.c",
"new_path": "devicemodel/core/console.c",
"diff": "@@ -89,10 +89,3 @@ console_ptr_unregister()\nconsole.ptr_arg = NULL;\nconsole.ptr_priority = 0;\n}\n-\n-void\n-console_ptr_event(uint8_t button, int x, int y)\n-{\n- if (console.pt... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function console_ptr_event
Change-Id: If8dc5ba21d172a6794d86b048d61d9ccfc28cab4
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:38:15 | 25,200 | 75ef7e84588cf574be7577362cf1eb711799283f | DM: remove unused function vm_set_lowmem_limit
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -280,12 +280,6 @@ vm_get_lowmem_limit(struct vmctx *ctx)\nreturn ctx->lowmem_limit;\n}\n-void\n-vm_set_lowmem_limit(struct vmctx *ctx, uint32_t limit)\n-{\n- ctx->lowmem_limit = l... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function vm_set_lowmem_limit
Change-Id: I0f9ad089b8e72c7ecd9c83a9115727140c945c4f
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:39:18 | 25,200 | ec924385aed81bb4777e0a2c59b8a04c77494518 | DM: remove unused function vm_create_devmem
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -378,12 +378,6 @@ vm_get_highmem_size(struct vmctx *ctx)\nreturn ctx->highmem;\n}\n-void *\n-vm_create_devmem(struct vmctx *ctx, int segid, const char *name, size_t len)\n-{\n- re... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function vm_create_devmem
Change-Id: I1d6b56688e533a00a484548ed97fd1968f01041d
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:40:27 | 25,200 | bb8584dd4afd2caae302906e27dbf3b15e500eb7 | DM: remove unused function vm_apicid2vcpu
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -430,16 +430,6 @@ vm_suspend(struct vmctx *ctx, enum vm_suspend_how how)\nreturn 0;\n}\n-int\n-vm_apicid2vcpu(struct vmctx *ctx, int apicid)\n-{\n- /*\n- * The apic id associated ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function vm_apicid2vcpu
Change-Id: I3bb503058df8e0048370f6c1ab77f63aadf1eb57
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:41:17 | 25,200 | 9224277b5e50161b398443a722956a58de5510bc | DM: remove unused function vm_setup_ptdev_msi
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -508,15 +508,6 @@ vm_unmap_ptdev_mmio(struct vmctx *ctx, int bus, int slot, int func,\nreturn ioctl(ctx->fd, IC_UNSET_MEMSEG, &memmap);\n}\n-int\n-vm_setup_ptdev_msi(struct vmctx ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function vm_setup_ptdev_msi
Change-Id: Ia62d4a75ef6074cfd4f5b271ab21ff9ed0a64f51
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:42:01 | 25,200 | bd3f34e952dca0f2499328d3ce336021c8ec6d2a | DM: remove unused function vm_get_device_fd
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -584,12 +584,6 @@ vm_set_vcpu_regs(struct vmctx *ctx, struct acrn_set_vcpu_regs *vcpu_regs)\nreturn ioctl(ctx->fd, IC_SET_VCPU_REGS, vcpu_regs);\n}\n-int\n-vm_get_device_fd(struct... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function vm_get_device_fd
Change-Id: I9056838bbf150983c8011706d3d0a07aed043917
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,668 | 22.05.2019 10:42:46 | 25,200 | 8bca0b1ae90a21e47b445dbc64766f2cbf2f7568 | DM: remove unused function mptable_add_oemtbl
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/mptbl.c",
"new_path": "devicemodel/core/mptbl.c",
"diff": "@@ -275,13 +275,6 @@ mpt_build_ioint_entries(int_entry_ptr mpie, int id)\npci_walk_lintr(bus, mpt_generate_pci_int, &mpie);\n}\n-void\n-mptable_add_oemtbl(void *tbl, int tblsz)\n-{\n- ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: remove unused function mptable_add_oemtbl
Change-Id: Icf92fd5bbbfe935960dc47307822827092a46369
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,659 | 22.05.2019 10:27:08 | -28,800 | ae066689bb9f5aff3556fc79ec1f887309372ac5 | DM USB: xHCI: re-implement the emulation of extented capabilities
There are many quirks in Intel xHCI implementation and it is very hard
to debug under Microsoft Windows OS, hence use ACRN xHCI extented
capabilities as the default setting.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "*/\n#define XHCI_PADDR_SZ 4096 /* paddr_guest2host max size */\n#define XHCI_ERST_MAX 0 /* max 2^entries event ring seg tbl */\n-#define XHCI_CAPLEN (4*8) /* offset of op register sp... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: xHCI: re-implement the emulation of extented capabilities
There are many quirks in Intel xHCI implementation and it is very hard
to debug under Microsoft Windows OS, hence use ACRN xHCI extented
capabilities as the default setting.
Tracked-On: #3163
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
Acked-b... |
528,665 | 06.05.2019 16:18:41 | 0 | 26c7e372b16289443ce8e130574cf65398e56581 | Doc: Add tutorial about using VxWorks as uos
This patch adds tutorial about using VxWorks as guest. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "doc/tutorials/using_vxworks_as_uos.rst",
"diff": "+.. _using_vxworks_as_uos:\n+\n+Using VxWorks* as User OS\n+#########################\n+\n+`VxWorks`_\\* is a real-time proprietary OS designed for use in embedded systems requiring real-time, de... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Doc: Add tutorial about using VxWorks as uos
This patch adds tutorial about using VxWorks as guest.
Signed-off-by: Kaige Fu <kaige.fu@intel.com> |
528,794 | 24.05.2019 10:32:08 | -28,800 | f2fe35472bc80478bf8252bb5aded7d14736e63e | HV: remove mptable in vm_config
Define a static mptable array and each VM could index its vmptable by
vm id, then mptable is not needed in vm configurations;
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/configs/vm_config.c",
"new_path": "hypervisor/arch/x86/configs/vm_config.c",
"diff": "@@ -89,8 +89,6 @@ bool sanitize_vm_config(void)\n} else if (((vm_config->guest_flags & GUEST_FLAG_LAPIC_PASSTHROUGH) != 0U)\n&& ((vm_config->guest_flags &... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove mptable in vm_config
Define a static mptable array and each VM could index its vmptable by
vm id, then mptable is not needed in vm configurations;
Tracked-On: #2291
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,731 | 23.05.2019 11:46:52 | -28,800 | b833e2f90cb6065f0c46953bd9457f19b07b71f0 | hv: vtd: fix a logic error when set iommu page walk coherent
Fix a logic error when set iommu page walk coherent.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -495,7 +495,7 @@ static int32_t dmar_register_hrhd(struct dmar_drhd_rt *dmar_unit)\npr_fatal(\"%s: dmar unit doesn't support Extended Interrupt Mode!\", __func__);\nret = -ENODEV;... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vtd: fix a logic error when set iommu page walk coherent
Fix a logic error when set iommu page walk coherent.
Tracked-On: #3160
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 24.05.2019 11:05:32 | -28,800 | b27360fd69a577b03ffe824bec28778006a83209 | doc: update function naming convention
This patch updates coding guidelines about naming convention. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/c_coding_guidelines.rst",
"new_path": "doc/developer-guides/c_coding_guidelines.rst",
"diff": "@@ -3501,7 +3501,13 @@ function. Some detailed rules are listed below:\nenough with prior rules, it shall be named with the module name as prefi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update function naming convention
This patch updates coding guidelines about naming convention.
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> |
528,670 | 28.05.2019 14:16:09 | -28,800 | 610ad0ced86d0a473ec0a05d8d585f81fc21630d | dm: update uos path in launch_hard_rt_vm.sh | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/nuc/launch_hard_rt_vm.sh",
"new_path": "devicemodel/samples/nuc/launch_hard_rt_vm.sh",
"diff": "@@ -31,7 +31,7 @@ echo ${passthru_bdf[\"sata\"]} > /sys/bus/pci/devices/${passthru_bdf[\"sata\"]}/driv\necho ${passthru_bdf[\"sata\"]} > /sys/bu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: update uos path in launch_hard_rt_vm.sh
Tracked-On: #3188
Signed-off-by: ZhangYun <yunx.zhang@intel.com> |
528,733 | 27.05.2019 08:00:57 | -28,800 | c5cfd7c200aa602c1ec6a94ddb0449746a8fc8bf | vm state: reset vm state to VM_CREATED when reset_vm is called
When we call reset_vm() function to reset vm, the vm state
should be reset to VM_CREATED as well.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "@@ -591,6 +591,7 @@ int32_t reset_vm(struct acrn_vm *vm)\nvioapic_reset(vm);\ndestroy_secure_world(vm, false);\nvm->sworld_control.flag.active = 0UL;\n+ vm->state = VM_CREA... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | vm state: reset vm state to VM_CREATED when reset_vm is called
When we call reset_vm() function to reset vm, the vm state
should be reset to VM_CREATED as well.
Tracked-On: #3182
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,731 | 22.05.2019 15:18:18 | -28,800 | c078f90d779247359a23c21edfbb9007f437e039 | hv: vm_config: add epc info in vm config
Add EPC information in vm configuration structure.
EPC information contains the EPC base and size allocated to a VM.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/configs/vm_config.c",
"new_path": "hypervisor/arch/x86/configs/vm_config.c",
"diff": "#include <vm_config.h>\n#include <logmsg.h>\n#include <cat.h>\n+#include <pgtable.h>\n/*\n* @pre vm_id < CONFIG_MAX_VM_NUM\n@@ -89,6 +90,8 @@ bool sanitiz... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vm_config: add epc info in vm config
Add EPC information in vm configuration structure.
EPC information contains the EPC base and size allocated to a VM.
Tracked-On: #3179
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,772 | 24.05.2019 14:18:25 | 0 | 7315515c7ca255b549eca9ef6c208939358d418c | DM: Cleanup vmcfg APIs usage for removing the entire vmcfg
Vmcfg is useless and should be removed. Before removing vmcfg code,
cleanup vmcfg APIs in core/main.c
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "#include \"ioc.h\"\n#include \"pm.h\"\n#include \"atomic.h\"\n-#include \"vmcfg_config.h\"\n-#include \"vmcfg.h\"\n#include \"tpm.h\"\n#include \"virtio.h\"\n#include \"log.h\"\n@@ -748,... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Cleanup vmcfg APIs usage for removing the entire vmcfg
Vmcfg is useless and should be removed. Before removing vmcfg code,
cleanup vmcfg APIs in core/main.c
Tracked-On: #3192
Acked-by: Anthony Xu <anthony.xu@intel.com>
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
528,772 | 24.05.2019 14:37:52 | 0 | 50f50872e0a459c18392545ff1c3f219ab22a7f5 | DM: Cleanup vmcfg
Removed the entire vmcfg feature, these changes are made:
1.Deleted devicemodel/vmcfg/
2.Deleted devicemodel/include/vmcfg.h
3.Cleanup vmcfg in devicemodel/Makefile
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/Makefile",
"new_path": "devicemodel/Makefile",
"diff": "@@ -150,10 +150,6 @@ SRCS += core/timer.c\n# arch\nSRCS += arch/x86/pm.c\n-# vmcfg\n-SRCS += vmcfg/vmcfg.c\n-SRCS += vmcfg/apl-mrb/vm1/vm1.c\n-\n# log\nSRCS += log/log.c\nSRCS += log/kmsg_logg... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Cleanup vmcfg
Removed the entire vmcfg feature, these changes are made:
1.Deleted devicemodel/vmcfg/
2.Deleted devicemodel/include/vmcfg.h
3.Cleanup vmcfg in devicemodel/Makefile
Tracked-On: #3192
Acked-by: Anthony Xu <anthony.xu@intel.com>
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
528,772 | 24.05.2019 14:40:23 | 0 | 9aa06c6e86eb1b6aa964a691e18008059af2e352 | Doc: Cleanup vmcfg in HLD
Clean vmcfg from doc/developer-guides/hld/hld-devicemodel.rst
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hld-devicemodel.rst",
"new_path": "doc/developer-guides/hld/hld-devicemodel.rst",
"diff": "@@ -57,7 +57,7 @@ options:\n[-s pci] [-U uuid] [--vsbl vsbl_file_name] [--ovmf ovmf_file_path]\n[--part_info part_info_name] [--enable_trusty] [... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Doc: Cleanup vmcfg in HLD
Clean vmcfg from doc/developer-guides/hld/hld-devicemodel.rst
Tracked-On: #3192
Acked-by: Anthony Xu <anthony.xu@intel.com>
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
528,772 | 24.05.2019 14:43:41 | 0 | 7f648d75bb7f96ffa4ae790c6bd5a5dd11d15146 | Doc: Cleanup vmcfg in user guides
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "doc/user-guides/acrn-dm-parameters.rst",
"new_path": "doc/user-guides/acrn-dm-parameters.rst",
"diff": "@@ -42,13 +42,6 @@ Here are descriptions for each of these ``acrn-dm`` command line parameters:\n- Enable guest to write io port 0xf4 to exit guest. It's ma... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Doc: Cleanup vmcfg in user guides
Tracked-On: #3192
Acked-by: Anthony Xu <anthony.xu@intel.com>
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
528,654 | 29.05.2019 22:02:24 | -28,800 | f2c53a98916fbf2a27649ae004f7e253f0e17d30 | hv: vmcs: trap CR4.SMAP/SMEP/PKE setting
FuSa requires setting CR4.SMAP/SMEP/PKE will invalidate the TLB. However,
setting CR4.SMAP will invalidate the TLB on native while not in non-root mode.
To make sure this, we will trap CR4.SMAP/SMEP/PKE setting to invalidate the TLB
in root mode.
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/virtual_cr.c",
"new_path": "hypervisor/arch/x86/guest/virtual_cr.c",
"diff": "CR0_NE | CR0_ET | CR0_TS | CR0_EM | CR0_MP | CR0_PE)\n/* CR4 bits hv want to trap to track status change */\n-#define CR4_TRAP_MASK (CR4_PSE | CR4_PAE | CR4... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vmcs: trap CR4.SMAP/SMEP/PKE setting
FuSa requires setting CR4.SMAP/SMEP/PKE will invalidate the TLB. However,
setting CR4.SMAP will invalidate the TLB on native while not in non-root mode.
To make sure this, we will trap CR4.SMAP/SMEP/PKE setting to invalidate the TLB
in root mode.
Tracked-On: #2561
Signed-off-b... |
528,802 | 22.05.2019 13:41:36 | -28,800 | 811d1fe93dbd746499fcd57f6499772101276a10 | dm: pci: update MMIO EPT mapping when update BAR address
For PCI passthrough device when guest OS updates the BAR address
the corresponding EPT mapping should be updated as well.
Acked-by: Yin Fengwei | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/core.c",
"new_path": "devicemodel/hw/pci/core.c",
"diff": "@@ -594,9 +594,11 @@ memen(struct pci_vdev *dev)\n* the address range decoded by the BAR register.\n*/\nstatic void\n-update_bar_address(struct pci_vdev *dev, uint64_t addr, int idx,... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: pci: update MMIO EPT mapping when update BAR address
For PCI passthrough device when guest OS updates the BAR address
the corresponding EPT mapping should be updated as well.
Tracked-On: #2962
Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com>
Signed-off-by: Liu Shuo A <shuo.a.liu@intel.com>
Reviewed-by: Binb... |
528,671 | 29.05.2019 10:17:40 | -28,800 | 34f122192c41f1d674920d48f35831a9f6503285 | hv: use 64bit FACS table address only beyond ACPI2.0
Since ACPI 2.0 a new field has been added to the table, X_FirmwareControl of type GAS,
which is 64bit. So use it conditionally. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/acpi_parser/acpi_ext.c",
"new_path": "hypervisor/acpi_parser/acpi_ext.c",
"diff": "@@ -109,14 +109,17 @@ static void *get_facs_table(const uint8_t *facp_addr)\n{\nuint8_t *facs_addr, *facs_x_addr;\nuint32_t signature, length;\n+ struct acpi_table_he... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: use 64bit FACS table address only beyond ACPI2.0
Since ACPI 2.0 a new field has been added to the table, X_FirmwareControl of type GAS,
which is 64bit. So use it conditionally.
Tracked-On: #3198
Signed-off-by: Tw <wei.tan@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com> |
528,787 | 30.05.2019 11:47:04 | 0 | 286dd180a7eead229e8dfca247ea1eaeee6fae9f | dm: virtio: bugfix for polling mode
In vxworks, virtio-console FE driver only initiate 2 virtqueues, but BE
creates 2+ virtqueues for it. So the rest of the virtqueues are not
initiated. vq->used->flags cannot be used directly without any
condition.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio.c",
"diff": "@@ -86,6 +86,8 @@ virtio_poll_timer(void *arg, uint64_t nexp)\nfor (i = 0; i < base->vops->nvq; i++) {\nvq = &base->queues[i];\n+ if(!vq_ring_ready(vq))\n+ continue... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: virtio: bugfix for polling mode
In vxworks, virtio-console FE driver only initiate 2 virtqueues, but BE
creates 2+ virtqueues for it. So the rest of the virtqueues are not
initiated. vq->used->flags cannot be used directly without any
condition.
Tracked-On: #3203
Signed-off-by: Gao Junhao <junhao.gao@intel.com>
R... |
528,670 | 28.05.2019 15:55:07 | -28,800 | 011134d5da0009f2638ee341c47c5e393eee02cb | doc: Update Using PREEMPT_RT-Linux for real-time UOS | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/rt_linux.rst",
"new_path": "doc/tutorials/rt_linux.rst",
"diff": "@@ -44,71 +44,136 @@ system on Intel KBL NUC with a SATA SSD as ``/dev/sda`` and an NVME SSD as\n1. Follow the :ref:`set-up-CL` instructions in the\n:ref:`getting-started-apl-nuc` ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: Update Using PREEMPT_RT-Linux for real-time UOS
Signed-off-by: Zhang, Yun <yunx.zhang@intel.com> |
528,671 | 31.05.2019 15:35:36 | -28,800 | 857e6c0415cfae0e3563e60c7c44107b26151ef3 | dm: passthrough: allow not page-aligned sized bar to be mapped
Some physical bar sizes are not page aligned, in order to support them,
we map a bigger region which is page aligned. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/passthrough.c",
"new_path": "devicemodel/hw/pci/passthrough.c",
"diff": "@@ -574,13 +574,22 @@ cfginitbar(struct vmctx *ctx, struct passthru_dev *ptdev)\nif (bartype != PCIBAR_IO) {\n/* note here PAGE_MASK is 0xFFFFF000 */\n- if (((base | si... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: passthrough: allow not page-aligned sized bar to be mapped
Some physical bar sizes are not page aligned, in order to support them,
we map a bigger region which is page aligned.
Tracked-On: #3181
Signed-off-by: Tw <wei.tan@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com> |
528,801 | 29.05.2019 08:47:24 | -28,800 | a6bba6bc3d5ec88c08984dfa4b81e63c6afb61c4 | doc: update prefix format in coding guidelines
update prefix format in coding guidelines | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/c_coding_guidelines.rst",
"new_path": "doc/developer-guides/c_coding_guidelines.rst",
"diff": "@@ -3356,8 +3356,8 @@ Compliant example::\n#define Max(x, y) ((x) < (y)) ? (y) : (x)\n-C-NC-03: Data structures exposed to external components s... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update prefix format in coding guidelines
- update prefix format in coding guidelines
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> |
528,662 | 20.05.2019 11:56:36 | -28,800 | 6f61aa7d41d4343c891e17b5189d42b6c9162afc | doc: add instruction of Open vSwitch
Add instruction to show user how to enable Open vSwitch on ACRN. | [
{
"change_type": "ADD",
"old_path": "doc/tutorials/images/default-acrn-network.png",
"new_path": "doc/tutorials/images/default-acrn-network.png",
"diff": "Binary files /dev/null and b/doc/tutorials/images/default-acrn-network.png differ\n"
},
{
"change_type": "ADD",
"old_path": "doc/tuto... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add instruction of Open vSwitch
Add instruction to show user how to enable Open vSwitch on ACRN.
Tracked-On: #3132
Signed-off-by: ruix.li <ruix.li@intel.com> |
528,748 | 14.05.2019 13:53:06 | -28,800 | 76346fd2b1fcec4fbe4e1c81f189c8dc4b17a626 | doc: setup logical partition scenario on nuc
This patch adds tutorial about how to setup logical partition scenario
on nuc | [
{
"change_type": "ADD",
"old_path": "doc/tutorials/images/logical_partition_scenario_on_nuc.png",
"new_path": "doc/tutorials/images/logical_partition_scenario_on_nuc.png",
"diff": "Binary files /dev/null and b/doc/tutorials/images/logical_partition_scenario_on_nuc.png differ\n"
}
] | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: setup logical partition scenario on nuc
This patch adds tutorial about how to setup logical partition scenario
on nuc
Signed-off-by: Lei Lu <leix.lu@intel.com> |
528,794 | 21.05.2019 11:54:15 | -28,800 | 0f00a4b0da3b9f3da77ad7c7e4072458d17158af | HV: refine sw_linux struct
The guest OS of ACRN will not be limited to Linux, so refine the struct
of sw_linux to more generic sw_module_info. Currently bootargs and ramdisk
are only supported modules but we can include more modules in future; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/boot/guest/vboot_info.c",
"new_path": "hypervisor/boot/guest/vboot_info.c",
"diff": "@@ -60,8 +60,8 @@ static void parse_other_modules(struct acrn_vm *vm, const struct multiboot_modul\ntype_len = end - start;\nif (strncmp(\"FIRMWARE\", start, type_l... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: refine sw_linux struct
The guest OS of ACRN will not be limited to Linux, so refine the struct
of sw_linux to more generic sw_module_info. Currently bootargs and ramdisk
are only supported modules but we can include more modules in future;
Tracked-On: #3214
Signed-off-by: Victor Sun <victor.sun@intel.com>
Review... |
528,794 | 02.06.2019 22:15:37 | -28,800 | 1c006113825a8a5c9cbde6624afecce172912a8c | HV: separate linux loader from direct boot sw loader
Currently the algorithm of direct_boot_sw_loader() is Linux bzImage specific,
so separate the bzImage specific loader code from it to make the api more
generic for other OS; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/common/vm_load.c",
"new_path": "hypervisor/common/vm_load.c",
"diff": "@@ -98,24 +98,16 @@ static uint64_t create_zero_page(struct acrn_vm *vm)\nreturn gpa;\n}\n-int32_t direct_boot_sw_loader(struct acrn_vm *vm)\n+static void prepare_loading_bzimage... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: separate linux loader from direct boot sw loader
Currently the algorithm of direct_boot_sw_loader() is Linux bzImage specific,
so separate the bzImage specific loader code from it to make the api more
generic for other OS;
Tracked-On: #3214
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen... |
528,794 | 02.06.2019 22:23:24 | -28,800 | ae8893cba147ce8ebdb4174e7645a9f554aaa190 | HV: use api to get kernel load addr
For a Linux guest, the kernel load address should be gotten from zeropage
even for a pre-launched VM; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/boot/guest/vboot_info.c",
"new_path": "hypervisor/boot/guest/vboot_info.c",
"diff": "@@ -135,10 +135,14 @@ static void merge_cmdline(const struct acrn_vm *vm, const char *cmdline, const c\n}\n}\n-static void *get_kernel_load_addr(void *kernel_src_ad... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: use api to get kernel load addr
For a Linux guest, the kernel load address should be gotten from zeropage
even for a pre-launched VM;
Tracked-On: #3214
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,794 | 02.06.2019 22:36:00 | -28,800 | bb55489e5c7a736a3c23cec0f98b07286dfd319c | HV: make vm kernel type configurable
Different kernel has different load method, it should be configurable
in vm configurations; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/boot/guest/vboot_info.c",
"new_path": "hypervisor/boot/guest/vboot_info.c",
"diff": "@@ -142,7 +142,7 @@ static void *get_kernel_load_addr(struct acrn_vm *vm)\nstruct zero_page *zeropage;\nswitch (sw_info->kernel_type) {\n- case VM_LINUX_GUEST:\n+ c... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: make vm kernel type configurable
Different kernel has different load method, it should be configurable
in vm configurations;
Tracked-On: #3214
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,794 | 27.05.2019 15:44:50 | -28,800 | 8256ba20159cf3ecf61b709df8040526843c3a6f | HV: add board specific config header
Use a misc_cfg.h in each board configs folder so that VM configurations
could include board specific MACROs; | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "hypervisor/arch/x86/configs/apl-mrb/misc_cfg.h",
"diff": "+/*\n+ * Copyright (C) 2019 Intel Corporation. All rights reserved.\n+ *\n+ * SPDX-License-Identifier: BSD-3-Clause\n+ */\n+\n+#ifndef MISC_CFG_H\n+#define MISC_CFG_H\n+\n+#define ROOTFS_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add board specific config header
Use a misc_cfg.h in each board configs folder so that VM configurations
could include board specific MACROs;
Tracked-On: #3214
Signed-off-by: Victor Sun <victor.sun@intel.com> |
528,794 | 31.05.2019 09:59:22 | -28,800 | 6940cabd2230b4b0938b161fc063597b906e9724 | HV: modify ve820 to enable low mem at 0x100000
Some OS like Zephyr need to run at 0x100000, so modify the ve820 table
accordingly; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/configs/apl-mrb/ve820.c",
"new_path": "hypervisor/arch/x86/configs/apl-mrb/ve820.c",
"diff": "@@ -22,8 +22,8 @@ static const struct e820_entry ve820_entry[VE820_ENTRIES_APL_MRB] = {\n},\n{ /* lowmem */\n- .baseaddr = 0x200000UL, /* 2MB */\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: modify ve820 to enable low mem at 0x100000
Some OS like Zephyr need to run at 0x100000, so modify the ve820 table
accordingly;
Tracked-On: #3214
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,794 | 03.06.2019 00:14:45 | -28,800 | 1906def29e084be98d367fb28ffec8f91ae438c6 | HV: enable load zephyr kernel
Zephyr kernel is stripped ram image, its entry and load address
are explicitly defined in vm configurations, hypervisor will load
Zephyr directly based on these configurations.
Currently we only support boot Zephyr from protected mode. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/boot/guest/vboot_info.c",
"new_path": "hypervisor/boot/guest/vboot_info.c",
"diff": "@@ -93,6 +93,7 @@ static void *get_kernel_load_addr(struct acrn_vm *vm)\nvoid *load_addr = NULL;\nstruct vm_sw_info *sw_info = &vm->sw;\nstruct zero_page *zeropage;... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: enable load zephyr kernel
Zephyr kernel is stripped ram image, its entry and load address
are explicitly defined in vm configurations, hypervisor will load
Zephyr directly based on these configurations.
Currently we only support boot Zephyr from protected mode.
Tracked-On: #3214
Signed-off-by: Victor Sun <victo... |
528,794 | 04.06.2019 22:41:52 | -28,800 | 0baf537a2ca0af6b394cee91fe29648432f32ec9 | HV: misra fix for patch set of Zephyr enabling
add condition remark;
fix of NULL pointer check; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/boot/guest/vboot_info.c",
"new_path": "hypervisor/boot/guest/vboot_info.c",
"diff": "/**\n* @pre vm != NULL && mbi != NULL\n*/\n-static void init_vm_ramdisk_info(struct acrn_vm *vm, struct multiboot_module *mod)\n+static void init_vm_ramdisk_info(st... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: misra fix for patch set of Zephyr enabling
- add @pre condition remark;
- fix of NULL pointer check;
Tracked-On: #3214
Signed-off-by: Victor Sun <victor.sun@intel.com> |
528,706 | 06.06.2019 02:54:31 | -28,800 | c0bffc2f58c84d0072caa87bfb4dd5c9be2a16b1 | dm: virtio: refine console options parse code
Refine the virtio-console options parse code, so that no need to pass
all the variables as parameters to the backend adding function.
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": "@@ -759,14 +759,70 @@ virtio_console_config_backend(struct virtio_console_backend *be)\nreturn 0;\n}\n+static enum virtio_console_be_type\n+virtio_c... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: virtio: refine console options parse code
Refine the virtio-console options parse code, so that no need to pass
all the variables as parameters to the backend adding function.
Tracked-On: #3232
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,794 | 01.06.2019 10:49:03 | -28,800 | ae7dcf443da3c21e5256663e3504646c08066e2d | HV: fix wrong log when vlapic process init sipi
The print message of source and target vcpu id is incorrect, fix it. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vlapic.c",
"new_path": "hypervisor/arch/x86/guest/vlapic.c",
"diff": "@@ -1181,15 +1181,14 @@ vlapic_calc_dest_lapic_pt(struct acrn_vm *vm, uint64_t *dmask, bool is_broadcast\n}\nstatic void\n-vlapic_process_init_sipi(struct acrn_vcpu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: fix wrong log when vlapic process init sipi
The print message of source and target vcpu id is incorrect, fix it.
Tracked-On: #3214
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,794 | 03.06.2019 00:37:17 | -28,800 | f4e976ab3838f1976fc99be602f21519e7f6f13e | HV: return -1 with invalid vcpuid in pt icr access
vm_apicid2vcpu_id() might return invalid vcpu id, when this happens
we should return -1 in vlapic_x2apic_pt_icr_access(); | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vlapic.c",
"new_path": "hypervisor/arch/x86/guest/vlapic.c",
"diff": "@@ -140,7 +140,6 @@ static uint16_t vm_apicid2vcpu_id(struct acrn_vm *vm, uint32_t lapicid)\n}\nif (cpu_id == INVALID_CPU_ID) {\n- cpu_id = get_pcpu_nums();\npr_err... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: return -1 with invalid vcpuid in pt icr access
vm_apicid2vcpu_id() might return invalid vcpu id, when this happens
we should return -1 in vlapic_x2apic_pt_icr_access();
Tracked-On: #3214
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,794 | 03.06.2019 00:43:29 | -28,800 | 50e09c41b412c0c09c9d87ca8bf422ff9b0d97fd | HV: remove cpu_num from vm configurations
The vcpu num could be calculated based on pcpu_bitmap when prepare_vcpu()
is done, so remove this redundant configuration item; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "@@ -703,10 +703,6 @@ void prepare_vm(uint16_t vm_id, struct acrn_vm_config *vm_config)\nerr = create_vm(vm_id, vm_config, &vm);\nif (err == 0) {\n- if (is_prelaunched_vm(vm... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove cpu_num from vm configurations
The vcpu num could be calculated based on pcpu_bitmap when prepare_vcpu()
is done, so remove this redundant configuration item;
Tracked-On: #3214
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,794 | 02.06.2019 13:12:48 | -28,800 | 31aa37d349470b1cb2e5e5e8810123ade81150cb | HV: remove unused INVALID_VM_ID
The VM IDs which is high or equal then CONFIG_MAX_VM_NUM are all
invalid VM IDs, the MACRO has never been referenced in code, so
remove it; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/arch/x86/guest/vm.h",
"new_path": "hypervisor/include/arch/x86/guest/vm.h",
"diff": "#include <e820.h>\n#include <vm_config.h>\n-#define INVALID_VM_ID 0xffffU\n-\nstruct vm_hw_info {\n/* vcpu array of this VM */\nstruct acrn_vcpu vcpu_array[... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove unused INVALID_VM_ID
The VM IDs which is high or equal then CONFIG_MAX_VM_NUM are all
invalid VM IDs, the MACRO has never been referenced in code, so
remove it;
Tracked-On: #3214
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,794 | 03.06.2019 01:05:54 | -28,800 | 0a748fedaca0525127b5949e6882a04aee677dd7 | HV: add hybrid scenario
Hybrid scenario will run 3 VMs: one pre-launched VM, one pre-launched SOS VM
and one post-launched Standard VM. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -46,6 +46,8 @@ else ifeq ($(CONFIG_LOGICAL_PARTITION),y)\nSCENARIO_NAME := logical_partition\nelse ifeq ($(CONFIG_INDUSTRY),y)\nSCENARIO_NAME := industry\n+else ifeq ($(CONFIG_HYBRID),y)\n+SC... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add hybrid scenario
Hybrid scenario will run 3 VMs: one pre-launched VM, one pre-launched SOS VM
and one post-launched Standard VM.
Tracked-On: #3214
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,728 | 04.06.2019 13:22:09 | -7,200 | 7c45f3b588b428517e2e03a8938d57d9a73370b7 | doc: remove 'reboot' command from ACRN shell user guide
The 'reboot' command from the ACRN shell has been removed. Remove the
corresponding documentation from the ACRN Shell user guide. | [
{
"change_type": "MODIFY",
"old_path": "doc/user-guides/acrn-shell.rst",
"new_path": "doc/user-guides/acrn-shell.rst",
"diff": "@@ -42,8 +42,6 @@ The ACRN hypervisor shell supports the following commands:\nloglevels for the remaining areas will not be changed\n* - cpuid <leaf> [subleaf]\n- Display t... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: remove 'reboot' command from ACRN shell user guide
The 'reboot' command from the ACRN shell has been removed. Remove the
corresponding documentation from the ACRN Shell user guide.
Tracked-On: #3210
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,703 | 06.06.2019 23:34:39 | -28,800 | 115ba0e3908f476b80363ea5f0353038bd9a066e | Added recommended BIOS settings for better real-time performance. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/rt_linux.rst",
"new_path": "doc/tutorials/rt_linux.rst",
"diff": "@@ -191,3 +191,44 @@ system on Intel KBL NUC with a SATA SSD as ``/dev/sda`` and an NVME SSD as\nswupd bundle-add dev-utils\ncyclictest -N -p80 -D30 -M > log.txt\ncat log.txt\n+\n+... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Added recommended BIOS settings for better real-time performance.
Signed-off-by: Li, Wilson <wilson.li@intel.com> |
528,652 | 04.06.2019 10:53:07 | 25,200 | 9e91f14bec677cc3c5410d3014d8e93acf66d37f | hv: correctly grant DRHD register access rights to hypervisor
Need to call hv_access_memory_region_update() explicitly for DRHD
registers to correctly grant access rights for hypervisor.
Currently, other hv_access_memory_region_update() calls happen to
cover the DRHD addresses for currently supported platforms.
Acked-b... | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -213,6 +213,9 @@ static int32_t register_hrhd_units(void)\ndrhd_rt->index = i;\ndrhd_rt->drhd = &platform_dmar_info->drhd_units[i];\ndrhd_rt->dmar_irq = IRQ_INVALID;\n+\n+ hv_acce... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: correctly grant DRHD register access rights to hypervisor
Need to call hv_access_memory_region_update() explicitly for DRHD
registers to correctly grant access rights for hypervisor.
Currently, other hv_access_memory_region_update() calls happen to
cover the DRHD addresses for currently supported platforms.
Trac... |
528,794 | 05.06.2019 23:44:44 | -28,800 | e5a25749e52bea8bf9dfc457a7f7e07496e0cc76 | doc: add multiboot module string parameter
The multiboot module string will be used to identify the usage of current
module, it must exactly match with "kernel_mod_tag" which configured in
VM configurations files; | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_partition_mode_on_nuc.rst",
"new_path": "doc/tutorials/using_partition_mode_on_nuc.rst",
"diff": "@@ -210,7 +210,7 @@ Update Ubuntu GRUB to Boot hypervisor and Load Kernel Image\necho 'Loading hypervisor logical partition scenario ...'\nmul... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add multiboot module string parameter
The multiboot module string will be used to identify the usage of current
module, it must exactly match with "kernel_mod_tag" which configured in
VM configurations files;
Signed-off-by: Victor Sun <victor.sun@intel.com> |
528,674 | 04.06.2019 17:20:26 | -28,800 | 509af78490526af039d01501321e5223de76164f | dm: Solve the problem of repeat mount hugetblfs
If you run two acrn-dm processes at the same time,
hugetblfs will be mounted twice, which will cause a memory leak.
The specific solution is :different virtual machines mount hugetblfs
into different directories.
Acked-by: Yin Fengwei<fengwei.yin@intel.com> | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/hugetlb.c",
"new_path": "devicemodel/core/hugetlb.c",
"diff": "#include \"vmmapi.h\"\n+extern char *vmname;\n+\n#define HUGETLB_LV1 0\n#define HUGETLB_LV2 1\n#define HUGETLB_LV_MAX 2\n@@ -139,7 +141,7 @@ static int open_hugetlbfs(struct vmctx ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Solve the problem of repeat mount hugetblfs
If you run two acrn-dm processes at the same time,
hugetblfs will be mounted twice, which will cause a memory leak.
The specific solution is :different virtual machines mount hugetblfs
into different directories.
Tracked-On:#2854
Signed-off-by: bing.li <bingx.li@intel.c... |
528,649 | 05.06.2019 14:05:11 | -7,200 | d145ac65a3c23fe03d20df6862d438fc8c52d7f4 | doc: fix typo in the "Build ACRN from Source" guide
Fixes a small typo. See also | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/building-from-source.rst",
"new_path": "doc/getting-started/building-from-source.rst",
"diff": "@@ -68,7 +68,7 @@ each with their own way to install development tools:\n.. code-block:: none\n$ wget https://mirrors.ocf.berkeley.edu/gnu/binut... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix typo in the "Build ACRN from Source" guide
Fixes a small typo. See also https://github.com/projectacrn/projectacrn.github.io/pull/18
Signed-off-by: shrmrf <shrmrf@users.noreply.github.com> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.