Re: [PATCH 09/41] cpu_x86: Avoid unnecessary pointers to virCPUx86Data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 08, 2016 at 10:22:23 +0200, Jiri Denemark wrote:
> virCPUData, virCPUx86Feature, and virCPUx86Model all contained a pointer
> to virCPUx86Data, which was not very nice since the real CPUID data were
> accessible by yet another pointer from virCPUx86Data. Moreover, using
> virCPUx86Data directly will make static definitions of internal CPU
> features a bit easier.
> 
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/cpu/cpu.h                |   2 +-
>  src/cpu/cpu_x86.c            | 308 +++++++++++++++++++------------------------
>  src/cpu/cpu_x86.h            |   4 +-
>  src/cpu/cpu_x86_data.h       |   2 +
>  src/libvirt_private.syms     |   2 +-
>  src/qemu/qemu_monitor_json.c |   9 +-
>  6 files changed, 142 insertions(+), 185 deletions(-)

ACK

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]