svm: Add warning message for AVIC IPI invalid target
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Tue, 22 Jan 2019 10:24:19 +0000 (10:24 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Jan 2019 18:11:34 +0000 (19:11 +0100)
commit37ef0c4414c9743ba7f1af4392f0a27a99649f2a
tree07a6419fadb8f6bfa7746c2bf6797aa9a55601bf
parentde81c2f912ef57917bdc6d63b410c534c3e07982
svm: Add warning message for AVIC IPI invalid target

Print warning message when IPI target ID is invalid due to one of
the following reasons:
  * In logical mode: cluster > max_cluster (64)
  * In physical mode: target > max_physical (512)
  * Address is not present in the physical or logical ID tables

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c