Hello community,

here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory 
checked in at 2015-02-05 11:00:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-12-23 11:49:24.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new/perl-Sys-Virt.changes 
2015-02-05 11:00:32.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Jan 27 16:04:31 MST 2015 - jfeh...@suse.com
+
+- Update to 1.2.12
+  - Add all new APIs and constants in libvirt 1.2.12
+
+-------------------------------------------------------------------

Old:
----
  Sys-Virt-1.2.11.tar.gz

New:
----
  Sys-Virt-1.2.12.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Sys-Virt.spec ++++++
--- /var/tmp/diff_new_pack.hLUfab/_old  2015-02-05 11:00:34.000000000 +0100
+++ /var/tmp/diff_new_pack.hLUfab/_new  2015-02-05 11:00:34.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Sys-Virt
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Sys-Virt
-Version:        1.2.11
+Version:        1.2.12
 Release:        0
 %define cpan_name Sys-Virt
 Summary:        Represent and manage a libvirt hypervisor connection

++++++ Sys-Virt-1.2.11.tar.gz -> Sys-Virt-1.2.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.11/Changes new/Sys-Virt-1.2.12/Changes
--- old/Sys-Virt-1.2.11/Changes 2014-12-15 12:57:03.000000000 +0100
+++ new/Sys-Virt-1.2.12/Changes 2015-01-27 12:14:19.000000000 +0100
@@ -1,5 +1,12 @@
 Revision history for perl module Sys::Virt
 
+1.2.12 2015-01-27
+
+ - Add VIR_CONNECT_GET_ALL_DOMAINS_STATS_BACKING constant
+ - Add virDomainDefineXMLFlags API binding
+ - Add VIR_DOMAIN_DEFINE_VALIDATE, VIR_DOMAIN_START_VALIDATE
+   and VIR_ERR_INVALID_SCHEMA constants
+
 1.2.11 2014-12-15
 
  - Add virDomainGetFSInfo API binding
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.11/META.yml new/Sys-Virt-1.2.12/META.yml
--- old/Sys-Virt-1.2.11/META.yml        2014-12-15 15:08:32.000000000 +0100
+++ new/Sys-Virt-1.2.12/META.yml        2015-01-27 12:14:31.000000000 +0100
@@ -1,7 +1,7 @@
 --- #YAML:1.0
 name:         Sys-Virt
 abstract:     Extension for the libvirt library
-version:      1.2.11
+version:      1.2.12
 author:
   - Daniel P. Berrange <d...@berrange.com>
 license: perl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.11/MYMETA.json 
new/Sys-Virt-1.2.12/MYMETA.json
--- old/Sys-Virt-1.2.11/MYMETA.json     2014-12-15 15:08:24.000000000 +0100
+++ new/Sys-Virt-1.2.12/MYMETA.json     2015-01-27 12:14:23.000000000 +0100
@@ -42,5 +42,5 @@
       }
    },
    "release_status" : "stable",
-   "version" : "v1.2.11"
+   "version" : "v1.2.12"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.11/MYMETA.yml 
new/Sys-Virt-1.2.12/MYMETA.yml
--- old/Sys-Virt-1.2.11/MYMETA.yml      2014-12-15 15:08:24.000000000 +0100
+++ new/Sys-Virt-1.2.12/MYMETA.yml      2015-01-27 12:14:23.000000000 +0100
@@ -24,4 +24,4 @@
   Test::Pod::Coverage: '0'
   Time::HiRes: '0'
   XML::XPath: '0'
-version: v1.2.11
+version: v1.2.12
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.11/Makefile.PL 
new/Sys-Virt-1.2.12/Makefile.PL
--- old/Sys-Virt-1.2.11/Makefile.PL     2014-12-15 12:57:03.000000000 +0100
+++ new/Sys-Virt-1.2.12/Makefile.PL     2015-01-27 12:14:19.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.11";
+my $libvirtver = "1.2.12";
 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.11/README new/Sys-Virt-1.2.12/README
