Skip to contentSkip to conversation

x86/vMCE: save/restore MCA capabilities

PATCH In review Jan Beulich 2 participants 2 messages Feb 15, 2012 – Feb 23, 2012

lore
Share & tools
lore
#0 lore raw

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

Acked-by on the v1 series
#1 lore raw
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 capabilities

Quoted 5 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel