<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 11/28/2016 10:46 AM, Jiri Denemark
wrote:<br>
</div>
<blockquote cite="mid:20161128154611.GA3335651@orkuz.home"
type="cite">
<blockquote type="cite" style="color: #000000;">
<pre wrap="">+ if (!(cpu_props = virJSONValueObjectGetObject(cpu_model, "props")))
</pre>
</blockquote>
<pre wrap="">I believe this should be
if (!(cpu_props = virJSONValueObjectGetArray(cpu_model, "props")))</pre>
</blockquote>
<tt>The JSON data returned by query-cpu-model-expansion doesn't seem
to</tt><tt><br>
</tt><tt>use an array to represent the props data. The props are
returned as</tt><tt><br>
</tt><tt>key-value pairs. </tt><tt><br>
</tt><tt><br>
</tt><tt>Is there some functionality to virJSONValueObjectGetArray
that works</tt><tt><br>
</tt><tt>with key-value pairs that I might be missing?</tt><tt> I
couldn't get it <br>
working on</tt><tt> </tt><tt>my end.</tt><br>
</body>
</html>