[libvirt] [PATCH 10/41] cpu_ppc64: Avoid unnecessary pointer to virCPUppc64Data

Peter Krempa pkrempa at redhat.com
Wed Jun 8 13:26:58 UTC 2016


On Wed, Jun 08, 2016 at 10:22:24 +0200, Jiri Denemark wrote:
> virCPUData and struct ppc64_model structures contained a pointer to
> virCPUppc64Data, which was not very nice since the real data were
> accessible by yet another level of pointers from virCPUppc64Data.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/cpu/cpu.h            |  2 +-
>  src/cpu/cpu_ppc64.c      | 65 +++++++++++++++++++-----------------------------
>  src/cpu/cpu_ppc64_data.h |  2 ++
>  3 files changed, 28 insertions(+), 41 deletions(-)

ACK




More information about the libvir-list mailing list