Re: [PATCH 02/10] x86/hyper-v: Move hv_message_type to architecture neutral module

2021-02-21 Thread Boqun Feng
On Wed, Jan 27, 2021 at 12:23:37PM -0800, Michael Kelley wrote: > The definition of enum hv_message_type includes arch neutral and > x86/x64-specific values. Ideally there would be a way to put the > arch neutral values in an arch neutral module, and the arch > specific values in an arch specific

[PATCH 02/10] x86/hyper-v: Move hv_message_type to architecture neutral module

2021-01-27 Thread Michael Kelley
The definition of enum hv_message_type includes arch neutral and x86/x64-specific values. Ideally there would be a way to put the arch neutral values in an arch neutral module, and the arch specific values in an arch specific module. But C doesn't provide a way to extend enum types. As a