Hello community, here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory checked in at 2014-12-23 11:50:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Sys-Virt (Old) and /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Sys-Virt" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Sys-Virt/perl-Sys-Virt.changes 2014-10-11 19:27:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new/perl-Sys-Virt.changes 2014-12-23 11:49:24.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Dec 15 10:47:17 MST 2014 - jfeh...@suse.com + +- Update to 1.2.11 + - Add all new APIs and constants in libvirt 1.2.11 + +------------------------------------------------------------------- Old: ---- Sys-Virt-1.2.9.tar.gz New: ---- Sys-Virt-1.2.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Sys-Virt.spec ++++++ --- /var/tmp/diff_new_pack.p4HDlT/_old 2014-12-23 11:49:26.000000000 +0100 +++ /var/tmp/diff_new_pack.p4HDlT/_new 2014-12-23 11:49:26.000000000 +0100 @@ -17,7 +17,7 @@ Name: perl-Sys-Virt -Version: 1.2.9 +Version: 1.2.11 Release: 0 %define cpan_name Sys-Virt Summary: Represent and manage a libvirt hypervisor connection ++++++ Sys-Virt-1.2.9.tar.gz -> Sys-Virt-1.2.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/Changes new/Sys-Virt-1.2.11/Changes --- old/Sys-Virt-1.2.9/Changes 2014-10-02 12:30:10.000000000 +0200 +++ new/Sys-Virt-1.2.11/Changes 2014-12-15 12:57:03.000000000 +0100 @@ -1,5 +1,16 @@ Revision history for perl module Sys::Virt +1.2.11 2014-12-15 + + - Add virDomainGetFSInfo API binding + - Add missed VIR_NODE_MEMORY_SHARED_MERGE_ACROSS_NODES constant + - Add new VIR_DOMAIN_TUNABLE_BLKDEV* constants + - Add new VIR_DOMAIN_BLOCK_IOTUNE* constants + - Add support for VIR_CONNECT_DOMAIN_EVENT_ID_AGENT_LIFECYCLE + event callbacks & constants + - Fix docs for Sys::Virt::Domain::get_time method + - Demo agent lifecycle events in example program + 1.2.9 2014-10-02 - Add VIR_DOMAIN_*_BANDWIDTH_BYTES constants diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/MANIFEST new/Sys-Virt-1.2.11/MANIFEST --- old/Sys-Virt-1.2.9/MANIFEST 2014-10-02 12:30:22.000000000 +0200 +++ new/Sys-Virt-1.2.11/MANIFEST 2014-12-15 15:08:32.000000000 +0100 @@ -3,6 +3,7 @@ examples/auth.pl examples/devices.pl examples/dhcp-leases.pl +examples/dom-fsinfo.pl examples/dom-stats.pl examples/dump-info.pl examples/dump-xml.pl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/META.yml new/Sys-Virt-1.2.11/META.yml --- old/Sys-Virt-1.2.9/META.yml 2014-10-02 12:30:22.000000000 +0200 +++ new/Sys-Virt-1.2.11/META.yml 2014-12-15 15:08:32.000000000 +0100 @@ -1,7 +1,7 @@ --- #YAML:1.0 name: Sys-Virt abstract: Extension for the libvirt library -version: 1.2.9 +version: 1.2.11 author: - Daniel P. Berrange <d...@berrange.com> license: perl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/MYMETA.json new/Sys-Virt-1.2.11/MYMETA.json --- old/Sys-Virt-1.2.9/MYMETA.json 2014-10-02 12:30:14.000000000 +0200 +++ new/Sys-Virt-1.2.11/MYMETA.json 2014-12-15 15:08:24.000000000 +0100 @@ -4,7 +4,7 @@ "Daniel Berrange <d...@berrange.com>" ], "dynamic_config" : 0, - "generated_by" : "ExtUtils::MakeMaker version 6.72, CPAN::Meta::Converter version 2.132140", + "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060", "license" : [ "unknown" ], @@ -42,5 +42,5 @@ } }, "release_status" : "stable", - "version" : "v1.2.9" + "version" : "v1.2.11" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/MYMETA.yml new/Sys-Virt-1.2.11/MYMETA.yml --- old/Sys-Virt-1.2.9/MYMETA.yml 2014-10-02 12:30:14.000000000 +0200 +++ new/Sys-Virt-1.2.11/MYMETA.yml 2014-12-15 15:08:24.000000000 +0100 @@ -3,25 +3,25 @@ author: - 'Daniel Berrange <d...@berrange.com>' build_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' configure_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'ExtUtils::MakeMaker version 6.72, CPAN::Meta::Converter version 2.132140' +generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Sys-Virt no_index: directory: - t - inc requires: - Test::CPAN::Changes: 0 - Test::More: 0 - Test::Pod: 0 - Test::Pod::Coverage: 0 - Time::HiRes: 0 - XML::XPath: 0 -version: v1.2.9 + Test::CPAN::Changes: '0' + Test::More: '0' + Test::Pod: '0' + Test::Pod::Coverage: '0' + Time::HiRes: '0' + XML::XPath: '0' +version: v1.2.11 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/Makefile.PL new/Sys-Virt-1.2.11/Makefile.PL --- old/Sys-Virt-1.2.9/Makefile.PL 2014-10-02 12:30:10.000000000 +0200 +++ new/Sys-Virt-1.2.11/Makefile.PL 2014-12-15 12:57:03.000000000 +0100 @@ -3,7 +3,7 @@ # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. -my $libvirtver = "1.2.9"; +my $libvirtver = "1.2.11"; my $stat = system "pkg-config --atleast-version=$libvirtver libvirt"; die "cannot run pkg-config to check libvirt version" if $stat == -1; die "libvirt >= $libvirtver is required\n" unless $stat == 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/README new/Sys-Virt-1.2.11/README --- old/Sys-Virt-1.2.9/README 2014-10-02 12:30:10.000000000 +0200 +++ new/Sys-Virt-1.2.11/README 2014-12-15 12:57:03.000000000 +0100 @@ -7,6 +7,6 @@ The only pre-requisite for this module is libvirt itself. For installation instructions, consult the INSTALL file. -The current minimum required version of libvirt is 1.2.9 +The current minimum required version of libvirt is 1.2.11 -- End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/Virt.xs new/Sys-Virt-1.2.11/Virt.xs --- old/Sys-Virt-1.2.9/Virt.xs 2014-10-02 12:30:10.000000000 +0200 +++ new/Sys-Virt-1.2.11/Virt.xs 2014-12-15 12:57:03.000000000 +0100 @@ -939,6 +939,46 @@ static int +_domain_event_agent_lifecycle_callback(virConnectPtr con, + virDomainPtr dom, + int state, + int reason, + void *opaque) +{ + AV *data = opaque; + SV **self; + SV **cb; + SV *domref; + dSP; + + self = av_fetch(data, 0, 0); + cb = av_fetch(data, 1, 0); + + SvREFCNT_inc(*self); + + ENTER; + SAVETMPS; + + PUSHMARK(SP); + XPUSHs(*self); + domref = sv_newmortal(); + sv_setref_pv(domref, "Sys::Virt::Domain", (void*)dom); + virDomainRef(dom); + XPUSHs(domref); + XPUSHs(sv_2mortal(newSViv(state))); + XPUSHs(sv_2mortal(newSViv(reason))); + PUTBACK; + + call_sv(*cb, G_DISCARD); + + FREETMPS; + LEAVE; + + return 0; +} + + +static int _network_event_lifecycle_callback(virConnectPtr con, virNetworkPtr net, int event, @@ -2908,6 +2948,9 @@ case VIR_DOMAIN_EVENT_ID_TUNABLE: callback = VIR_DOMAIN_EVENT_CALLBACK(_domain_event_tunable_callback); break; + case VIR_DOMAIN_EVENT_ID_AGENT_LIFECYCLE: + callback = VIR_DOMAIN_EVENT_CALLBACK(_domain_event_agent_lifecycle_callback); + break; default: callback = VIR_DOMAIN_EVENT_CALLBACK(_domain_event_generic_callback); break; @@ -4299,7 +4342,7 @@ virTypedParameter *params; int nparams; PPCODE: - nparams = 5; + nparams = 6; Newx(params, nparams, virTypedParameter); strncpy(params[0].field, VIR_MIGRATE_PARAM_URI, @@ -5116,6 +5159,38 @@ Safefree(mountPoints); +void +get_fs_info(dom, flags=0) + virDomainPtr dom; + unsigned int flags; + PREINIT: + virDomainFSInfoPtr *info; + int ninfo; + size_t i, j; + PPCODE: + + if ((ninfo = virDomainGetFSInfo(dom, &info, flags)) < 0) + _croak_error(); + + EXTEND(SP, ninfo); + for (i = 0 ; i < ninfo ; i++) { + HV *hv = newHV(); + AV *av = newAV(); + + (void)hv_store(hv, "mountpoint", 10, newSVpv(info[i]->mountpoint, 0), 0); + (void)hv_store(hv, "name", 4, newSVpv(info[i]->name, 0), 0); + (void)hv_store(hv, "fstype", 6, newSVpv(info[i]->fstype, 0), 0); + + for (j = 0; j < info[i]->ndevAlias; j++) + av_push(av, newSVpv(info[i]->devAlias[j], 0)); + + (void)hv_store(hv, "devalias", 8, newRV_noinc((SV*)av), 0); + + virDomainFSInfoFree(info[i]); + + PUSHs(newRV_noinc((SV*)hv)); + } + free(info); void send_process_signal(dom, pidsv, signum, flags=0) @@ -7063,6 +7138,7 @@ REGISTER_CONSTANT_STR(VIR_NODE_MEMORY_SHARED_PAGES_UNSHARED, NODE_MEMORY_SHARED_PAGES_UNSHARED); REGISTER_CONSTANT_STR(VIR_NODE_MEMORY_SHARED_PAGES_VOLATILE, NODE_MEMORY_SHARED_PAGES_VOLATILE); REGISTER_CONSTANT_STR(VIR_NODE_MEMORY_SHARED_FULL_SCANS, NODE_MEMORY_SHARED_FULL_SCANS); + REGISTER_CONSTANT_STR(VIR_NODE_MEMORY_SHARED_MERGE_ACROSS_NODES, NODE_MEMORY_SHARED_MERGE_ACROSS_NODES); REGISTER_CONSTANT(VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES, BASELINE_CPU_EXPAND_FEATURES); @@ -7389,6 +7465,7 @@ REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE, EVENT_ID_BALLOON_CHANGE); REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED, EVENT_ID_DEVICE_REMOVED); REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_TUNABLE, EVENT_ID_TUNABLE); + REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_AGENT_LIFECYCLE, EVENT_ID_AGENT_LIFECYCLE); REGISTER_CONSTANT(VIR_DOMAIN_EVENT_WATCHDOG_NONE, EVENT_WATCHDOG_NONE); REGISTER_CONSTANT(VIR_DOMAIN_EVENT_WATCHDOG_PAUSE, EVENT_WATCHDOG_PAUSE); @@ -7415,6 +7492,13 @@ REGISTER_CONSTANT(VIR_DOMAIN_EVENT_TRAY_CHANGE_OPEN, EVENT_TRAY_CHANGE_OPEN); REGISTER_CONSTANT(VIR_DOMAIN_EVENT_TRAY_CHANGE_CLOSE, EVENT_TRAY_CHANGE_CLOSE); + REGISTER_CONSTANT(VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_STATE_CONNECTED, EVENT_AGENT_LIFECYCLE_STATE_CONNECTED); + REGISTER_CONSTANT(VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_STATE_DISCONNECTED, EVENT_AGENT_LIFECYCLE_STATE_DISCONNECTED); + + REGISTER_CONSTANT(VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_REASON_CHANNEL, EVENT_AGENT_LIFECYCLE_REASON_CHANNEL); + REGISTER_CONSTANT(VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_REASON_DOMAIN_STARTED, EVENT_AGENT_LIFECYCLE_REASON_DOMAIN_STARTED); + REGISTER_CONSTANT(VIR_CONNECT_DOMAIN_EVENT_AGENT_LIFECYCLE_REASON_UNKNOWN, EVENT_AGENT_LIFECYCLE_REASON_UNKNOWN); + REGISTER_CONSTANT_STR(VIR_DOMAIN_MEMORY_HARD_LIMIT, MEMORY_HARD_LIMIT); REGISTER_CONSTANT_STR(VIR_DOMAIN_MEMORY_SOFT_LIMIT, MEMORY_SOFT_LIMIT); REGISTER_CONSTANT_STR(VIR_DOMAIN_MEMORY_MIN_GUARANTEE, MEMORY_MIN_GUARANTEE); @@ -7454,6 +7538,13 @@ REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_IOTUNE_TOTAL_IOPS_SEC, BLOCK_IOTUNE_TOTAL_IOPS_SEC); REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_IOTUNE_READ_IOPS_SEC, BLOCK_IOTUNE_READ_IOPS_SEC); REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_IOTUNE_WRITE_IOPS_SEC, BLOCK_IOTUNE_WRITE_IOPS_SEC); + REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_IOTUNE_TOTAL_BYTES_SEC_MAX, BLOCK_IOTUNE_TOTAL_BYTES_SEC_MAX); + REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_IOTUNE_READ_BYTES_SEC_MAX, BLOCK_IOTUNE_READ_BYTES_SEC_MAX); + REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_IOTUNE_WRITE_BYTES_SEC_MAX, BLOCK_IOTUNE_WRITE_BYTES_SEC_MAX); + REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_IOTUNE_TOTAL_IOPS_SEC_MAX, BLOCK_IOTUNE_TOTAL_IOPS_SEC_MAX); + REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_IOTUNE_READ_IOPS_SEC_MAX, BLOCK_IOTUNE_READ_IOPS_SEC_MAX); + REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_IOTUNE_WRITE_IOPS_SEC_MAX, BLOCK_IOTUNE_WRITE_IOPS_SEC_MAX); + REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_IOTUNE_SIZE_IOPS_SEC, BLOCK_IOTUNE_SIZE_IOPS_SEC); REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_RESIZE_BYTES, BLOCK_RESIZE_BYTES); @@ -7644,6 +7735,13 @@ REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_TOTAL_IOPS_SEC, TUNABLE_BLKDEV_TOTAL_IOPS_SEC); REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_WRITE_BYTES_SEC, TUNABLE_BLKDEV_WRITE_BYTES_SEC); REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_WRITE_IOPS_SEC, TUNABLE_BLKDEV_WRITE_IOPS_SEC); + REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_READ_BYTES_SEC_MAX, TUNABLE_BLKDEV_READ_BYTES_SEC_MAX); + REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_READ_IOPS_SEC_MAX, TUNABLE_BLKDEV_READ_IOPS_SEC_MAX); + REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_WRITE_BYTES_SEC_MAX, TUNABLE_BLKDEV_WRITE_BYTES_SEC_MAX); + REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_WRITE_IOPS_SEC_MAX, TUNABLE_BLKDEV_WRITE_IOPS_SEC_MAX); + REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_TOTAL_BYTES_SEC_MAX, TUNABLE_BLKDEV_TOTAL_BYTES_SEC_MAX); + REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_TOTAL_IOPS_SEC_MAX, TUNABLE_BLKDEV_TOTAL_IOPS_SEC_MAX); + REGISTER_CONSTANT_STR(VIR_DOMAIN_TUNABLE_BLKDEV_SIZE_IOPS_SEC, TUNABLE_BLKDEV_SIZE_IOPS_SEC); stash = gv_stashpv( "Sys::Virt::DomainSnapshot", TRUE ); REGISTER_CONSTANT(VIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN, DELETE_CHILDREN); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/examples/dom-fsinfo.pl new/Sys-Virt-1.2.11/examples/dom-fsinfo.pl --- old/Sys-Virt-1.2.9/examples/dom-fsinfo.pl 1970-01-01 01:00:00.000000000 +0100 +++ new/Sys-Virt-1.2.11/examples/dom-fsinfo.pl 2014-12-15 12:57:03.000000000 +0100 @@ -0,0 +1,21 @@ +#!/usr/bin/perl + + +use strict; +use warnings; + +use Sys::Virt; +use Sys::Virt::Domain; + +my $uri = @ARGV ? shift @ARGV : undef; + +my $c = Sys::Virt->new(uri => $uri); + +my $dom = $c->get_domain_by_name(shift @ARGV); + +my @fs = $dom->get_fs_info(); + +use Data::Dumper; + +print Dumper($fs[0]); +print Dumper($fs[1]); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/examples/events.pl new/Sys-Virt-1.2.11/examples/events.pl --- old/Sys-Virt-1.2.9/examples/events.pl 2014-10-02 12:30:10.000000000 +0200 +++ new/Sys-Virt-1.2.11/examples/events.pl 2014-12-15 12:57:03.000000000 +0100 @@ -20,10 +20,20 @@ print "$dom $event $detail\n"; } +sub agent_lifecycle_event { + my $dom = shift; + my $state = shift; + my $reason = shift; + + print "Agent $dom state=$state reason=$reason\n"; +} $c->domain_event_register_any(undef, Sys::Virt::Domain::EVENT_ID_LIFECYCLE, \&lifecycle_event); +$c->domain_event_register_any(undef, + Sys::Virt::Domain::EVENT_ID_AGENT_LIFECYCLE, + \&agent_lifecycle_event); $c->register_close_callback( sub { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/lib/Sys/Virt/Domain.pm new/Sys-Virt-1.2.11/lib/Sys/Virt/Domain.pm --- old/Sys-Virt-1.2.9/lib/Sys/Virt/Domain.pm 2014-10-02 12:30:10.000000000 +0200 +++ new/Sys-Virt-1.2.11/lib/Sys/Virt/Domain.pm 2014-12-15 12:57:03.000000000 +0100 @@ -473,11 +473,13 @@ =back -=item my ($secs, $nsecs) = $dom->get_time($flags=0); +=item my $time = $dom->get_time($flags=0); Get the current time of the guest, in seconds and nanoseconds. The C<$flags> parameter is currently unused and defaults to -zero. +zero. The return value is an array ref with two elements, +the first contains the time in seconds, the second contains +the remaining nanoseconds. =item $dom->set_time($secs, $nsecs, $flags=0); @@ -1626,6 +1628,35 @@ filesystems will be thawed. C<$flags> is currently unused and defaults to zero. +=item @fslist = $dom->get_fs_info($flags=0); + +Obtain a list of all guest filesystems. The returned list will +contain one element for each filesystem, whose value will be +a hash reference with the following keys + +=over 4 + +=item name + +The name of the guest device that is mounted + +=item fstype + +The filesystem type (eg 'ext4', 'fat', 'ntfs', etc) + +=item mountpoint + +The location in the filesystem tree of the mount + +=item devalias + +An array reference containing list of device aliases +associated with the guest device. The device aliases +correspond to disk target names in the guest XML +configuration + +=back + =item $dom->send_process_signal($pid, $signum, $flags=0); Send the process C<$pid> the signal C<$signum>. The @@ -2204,6 +2235,34 @@ The I/O operations written per second. +=item Sys::Virt::Domain::BLOCK_IOTUNE_TOTAL_BYTES_SEC_MAX + +The maximum total bytes processed per second. + +=item Sys::Virt::Domain::BLOCK_IOTUNE_READ_BYTES_SEC_MAX + +The maximum bytes read per second. + +=item Sys::Virt::Domain::BLOCK_IOTUNE_WRITE_BYTES_SEC_MAX + +The maximum bytes written per second. + +=item Sys::Virt::Domain::BLOCK_IOTUNE_TOTAL_IOPS_SEC_MAX + +The maximum total I/O operations processed per second. + +=item Sys::Virt::Domain::BLOCK_IOTUNE_READ_IOPS_SEC_MAX + +The maximum I/O operations read per second. + +=item Sys::Virt::Domain::BLOCK_IOTUNE_WRITE_IOPS_SEC_MAX + +The maximum I/O operations written per second. + +=item Sys::Virt::Domain::BLOCK_IOTUNE_SIZE_IOPS_SEC + +The maximum I/O operations per second + =back =head2 SCHEDULER CONSTANTS @@ -2628,6 +2687,42 @@ The later DOMAIN TUNABLE constants can be useful when accessing the hash keys +=item Sys::Virt::Domain::EVENT_ID_AGENT_LIFECYCLE + +Domain guest agent lifecycle events. The C<state> parameter +to the callback will match one of the constants + +=over 4 + +=item Sys::Virt::Domain::EVENT_AGENT_LIFECYCLE_STATE_CONNECTED + +The agent is now connected + +=item Sys::Virt::Domain::EVENT_AGENT_LIFECYCLE_STATE_DISCONNECTED + +The agent is now disconnected + +=back + +The second parameter, C<reason>, matches one of the following +constants + +=over 4 + +=item Sys::Virt::Domain::EVENT_AGENT_LIFECYCLE_REASON_UNKNOWN + +The reason is unknown + +=item Sys::Virt::Domain::EVENT_AGENT_LIFECYCLE_REASON_DOMAIN_STARTED + +The domain was initially booted + +=item Sys::Virt::Domain::EVENT_AGENT_LIFECYCLE_REASON_CHANNEL + +The channel on a running guest changed state + +=back + =back =head2 IO ERROR EVENT CONSTANTS @@ -3287,39 +3382,39 @@ =over 4 -=item Sys::Virt::GET_ALL_STATS_ACTIVE +=item Sys::Virt::Domain::GET_ALL_STATS_ACTIVE Include stats for active domains -=item Sys::Virt::GET_ALL_STATS_INACTIVE +=item Sys::Virt::Domain::GET_ALL_STATS_INACTIVE Include stats for inactive domains -=item Sys::Virt::GET_ALL_STATS_OTHER +=item Sys::Virt::Domain::GET_ALL_STATS_OTHER Include stats for other domains -=item Sys::Virt::GET_ALL_STATS_PAUSED +=item Sys::Virt::Domain::GET_ALL_STATS_PAUSED Include stats for paused domains -=item Sys::Virt::GET_ALL_STATS_PERSISTENT +=item Sys::Virt::Domain::GET_ALL_STATS_PERSISTENT Include stats for persistent domains -=item Sys::Virt::GET_ALL_STATS_RUNNING +=item Sys::Virt::Domain::GET_ALL_STATS_RUNNING Include stats for running domains -=item Sys::Virt::GET_ALL_STATS_SHUTOFF +=item Sys::Virt::Domain::GET_ALL_STATS_SHUTOFF Include stats for shutoff domains -=item Sys::Virt::GET_ALL_STATS_TRANSIENT +=item Sys::Virt::Domain::GET_ALL_STATS_TRANSIENT Include stats for transient domains -=item Sys::Virt::GET_ALL_STATS_ENFORCE_STATS +=item Sys::Virt::Domain::GET_ALL_STATS_ENFORCE_STATS Require that all requested stats fields are returned @@ -3691,6 +3786,34 @@ Write throughput in I/O operations per sec +=item Sys::Virt::Domain::TUNABLE_BLKDEV_READ_BYTES_SEC_MAX + +Maximum read throughput in bytes per sec + +=item Sys::Virt::Domain::TUNABLE_BLKDEV_READ_IOPS_SEC_MAX + +Maximum read throughput in I/O operations per sec + +=item Sys::Virt::Domain::TUNABLE_BLKDEV_TOTAL_BYTES_SEC_MAX + +Maximum total throughput in bytes per sec + +=item Sys::Virt::Domain::TUNABLE_BLKDEV_TOTAL_IOPS_SEC_MAX + +Maximum total throughput in I/O operations per sec + +=item Sys::Virt::Domain::TUNABLE_BLKDEV_WRITE_BYTES_SEC_MAX + +Maximum write throughput in bytes per sec + +=item Sys::Virt::Domain::TUNABLE_BLKDEV_WRITE_IOPS_SEC_MAX + +Maximum write throughput in I/O operations per sec + +=item Sys::Virt::Domain::TUNABLE_BLKDEV_SIZE_IOPS_SEC + +The maximum I/O operations per second + =back =head1 AUTHORS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/lib/Sys/Virt.pm new/Sys-Virt-1.2.11/lib/Sys/Virt.pm --- old/Sys-Virt-1.2.9/lib/Sys/Virt.pm 2014-10-02 12:30:10.000000000 +0200 +++ new/Sys-Virt-1.2.11/lib/Sys/Virt.pm 2014-12-15 12:57:03.000000000 +0100 @@ -78,7 +78,7 @@ use Sys::Virt::DomainSnapshot; use Sys::Virt::Stream; -our $VERSION = '1.2.9'; +our $VERSION = '1.2.11'; require XSLoader; XSLoader::load('Sys::Virt', $VERSION); @@ -1858,6 +1858,10 @@ How many milliseconds the shared memory service should sleep before next scan. +=item Sys::Virt::NODE_MEMORY_SHARED_MERGE_ACROSS_NODES + +Whether pages can be merged across NUMA nodes + =back =head2 CLOSE REASON CONSTANTS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/perl-Sys-Virt.spec new/Sys-Virt-1.2.11/perl-Sys-Virt.spec --- old/Sys-Virt-1.2.9/perl-Sys-Virt.spec 2014-10-02 12:30:22.000000000 +0200 +++ new/Sys-Virt-1.2.11/perl-Sys-Virt.spec 2014-12-15 15:08:32.000000000 +0100 @@ -1,7 +1,7 @@ # Automatically generated by perl-Sys-Virt.spec.PL Name: perl-Sys-Virt -Version: 1.2.9 +Version: 1.2.11 Release: 1%{?dist}%{?extra_release} Summary: Represent and manage a libvirt hypervisor connection License: GPLv2+ or Artistic diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.9/t/030-api-coverage.t new/Sys-Virt-1.2.11/t/030-api-coverage.t --- old/Sys-Virt-1.2.9/t/030-api-coverage.t 2014-10-02 12:30:10.000000000 +0200 +++ new/Sys-Virt-1.2.11/t/030-api-coverage.t 2014-12-15 12:57:03.000000000 +0100 @@ -89,6 +89,7 @@ virConnectDomainEventBalloonChangeCallback virConnectDomainEventDeviceRemovedCallback virConnectDomainEventTunableCallback +virConnectDomainEventAgentLifecycleCallback virConnectNetworkEventLifecycleCallback -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org