Re: [libvirt] [PATCH 22/36] cpu_x86: Store virCPUx86DataItem content in union

2019-04-09 Thread Ján Tomko
On Mon, Apr 08, 2019 at 10:42:26AM +0200, Jiri Denemark wrote: The structure can only be used for CPUID data now. Adding a type indicator and moving the data into a union will let us store alternative data types. Signed-off-by: Jiri Denemark --- src/cpu/cpu_x86.c | 202

[libvirt] [PATCH 22/36] cpu_x86: Store virCPUx86DataItem content in union

2019-04-08 Thread Jiri Denemark
The structure can only be used for CPUID data now. Adding a type indicator and moving the data into a union will let us store alternative data types. Signed-off-by: Jiri Denemark --- src/cpu/cpu_x86.c | 202 - src/cpu/cpu_x86_data.h | 10 +-