PVH backports to 4.9 and 4.8
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
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 8 lines · George Dunlap
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.
Thanks for looking into this.
My general opinion given those are toolstack only patches is that if it works it's fine.
Quoted 5 lines
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
Quoted 8 lines
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_defaultcheckers for string andtimer_mode
types
Roger Pau Monne libxl: introduce a way to mark fields as deprecated in
the idl
This or one of the related patches is going to add fields in domain_build_info, which will break the ABI. Is this expected/OK?
Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 24 lines · Roger Pau Monné
Quoted 8 lines · George Dunlap
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.
Thanks for looking into this.
My general opinion given those are toolstack only patches is that if it works it's fine.
Quoted 9 lines
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.gitBranches 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):
Quoted 7 lines
Quoted 4 lines
Roger Pau Monne libxl: add
is_defaultcheckers for string andtimer_mode
types
Roger Pau Monne libxl: introduce a way to mark fields as deprecated in
the idlThis or one of the related patches is going to add fields in
domain_build_info, which will break the ABI. Is this expected/OK?
Oh right -- this needs to be ported to add the fields at the end.
Going back to the 4.10 series, it looks like there are also some "shim host" patches having to do with enabling CPUID faulting in the guest. Do we need to backport those to 4.9 and 4.8 as well? ISTR they may rely on some hypervisor infrastructure which would then also need to be backported.
But PVH shim guests seemed to boot fine under 4.9 / 4.8 without those patches, so I'm not sure how critical they are.
-George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 33 lines · George Dunlap
Quoted 24 lines · Roger Pau Monné
Quoted 8 lines · George Dunlap
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.
Thanks for looking into this.
My general opinion given those are toolstack only patches is that if it works it's fine.
Quoted 9 lines
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.gitBranches 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):
Quoted 7 lines
Quoted 4 lines
Roger Pau Monne libxl: add
is_defaultcheckers for string andtimer_mode
types
Roger Pau Monne libxl: introduce a way to mark fields as deprecated in
the idlThis or one of the related patches is going to add fields in
domain_build_info, which will break the ABI. Is this expected/OK?
Quoted 7 lines
Oh right -- this needs to be ported to add the fields at the end.
Going back to the 4.10 series, it looks like there are also some "shim host" patches having to do with enabling CPUID faulting in the guest. Do we need to backport those to 4.9 and 4.8 as well? ISTR they may rely on some hypervisor infrastructure which would then also need to be backported.
IIRC those are for AMD hardware?
Adding Andy who worked on those patches.
Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 42 lines · Roger Pau Monné
Quoted 33 lines · George Dunlap
Quoted 24 lines · Roger Pau Monné
Quoted 8 lines · George Dunlap
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.
Thanks for looking into this.
My general opinion given those are toolstack only patches is that if it works it's fine.
Quoted 9 lines
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.gitBranches 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):
Quoted 7 lines
Quoted 4 lines
Roger Pau Monne libxl: add
is_defaultcheckers for string andtimer_mode
types
Roger Pau Monne libxl: introduce a way to mark fields as deprecated in
the idlThis or one of the related patches is going to add fields in
domain_build_info, which will break the ABI. Is this expected/OK?Quoted 7 lines
Oh right -- this needs to be ported to add the fields at the end.
Going back to the 4.10 series, it looks like there are also some "shim host" patches having to do with enabling CPUID faulting in the guest. Do we need to backport those to 4.9 and 4.8 as well? ISTR they may rely on some hypervisor infrastructure which would then also need to be backported.
Quoted 3 lines
IIRC those are for AMD hardware?
Adding Andy who worked on those patches.
From what I recall there were two parts:
1. Allow AMD to even enable CPUID faulting if available
2. Enable CPUID faulting for shim guests (both Intel and AMD)
The point of #1 was to enable #2 on AMD hardware.
-George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
George Dunlap:
Quoted 9 lines
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.
Quoted 8 lines
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.gitBranches 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):
[...]
So future 4.8 releases will include the backports, right? Asking because the AFAICS the 4.8.3-pre-shim-comet branch include them but staging-4.8 does not.
Simon
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 15 lines · Simon Gaiser
George Dunlap:
Quoted 14 lines
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
Quoted 8 lines
Quoted 3 lines
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):
[...]
So future 4.8 releases will include the backports, right? Asking because the AFAICS the 4.8.3-pre-shim-comet branch include them but staging-4.8 does not.
Some of us have had informal conversations about backporting PVH and Comet host/toolstack patches to 4.8, and a number of us think it's a good idea, but we haven't had an official discussion with all the stakeholders yet. We'll come back to it once more of the fires have been put out.
Feel free to remind us in a month or so if you still haven't seen any patches in the stable-4.8 branch. :-)
-George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
George Dunlap:
Quoted 25 lines · Simon Gaiser
Quoted 15 lines
George Dunlap:
Quoted 14 lines
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.gitQuoted 8 lines
Quoted 3 lines
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):
[...]
So future 4.8 releases will include the backports, right? Asking because the AFAICS the 4.8.3-pre-shim-comet branch include them but staging-4.8 does not.
Quoted 8 lines
Some of us have had informal conversations about backporting PVH and Comet host/toolstack patches to 4.8, and a number of us think it's a good idea, but we haven't had an official discussion with all the stakeholders yet. We'll come back to it once more of the fires have been put out.
Feel free to remind us in a month or so if you still haven't seen any patches in the stable-4.8 branch. :-)
Ok, thank you for the quick reply. In Qubes we are using PVH with 4.8 using the old device_model_version=none config option. And changing this would be much easier before release (So the change should be in our rc now). Anyway if it's not decided yet, we will have to guess what ends up in future 4.8.z releases.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel