mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-18 19:57:31 +00:00
HV: comment SOS_VM as VMx in vm_configurations.h
Add a comment for SOS_VM to indicate its VM ID for better understanding; Tracked-On: #5077 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
b04fba2db5
commit
05a083c944
@ -118,6 +118,11 @@ def gen_sos_header(scenario_items, config):
|
||||
|
||||
if 'SOS_VM' not in common.VM_TYPES.values():
|
||||
return
|
||||
|
||||
for vm_i,vm_type in common.VM_TYPES.items():
|
||||
if vm_type == 'SOS_VM':
|
||||
print("/* SOS_VM == VM{0} */".format(vm_i), file=config)
|
||||
|
||||
print("#define SOS_VM_BOOTARGS\t\t\tSOS_ROOTFS\t\\", file=config)
|
||||
print("\t\t\t\t\tSOS_CONSOLE\t\\", file=config)
|
||||
print("\t\t\t\t\tSOS_IDLE\t\\", file=config)
|
||||
|
@ -29,6 +29,7 @@
|
||||
#define VM0_CONFIG_MEM_SIZE_HPA2 0x0UL
|
||||
#define VM0_CONFIG_PCI_DEV_NUM 1U
|
||||
|
||||
/* SOS_VM == VM1 */
|
||||
#define SOS_VM_BOOTARGS SOS_ROOTFS \
|
||||
SOS_CONSOLE \
|
||||
SOS_IDLE \
|
||||
|
@ -29,6 +29,7 @@
|
||||
#define VM0_CONFIG_MEM_SIZE_HPA2 0x0UL
|
||||
#define VM0_CONFIG_PCI_DEV_NUM 3U
|
||||
|
||||
/* SOS_VM == VM1 */
|
||||
#define SOS_VM_BOOTARGS SOS_ROOTFS \
|
||||
SOS_CONSOLE \
|
||||
SOS_IDLE \
|
||||
|
@ -22,6 +22,7 @@
|
||||
#define DM_OWNED_GUEST_FLAG_MASK (GUEST_FLAG_SECURE_WORLD_ENABLED | GUEST_FLAG_LAPIC_PASSTHROUGH | \
|
||||
GUEST_FLAG_RT | GUEST_FLAG_IO_COMPLETION_POLLING)
|
||||
|
||||
/* SOS_VM == VM0 */
|
||||
#define SOS_VM_BOOTARGS SOS_ROOTFS \
|
||||
SOS_CONSOLE \
|
||||
SOS_IDLE \
|
||||
|
Loading…
Reference in New Issue
Block a user