From f49ab66b65af940568dff1f22ea87f4ac49b18be Mon Sep 17 00:00:00 2001 From: Victor Sun Date: Wed, 31 Jul 2019 15:01:26 +0800 Subject: [PATCH] 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 Acked-by: Anthony Xu --- hypervisor/scenarios/hybrid/vm_configurations.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hypervisor/scenarios/hybrid/vm_configurations.c b/hypervisor/scenarios/hybrid/vm_configurations.c index a931180cc..f2caad6c0 100644 --- a/hypervisor/scenarios/hybrid/vm_configurations.c +++ b/hypervisor/scenarios/hybrid/vm_configurations.c @@ -49,8 +49,7 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = { 0xa1U, 0x2cU, 0x22U, 0x01U, 0xf1U, 0xabU, 0x02U, 0x40U}, /* dbbbd434-7a57-4216-a12c-2201f1ab0240 */ - /* Allow SOS to reboot the host since there is supposed to be the highest severity guest */ - .guest_flags = GUEST_FLAG_HIGHEST_SEVERITY, + .guest_flags = 0UL, .clos = 0U, .memory = { .start_hpa = 0UL,