Commit d62c02a
committed
KVM: VMX: Pass XFD_ERR as pseudo-payload when injecting #NM
Pass XFD_ERR via KVM's exception payload mechanism when injecting an #NM
after interception so that XFD_ERR can be propagated to FRED's event_data
field without needing a dedicated field (which would need to be migrated).
For non-FRED vCPUs, this is a glorified NOP as
kvm_deliver_exception_payload() will simply do nothing (which is desirable
and correct).
Signed-off-by: Xin Li (Intel) <xin@zytor.com>
Tested-by: Shan Kang <shan.kang@intel.com>
Link: https://lore.kernel.org/r/20241001050110.3643764-15-xin@zytor.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent 3ef0df3 commit d62c02a
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5215 | 5215 | | |
5216 | 5216 | | |
5217 | 5217 | | |
| 5218 | + | |
| 5219 | + | |
| 5220 | + | |
| 5221 | + | |
| 5222 | + | |
| 5223 | + | |
5218 | 5224 | | |
5219 | 5225 | | |
5220 | 5226 | | |
| |||
5241 | 5247 | | |
5242 | 5248 | | |
5243 | 5249 | | |
5244 | | - | |
| 5250 | + | |
| 5251 | + | |
5245 | 5252 | | |
5246 | 5253 | | |
5247 | 5254 | | |
| |||
6997 | 7004 | | |
6998 | 7005 | | |
6999 | 7006 | | |
7000 | | - | |
| 7007 | + | |
7001 | 7008 | | |
7002 | 7009 | | |
7003 | 7010 | | |
7004 | 7011 | | |
7005 | 7012 | | |
7006 | | - | |
7007 | | - | |
| 7013 | + | |
7008 | 7014 | | |
7009 | 7015 | | |
7010 | 7016 | | |
| |||
0 commit comments