kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Reduce the size of the vmcs_field_to_offset_table
@ 2017-12-21 20:46 Jim Mattson
  2017-12-21 20:46 ` [PATCH 1/3] kvm: vmx: Introduce VMCS12_MAX_FIELD_INDEX Jim Mattson
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Jim Mattson @ 2017-12-21 20:46 UTC (permalink / raw)
  To: kvm; +Cc: Jim Mattson


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.

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 | 197 +++++++++++++++++++++++++++++++----------------------
 1 file changed, 117 insertions(+), 80 deletions(-)

-- 
2.15.1.620.gb9897f4670-goog

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-01-18 16:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-21 20:46 [PATCH 0/3] Reduce the size of the vmcs_field_to_offset_table Jim Mattson
2017-12-21 20:46 ` [PATCH 1/3] kvm: vmx: Introduce VMCS12_MAX_FIELD_INDEX Jim Mattson
2017-12-22 20:11   ` [PATCH v2 " Jim Mattson
2018-01-18 16:46     ` David Hildenbrand
2017-12-21 20:46 ` [PATCH 2/3] kvm: vmx: Change vmcs_field_type to vmcs_field_width Jim Mattson
2017-12-22 20:12   ` [PATCH v2 " Jim Mattson
2017-12-21 20:46 ` [PATCH 3/3] kvm: vmx: Reduce size of vmcs_field_to_offset_table Jim Mattson
2017-12-22 16:26   ` Paolo Bonzini
2017-12-22 18:28     ` Jim Mattson
2017-12-22 20:13       ` [PATCH v2 " Jim Mattson
2017-12-22 20:09 ` [PATCH v2 0/3] Reduce the size of the vmcs_field_to_offset_table Jim Mattson
2018-01-01 22:55   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).