Re: [PATCH v3 1/7] libvirt: add new public API virConnectGetCPUModelNames

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

 



On 09/13/2013 01:25 PM, Eric Blake wrote:
> On 09/11/2013 08:12 AM, Giuseppe Scrivano wrote:
>> The new function virConnectGetCPUModelNames allows to retrieve the list
>> of CPU models known by the hypervisor for a specific architecture.
>>

> @@ -18545,6 +18545,9 @@ virConnectGetCPUModelNames(virConnectPtr conn,
> const char *arch, char ***models,
>      VIR_DEBUG("conn=%p, arch=%s, flags=%x", conn, arch, flags);

And yet another tweak squashed in - we must log ALL parameters.

diff --git i/src/libvirt.c w/src/libvirt.c
index b9b9459..5831f84 100644
--- i/src/libvirt.c
+++ w/src/libvirt.c
@@ -18542,7 +18542,8 @@ int
 virConnectGetCPUModelNames(virConnectPtr conn, const char *arch, char
***models,
                            unsigned int flags)
 {
-    VIR_DEBUG("conn=%p, arch=%s, flags=%x", conn, arch, flags);
+    VIR_DEBUG("conn=%p, arch=%s, models=%p, flags=%x",
+              conn, arch, models, flags);
     virResetLastError();

     if (models)


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