Hello community, here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory checked in at 2014-09-18 08:00:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-07-10 09:32:04.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new/perl-Sys-Virt.changes 2014-09-18 08:02:46.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Sep 10 16:41:12 MDT 2014 - jfehlig@suse.com + +- Update to 1.2.8 + - Add all new APIs and constants in libvirt 1.2.8 + +------------------------------------------------------------------- Old: ---- Sys-Virt-1.2.6.tar.gz New: ---- Sys-Virt-1.2.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Sys-Virt.spec ++++++ --- /var/tmp/diff_new_pack.mwFA3c/_old 2014-09-18 08:02:46.000000000 +0200 +++ /var/tmp/diff_new_pack.mwFA3c/_new 2014-09-18 08:02:46.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-Sys-Virt -Version: 1.2.6 +Version: 1.2.8 Release: 0 %define cpan_name Sys-Virt Summary: Represent and manage a libvirt hypervisor connection ++++++ Sys-Virt-1.2.6.tar.gz -> Sys-Virt-1.2.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.6/Changes new/Sys-Virt-1.2.8/Changes --- old/Sys-Virt-1.2.6/Changes 2014-07-02 18:32:01.000000000 +0200 +++ new/Sys-Virt-1.2.8/Changes 2014-09-05 17:24:27.000000000 +0200 @@ -1,5 +1,15 @@ Revision history for perl module Sys::Virt +1.2.8 2014-09-05 + + - Add virConnectGetDomainCapabilities API + - Add VIR_DOMAIN_BLOCK_REBASE_RELATIVE and + VIR_DOMAIN_BLOCK_COMMIT_RELATIVE constants + - Add VIR_CONNECT_LIST_STORAGE_POOLS_ZFS constant + - Add virDomainOpenGraphicsFD API + - Add virDomainBlockCopy and related constants + - Add virConnectGetAllDomainStats API & constants + 1.2.6 2014-07-02 - Add VIR_DOMAIN_BLOCK_JOB_TYPE_ACTIVE_COMMIT and diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.6/META.yml new/Sys-Virt-1.2.8/META.yml --- old/Sys-Virt-1.2.6/META.yml 2014-07-02 18:32:13.000000000 +0200 +++ new/Sys-Virt-1.2.8/META.yml 2014-09-05 17:24:39.000000000 +0200 @@ -1,7 +1,7 @@ --- #YAML:1.0 name: Sys-Virt abstract: Extension for the libvirt library -version: 1.2.6 +version: 1.2.8 author: - Daniel P. Berrange <dan@berrange.com> license: perl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.6/MYMETA.json new/Sys-Virt-1.2.8/MYMETA.json --- old/Sys-Virt-1.2.6/MYMETA.json 2014-07-02 18:32:06.000000000 +0200 +++ new/Sys-Virt-1.2.8/MYMETA.json 2014-09-05 17:24:32.000000000 +0200 @@ -42,5 +42,5 @@ } }, "release_status" : "stable", - "version" : "v1.2.6" + "version" : "v1.2.8" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.6/MYMETA.yml new/Sys-Virt-1.2.8/MYMETA.yml --- old/Sys-Virt-1.2.6/MYMETA.yml 2014-07-02 18:32:06.000000000 +0200 +++ new/Sys-Virt-1.2.8/MYMETA.yml 2014-09-05 17:24:32.000000000 +0200 @@ -24,4 +24,4 @@ Test::Pod::Coverage: 0 Time::HiRes: 0 XML::XPath: 0 -version: v1.2.6 +version: v1.2.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.6/Makefile.PL new/Sys-Virt-1.2.8/Makefile.PL --- old/Sys-Virt-1.2.6/Makefile.PL 2014-07-02 18:32:01.000000000 +0200 +++ new/Sys-Virt-1.2.8/Makefile.PL 2014-09-05 17:24:27.000000000 +0200 @@ -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.6"; +my $libvirtver = "1.2.7"; 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.6/README new/Sys-Virt-1.2.8/README --- old/Sys-Virt-1.2.6/README 2014-07-02 18:32:01.000000000 +0200 +++ new/Sys-Virt-1.2.8/README 2014-09-05 17:24:27.000000000 +0200 @@ -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.6 +The current minimum required version of libvirt is 1.2.7 -- End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.6/Virt.xs new/Sys-Virt-1.2.8/Virt.xs --- old/Sys-Virt-1.2.6/Virt.xs 2014-07-02 18:32:01.000000000 +0200 +++ new/Sys-Virt-1.2.8/Virt.xs 2014-09-05 17:24:27.000000000 +0200 @@ -1997,6 +1997,41 @@ OUTPUT: RETVAL +SV * +get_domain_capabilities(con, emulatorsv, archsv, machinesv, virttypesv, flags=0) + virConnectPtr con; + SV *emulatorsv; + SV *archsv; + SV *machinesv; + SV *virttypesv; + unsigned int flags; +PREINIT: + char *emulator = NULL; + char *arch = NULL; + char *machine = NULL; + char *virttype = NULL; + char *xml; + CODE: + if (SvOK(emulatorsv)) + emulator = SvPV_nolen(emulatorsv); + if (SvOK(archsv)) + arch = SvPV_nolen(archsv); + if (SvOK(machinesv)) + machine = SvPV_nolen(machinesv); + if (SvOK(virttypesv)) + virttype = SvPV_nolen(virttypesv); + + if (!(xml = virConnectGetDomainCapabilities(con, + emulator, arch, + machine, virttype, + flags))) + _croak_error(); + + RETVAL = newSVpv(xml, 0); + free(xml); + OUTPUT: + RETVAL + SV * compare_cpu(con, xml, flags=0) @@ -2593,6 +2628,66 @@ Safefree(names); +void get_all_domain_stats(con, stats, doms_sv=&PL_sv_undef, flags=0) + virConnectPtr con; + unsigned int stats; + SV *doms_sv; + unsigned int flags; + PREINIT: + AV *doms_av; + int ndoms; + int nstats; + int i; + virDomainPtr *doms = NULL; + virDomainStatsRecordPtr *statsrec = NULL; + PPCODE: + + if (SvOK(doms_sv)) { + doms_av = (AV*)SvRV(doms_sv); + ndoms = av_len(doms_av) + 1; + fprintf(stderr, "Len %d\n", ndoms); + } else { + ndoms = 0; + } + + if (ndoms) { + Newx(doms, ndoms + 1, virDomainPtr); + + for (i = 0 ; i < ndoms ; i++) { + SV **dom = av_fetch(doms_av, i, 0); + doms[i] = (virDomainPtr)SvIV((SV*)SvRV(*dom)); + } + doms[ndoms] = NULL; + + if ((nstats = virDomainListGetStats(doms, stats, &statsrec, flags)) < 0) { + Safefree(doms); + _croak_error(); + } + } else { + doms = NULL; + + if ((nstats = virConnectGetAllDomainStats(con, stats, &statsrec, flags)) < 0) { + Safefree(doms); + _croak_error(); + } + } + + EXTEND(SP, nstats); + for (i = 0 ; i < nstats ; i++) { + HV *rec = newHV(); + SV *dom = sv_newmortal(); + HV *data = vir_typed_param_to_hv(statsrec[i]->params, + statsrec[i]->nparams); + sv_setref_pv(dom, "Sys::Virt::Domain", statsrec[i]->dom); + virDomainRef(statsrec[i]->dom); + hv_store(rec, "dom", 3, SvREFCNT_inc(dom), 0); + hv_store(rec, "data", 4, newRV((SV*)data), 0); + PUSHs(newRV_noinc((SV*)rec)); + } + virDomainStatsRecordListFree(statsrec); + Safefree(doms); + + SV * domain_xml_from_native(con, configtype, configdata, flags=0) virConnectPtr con; @@ -3324,6 +3419,18 @@ _croak_error(); +int +open_graphics_fd(dom, idx, flags=0) + virDomainPtr dom; + unsigned int idx; + unsigned int flags; + CODE: + if ((RETVAL = virDomainOpenGraphicsFD(dom, idx, flags)) < 0) + _croak_error(); +OUTPUT: + RETVAL + + SV * screenshot(dom, st, screen, flags=0) virDomainPtr dom; @@ -3484,6 +3591,42 @@ void +block_copy(dom, path, destxml, newparams, flags=0) + virDomainPtr dom; + const char *path; + const char *destxml; + HV *newparams; + unsigned long flags; + PREINIT: + virTypedParameter *params; + int nparams; + PPCODE: + nparams = 3; + Newx(params, nparams, virTypedParameter); + + strncpy(params[0].field, VIR_DOMAIN_BLOCK_COPY_BANDWIDTH, + VIR_TYPED_PARAM_FIELD_LENGTH); + params[0].type = VIR_TYPED_PARAM_ULLONG; + + strncpy(params[1].field, VIR_DOMAIN_BLOCK_COPY_GRANULARITY, + VIR_TYPED_PARAM_FIELD_LENGTH); + params[1].type = VIR_TYPED_PARAM_UINT; + + strncpy(params[2].field, VIR_DOMAIN_BLOCK_COPY_BUF_SIZE, + VIR_TYPED_PARAM_FIELD_LENGTH); + params[2].type = VIR_TYPED_PARAM_UINT; + + nparams = vir_typed_param_from_hv(newparams, params, nparams); + + if (virDomainBlockCopy(dom, path, destxml, params, nparams, flags) < 0) { + Safefree(params); + _croak_error(); + } + + Safefree(params); + + +void block_commit(dom, path, base, top, bandwidth, flags=0) virDomainPtr dom; const char *path; @@ -6997,6 +7140,17 @@ REGISTER_CONSTANT(VIR_KEYCODE_SET_WIN32, KEYCODE_SET_WIN32); REGISTER_CONSTANT(VIR_KEYCODE_SET_RFB, KEYCODE_SET_RFB); + REGISTER_CONSTANT(VIR_DOMAIN_STATS_STATE, STATS_STATE); + + REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_ACTIVE, GET_ALL_STATS_ACTIVE); + REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_INACTIVE, GET_ALL_STATS_INACTIVE); + REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_OTHER, GET_ALL_STATS_OTHER); + REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_PAUSED, GET_ALL_STATS_PAUSED); + REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_PERSISTENT, GET_ALL_STATS_PERSISTENT); + REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_RUNNING, GET_ALL_STATS_RUNNING); + REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_SHUTOFF, GET_ALL_STATS_SHUTOFF); + REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_TRANSIENT, GET_ALL_STATS_TRANSIENT); + REGISTER_CONSTANT(VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS, GET_ALL_STATS_ENFORCE_STATS); REGISTER_CONSTANT(VIR_DOMAIN_EVENT_DEFINED, EVENT_DEFINED); REGISTER_CONSTANT(VIR_DOMAIN_EVENT_UNDEFINED, EVENT_UNDEFINED); @@ -7112,6 +7266,7 @@ REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_COMMIT_DELETE, BLOCK_COMMIT_DELETE); REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_COMMIT_SHALLOW, BLOCK_COMMIT_SHALLOW); REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_COMMIT_ACTIVE, BLOCK_COMMIT_ACTIVE); + REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_COMMIT_RELATIVE, BLOCK_COMMIT_RELATIVE); REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_LIFECYCLE, EVENT_ID_LIFECYCLE); REGISTER_CONSTANT(VIR_DOMAIN_EVENT_ID_REBOOT, EVENT_ID_REBOOT); @@ -7330,6 +7485,15 @@ REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_REBASE_REUSE_EXT, BLOCK_REBASE_REUSE_EXT); REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_REBASE_COPY_RAW, BLOCK_REBASE_COPY_RAW); REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_REBASE_COPY, BLOCK_REBASE_COPY); + REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_REBASE_RELATIVE, BLOCK_REBASE_RELATIVE); + + REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_COPY_BANDWIDTH, BLOCK_COPY_BANDWIDTH); + REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_COPY_GRANULARITY, BLOCK_COPY_GRANULARITY); + REGISTER_CONSTANT_STR(VIR_DOMAIN_BLOCK_COPY_BUF_SIZE, BLOCK_COPY_BUF_SIZE); + + REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_COPY_REUSE_EXT, BLOCK_COPY_REUSE_EXT); + REGISTER_CONSTANT(VIR_DOMAIN_BLOCK_COPY_SHALLOW, BLOCK_COPY_SHALLOW); + REGISTER_CONSTANT(VIR_CONNECT_LIST_DOMAINS_ACTIVE, LIST_ACTIVE); REGISTER_CONSTANT(VIR_CONNECT_LIST_DOMAINS_AUTOSTART, LIST_AUTOSTART); @@ -7424,6 +7588,7 @@ REGISTER_CONSTANT(VIR_CONNECT_LIST_STORAGE_POOLS_RBD, LIST_RBD); REGISTER_CONSTANT(VIR_CONNECT_LIST_STORAGE_POOLS_SHEEPDOG, LIST_SHEEPDOG); REGISTER_CONSTANT(VIR_CONNECT_LIST_STORAGE_POOLS_GLUSTER, LIST_GLUSTER); + REGISTER_CONSTANT(VIR_CONNECT_LIST_STORAGE_POOLS_ZFS, LIST_ZFS); stash = gv_stashpv( "Sys::Virt::Network", TRUE ); REGISTER_CONSTANT(VIR_NETWORK_XML_INACTIVE, XML_INACTIVE); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.6/examples/node-info.pl new/Sys-Virt-1.2.8/examples/node-info.pl --- old/Sys-Virt-1.2.6/examples/node-info.pl 2014-07-02 18:32:01.000000000 +0200 +++ new/Sys-Virt-1.2.8/examples/node-info.pl 2014-09-05 17:24:27.000000000 +0200 @@ -19,3 +19,7 @@ use Data::Dumper; print Dumper(\@info); + + +my $xml = $hv->get_domain_capabilities(undef, "x86_64", undef, "kvm"); +print $xml; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.6/lib/Sys/Virt/Domain.pm new/Sys-Virt-1.2.8/lib/Sys/Virt/Domain.pm --- old/Sys-Virt-1.2.6/lib/Sys/Virt/Domain.pm 2014-07-02 18:32:01.000000000 +0200 +++ new/Sys-Virt-1.2.8/lib/Sys/Virt/Domain.pm 2014-09-05 17:24:27.000000000 +0200 @@ -1160,6 +1160,16 @@ the constants listed at the end of this document, and defaults to 0. +=item $fd = $dom->open_graphics_fd($idx, $flags) + +Open the graphics console for a guest, identified by C<$idx>, +counting from 0. The C<$flags> argument should be one of the +constants listed at the end of this document, and defaults +to 0. The return value will be a file descriptor connected +to the console which must be closed when no longer needed. +This method is preferred over C<open_graphics> since it will +work correctly under sVirt mandatory access control policies. + =item my $mimetype = $dom->screenshot($st, $screen, $flags) Capture a screenshot of the virtual machine's monitor. The C<$screen> @@ -1406,6 +1416,29 @@ use C<$base>. The C<$bandwidth> parameter specifies the maximum I/O rate to allow in MB/s. +=item $dom->block_copy($path, $destxml, $params, $flags=0) + +Copy contents of a disk image <$path> into the target volume +described by C<$destxml> which follows the schema of the +<disk> element in the domain XML. The C<$params> parameter +is a hash of optional parameters to control the process + +=over 4 + +=item Sys::Virt::Domain::BLOCK_COPY_BANDWIDTH + +The maximum bandwidth in bytes per second. + +=item Sys::Virt::Domain::BLOCK_COPY_GRANULARITY + +The granularity in bytes of the copy process + +=item Sys::Virt::Domain::BLOCK_COPY_BUF_SIZE + +The maximum amount of data in flight in bytes. + +=back + =item $dom->block_commit($path, $base, $top, $bandwith, $flags=0) Commit changes there were made to the temporary top level file C<$top>. @@ -2711,6 +2744,26 @@ Start a copy job +=item Sys::Virt::Domain::BLOCK_REBASE_RELATIVE + +Keep backing chain referenced using relative names + +=back + +=head2 DOMAIN BLOCK COPY CONSTANTS + +The following constants are useful when copying block devices + +=over 4 + +=item Sys::Virt::Domain::BLOCK_COPY_SHALLOW + +Limit copy to top of source backing chain + +=item Sys::Virt::Domain::BLOCK_COPY_REUSE_EXT + +Reuse existing external file for copy + =back =head2 DOMAIN BLOCK JOB ABORT CONSTANTS @@ -2747,6 +2800,10 @@ Allow two phase commit when top is active layer +=item Sys::Virt::Domain::BLOCK_COMMIT_RELATIVE + +Keep backing chain referenced using relative names + =back =head2 DOMAIN SAVE / RESTORE CONSTANTS @@ -3131,6 +3188,64 @@ =back +=head2 DOMAIN STATS FLAG CONSTANTS + +The following constants are used as flags when requesting +bulk domain stats from C<Sys::Virt::get_all_domain_stats>. + +=over 4 + +=item Sys::Virt::GET_ALL_STATS_ACTIVE + +Include stats for active domains + +=item Sys::Virt::GET_ALL_STATS_INACTIVE + +Include stats for inactive domains + +=item Sys::Virt::GET_ALL_STATS_OTHER + +Include stats for other domains + +=item Sys::Virt::GET_ALL_STATS_PAUSED + +Include stats for paused domains + +=item Sys::Virt::GET_ALL_STATS_PERSISTENT + +Include stats for persistent domains + +=item Sys::Virt::GET_ALL_STATS_RUNNING + +Include stats for running domains + +=item Sys::Virt::GET_ALL_STATS_SHUTOFF + +Include stats for shutoff domains + +=item Sys::Virt::GET_ALL_STATS_TRANSIENT + +Include stats for transient domains + +=item Sys::Virt::GET_ALL_STATS_ENFORCE_STATS + +Require that all requested stats fields are returned + +=back + +=head2 DOMAIN STATS FIELD CONSTANTS + +The following constants are used to control which fields +are returned for stats queries. + +=over + +=item Sys::Virt::Domain::STATS_STATE + +General lifecycle state + +=back + =head2 PROCESS SIGNALS The following constants provide the names of signals diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.6/lib/Sys/Virt/StoragePool.pm new/Sys-Virt-1.2.8/lib/Sys/Virt/StoragePool.pm --- old/Sys-Virt-1.2.6/lib/Sys/Virt/StoragePool.pm 2014-07-02 18:32:01.000000000 +0200 +++ new/Sys-Virt-1.2.8/lib/Sys/Virt/StoragePool.pm 2014-09-05 17:24:27.000000000 +0200 @@ -443,6 +443,10 @@ Include gluster storage pools +=item Sys::Virt::StoragePool::LIST_ZFS + +Include ZFS storage pools + =back =head1 AUTHORS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.6/lib/Sys/Virt.pm new/Sys-Virt-1.2.8/lib/Sys/Virt.pm --- old/Sys-Virt-1.2.6/lib/Sys/Virt.pm 2014-07-02 18:32:01.000000000 +0200 +++ new/Sys-Virt-1.2.8/lib/Sys/Virt.pm 2014-09-05 17:24:27.000000000 +0200 @@ -78,7 +78,7 @@ use Sys::Virt::DomainSnapshot; use Sys::Virt::Stream; -our $VERSION = '1.2.6'; +our $VERSION = '1.2.8'; require XSLoader; XSLoader::load('Sys::Virt', $VERSION); @@ -1161,6 +1161,22 @@ returned scalar is an XML document describing the discovered storage pool sources. +=item my @stats = $vmm->get_all_domain_stats($stats, \@doms=undef, $flags=0); + +Get an list of all statistics for domains known to the hypervisor. +The C<$stats> parameter controls which data fields to return and +should be a combination of the DOMAIN STATS FIELD CONSTANTS. + +The optional C<@doms> parameter is a list of Sys::Virt::Domain objects +to return stats for. If this is undefined, then all domains will be +returned. The C<$flags> method can be used to filter the list of +returned domains. + +The return data for the method is a list, one element for each domain. +The element will be a hash with two keys, C<dom> pointing to an instance +of C<Sys::Virt::Domain> and C<data> pointing to another hash reference +containing the actual statistics. + =item $vmm->interface_change_begin($flags) Begin a transaction for changing the configuration of one or more @@ -1610,6 +1626,16 @@ Returns an XML document describing the hypervisor capabilities +=item my $xml = $con->get_domain_capabilities($emulator, $arch, $machine, $virttype, flags=0); + +Returns an XML document describing the capabilities of the +requested guest configuration. Either C<$emulator> or C<$arch> +must be a valid string referring to an emulator binary or an +architecture name respectively. The C<$machine> parameter is +an optional name of a guest machine, and C<$virttype> is an +optional name of the virtualization type. C<$flags> is unused +and defaults to zero. + =item my $result = $con->compare_cpu($xml, $flags=0); Checks whether the CPU definition in C<$xml> is compatible with the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-1.2.6/perl-Sys-Virt.spec new/Sys-Virt-1.2.8/perl-Sys-Virt.spec --- old/Sys-Virt-1.2.6/perl-Sys-Virt.spec 2014-07-02 18:32:13.000000000 +0200 +++ new/Sys-Virt-1.2.8/perl-Sys-Virt.spec 2014-09-05 17:24:39.000000000 +0200 @@ -1,7 +1,7 @@ # Automatically generated by perl-Sys-Virt.spec.PL Name: perl-Sys-Virt -Version: 1.2.6 +Version: 1.2.8 Release: 1%{?dist}%{?extra_release} Summary: Represent and manage a libvirt hypervisor connection License: GPLv2+ or Artistic -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org