Skip to content

Commit cd360de

Browse files
taoyuhongEddie Dong
authored andcommitted
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 <yuhong.tao@intel.com>
1 parent 190b094 commit cd360de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hypervisor/include/arch/x86/vm_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct acrn_vm_config {
5757
uint16_t pci_ptdev_num; /* indicate how many PCI PT devices in VM */
5858
struct acrn_vm_pci_ptdev_config *pci_ptdevs; /* point to PCI PT devices BDF list */
5959
struct acrn_vm_os_config os_config; /* OS information the VM */
60-
uint16_t clos; /* if guest_flags has CAT_ENABLED, then VM use this CLOS */
60+
uint16_t clos; /* if guest_flags has CLOS_REQUIRED, then VM use this CLOS */
6161

6262
#ifdef CONFIG_PARTITION_MODE
6363
bool vm_vuart;

0 commit comments

Comments
 (0)