[libvirt] [libvirt-perl PATCHv2 0/2] Add virDomainGetIOThreads and virDomainPinIOThread bindings

John Ferlan jferlan at redhat.com
Tue Mar 10 15:03:59 UTC 2015


v1:
http://www.redhat.com/archives/libvir-list/2015-March/msg00352.html

Since I essentially copied the vcpuinfo.pl example to create the
iothreadsinfo.pl example, I figured I'd resend the patches again
with the changes that ended up working which are slightly different
than the review comment.  The major difference being I needed to limit
the unpack bits format. Instead of "b*", I found "b$nodeinfo->{cpus}"
would print the just the cpu count bits.

Made the same change to the vcpuinfo.pl example. I didn't modify the
Virt.xs Safefree(info) check although it seems it would be possible
if desired.

John Ferlan (2):
  Add virDomainGetIOThreads and virDomainPinIOThread bindings
  Update the vcpuinfo.pl example

 Changes                   |  3 ++-
 Virt.xs                   | 42 ++++++++++++++++++++++++++++++++++++++++++
 examples/iothreadsinfo.pl | 33 +++++++++++++++++++++++++++++++++
 examples/vcpuinfo.pl      |  6 ++----
 lib/Sys/Virt/Domain.pm    | 17 +++++++++++++++++
 5 files changed, 96 insertions(+), 5 deletions(-)
 create mode 100644 examples/iothreadsinfo.pl

-- 
2.1.0




More information about the libvir-list mailing list