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

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



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


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