Skip to content

x86/viridian improvements

Paul Durrant xen-devel 12 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v12 Latest2 patches 4 repliesApplied
  2. v112 patches 11 repliesSuperseded
  3. v102 patches 3 repliesSuperseded
Earlier versions · 9
VersionPostedPatchesRepliesStatus
v92 patches1 replySuperseded
v82 patches1 replySuperseded
v72 patches5 repliesSuperseded
v62 patches3 repliesSuperseded
v53 patches12 repliesSuperseded
v43 patches4 repliesSuperseded
v33 patches4 repliesSuperseded
v23 patches14 repliesSuperseded
v12 patches4 repliesSuperseded

Changes in v12 from the cover letter

- Toolstack changes in patch #1 requested by Ian C
- Bitfield width now #defined
- Remove cast from patch #2 as requested by Jan

Patches in v12 Applied

#Subject and filesSizeRepliesApplied
1/2x86/viridian: Re-purpose the HVM parameter to be a feature maskdocs/man/xl.cfg.pod.5 tools/libxc/xc_domain_restore.c tools/libxl/libxl.h +7 more+274 -261 reply
2/2x86/viridian: Add partition time reference counter MSR supportdocs/man/xl.cfg.pod.5 tools/libxl/libxl_dom.c tools/libxl/libxl_types.idl +5 more+51 -91 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJan BeulichIan Jackson
1/2A-b A-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v12 thread

Cover letter [PATCH v12 0/2] x86/viridian improvements

This patch series incorporates several improvements to the code supporting viridian (i.e. hyper-v compatible) enlightenments for Windows guests:

Patch #1 series lays the foundations for adding new viridian enlightenments such that they can be optionally enabled, and not immediately exposed to a guest across a save/restore boundary.

Patch #2 adds support for the 'Partition Time Reference Counter' enlightenment.

v2:
- Addressed comments from Jan Beulich
- Added patch #2

v3:
- Addressed comments from Andrew Cooper and Jan Beulich
- Re-worked patch #2
- Simplified patch #3 to use guest TSC

v4:
- Added missing domain info to printks in patch #2

v5:
- Clarified comment of patch #1 as suggested by David Vrabel
- More logging tweaks in patch #2 as suggested by Andrew Cooper

v6:
- Dropped previous patch to reduce logging verbosity as it has been applied
- Toolstack changes only:
- New libxl_integer_list and libxl_viridian_enlightenment types to avoid passing of strings between xl and libxl, as requested by Ian Jackson.
- Retained and deprecated viridian defbool rather than replacing it to avoid API breakage pointed out by Ian Campbell. Enlightenment list is now in a new hvm-only viridian_enlightenments field of the build info.

v7:
- Changes to patch #2 only:
- Reference time calculation now makes use of struct time_scale and set_time_scale and scale_delta functions to avoid overflow issues pointed out by Christoph Egger.

v8:
- Changes to patch #2 only:
- Fixed 32- to 64-bit type promotion issue as pointed out by Jan Beulich

v9:
- Changes to ocaml stubs in patch #1 only
- There was a missing calloc in the libxl_integer_list ocaml stubs

v10:
- Toolstack changes only:
- Re-worked toolstack code after discussion with Ian C and Ian J.

    See http://lists.xen.org/archives/html/xen-devel/2014-09/msg00416.html

v11:
- Toolstack changes only:
- Re-worked toolstack code after further discussion with Ian J.

v12:
- Toolstack changes in patch #1 requested by Ian C
- Bitfield width now #defined
- Remove cast from patch #2 as requested by Jan