Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
base repository: projectacrn/acrn-hypervisor
base: acrn-2019w25.4-140000p
Choose a base ref
head repository: projectacrn/acrn-hypervisor
compare: acrn-2019w25.5-140000p
Choose a head ref
  • 7 commits
  • 20 files changed
  • 4 contributors

Commits on Jun 20, 2019

  1. dm: pci: clean up assert() in pci core

    Tracked-On: #3252
    Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
    Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
    Shuo A Liu authored and wenlingz committed Jun 20, 2019
  2. dm: pcidev: clean up assert() for some pci devices

    Tracked-On: #3252
    Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
    Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
    Shuo A Liu authored and wenlingz committed Jun 20, 2019
  3. dm: platform: clean up assert() for some platform devices

    Tracked-On: #3252
    Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
    Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
    Shuo A Liu authored and wenlingz committed Jun 20, 2019
  4. HV: Allow pause RTVM when its state is VM_CREATED

    There are a lot of works to do between create_vm (HV will mark vm's state
    as VM_CREATED at this stage) and vm_run (HV will mark vm's state as VM_STARTED),
    like building mptable/acpi table, initializing mevent and vdevs. If there is
    something goes wrong between create_vm and vm_run, the devicemodel will jumps
    to the deinit process and will try to destroy the vm. For example, if the
    vm_init_vdevs failed, the devicemodel will jumps to dev_fail and then destroy
    the vm.
    
    For normal vm in above situation, it is fine to destroy vm. And we can create and
    start it next time. But for RTVM, we can't destroy the vm as the vm's state is
    VM_CREATED. And we can only destroy vm when its state is VM_POWERING_OFF. So, the
    vm will stay at VM_CREATED state and we will never have chance to destroy it.
    Consequently, we can't create and start the vm next time.
    
    This patch fixes it by allowing to pause and then destroy RTVM when its state is VM_CREATED.
    
    Tracked-On: #3069
    Acked-by: Eddie Dong <eddie.dong@intel.com>
    Signed-off-by: Kaige Fu <kaige.fu@intel.com>
    KaigeFu authored and dongyaozu committed Jun 20, 2019
  5. dm: ioc: clean up assert

    This patch is to clean up assert from ioc
    
    Tracked-On: #3252
    Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
    Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
    yliu80 authored and dongyaozu committed Jun 20, 2019
  6. dm: virtio_gpio: clean up assert

    This patch is to clean up assert from virtio-gpio
    
    Tracked-On: #3252
    Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
    Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
    yliu80 authored and dongyaozu committed Jun 20, 2019

Commits on Jun 21, 2019

  1. HV: fix expression is not boolean

    MISRA-C standard requires the type of result of expression in if/while pattern shall be boolean.
    
    Tracked-On: #861
    Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
    Shawnshh authored and wenlingz committed Jun 21, 2019