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

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

 



On 09/04/2013 10:44 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> 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

--
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]