]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Inject machine check into the nested guest
authorQingFeng Hao <haoqf@linux.vnet.ibm.com>
Wed, 7 Jun 2017 10:11:18 +0000 (12:11 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 28 Jun 2017 10:42:33 +0000 (12:42 +0200)
commit74aa4331c5662f3492b5d1311c42a795be69eb81
tree6651c18679c0a59edad6d1f1032be06d05c7dbd5
parent5ad011b5a7f82a17aa46739412f1da94c62d034d
KVM: s390: Inject machine check into the nested guest

With vsie feature enabled, kvm can support nested guests (guest-3).
So inject machine check to the guest-2 if it happens when the nested
guest is running. And guest-2 will detect the machine check belongs
to guest-3 and reinject it into guest-3.
The host (guest-1) tries to inject the machine check to the picked
destination vcpu if it's a floating machine check.

Signed-off-by: QingFeng Hao <haoqf@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/vsie.c