--- old/Sys-Virt-1.2.11/README  2014-12-15 12:57:03.000000000 +0100
+++ new/Sys-Virt-1.2.12/README  2015-01-27 12:14:19.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.11
+The current minimum required version of libvirt is 1.2.12
 
 -- End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.11/Virt.xs new/Sys-Virt-1.2.12/Virt.xs
--- old/Sys-Virt-1.2.11/Virt.xs 2014-12-15 12:57:03.000000000 +0100
+++ new/Sys-Virt-1.2.12/Virt.xs 2015-01-27 12:14:19.000000000 +0100
@@ -3142,12 +3142,18 @@
 
 
 virDomainPtr
-_define_xml(con, xml)
+_define_xml(con, xml, flags=0)
       virConnectPtr con;
       const char *xml;
+      unsigned int flags;
     CODE:
-      if (!(RETVAL = virDomainDefineXML(con, xml)))
-          _croak_error();
+      if (flags) {
+         if (!(RETVAL = virDomainDefineXMLFlags(con, xml, flags)))
+             _croak_error();
+      } else {
+         if (!(RETVAL = virDomainDefineXML(con, xml)))
+             _croak_error();
+      }
   OUTPUT:
       RETVAL
 
@@ -7186,6 +7192,9 @@
       REGISTER_CONSTANT(VIR_DOMAIN_START_AUTODESTROY, START_AUTODESTROY);
       REGISTER_CONSTANT(VIR_DOMAIN_START_BYPASS_CACHE, START_BYPASS_CACHE);
       REGISTER_CONSTANT(VIR_DOMAIN_START_FORCE_BOOT, START_FORCE_BOOT);
+      REGISTER_CONSTANT(VIR_DOMAIN_START_VALIDATE, START_VALIDATE);
+
+      REGISTER_CONSTANT(VIR_DOMAIN_DEFINE_VALIDATE, DEFINE_VALIDATE);
 
       REGISTER_CONSTANT(VIR_DOMAIN_NOSTATE_UNKNOWN, STATE_NOSTATE_UNKNOWN);
 
@@ -7324,6 +7333,7 @@
       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_CONNECT_GET_ALL_DOMAINS_STATS_BACKING, 
GET_ALL_STATS_BACKING);
 
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_DEFINED, EVENT_DEFINED);
       REGISTER_CONSTANT(VIR_DOMAIN_EVENT_UNDEFINED, EVENT_UNDEFINED);
@@ -8091,4 +8101,5 @@
       REGISTER_CONSTANT(VIR_ERR_DBUS_SERVICE, ERR_DBUS_SERVICE);
       REGISTER_CONSTANT(VIR_ERR_STORAGE_VOL_EXIST, ERR_STORAGE_VOL_EXIST);
       REGISTER_CONSTANT(VIR_ERR_CPU_INCOMPATIBLE, ERR_CPU_INCOMPATIBLE);
