Re: [Xen-devel] [PATCH 4/8] viridian: remove duplicate union types

2018-10-31 Thread Roger Pau Monné
gt; > > Subject: Re: [Xen-devel] [PATCH 4/8] viridian: remove duplicate union > > types > > > > On Mon, Oct 29, 2018 at 06:02:07PM +, Paul Durrant wrote: > > > The 'viridian_vp_assist', 'viridian_hypercall_gpa' and > > > 'viridian_reference_

Re: [Xen-devel] [PATCH 4/8] viridian: remove duplicate union types

2018-10-30 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne > Sent: 30 October 2018 16:40 > To: Paul Durrant > Cc: xen-devel@lists.xenproject.org; Andrew Cooper > ; Wei Liu ; Jan Beulich > > Subject: Re: [Xen-devel] [PATCH 4/8] viridian: remove duplicate union > types > &

Re: [Xen-devel] [PATCH 4/8] viridian: remove duplicate union types

2018-10-30 Thread Roger Pau Monné
On Mon, Oct 29, 2018 at 06:02:07PM +, Paul Durrant wrote: > The 'viridian_vp_assist', 'viridian_hypercall_gpa' and > 'viridian_reference_tsc' union types are identical in layout. The layout > is also common throughout the specification [1]. > > This patch declares a common 'viridian_page_msr'

[Xen-devel] [PATCH 4/8] viridian: remove duplicate union types

2018-10-29 Thread Paul Durrant
The 'viridian_vp_assist', 'viridian_hypercall_gpa' and 'viridian_reference_tsc' union types are identical in layout. The layout is also common throughout the specification [1]. This patch declares a common 'viridian_page_msr' type and converts the rest of the code to use that type for both the