<div dir="ltr">On Mon, Mar 7, 2016 at 10:48 AM, Tim Förster - Hetzner Online AG <span dir="ltr"><<a href="mailto:tim.foerster@hetzner.de" target="_blank">tim.foerster@hetzner.de</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
rebuilding the gem is not quite easy. I am not able to find the actual gemspec. There are also some<br>
</blockquote><div><br></div><div>The gemspec is in the git repository.  You should be able to clone git://<a href="http://libvirt.org/ruby-libvirt.git">libvirt.org/ruby-libvirt.git</a>, then run "rake gem" to get a new gem.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">missing features, which are available though virsh. Such as 'virsh domblklist' to find out the<br>
actual registered block targets or rate limiting with iotune the burst iops.<br>
<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>ruby-libvirt aims to expose the libvirt API through ruby, not the virsh API.  Sometimes virsh provides additional functionality on top of the libvirt API, which will not necessarily be implemented in ruby-libvirt.  In this particular case, virsh domblklist parses virDomainGetXMLDesc() to output a list of block devices.  virDomainGetXMLDesc() is supported by ruby-libvirt, but domblklist itself would not be.  That being said, it should be fairly straightforward to implement it in ruby by first calling dom.xml_desc(), and then parsing the output with your favorite ruby XML parsing library.<br><br></div><div>Chris<br></div></div></div></div>