x86/vMCE: save/restore MCA capabilities
cover x86/vMCE: save/restore MCA capabilities
When migrating to a host with less MCA banks than the source host had, accesses to the extra banks' MCi_* MSRs caused #GP-s so far. By making the bank count (and other MCA capabilities) available to the destination host, it can properly ignore writes to extra banks the guest may know of, and return appropriate default values for reads.
The two patches can be applied independently (the second patch may need some refinement), but proper save/restore functionality can only be expected with both applied.
1: don't advertise features we don't support
2: save/restore MCA capabilities
Quoted 10 lines · Jan Beulich
When migrating to a host with less MCA banks than the source host had, accesses to the extra banks' MCi_* MSRs caused #GP-s so far. By making the bank count (and other MCA capabilities) available to the destination host, it can properly ignore writes to extra banks the guest may know of, and return appropriate default values for reads.
The two patches can be applied independently (the second patch may need some refinement), but proper save/restore functionality can only be expected with both applied.
Quoted 5 lines
1: don't advertise features we don't support
2: save/restore MCA capabilitiesSigned-off-by Jan Beulich <[email protected]>Tested-by Olaf Hering <[email protected]>
Quoted 5 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel