Re: [Xen-devel] [PATCH v2 1/3] x86/svm: Drop svm_segment_register_t

2017-07-25 Thread Boris Ostrovsky
On 07/25/2017 02:28 PM, Andrew Cooper wrote: > Most SVM code already uses struct segment_register. Drop the typedef and > adjust the definitions in struct vmcb_struct, and svm_dump_sel(). Introduce > some build-time assertions that struct segment_register from the common > emulation code is usabl

[Xen-devel] [PATCH v2 1/3] x86/svm: Drop svm_segment_register_t

2017-07-25 Thread Andrew Cooper
Most SVM code already uses struct segment_register. Drop the typedef and adjust the definitions in struct vmcb_struct, and svm_dump_sel(). Introduce some build-time assertions that struct segment_register from the common emulation code is usable in struct vmcb_struct. While making these adjustme