Re: [PATCH v3 05.5/14] x86/svm: Decouple types in struct nestedsvm

2023-02-27 Thread Andrew Cooper
On 27/02/2023 8:52 am, Xenia Ragiadakou wrote: > > On 2/24/23 23:06, Andrew Cooper wrote: >> struct nestedvm uses mostly plain integer types, except for >> virt_ext_t which >> is a union wrapping two bitfield names.  But the nested virt logic >> only ever >> deals with it as full opaque register.

Re: [PATCH v3 05.5/14] x86/svm: Decouple types in struct nestedsvm

2023-02-27 Thread Xenia Ragiadakou
On 2/24/23 23:06, Andrew Cooper wrote: struct nestedvm uses mostly plain integer types, except for virt_ext_t which is a union wrapping two bitfield names. But the nested virt logic only ever deals with it as full opaque register. Switch it to being a plain uint64_t, allowing us to hide even

[PATCH v3 05.5/14] x86/svm: Decouple types in struct nestedsvm

2023-02-24 Thread Andrew Cooper
struct nestedvm uses mostly plain integer types, except for virt_ext_t which is a union wrapping two bitfield names. But the nested virt logic only ever deals with it as full opaque register. Switch it to being a plain uint64_t, allowing us to hide even more of the SVM internal infrastructure.