dm: set PMU_PT flag for CPU core partition VM
for CPU core partition VM, like RTVM, set PMU passthrough flag for vtune/perf to run in guest VM. Tracked-On: #6966 Acked-by: Anthony Xu <anthony.xu@intel.com> Signed-off-by: Minggui Cao <minggui.cao@intel.com>
This commit is contained in:
parent
b3bd153180
commit
811992ee2b
|
@ -186,6 +186,7 @@ vm_create(const char *name, uint64_t req_buf, int *vcpu_num)
|
|||
create_vm.vm_flag |= GUEST_FLAG_LAPIC_PASSTHROUGH;
|
||||
create_vm.vm_flag |= GUEST_FLAG_RT;
|
||||
create_vm.vm_flag |= GUEST_FLAG_IO_COMPLETION_POLLING;
|
||||
create_vm.vm_flag |= GUEST_FLAG_PMU_PASSTHROUGH;
|
||||
} else {
|
||||
create_vm.vm_flag &= (~GUEST_FLAG_LAPIC_PASSTHROUGH);
|
||||
create_vm.vm_flag &= (~GUEST_FLAG_IO_COMPLETION_POLLING);
|
||||
|
|
Loading…
Reference in New Issue