From cd360de4aaa73fb776d13b3941e73b7ac41e1461 Mon Sep 17 00:00:00 2001 From: "yuhong.tao@intel.com" Date: Fri, 15 Mar 2019 22:56:17 +0800 Subject: [PATCH] hv: fix wrong comment message about CLOS usage in vm config VM use CLOS when set CLOS_REQUIRED in guest flags of vm_config. The wrong comment is 'if guest_flags has CAT_ENABLED', and should be fixed as 'if guest_flags has CLOS_REQUIRED' Tracked-On: #2462 Signed-off-by: Tao Yuhong --- hypervisor/include/arch/x86/vm_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/include/arch/x86/vm_config.h b/hypervisor/include/arch/x86/vm_config.h index a6a4614d3..9eb65a235 100644 --- a/hypervisor/include/arch/x86/vm_config.h +++ b/hypervisor/include/arch/x86/vm_config.h @@ -57,7 +57,7 @@ struct acrn_vm_config { uint16_t pci_ptdev_num; /* indicate how many PCI PT devices in VM */ struct acrn_vm_pci_ptdev_config *pci_ptdevs; /* point to PCI PT devices BDF list */ struct acrn_vm_os_config os_config; /* OS information the VM */ - uint16_t clos; /* if guest_flags has CAT_ENABLED, then VM use this CLOS */ + uint16_t clos; /* if guest_flags has CLOS_REQUIRED, then VM use this CLOS */ #ifdef CONFIG_PARTITION_MODE bool vm_vuart;