hv: apicv: explicit log for SMI IPI unsupported

ACRN currently do not support SMM and SMI. Print one explicit warning
for it.

Signed-off-by: Yu Wang <yu1.wang@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Yu Wang 2018-08-15 01:17:02 +00:00 committed by wenlingz
parent 604b5a454b
commit 39b4fecab9
1 changed files with 2 additions and 0 deletions

View File

@ -1194,6 +1194,8 @@ vlapic_icrlo_write_handler(struct acrn_vlapic *vlapic)
target_vcpu->vcpu_id, target_vcpu->vcpu_id,
target_vcpu->vm->vm_id); target_vcpu->vm->vm_id);
schedule_vcpu(target_vcpu); schedule_vcpu(target_vcpu);
} else if (mode == APIC_DELMODE_SMI) {
pr_info("vmx vapic: SMI IPI do not support\n");
} else { } else {
pr_err("Unhandled icrlo write with mode %u\n", mode); pr_err("Unhandled icrlo write with mode %u\n", mode);
} }