+      REGISTER_CONSTANT(VIR_ERR_XML_INVALID_SCHEMA, ERR_INVALID_SCHEMA);
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.11/lib/Sys/Virt/Domain.pm 
new/Sys-Virt-1.2.12/lib/Sys/Virt/Domain.pm
--- old/Sys-Virt-1.2.11/lib/Sys/Virt/Domain.pm  2014-12-15 12:57:03.000000000 
+0100
+++ new/Sys-Virt-1.2.12/lib/Sys/Virt/Domain.pm  2015-01-27 12:14:19.000000000 
+0100
@@ -62,7 +62,7 @@
        }
     } elsif (exists $params{xml}) {
        if ($params{nocreate}) {
-           $self = Sys::Virt::Domain::_define_xml($con,  $params{xml});
+           $self = Sys::Virt::Domain::_define_xml($con,  $params{xml}, 
$params{flags});
        } else {
            if (exists $params{fds}) {
                $self = Sys::Virt::Domain::_create_with_files($con,  
$params{xml},
@@ -1763,8 +1763,24 @@
 
 Boot the guest, even if there was a saved snapshot
 
+=item Sys::Virt::Domain::START_VALIDATE
+
+Validate the XML document against the XML schema
+
 =back
 
+=head2 DOMAIN DEFINE
+
+The following constants can be used to control the behaviour
+of domain define operations
+
+=over 4
+
+=item Sys::Virt::Domain::DEFINE_VALIDATE
+
+Validate the XML document against the XML schema
+
+=back
 
 =head2 KEYCODE SETS
 
@@ -3418,6 +3434,10 @@
 
 Require that all requested stats fields are returned
 
+=item Sys::Virt::Domain::GET_ALL_STATS_BACKING
+
+Get stats for image backing files too
+
 =back
 
 =head2 DOMAIN STATS FIELD CONSTANTS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.11/lib/Sys/Virt/Error.pm 
new/Sys-Virt-1.2.12/lib/Sys/Virt/Error.pm
--- old/Sys-Virt-1.2.11/lib/Sys/Virt/Error.pm   2014-12-15 12:57:03.000000000 
+0100
+++ new/Sys-Virt-1.2.12/lib/Sys/Virt/Error.pm   2015-01-27 12:14:19.000000000 
+0100
@@ -756,6 +756,10 @@
 
 The CPUs are not compatible
 
+=item Sys::Virt::Error::ERR_INVALID_SCHEMA
+
+The XML document does not comply with the XML schema
+
 =back
 
 =head1 AUTHORS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.11/lib/Sys/Virt.pm 
new/Sys-Virt-1.2.12/lib/Sys/Virt.pm
--- old/Sys-Virt-1.2.11/lib/Sys/Virt.pm 2014-12-15 12:57:03.000000000 +0100
+++ new/Sys-Virt-1.2.12/lib/Sys/Virt.pm 2015-01-27 12:14:19.000000000 +0100
@@ -78,7 +78,7 @@
 use Sys::Virt::DomainSnapshot;
 use Sys::Virt::Stream;
 
-our $VERSION = '1.2.11';
+our $VERSION = '1.2.12';
 require XSLoader;
 XSLoader::load('Sys::Virt', $VERSION);
 
@@ -262,7 +262,7 @@
                                   fds => $fds, flags => $flags);
 }
 
-=item my $dom = $vmm->define_domain($xml);
+=item my $dom = $vmm->define_domain($xml, $flags=0);
 
 Defines, but does not start, a new domain based on the XML description
 passed into the C<$xml> parameter. The returned object is an instance
@@ -276,8 +276,9 @@
 sub define_domain {
     my $self = shift;
     my $xml = shift;
+    my $flags = shift || 0;
 
-    return Sys::Virt::Domain->_new(connection => $self, xml => $xml, nocreate 
=> 1);
+    return Sys::Virt::Domain->_new(connection => $self, xml => $xml, nocreate 
=> 1, flags => $flags);
 }
 
 =item my $dom = $vmm->create_network($xml);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sys-Virt-1.2.11/perl-Sys-Virt.spec 
new/Sys-Virt-1.2.12/perl-Sys-Virt.spec
--- old/Sys-Virt-1.2.11/perl-Sys-Virt.spec      2014-12-15 15:08:32.000000000 
+0100
+++ new/Sys-Virt-1.2.12/perl-Sys-Virt.spec      2015-01-27 12:14:31.000000000 
+0100
@@ -1,7 +1,7 @@
 # Automatically generated by perl-Sys-Virt.spec.PL
 
 Name:           perl-Sys-Virt
-Version:        1.2.11
+Version:        1.2.12
 Release:        1%{?dist}%{?extra_release}
 Summary:        Represent and manage a libvirt hypervisor connection
 License:        GPLv2+ or Artistic

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to