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

Re: [libvirt] [PATCH] Ensure 'arch' is always set in cpuArchNodeData



On 09/04/2013 10:44 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> The s390, ppc and arm CPU drivers never set the 'arch' field
> in their impl of cpuArchNodeData. This leads to error messages
> being reported from cpuDataFree later, due to trying to use
> VIR_ARCH_NONE.
> 


> +++ b/src/cpu/cpu.h
> @@ -70,7 +70,7 @@ typedef void
>  (*cpuArchDataFree)  (virCPUDataPtr data);
>  
>  typedef virCPUDataPtr
> -(*cpuArchNodeData)  (void);
> +(*cpuArchNodeData)  (virArch arch);

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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