Part of our solution to XSA-254 SP3 (aka "Meltdown") is to backport the PVH mode from 4.10 to 4.9 and 4.8. This will first allow people able to run PVH kernels to switch their PV guests directly to PVH guests; and second, eventually enable the backport of patches which will enable transparent changing of PV guests into PVH guests.
All of the hypervisor support seems to have existed already in 4.8, so the only backports involve toolstack patches. I've put up two trees for a first-cut backport of the PVH functionality, to 4.9 and 4.8 here: git://xenbits.xen.org/people/gdunlap/xen.git Branches out/pvh-backport/4.8/v1 and out/pvh-backport/4.9/v1 Below are the patches backported from 4.10 to 4.9 (23 patches total): Roger Pau Monne libxl: add is_default checkers for string and timer_mode types Roger Pau Monne libxl: introduce a way to mark fields as deprecated in the idl Roger Pau Monne xl: parsing code movement Roger Pau Monne libxl/xl: use the new location of domain_build_info fields Roger Pau Monne xl: introduce a domain type option Roger Pau Monne xl: introduce a firmware option Roger Pau Monne libxl: introduce a PVH guest type Roger Pau Monne libxl: allow PVH guests to use a bootloader Roger Pau Monne libxl: set PVH guests to use the PV console Roger Pau Monne libxl: add PVH support to domain creation Roger Pau Monne libxl: remove device model "none" support from disk related functions Roger Pau Monne libxl: set device model for PVH guests Roger Pau Monne libxl: add PVH support to domain building Roger Pau Monne libxl: add PVH support to domain save/suspend Roger Pau Monne libxl: add PVH support to vpcu hotplug, domain destruction/pause and domain configuration Roger Pau Monne libxl: add PVH support to memory functions Roger Pau Monne libxl: PVH guests use PV nics Roger Pau Monne libxl: remove device model "none" support from stream functions Roger Pau Monne libxl: add PVH support to USB Roger Pau Monne libxl: add PVH support to x86 functions Roger Pau Monne xl: add PVH as a guest type Roger Pau Monne libxl: remove device model "none" from IDL George Dunlap xl: Don't warn on using 'deprecated' mode selection And here are the patches backported from 4.10 and 4.9 to 4.8 (35 patches total): Boris Ostrovsky acpi: make pmtimer optional in FADT Boris Ostrovsky acpi: power and sleep ACPI buttons are not emulated for PVH guests Boris Ostrovsky acpi: PVH guests need _E02 method Roger Pau Monné libacpi: add _FADT_ to the FADT boot flags definitions Roger Pau Monné libacpi: set FADT boot flag to notify lack of VGA for PVHv2 guests Roger Pau Monné libacpi: don't announce a 8042 controller in the FADT for PVHv2 guests Roger Pau Monné libacpi: update FADT layout to support version 5 Roger Pau Monné libacpi: announce that PVHv2 has no CMOS RTC in FADT Roger Pau Monne firmware/rombios: fix after update to libacpi Boris Ostrovsky x86/pmtimer: move ACPI registers from PMTState to hvm_domain Boris Ostrovsky libxl: Update xenstore on VCPU hotplug for all guest types Roger Pau Monne libxl: add is_default checkers for string and timer_mode types Roger Pau Monne libxl: introduce a way to mark fields as deprecated in the idl Roger Pau Monne xl: parsing code movement Roger Pau Monne libxl/xl: use the new location of domain_build_info fields Roger Pau Monne xl: introduce a domain type option Roger Pau Monne xl: introduce a firmware option Juergen Gross libxl: don't segfault when creating domain with invalid pvusb device Roger Pau Monne libxl: introduce a PVH guest type Roger Pau Monne libxl: allow PVH guests to use a bootloader Roger Pau Monne libxl: set PVH guests to use the PV console George Dunlap libxl: add PVH support to domain creation Roger Pau Monne libxl: remove device model "none" support from disk related functions Roger Pau Monne libxl: set device model for PVH guests Roger Pau Monne libxl: add PVH support to domain building Roger Pau Monne libxl: add PVH support to domain save/suspend Roger Pau Monne libxl: add PVH support to vpcu hotplug, domain destruction/pause and domain configuration Roger Pau Monne libxl: add PVH support to memory functions Roger Pau Monne libxl: PVH guests use PV nics Roger Pau Monne libxl: remove device model "none" support from stream functions Roger Pau Monne libxl: add PVH support to USB Roger Pau Monne libxl: add PVH support to x86 functions Roger Pau Monne xl: add PVH as a guest type Roger Pau Monne libxl: remove device model "none" from IDL George Dunlap xl: Don't warn on using 'deprecated' mode selection _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel