This patchset fixes some APICV issues, including a potential issue while doing live migration and enabling APICV while guest is in X2APIC mode. PATCH 1/2: Xen: Fix live migration while enabling APICV. PATCH 2/2: Xen: Fix VMCS setting for x2APIC mode guest while enabling APICV. Changes v2 to v3 When enabling APICV for x2apic mode, ppr, tmict tmcct MSR read still need to be intercepted.. Changes v1 to v2 According to Keir''s comment, don''t change the save/restore order for compatibility.