<div><br></div><div><br></div>
                <div><div><br></div><div>-- </div><div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);">Best regards </div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);">Eli</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);">天涯无处不重逢</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span style="color: rgb(0, 0, 0); font-family: "Microsoft YaHei", Verdana, arial, sans-serif;">a leaf duckweed belongs to the sea, where not to meet in life </span></div></div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig">Sparrow</a></div><div><br></div></div>
                 
                <p style="color: #A0A0A8;">On Monday, 20 February 2017 at 3:59 PM, Martin Kletzander wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>On Sun, Feb 19, 2017 at 12:20:55PM -0300, Marcelo Tosatti wrote:</div><blockquote type="cite"><div><div>On Sun, Feb 19, 2017 at 12:01:57PM -0300, Marcelo Tosatti wrote:</div><blockquote type="cite"><div><div><br></div><div>How does the management software query the amount of allocatable cache</div><div>again?</div><div><br></div><div>Section from another discussion:</div><div><br></div><blockquote type="cite"><div>The second case is necessary to get updated free space information.</div></blockquote><div><br></div><div>Just VM initialization time could be enough as virConnectGetCapabilities</div><div>would just know the total and free size would be reported in an API (if</div><div>I rememer the discussion correctly)</div><div><br></div><div>Martin</div></div></blockquote><div><br></div><div>Yes, i think this is missing because the interface was designed</div><div>with only libvirt in mind: the "reserved" field returns the amount of</div><div>cache reserved only by VMs.</div><div><br></div><div>So if there is another application on the same L3 socket</div><div>with a cache reservation, "reserved" fails to report it.</div><div><br></div><div>Eli can you expose the amount of free allocatable cache space</div><div>(where non-free includes space used by other reservations) in a</div><div>'free_space' field in the cache output of virConnectGetCapabilities?</div></div></blockquote><div><br></div><div>There should be an API for that instead.  Capabilities are supposed to</div><div>show what the hardware is capable of, not what the actual state is.</div><div><br></div><div>If my opinion is not enough, see here:</div><div><br></div><div>  <a href="https://www.redhat.com/archives/libvir-list/2017-January/msg00500.html">https://www.redhat.com/archives/libvir-list/2017-January/msg00500.html</a></div></div></div></span></blockquote><div><br></div><div>Sure, thanks Martin point the link , the plan is to provide API to query cache left. </div>
                 
                <div>
                    <br>
                </div>