Revert "Revert "dm: set PMU_PT flag for CPU ...""
This reverts commit 6750d5a277
.
the bug is root caused and fixed, so recovery the original patch.
Tracked-On: #6966
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
This commit is contained in:
parent
05ca1d7641
commit
1bc2921c27
|
@ -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_LAPIC_PASSTHROUGH;
|
||||||
create_vm.vm_flag |= GUEST_FLAG_RT;
|
create_vm.vm_flag |= GUEST_FLAG_RT;
|
||||||
create_vm.vm_flag |= GUEST_FLAG_IO_COMPLETION_POLLING;
|
create_vm.vm_flag |= GUEST_FLAG_IO_COMPLETION_POLLING;
|
||||||
|
create_vm.vm_flag |= GUEST_FLAG_PMU_PASSTHROUGH;
|
||||||
} else {
|
} else {
|
||||||
create_vm.vm_flag &= (~GUEST_FLAG_LAPIC_PASSTHROUGH);
|
create_vm.vm_flag &= (~GUEST_FLAG_LAPIC_PASSTHROUGH);
|
||||||
create_vm.vm_flag &= (~GUEST_FLAG_IO_COMPLETION_POLLING);
|
create_vm.vm_flag &= (~GUEST_FLAG_IO_COMPLETION_POLLING);
|
||||||
|
|
Loading…
Reference in New Issue