mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-28 19:54:01 +00:00
config: add GUEST_FLAG_PMU_PASSTHROUGH to DM_OWNED_GUEST_FLAG_MASK
Allow DM to set GUEST_FLAG_PMU_PASSTHROUGH to passthrough PMU to a VM. Tracked-On: #5132 Signed-off-by: Binbin Wu <binbin.wu@intel.com>
This commit is contained in:
parent
08c079693f
commit
b1cbe39164
@ -127,7 +127,8 @@ def get_dm_owned_guest_flag_mask(vm_info, config):
|
|||||||
" Other bits are set by hypervisor only */", file=config)
|
" Other bits are set by hypervisor only */", file=config)
|
||||||
print("#define DM_OWNED_GUEST_FLAG_MASK\t" +
|
print("#define DM_OWNED_GUEST_FLAG_MASK\t" +
|
||||||
"(GUEST_FLAG_SECURE_WORLD_ENABLED | GUEST_FLAG_LAPIC_PASSTHROUGH | \\\n" +
|
"(GUEST_FLAG_SECURE_WORLD_ENABLED | GUEST_FLAG_LAPIC_PASSTHROUGH | \\\n" +
|
||||||
"\t\t\t\t\t\tGUEST_FLAG_RT | GUEST_FLAG_IO_COMPLETION_POLLING)", file=config)
|
"\t\t\t\t\t\tGUEST_FLAG_RT | GUEST_FLAG_IO_COMPLETION_POLLING | \\\n" +
|
||||||
|
"\t\t\t\t\t\tGUEST_FLAG_PMU_PASSTHROUGH)", file=config)
|
||||||
|
|
||||||
print("", file=config)
|
print("", file=config)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user