[libvirt] [libvirt-perl PATCHv2 0/2] Add virDomainGetIOThreads and virDomainPinIOThread bindings
John Ferlan
jferlan at redhat.com
Wed Mar 11 19:11:29 UTC 2015
On 03/10/2015 11:03 AM, John Ferlan wrote:
> 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
>
Pushed - thanks
John
More information about the libvir-list
mailing list