Skip to content

Reduce the size of the vmcs_field_to_offset_table

Jim Mattson kvm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kvm: vmx: Introduce VMCS12_MAX_FIELD_INDEXarch/x86/kvm/vmx.c+7 -11 reply
2/3kvm: vmx: Change vmcs_field_type to vmcs_field_widtharch/x86/kvm/vmx.c+29 -290 replies
3/3kvm: vmx: Reduce size of vmcs_field_to_offset_tablearch/x86/kvm/vmx.c+13 -70 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchDavid Hildenbrand
1/3R-b
2/3
3/3

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Reduce the size of the vmcs_field_to_offset_table

The vmcs_field_to_offset_table is quite sparse, with its size determined by the highest VMCS field encoding (0x6c16 for HOST_RIP). To support multiple VMCS12 formats, we will need multiple vmcs_field_to_offset_tables, and it would be a shame to replicate this sparse table.

Patches 1 and 2 are no longer necessary for v2, but I'm going to leave them in the patch set, because I still think they are worthwhile.

Jim Mattson (3):
kvm: vmx: Introduce VMCS12_MAX_FIELD_INDEX
kvm: vmx: Change vmcs_field_type to vmcs_field_width
kvm: vmx: Reduce size of vmcs_field_to_offset_table

 arch/x86/kvm/vmx.c | 86 +++++++++++++++++++++++++++++++-----------------------
 1 file changed, 49 insertions(+), 37 deletions(-)
Signature · 1 line
2.15.1.620.gb9897f4670-goog