[libvirt] Release of libvirt-6.0.0

2020-01-15 Thread Daniel Veillard
  As planned the release is available, tagged in git, and the signed
tarball and source rpm are available from the usual place:

  https://libvirt.org/sources/

I also made the release of the pythn bindings which can be found at:

  https://libvirt.org/sources/python/

This release carries some serious changes, dropping the support for python2
and the phyp Power Hypervisor. This comes with a set of new features and
improvements too:

Packaging changes:

- support for python2 is removed
Libvirt is no longer able to be built using the Python 2 binary. Python
3 must be used instead.

- docs: the python docutils toolset is now required
The use of rst2html has been introduced for the website build process
since docs are now being written in the RST as an alternative to HTML.

New features:

- new PCI hostdev address type: unassigned
A new PCI hostdev address type 'unassigned' is introduced. An
unassigned PCI hostdev behaves like any regular PCI hostdev inside
Libvirt, but it is not usable by the guest. This gives the user a new
option to manage the binding of PCI devices via Libvirt, declaring PCI
hostdevs in the domain XML but allowing just a subset of them to be
assigned to the guest.

- Provide init scripts for sub-deaemons
So far libvirt shipped systemd unit files for sub-daemons. With this
release, init scripts are available too. Package maintainers can choose
which one to install via --with-init-script configure option.

- qemu: Support cold-unplug of sound devices

- qemu: Implement VIR_MIGRATE_PARAM_TLS_DESTINATION
This flag, which can be enabled using virsh's --tls-destination option,
allows migration to succeed in situations where there is a mismatch
between the destination's hostname and the information stored in its
TLS certificate.

- qemu: Support reporting memory bandwidth usage stats
Implement Intel RDT-MBM in libvirt. The stats can be obtained via virsh
domstats --memory.

- qemu: Allow accessing NVMe disks directly
Before this release there were two ways to configure a NVMe disk for a
domain. The first was using  with the  pointing to the
/dev/nvme. The other was using PCI assignment via 
element. Both have their disadvantages: the former adds latency of file
system and block layers of the host kernel, the latter prohibits domain
migration. In this release the third way of configuring NVMe disk is
added which combines the advantages and drops disadvantages of the
previous two ways. It's accessible via .

Removed features:

- 'phyp' Power Hypervisor driver removed
The 'phyp' Power Hypervisor driver has not seen active development
since 2011 and does not seem to have any real world usage. It has now
been removed.

Improvements:

- qemu: xz save image compression is faster
When using the xz format to compressed virtual machine saved state
images, the "-3" compression level preset is now used. This results in
slightly larger files, but with a massively reduced time to compress.
The xz format offers the best compression level for saved state images,
albeit still with the slowest running time. For the fastest possible
running time, at cost of the larest compressed size, lzop should be
used.

- domain: Improve job stat handling
It is now possible to retrieve stats for completed and failed jobs.

- qemu: Don't hold monitor and agent job at the same time
Before this change, a malicious (or buggy) qemu-guest-agent running in
the guest could make other libvirt APIs unavailable for an unbounded
amount of time.

Bug fixes:

- qemu: Report error if backing image format is not specified explicitly
For a long time libvirt was assuming that a backing file is RAW when
the format was not specified. This didn't pose a problem until blockdev
support was enabled in last release. Libvirt now requires that the
format is specified in the image metadata or domain XML and the VM will
refuse to start otherwise. Additionally the error message now links to
the knowledge base which summarizes how to fix the images.

- qemu: Fix non-shared storage migration over NBD

- qemu: Generate a single MAC address for hotplugged network devices
Since libvirt 4.6.0, when hotplugging a network device that didn't have
a MAC address already assigned by the user, two separate addresses
would be generated: one for the live configuration, which would show up
immediately, and one for the inactive configuration, which would show
up after the first reboot. This situation was clearly undesirable, so a
single MAC address is now generated and used both for the live
configuration and the inactive one.

  thanks everybody who helped on this release, with reports, fixes,
reviews, ideas, documentation, etc ...

   Enjoy the release, next one will be scheduled at the end of
February !

Daniel

-- 
Daniel Veillard  | Red Hat 

[libvirt] Release Candidate 2 of libvirt-6.0.0

2020-01-13 Thread Daniel Veillard
  It is out, tagged in git and I pushed the signed tarball and
source rpm to the usual place:

   https://libvirt.org/sources/

 Seems to work in my limited testing but please give it more test,
if everything looks good I will release on Wednesday,

  in the meantime, give it a go !

   Thanks,

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list



[libvirt] Release of libvirt-5.10.0

2019-12-02 Thread Daniel Veillard
  This is landing more or less on time :-)
I just tagged it in git, and pushed signed tarball and source rpm to the usual
place:

   https://libvirt.org/sources/

I also made a release for the Python bindings you can find at

   https://libvirt.org/sources/python/


I had to do a bit of workaround since virschematest failes on my machine
this could be related to my latest release of libxml2 or another problem
I didn't really had time to find out why (changes in RelaxNG implementation
likely culprits).

This release includes relatively larse set of changes, notably it now
relies on glib and removes the Perl dependency:

New features:

- qemu: Introduce support for ARM CPU features
  The only features supported at the moment are SVE vector lengths, which
  were introduced in QEMU 4.2.0.

- qemu: Support boot display for GPU mediated devices
  Until now, GPU mediated devices generally did not show any output until
  the guest OS had initialized the vGPU. By specifying the ramfb
  attribute, QEMU can be configured to use ramfb as a boot display for
  the device: this allows for display of firmware messages, boot loader
  menu, and other output before the guest OS has initialized the vGPU.

- Add API to change the response timeout for guest agent commands
  By default, when a command is sent to the guest agent, libvirt waits
  forever for a response from the guest agent. If the guest is
  unresponsive for any reason, this can block the calling thread
  indefinitely. By setting a custom timeout using
  virDomainAgentSetResponseTimeout(), API users can change this behavior.

Improvements:

- Devices CGroup v2 support
  Libvirt supported all controllers of CGroup v2 but the devices
  controller which is implemented in this release.

- Cold plug of sound device
  The QEMU driver now can handle cold plug of  devices.

- Probe for default CPU types
  With QEMU 4.2.0 we can probe for the default CPU model used by QEMU for
  a particular machine type and store it in the domain XML. This way the
  chosen CPU model is more visible to users and libvirt will make sure
  the guest will see the exact same CPU after migration.

- Adaptation to qemu's blockdev
  QEMU introduced a new way of specifying disks on the command line which
  enables fine-grained control over the block stack. Libvirt has adapted
  to this.

Refactors:

- More GLib integration
  More patches were merged that replace our internal functions with GLib
  ones. Also some effort was invested in replacing gnulib modules with
  GLib functions.

- Rewrite of Perl scripts into Python
  Libvirt used Perl scripts to check for coding style, generate some code
  and things like that. To bring the number of languages used down, these
  scripts were rewritten into Python.

Bug fixes:

- Warn verbosely if using old loader:nvram pairs
  Some distributions still use --with-loader-nvram or nvram variable in
  qemu.conf. This is now discouraged in favour of FW descriptors.
  However, instead of silently ignoring user's config, libvirt warns if
  outdated config is detected.

- Drop pconfig from Icelake-Server CPU model
  The pconfig feature was enabled in QEMU by accident in 3.1.0. All other
  newer versions do not support it and it was removed from the
  Icelake-Server CPU model in QEMU.

- Wait longer for device removal confirmation on PPC64
  After sending device hot unplug request to QEMU, libvirt waits up to 5
  seconds for qemu to confirm the device removal. On some architectures
  (like PPC64) this can take longer time and libvirt now reflects that.

- Forcibly create nodes in domain's namespace
  The QEMU driver starts a domain in a namepsace with private /dev and
  creates only those nodes there which the domain is configured to have.
  However, it may have happened that if a node changed its minor number
  this change wasn't propagated to the namespace.

- Various AppArmor bugfixes
  The AppArmor driver now knows how to handle  devices and also
  snapshotting more disks at once.

- Improved video model autoselection
  If a graphics device was added to XML that had no video device, libvirt
  automatically added a video device which was always of type 'cirrus' on
  x86_64, even if the underlying qemu didn't support cirrus. Libvirt now
  bases the decision on qemu's capabilities.

  Thanks everybody who contributed to this release, with report, patches,
docs, reviews, localization, etc ...

  Like previous years the the next release 6.0.0 will be mid-January as
the end of the year generates serious slowdown and February is short.

  So enjoy the release until next year's one :-)

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list



Re: [libvirt] Release of libvirt-5.8.0

2019-10-07 Thread Daniel P . Berrangé
On Mon, Oct 07, 2019 at 06:32:37AM -0300, Daniel Henrique Barboza wrote:
> 
> 
> On 10/7/19 6:11 AM, Daniel P. Berrangé wrote:
> > On Sun, Oct 06, 2019 at 03:22:12PM -0300, Daniel Henrique Barboza wrote:
> > > 
> > > On 10/5/19 5:15 AM, Daniel Veillard wrote:
> > > > So it's out, a bit late but better than never, without release notes
> > > > but after all everything is described in the commits, so here is a very
> > > > raw 5.8.0 release, it's tagged in git and signed sources and tarball
> > > > are available at the usual place:
> > > > 
> > > > https://libvirt.org/sources/
> > > > 
> > > > I also made python binding release that you can find at:
> > > > 
> > > > https://libvirt.org/sources/python
> > > > 
> > > > 
> > > >So the only thing listed in the release notes is
> > > > 
> > > > Removed features:
> > > > 
> > > > - Remove xenapi driver
> > > > The xenapi driver is removed since it has not received any 
> > > > significant
> > > > development since its initial contribution nine years ago and has no
> > > > known user base.
> > > > 
> > > > Glancing at the commit list, there is a lot of refactoring going on
> > > > which I assume don't have any visible user impact.
> > > > I would suggest users look at the new development strategy document,
> > > > https://libvirt.org/strategy.html
> > > > 
> > > > TBH since I started the project 14 or so years ago the core assumption
> > > > have been kept, but this indicates willingness to change some of the
> > > > directions by the current group of developers, one of the key point is
> > > > articulated there:
> > > > 
> > > >"There is thus a desire to make use of either Rust or Go, or a
> > > > combination of both, to incrementally replace existing use of C,
> > > > and also for greenfield development."
> > > Is there any finer grained plan to this transition other than what is
> > > already
> > > mentioned in the strategy page? The text makes me believe that the use
> > > of Rust/Go will be decided in a case by case scenario, as if it's 
> > > something
> > > that is going to be considered for newer features from now on, but
> > > it's not like we're in a deadline to fully transition the code either - 
> > > more
> > > like a long term direction. Is that a fair understanding?
> > The text is intentionally fuzzy in what it describes, because our plans
> > will adapt as we learn more. Simpy consider it a heads up that you will
> > likely need to have a Rust/Go toolchain in future for building parts of
> > libvirt.
> 
> Got it. Do we have plans for a more detailed roadmap in the future? I'd
> like to get involved with the transition to Rust and it would be good to
> gauge where can I be useful.

You'll just have to watch / engage with the mailing list discussions for
now.

Regards,
Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Release of libvirt-5.8.0

2019-10-07 Thread Daniel Henrique Barboza



On 10/7/19 6:11 AM, Daniel P. Berrangé wrote:

On Sun, Oct 06, 2019 at 03:22:12PM -0300, Daniel Henrique Barboza wrote:


On 10/5/19 5:15 AM, Daniel Veillard wrote:

So it's out, a bit late but better than never, without release notes
but after all everything is described in the commits, so here is a very
raw 5.8.0 release, it's tagged in git and signed sources and tarball
are available at the usual place:

https://libvirt.org/sources/

I also made python binding release that you can find at:

https://libvirt.org/sources/python


   So the only thing listed in the release notes is

Removed features:

- Remove xenapi driver
The xenapi driver is removed since it has not received any significant
development since its initial contribution nine years ago and has no
known user base.

Glancing at the commit list, there is a lot of refactoring going on
which I assume don't have any visible user impact.
I would suggest users look at the new development strategy document,
https://libvirt.org/strategy.html

TBH since I started the project 14 or so years ago the core assumption
have been kept, but this indicates willingness to change some of the
directions by the current group of developers, one of the key point is
articulated there:

   "There is thus a desire to make use of either Rust or Go, or a
combination of both, to incrementally replace existing use of C,
and also for greenfield development."

Is there any finer grained plan to this transition other than what is
already
mentioned in the strategy page? The text makes me believe that the use
of Rust/Go will be decided in a case by case scenario, as if it's something
that is going to be considered for newer features from now on, but
it's not like we're in a deadline to fully transition the code either - more
like a long term direction. Is that a fair understanding?

The text is intentionally fuzzy in what it describes, because our plans
will adapt as we learn more. Simpy consider it a heads up that you will
likely need to have a Rust/Go toolchain in future for building parts of
libvirt.


Got it. Do we have plans for a more detailed roadmap in the future? I'd
like to get involved with the transition to Rust and it would be good to
gauge where can I be useful.



Thanks,

DHB




Regards,
Daniel


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Release of libvirt-5.8.0

2019-10-07 Thread Daniel P . Berrangé
On Sun, Oct 06, 2019 at 03:22:12PM -0300, Daniel Henrique Barboza wrote:
> 
> 
> On 10/5/19 5:15 AM, Daniel Veillard wrote:
> >So it's out, a bit late but better than never, without release notes
> > but after all everything is described in the commits, so here is a very
> > raw 5.8.0 release, it's tagged in git and signed sources and tarball
> > are available at the usual place:
> > 
> >https://libvirt.org/sources/
> > 
> > I also made python binding release that you can find at:
> > 
> >https://libvirt.org/sources/python
> > 
> > 
> >   So the only thing listed in the release notes is
> > 
> > Removed features:
> > 
> > - Remove xenapi driver
> >The xenapi driver is removed since it has not received any significant
> >development since its initial contribution nine years ago and has no
> >known user base.
> > 
> > Glancing at the commit list, there is a lot of refactoring going on
> > which I assume don't have any visible user impact.
> > I would suggest users look at the new development strategy document,
> >https://libvirt.org/strategy.html
> > 
> > TBH since I started the project 14 or so years ago the core assumption
> > have been kept, but this indicates willingness to change some of the
> > directions by the current group of developers, one of the key point is
> > articulated there:
> > 
> >   "There is thus a desire to make use of either Rust or Go, or a
> > combination of both, to incrementally replace existing use of C,
> > and also for greenfield development."
> 
> Is there any finer grained plan to this transition other than what is
> already
> mentioned in the strategy page? The text makes me believe that the use
> of Rust/Go will be decided in a case by case scenario, as if it's something
> that is going to be considered for newer features from now on, but
> it's not like we're in a deadline to fully transition the code either - more
> like a long term direction. Is that a fair understanding?

The text is intentionally fuzzy in what it describes, because our plans
will adapt as we learn more. Simpy consider it a heads up that you will
likely need to have a Rust/Go toolchain in future for building parts of
libvirt.


Regards,
Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-5.8.0

2019-10-07 Thread Andrea Bolognani
On Sun, 2019-10-06 at 20:48 +0200, Daniel Veillard wrote:
> On Sun, Oct 06, 2019 at 03:22:12PM -0300, Daniel Henrique Barboza wrote:
> > On 10/5/19 5:15 AM, Daniel Veillard wrote:
> > >   So the only thing listed in the release notes is
> > > 
> > > Removed features:
> > > 
> > > - Remove xenapi driver
> > >The xenapi driver is removed since it has not received any significant
> > >development since its initial contribution nine years ago and has no
> > >known user base.
> > > 
> > > Glancing at the commit list, there is a lot of refactoring going on
> > > which I assume don't have any visible user impact.

I think the actual reason is that, as usual, we've been pretty bad at
adding items to the release notes at the same time code changes are
merged, but unlike most other releases I've been too busy to pick up
the slack during freeze and nobody else has stepped up. I'll try to
do better next time, possibly by annoying people into adding release
notes updates to their series - the way it's supposed to work O:-)

> > > I would suggest users look at the new development strategy document,
> > >https://libvirt.org/strategy.html
> > > 
> > > TBH since I started the project 14 or so years ago the core assumption
> > > have been kept, but this indicates willingness to change some of the
> > > directions by the current group of developers, one of the key point is
> > > articulated there:
> > > 
> > >   "There is thus a desire to make use of either Rust or Go, or a
> > > combination of both, to incrementally replace existing use of C,
> > > and also for greenfield development."
> > 
> > Is there any finer grained plan to this transition other than what is
> > already
> > mentioned in the strategy page? The text makes me believe that the use
> > of Rust/Go will be decided in a case by case scenario, as if it's something
> > that is going to be considered for newer features from now on, but
> > it's not like we're in a deadline to fully transition the code either - more
> > like a long term direction. Is that a fair understanding?
> 
>   That would be my understanding too, but I wasn't involved so hopefully
> someone else can confirm :-)

Correct, the document is intended to outline the long-term,
high-level development strategy rather than concrete efforts that
are underway.

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-5.8.0

2019-10-06 Thread Daniel Veillard
On Sun, Oct 06, 2019 at 03:22:12PM -0300, Daniel Henrique Barboza wrote:
> On 10/5/19 5:15 AM, Daniel Veillard wrote:
> >So it's out, a bit late but better than never, without release notes
> > but after all everything is described in the commits, so here is a very
> > raw 5.8.0 release, it's tagged in git and signed sources and tarball
> > are available at the usual place:
> > 
> >https://libvirt.org/sources/
> > 
> > I also made python binding release that you can find at:
> > 
> >https://libvirt.org/sources/python
> > 
> > 
> >   So the only thing listed in the release notes is
> > 
> > Removed features:
> > 
> > - Remove xenapi driver
> >The xenapi driver is removed since it has not received any significant
> >development since its initial contribution nine years ago and has no
> >known user base.
> > 
> > Glancing at the commit list, there is a lot of refactoring going on
> > which I assume don't have any visible user impact.
> > I would suggest users look at the new development strategy document,
> >https://libvirt.org/strategy.html
> > 
> > TBH since I started the project 14 or so years ago the core assumption
> > have been kept, but this indicates willingness to change some of the
> > directions by the current group of developers, one of the key point is
> > articulated there:
> > 
> >   "There is thus a desire to make use of either Rust or Go, or a
> > combination of both, to incrementally replace existing use of C,
> > and also for greenfield development."
> 
> Is there any finer grained plan to this transition other than what is
> already
> mentioned in the strategy page? The text makes me believe that the use
> of Rust/Go will be decided in a case by case scenario, as if it's something
> that is going to be considered for newer features from now on, but
> it's not like we're in a deadline to fully transition the code either - more
> like a long term direction. Is that a fair understanding?

  That would be my understanding too, but I wasn't involved so hopefully
someone else can confirm :-)

Daniel

> 
> Thanks,
> 
> 
> DHB
> 
> 
> 
> > 
> >   So if anybody mourns the absence of the release note for 5.8.0, I suggest
> > to instead takes the couple of minutes it takes to read the above page,
> > that will be well invested time !
> > 
> >Enjoy the release !
> > 
> > Daniel
> > 

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-5.8.0

2019-10-06 Thread Daniel Henrique Barboza




On 10/5/19 5:15 AM, Daniel Veillard wrote:

   So it's out, a bit late but better than never, without release notes
but after all everything is described in the commits, so here is a very
raw 5.8.0 release, it's tagged in git and signed sources and tarball
are available at the usual place:

   https://libvirt.org/sources/

I also made python binding release that you can find at:

   https://libvirt.org/sources/python


  So the only thing listed in the release notes is

Removed features:

- Remove xenapi driver
   The xenapi driver is removed since it has not received any significant
   development since its initial contribution nine years ago and has no
   known user base.

Glancing at the commit list, there is a lot of refactoring going on
which I assume don't have any visible user impact.
I would suggest users look at the new development strategy document,
   https://libvirt.org/strategy.html

TBH since I started the project 14 or so years ago the core assumption
have been kept, but this indicates willingness to change some of the
directions by the current group of developers, one of the key point is
articulated there:

  "There is thus a desire to make use of either Rust or Go, or a
combination of both, to incrementally replace existing use of C,
and also for greenfield development."


Is there any finer grained plan to this transition other than what is 
already

mentioned in the strategy page? The text makes me believe that the use
of Rust/Go will be decided in a case by case scenario, as if it's something
that is going to be considered for newer features from now on, but
it's not like we're in a deadline to fully transition the code either - more
like a long term direction. Is that a fair understanding?


Thanks,


DHB





  So if anybody mourns the absence of the release note for 5.8.0, I suggest
to instead takes the couple of minutes it takes to read the above page,
that will be well invested time !

   Enjoy the release !

Daniel



--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-5.8.0

2019-10-05 Thread Daniel Veillard
  So it's out, a bit late but better than never, without release notes
but after all everything is described in the commits, so here is a very
raw 5.8.0 release, it's tagged in git and signed sources and tarball
are available at the usual place:

  https://libvirt.org/sources/

I also made python binding release that you can find at:

  https://libvirt.org/sources/python


 So the only thing listed in the release notes is

Removed features:

- Remove xenapi driver
  The xenapi driver is removed since it has not received any significant
  development since its initial contribution nine years ago and has no
  known user base.

Glancing at the commit list, there is a lot of refactoring going on
which I assume don't have any visible user impact.
I would suggest users look at the new development strategy document,
  https://libvirt.org/strategy.html

TBH since I started the project 14 or so years ago the core assumption
have been kept, but this indicates willingness to change some of the
directions by the current group of developers, one of the key point is
articulated there:

 "There is thus a desire to make use of either Rust or Go, or a
combination of both, to incrementally replace existing use of C,
and also for greenfield development."

 So if anybody mourns the absence of the release note for 5.8.0, I suggest
to instead takes the couple of minutes it takes to read the above page,
that will be well invested time !

  Enjoy the release !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Libvirt release ...

2019-10-01 Thread Daniel Veillard
  Seems I totally forgot to work on the release in the last week.
I suggest to enter freeze in a few hours, then have RC2 on Thursday and
the release this Saturday !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt 5.7.0

2019-09-03 Thread Daniel Veillard
  A few hours ago I tagged the release in git and pushed the signed tarball
and source rpm to the usual place:

  https://libvirt.org/sources/

 I also tagged a release of the python bindings which you can find at

  https://libvirt.org/sources/python/

This is a balanced release with new features, improvements and bug fixes, also
note some deprecation for KVM assignment support and for build with older 
versions
of libxml2. 


New features:

- qemu: Support Direct Mode for Hyper-V Synthetic timers
The QEMU driver now supports Direct Mode for Hyper-V Synthetic timers
for Hyper-V guests.

- lib: Add virDomainGetGuestInfo()
This API is intended to aggregate several guest agent information
queries and is inspired by stats API virDomainListGetStats(). It is
anticipated that this information will be provided by a guest agent
running within the domain. It's exposed as virsh guestinfo.

- Split libvirtd into separate daemons
The big monolithic libvirtd daemon can now be replaced by smaller
per-driver daemons. Distributions can chose if they want the former or
the latter. The libvirtd is still kept around for backwards
compatibility.

Removed features:

- Remove KVM assignment support
The KVM style of PCI device assignment was removed from the kernel in
version 4.12.0 after being deprecated since 4.2.0. Libvirt defaults to
VFIO for a long time. Remove support for KVM device assignment from
libvirt too.

- libxml: min required libxml is now 2.9.1
Support for building with libxml versions older than 2.9.1 has been
dropped.

Improvements:

- virsh: Support setting bandwidth in migrate subcommand
In addition to postcopy bandwidth, the virsh migrate subcommand now
supports specifying precopy bandwidth with the --bandwidth parameter.

- libxl: Implement domain metadata getter/setter
The libxl driver now supports virDomainGetMetadata() and
virDomainSetMetadata() APIs.

- test driver: Expand API coverage
Additional APIs have been implemented in the test driver.

- Report RNG device in domain capabilities XML
Libvirt now reports if RNG devices are supported by the underlying
hypervisor in the domain capabilities XML.

- Stop linking virt-login-shell and NSS plugins with libvirt.so
In order to allow libvirt to abort on out of memory, we need to stop
linking libvirt.so to virt-login-shell or the NSS plugins where we
don't want to abort. This change also resulted in smaller binaries and
libraries.

- qemu: Allow migration with disk cache on
When QEMU supports flushing caches at the end of migration, we can
safely allow migration even if disk/driver/@cache is neither none nor
directsync.

Bug fixes:

- Various security label remembering fixes
In the previous release libvirt introduced remembering of original
owners and SELinux labels on files. However, the feature did not work
properly with snapshots, on migrations or on network filesystems. This
is now fixed.

- Allow greater PCI domain numbers
Libvirt used to require PCI domain number to be not greater than
0x. The code was changed to allow 32 bits long numbers.

- Various D-Bus fixes
When D-Bus is not available, libvirt was reporting random errors. These
are now gone.

- Prefer read-only opening of PCI config files
When enumerating PCI bus, libvirt opens config files under sysfs mount
and parses them to learn various aspects of the device (e.g. its
capabilities). Only in a very limited number of cases it is actually
writing into the file. However, it used to open the file also for
writing even if it was only reading from it.

- Fix AppArmor profile
Since the 5.6.0 release, libvirt uses procfs to learn the list of
opened file descriptors when spawning a command. However, our AppArmor
profile was not allowing such access.

- Don't block storage driver when starting or building a pool
Starting or building a storage pool can take a long time to finish.
During this time the storage driver was blocked and thus no other API
involving the storage driver could run. This is now fixed.

  Thanks everybody who helped for this release, be it with patches, reviews,
bug reports, docs, etc...

   Enjoy the release !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-5.6.0

2019-08-05 Thread Daniel Veillard
  It's out ! Tagged in git and with signed tarball and source rpm at the usual
place:

https://libvirt.org/sources/

I also released the 5.6.0 python bindings for the release that can be found
at:

https://libvirt.org/sources/python/


This release includes a number of new features, notably the checkpoint APIs
removes the sxpr xen support and carries a set of improvement and bug fixes
as usual:

New features:

- qemu: Introduce a new video model of type 'bochs'
Introduce a new video model type that supports the bochs-display device
that was added in qemu version 3.0.

- api: new virDomainCheckpoint APIs
Introduce several new APIs for creating and managing checkpoints in the
test and qemu drivers (the latter requires qcow2 images). Checkpoints
serve as a way to tell which portions of a disk have changed since a
point in time.

- qemu: Add support for overriding max threads per process limit
systemd-based systems impose a limit on the number of threads a process
can spawn, which in some cases can be exceeded by QEMU processes
running VMs. Add a max_threads_per_process option to qemu.conf to
override the system default.

- Remember original owners and SELinux labels of files
When a domain is starting up libvirt changes DAC and SELinux labels so
that domain can access it. However, it never remembered the original
labels and therefore the file was returned back to root:root. With this
release, the original labels are remembered and restored properly.

- network: Allow passing arbitrary options to dnsmasq
This works similarly to the existing support for passing arbitary
options to QEMU, and just like that feature it comes with no support
guarantees.

Removed features:

- xen: Remove sxpr config support
Remove the sxpr style config parser and formatter a year after the xend
driver was removed.

Improvements:

- qemu: Allow XML validation for snapshot creation
Add flag VIR_DOMAIN_SNAPSHOT_CREATE_VALIDATE to validate snapshot input
XML. For virsh, users can use it as virsh snapshot-create --validate.

- Support encrypted soft TPM
A soft TPM backend could be encrypted with passphrase. Now libvirt
supports using a secret object to hold the passphrase, and referring to
it via the encryption element of the TPM device.

- test driver: Expand API coverage
Additional APIs have been implemented in the test driver.

- Implement per-driver locking
Drivers now acquire a lock when they're loaded, ensuring that there can
never be two instances of the same driver active at a time.

- nss: Report newer addresses first
In some cases, a guest might be assigned a new IP address by DHCP
before the previous lease has expired, in which case the NSS plugin
will correctly report both addresses; many applications, however,
ignore all addresses but the first, and may thus end up trying to
connect using a stale address. To prevent that from happening, the NSS
plugin will now always report the newest address first.

- util: Optimize mass closing of FDs when spawning child processes
When the limit on the number of FDs is very high, closing all unwanted
FDs after calling fork() can take a lot of time and delay the start of
the child process. libvirt will now use an optimized algorithm that
minimizes such delays.

Bug fixes:

- logging: Ensure virtlogd rollover takes priority over logrotate
virtlogd implements its own rollover mechanism, but until now logrotate
could end up acting on the logs before virtlogd had a chance to do so
itself.


Thanks everybody who helped with this release, be it with bug reports,
patches, reviews, documenation, localization, etc ...

  Enjoy the release,

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-5.5.0

2019-07-02 Thread Daniel Veillard
  It's there, only one day late :-) tagged in git as with signed tarball
and source rpms uploaded to the usual place:

  https://libvirt.org/sources/

I also released the python bindings that you can find at:

  https://libvirt.org/sources/python/


This is a rich release with security fixes, new APIs, some deprecated features
and as usual improvements and bug fixes !


Security:

- api: Prevent access to several APIs over read-only connections
  Certain APIs give root-equivalent access to the host, and as such
  should be limited to privileged users. CVE-2019-10161, CVE-2019-10166,
  CVE-2019-10167, CVE-2019-10168.

New features:

- qemu: Support SMMUv3 IOMMU
  SMMUv3 is an IOMMU implementation for ARM virt guests.

- network: Introduce the network port API
  This new public API can be used by virtualization drivers to manage
  network resources associated with guests, and is a further step towards
  splitting libvirtd into multiple daemons.

Removed features:

- qemu: Remove support for virDomainQemuAttach and
  virConnectDomainXMLFromNative APIs
  The qemu implementations for the APIs mentioned above were removed and
  the APIs now return an error. The implementation was stale for a long
  time and did not work with modern QEMU command lines, generated from
  libvirt or otherwise.

- Stop supporting migration of config files from pre-XDG layout
  The new layout was introduced with libvirt 0.9.13 (Jul 2012).

- Remove Avahi mDNS support
  This feature was never used outside of virt-manager, which has itself
  stopped using it a while ago.

Improvements:

- sysinfo: Report SMBIOS information on aarch64
  While SMBIOS support has historically been limited to x86_64, modern
  aarch64 machines often offer access to the same information as well,
  and libvirt now exposes it to the user when that's the case.

- test driver: Expand API coverage
  Even more APIs that were missing from the test driver have now been
  implemented.

- virt-xml-validate: Allow input to be read from stdin

- qemu: Validate spapr-vio addresses as 32-bit
  libvirt has always considered these addresses (used for pSeries guests)
  as 64-bit, but the sPAPR specification says that they're 32-bit
  instead.

Bug fixes:

- qemu: Set process affinity correctly when using 
  libvirt would mistakenly interpret the nodeset attribute as a list of
  CPUs instead of as a list of NUMA node, and the process affinity would
  be set incorrectly as a result; this has now been fixed.

 Thanks everybody for your help with this release, be that with bugs, fixes,
reviews, documentation, localisation, etc ...

   Enjoy the release,

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-5.4.0

2019-06-03 Thread Daniel Veillard
 It's out ! The release is tagged in git, and I provided signed tarball
and source rpms to the usual place:

   https://libvirt.org/sources/


I also cut off a 5.4.0 release of the python bindings but code is same a 5.3.0
one, you can find signed tarball and source rpms at:

   https://libvirt.org/sources/python/


Main theme of this release is security, there is a set of advisory covered
so users are invited to update, along with some improvements and bug fixes.


Security:

- cpu: Introduce support for the md-clear CPUID bit
  This bit is set when microcode provides the mechanism to invoke a flush
  of various exploitable CPU buffers by invoking the x86 VERW
  instruction. CVE-2018-12126, CVE-2018-12127, CVE-2018-12130,
  CVE-2019-11091.

- Restrict user access to virt-admin, virtlogd and virtlockd
  The intended users for these facilities are the root user and the
  libvirtd service respectively, but these restrictions were not enforced
  correctly. CVE-2019-10132.

Improvements:

- test driver: Expand API coverage
  Several APIs that were missing from the test driver have now been
  implemented.

- Avoid unnecessary static linking
  Most binaries shipped as part of libvirt, for example virtlogd and
  libvirt_iohelper, were embedding parts of the library even though they
  also linked against the libvirt.so dynamic library. This is no longer
  the case, which results in both the disk and memory footprint being
  reduced.

- qemu: Report stat-htlb-pgalloc and stat-htlb-pgfail balloon stats
  These stats have been introduced in QEMU 3.0.

Bug fixes:

- qemu: Fix emulator scheduler support
  Setting the scheduler for QEMU's main thread before QEMU had a chance
  to start up other threads was misleading as it would affect other
  threads (vCPU and I/O) as well. In some particular situations this
  could also lead to an error when the thread for vCPU #0 was being moved
  to its cpu,cpuacct cgroup. This was fixed so that the scheduler for the
  main thread is set after QEMU starts.

- apparmor: Allow hotplug of vhost-scsi devices

  Thanks everybody who contributed to this release, be it with bug reports,
patches, reviews, docs ...

Enjoy !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] RElease of libvirt-5.3.0

2019-05-04 Thread Daniel Veillard
  A bit late, sorry I was in vacations, but the release is now tagged in git
and I pushed the signed tarball and rpms to the normal place:

   https://libvirt.org/sources/

Please note that following discussion on last release the FTP server will
soon be shutdown.

I also pushed the related libvirt-python release that you can find in git
and at

  https://libvirt.org/sources/python/


This is a balanced release, one thing to note is the removal of the support
for the old 4.x VirtualBox releases

New feature:

- qemu: Add support for setting the emulator scheduler parameters
  I/O threads and vCPU threads already support setting schedulers, but
  until now it was impossible to do so for the main QEMU thread (emulator
  thread in the libvirt naming). This is, however, requested for some
  very specific scenarios, for example when vCPU threads are running at
  such priority that could starve the main thread.

Removed feature:

- vbox: Drop support for VirtualBox 4.x releases
  Support for all the 4.x releases was ended by VirtualBox maintainers in
  December 2015. Therefore, libvirt support for these releases is
  dropped.

Improvements:

- qemu: Use PCI by default for RISC-V guests
  PCI support for RISC-V guests was already available in libvirt 5.1.0,
  but it required the user to opt-in by manually assigning PCI addresses:
  with this release, RISC-V guests will use PCI automatically when
  running against a recent enough (4.0.0+) QEMU release.

- qemu: Advertise firmware autoselection in domain capabilities
  The firmware autoselection feature is now exposed in domain
  capabilities and management applications can query for accepted values,
  i.e. values that are accepted and for which libvirt found firmware
  descriptor files. Firmware Secure Boot support is also advertised.

- Drop YAJL 1 support
  YAJL 2 is widely adopted and maintaining side by side support for two
  versions is unnecessary.

Bug fixes:

- rpc: cleanup in virNetTLSContextNew
  Failed new gnutls context allocations in virNetTLSContextNew function
  results in double free and segfault. Occasional memory leaks may also
  occur.

- virsh: various completers fixes
  There were some possible crashers, memory leaks, etc. which are now
  fixed.

- qemu: Make hugepages work with memfd backend
  Due to a bug in command line generation libvirt did not honor hugepages
  setting with memfd backend.

- Enforce ACL write permission for getting guest time & hostname
  Getting the guest time and hostname both require use of guest agent
  commands. These must not be allowed for read-only users, so the
  permissions check must validate "write" permission not "read".


  Thanks everybody for your help bringing this release up,

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-5.2.0

2019-04-03 Thread Daniel Veillard
On Wed, Apr 03, 2019 at 04:24:02PM +0100, Daniel P. Berrangé wrote:
> On Wed, Apr 03, 2019 at 11:57:42AM +0200, Daniel Veillard wrote:
> >   It's out, a bit late but the signed tarball and rpms are at the usual 
> > place
> > and it's tagged in git:
> > 
> >   ftp://libvirt.org/libvirt/
> > 
> > 
> > I also pushed the python bindings, with only a single patch since 5.1.0 at:
> > 
> >   ftp://libvirt.org/libvirt/python/
> 
> I think something went wrong with the upload, as I don't see any
> 5.2.0 tar.gz there.

  Whoops, yes, one step missed :-)

Fixed now, sorry

> 
> BTW, it is preferrable to link to https:// URLs for the downloads.
> 
> Personally I'd suggest disabling the FTP service entirely on the machine
> as non-encrypted file transfer has no place on the modern internet. The
> kernel.org admins did this a little over a year ago
> 
>   https://www.kernel.org/shutting-down-ftp-services.html

  https://libvirt.org/sources/
and
  https://libvirt.org/sources/python/

should work.

I'm seeing some traffic in xferlog, but if we advertize https next month
why not disabling it, indeed,

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-5.2.0

2019-04-03 Thread Andrea Bolognani
On Wed, 2019-04-03 at 16:24 +0100, Daniel P. Berrangé wrote:
> BTW, it is preferrable to link to https:// URLs for the downloads.
> 
> Personally I'd suggest disabling the FTP service entirely on the machine
> as non-encrypted file transfer has no place on the modern internet. The
> kernel.org admins did this a little over a year ago
> 
>   https://www.kernel.org/shutting-down-ftp-services.html

I enthusiastically support this proposal.

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Release of libvirt-5.2.0

2019-04-03 Thread Daniel P . Berrangé
On Wed, Apr 03, 2019 at 11:57:42AM +0200, Daniel Veillard wrote:
>   It's out, a bit late but the signed tarball and rpms are at the usual place
> and it's tagged in git:
> 
>   ftp://libvirt.org/libvirt/
> 
> 
> I also pushed the python bindings, with only a single patch since 5.1.0 at:
> 
>   ftp://libvirt.org/libvirt/python/

I think something went wrong with the upload, as I don't see any
5.2.0 tar.gz there.


BTW, it is preferrable to link to https:// URLs for the downloads.

Personally I'd suggest disabling the FTP service entirely on the machine
as non-encrypted file transfer has no place on the modern internet. The
kernel.org admins did this a little over a year ago

  https://www.kernel.org/shutting-down-ftp-services.html

Regards,
Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-5.2.0

2019-04-03 Thread Daniel Veillard
  It's out, a bit late but the signed tarball and rpms are at the usual place
and it's tagged in git:

  ftp://libvirt.org/libvirt/


I also pushed the python bindings, with only a single patch since 5.1.0 at:

  ftp://libvirt.org/libvirt/python/


Note that it's a release with rather large changes, new features and
removal of some deprecated init scripts, and as usual a large amount
of improvement and bug fixes:

New features:

- Add Storage Pool Capabilities output
  Add support to list an enumerated list of supported Storage Pools via
  the virConnectGetCapabilities API when connected via a Storage Driver.
  Add support to get a more detailed list XML output Storage Pool
  Capabilities vis the virConnectGetStoragePoolCapabilites API.

- qemu: Support virtio-{non-}transitional device models
  virtio-transitional and virtio-non-transitional model values were added
  to the QEMU driver for the following devices: disk, interface,
  filesystem, rng, vsock, memballoon, controller type scsi, controller
  type virtio-serial, input bus virtio type passthrough, hostdev type
  scsi_host. These new models can be used to give fine grained control
  over what virtio device version is presented to the guest.

- qemu: Enable firmware autoselection
  Libvirt allows users to provide loader path for some time now. However,
  this puts some burden on users because they need to know what firmware
  meets their requirements. Now that QEMU ships firmware description
  files this burden can be moved onto libvirt. It is as easy as setting
  the firmware attribute in the os element (accepted values are bios and
  efi). Moreover, libvirt automatically enables domain features needed
  for firmware it chooses.

- snapshots: Add support for topological listings
  A new flag VIR_DOMAIN_SNAPSHOT_LIST_TOPOLOGICAL is available for the
  various snapshot listing APIs such as virDomainListAllSnapshots(). For
  drivers that support the flag, the listed snapshots are guaranteed to
  be sorted such that parents occur before children.

- Xen: Add support for max grant frames setting
  Add support for Xen's max_grant_frames setting by adding a new xenbus
  controller type with a maxGrantFrames attribute. E.g. 

- qemu: Add support for parallel migration
  With QEMU 4.0.0 libvirt can enable parallel migration which causes the
  memory pages to be processed in parallel by several threads and sent to
  the destination host using several connections at the same time. This
  may increase migration speed in case a single thread is unable to
  saturate the network link.

Removed features:

- Drop support for Upstart and "Red Hat" init scripts
  Not a single one of the platforms we target still uses Upstart, and the
  Upstart project itself has been abandoned for several years now; the
  same is true for the "Red Hat" (really System V) init scripts, since
  RHEL 7 and later releases use systemd.

Improvements:

- Report class information for PCI node device capability.

- Split setup of IPv4 and IPv6 top level chain
  The requirement resulting from private chains improvement done in
  v5.1.0 was refined so that only tables from corresponding IP version
  are required. This means that if a network doesn't have IPv6 enabled
  then those tables are not required.

- Don't default to building the QEMU driver
  Historically, the QEMU driver has been special in that it was enabled
  by default, with the option to explicitly opt-out of it; starting now,
  we're enabling it opportunistically if we detect that all requirements
  are available, just like we do with other drivers.

Bug fixes:

- virt-host-validate: Fix IOMMU check on s390x

- qemu: Allow creating pSeries guests with graphics and no USB mouse
  It's now possible to prevent libvirt from automatically adding a USB
  mouse to pSeries guests by including a USB tablet in the input XML:
  doing so is desiderable as using a tablet results in a much better user
  experience when working with GUIs.

- qemu: Set $HOME and XGD variables for qemu:///system guests
  This avoids files being accidentally created under / or the guests not
  being able to start because they lack the necessary permissions to
  write to that location.


  Thanks everybody for your contributions for this release, be it
with bug reports, patches, reviews, documentation, etc...

   Enjoy the release !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-5.1.0

2019-03-04 Thread Daniel Veillard
  A few days late after some travel, but everything is now pushed, freeze is
over ! The release is tagged in git, signed tarball and rpms are available
from the usual place:

   ftp://libvirt.org/libvirt/

I also pushed the Python bindings release at:

   ftp://libvirt.org/libvirt/python/


  This is a rather large release, with a fair amount of new features,
improvement and bug fixes:

New features:

- bhyve: Add support for additional command-line arguments
The bhyve driver now supports passing additional command-line arguments
to the bhyve process using the new  element in
domain configuration.

- network: Support setting a firewalld "zone" for virtual network bridges
All libvirt virtual networks with bridges managed by libvirt (i.e.
those with forward mode of "nat", "route", "open", or no forward mode)
will now be placed in a special firewalld zone called "libvirt" by
default. The zone of any network bridge can be changed using the zone
attribute of the network's bridge element.

- bhyve: Support for ignoring unknown MSRs reads and writes
A new  element  was introduced and
the bhyve driver supports it to control unknown Model Specific
Registers (MSRs) reads and writes.

- qemu: Add support for encrypted VNC TLS keys
Use the password stored in the secret driver under the uuid specified
by the vnc_tls_x509_secret_uuid option in qemu.conf.

- Add storage pool namespace options
Allow for adjustment of RBD configuration options via Storage Pool XML
Namespace adjustments.

- qemu: Add support for setting post-copy migration bandwidth
Users can now limit the bandwidth of post-copy migration, e.g. via
virsh migrate --postcopy-bandwidth.

Improvements:

- Create private chains for virtual network firewall rules
Historically firewall rules for virtual networks were added straight
into the base chains. This works but has a number of bugs and design
limitations. To address them, libvirt now puts firewall rules into its
own chains.

- Detect CEPH and GPFS as shared FS
When starting a migration libvirt performs some sanity checks to make
sure domain will be able to run on the destination. One of the
requirements is that the disk has to either be migrated too or be
accessible from a network filesystem. CEPH and GPFS weren't detected as
a network filesystem.

- Advertise network MTU via DHCP when specified
If network MTU is set and the network has DHCP enabled, advertise the
MTU in DHCP transaction too so that clients can adjust their link
accordingly.

- qemu: Allocate memory at the configured NUMA nodes from start
Libvirt used to just start QEMU, let it allocate memory for the guest,
and then use CGroups to move the memory to configured NUMA nodes. This
is suboptimal as huge chunks of memory have to be moved. Moreover, this
relies on ability to move memory later which is not always true. A
change was made to set process affinity correctly from the start so
that memory is allocated on the configured nodes from the beginning.

- Support for newer Wireshark
Adapt libvirt to use the more recent release requiring a source build
configuration of libvirt --with-wireshark to upgrade to the more recent
version.

- Batch mode virsh and virt-admin parsing improvements
When parsing a single-argument command_string in batch mode, virsh and
virt-admin now permit newlines in addition to semicolons for splitting
commands, and backslash-newline for splitting long lines, to be more
like shell parsing.

Bug fixes:

- qemu: Use CAP_DAC_OVERRIDE during QEMU capabilities probing
By default, libvirt runs the QEMU process as qemu:qemu which could
cause issues during probing as some features like AMD SEV might be
inaccessible to QEMU because of file system permissions. Therefore,
CAP_DAC_OVERRIDE is granted to overcome these for the purposes of
probing.

- storage: Add default mount options for fs/netfs storage pools
Altered the command line generation for fs/netfs storage pools to add
some default options. For Linux based systems, the options added are
"nodev, nosuid, noexec". For FreeBSD based systems, the options added
are "nosuid, noexec".

- qemu: Allow use of PCI for RISC-V guests
This works with QEMU 4.0.0+ only and is opt-in at the moment, since it
requires users to manually assign PCI addresses, but is otherwise fully
functional.

- network: Fix virtual networks on systems using firewalld+nftables
Because of the transitional state of firewalld's new support for
nftables, not all iptables features required by libvirt are yet
available, so libvirt must continue to use iptables for its own packet
filtering rules even when the firewalld backend is set to use nftables.
However, due to the way iptables support is implemented in kernels
using nftables (iptables rules are converted to nftables rules and
processed in a separate hook from the native nftables rules), guest
networking was broken on hosts with firewalld configured to use
nftables as the backend. This has been fixed by putting libvirt-managed
bridges in their own firewalld 

[libvirt] Release candidate 2 of libvirt-5.1.0

2019-02-27 Thread Daniel Veillard
  It's there, tagged in git and with signed tarball and rpms at the usual
place:

   ftp://libvirt.org/libvirt/

  Seems to work fin in my limited testing, I didn't hear any complaint
about RC1, and incredibly https://ci.centos.org/view/libvirt/ is still
all green, so this looks good so far, but please check it for defects.

  If everything works fine, I may try to push the GA version on Friday
before taking my flight, otherwise that may be pushed to the week-end.

Please give it some testing,

  thanks,

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-5.0.0

2019-01-15 Thread Daniel Veillard
  Hi all,

 as planned I just tagged the new release in git, and pushed signed tarball
and rpms to the usual place:

  ftp://libvirt.org/libvirt/

I also pushed the python bindings, identical to 4.10 with just the versioning
bump, you can find them at:

  ftp://libvirt.org/libvirt/python/


This release includes new features, but also remove the old apparently unused
UML driver support. There is also a rather large set of improvements:

New features:

- Xen: Add support for openvswitch
  The libxl driver now supports virtual interfaces that connect to an
  openvswitch bridge, including interfaces with VLAN tagging and trunking
  configuration.

- qemu: Report whether KVM nesting is available
  Running nested KVM guests requires specific configuration steps to be
  performed on the host; libvirt will now report in the host capabilities
  whether KVM nesting support is available.

Removed features:

- Drop UML driver
  The UML driver was unmaintained and not tested for quite some time now.
  Worse, there is a bug that causes it to deadlock on some very basic
  operations (e.g. dumping domain XML). These facts make us believe no
  one uses it.

Improvements:

- qemu: Add support for ARMv6l guests

- Support more NVDIMM configuration options
  Introduce more configuration options. For the source element, add the
  'alignsize' and 'pmem' subelements. For the target element, add the
  'readonly' subelement.

- cpu: Add support for "stibp" x86_64 feature
  Add cpu flag stibp (Single Thread Indirect Branch Predictors) to
  prevent indirect branch predictions from being controlled by the
  sibling Hyperthread.

- libxl: Handle external domain destroy
  Historically, if a domain was destroyed using xl rather than through
  libvirt APIs, libvirt would not be aware of the fact and keep
  considering it as running. This is no longer the case.

- Start selecting the first available DRI device for OpenGL operations
  If OpenGL support is needed (either with SPICE gl enabled or with
  egl-headless), libvirt is now able to pick the first available DRI
  device for the job. At the same time, this improvement is also a bugfix
  as it prevents permission-related issues with regards to our mount
  namespaces and the default DRI render node's permissions which would
  normally prevent QEMU from accessing such a device.

- qemu: Add support for postcopy-requests migration statistics
  The virDomainJobInfo can get number page requests received from the
  destination host during post-copy migration.

Bug fixes:

- lxc: Don't forbid interfaces with type=direct
  Such interfaces are supported by lxc and should be allowed.

- qemu: Fully clean up RNG devices on detach
  Some RNG device types, such as those using EGD, might need extra clean
  up on the host in addition to removing the guest-side device.


  Thanks everybody for your help toward this release, be it with patches
reviews, bug description, documentation and localizations !

   As a reminder, the next release is scheduled at the end of February,
in the meantime, enjoy the new release !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-4.10.0

2018-12-03 Thread Daniel Veillard
  As planned I tagged the release in git earlier today and pushed signed
tarball and rpms to the usual place:

  ftp://libvirt.org/libvirt/

I also pushed the python bindings at

  ftp://libvirt.org/libvirt/python

This release seems to be very heavy on new features, but under the hood
there is as usuall a number of bug fixes and refactoring patches:


New features:

- qemu: Add Hyper-V PV IPI and Enlightened VMCS support
  The QEMU driver now has support for Hyper-V PV IPI and Enlightened VMCS
  for Windows and Hyper-V guests.

- qemu: Added support for PCI devices on S390
  PCI addresses can now include the new zpci element which contains uid
  (user-defined identifier) and fid (PCI function identifier) attributes
  and makes the corresponding devices usable by S390 guests.

- Support changing IOThread polling parameters for a live guest
  Introduced virDomainSetIOThreadParams which allows dynamically setting
  the IOThread polling parameters used by QEMU to manage the thread
  polling interval and the algorithm for growth or shrink of the polling
  time. The values only affect a running guest with IOThreads. The
  guest's IOThread polling values can be viewed via the domain
  statistics.

- Xen: Add support for PVH
  The libxl driver now supports Xen's PVH virtual machine type. PVH
  machines are enabled with the new "xenpvh" OS type, e.g.
  xenpvh

- qemu: Added support for CMT (Cache Monitoring Technology)
  Introduced cache monitoring using the monitor element in cachetune for
  vCPU threads. Added interfaces to get and display the cache utilization
  statistics through the command 'virsh domstats' via the
  virConnectGetAllDomainStats API.

- qemu: Add support for nested HV for pSeries guests
  Nested HV support makes it possible to run nested (L2) guests with
  minimal performance penalty when compared to regular (L1) guests on
  ppc64 hardware.

Bug fixes:

- Xen: Handle soft reset shutdown event
  The pvops Linux kernel uses soft reset to handle the crash machine
  operation. The libxl driver now supports the soft reset shutdown event,
  allowing proper crash handling of pvops-based HVM domains.


  Thanks everybody for your contribution toward this release,
be it with ideas, bug reports, patches reviews, docs, localization...

Remember, next release should be around mid-January, 5.0.0,
in the meantime enjoy the release and end of years vacations you may have !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-4.9.0

2018-11-04 Thread Daniel Veillard
  Except an update to the news file no change was pushed to the tree since
RC! so that looks like stable enough for release and so I did. It's tagged
in git and signed tarball and rpms are available from the usual place:

   ftp://libvirt.org/libvirt/

I also tagged and pushed python bindings 4.9.0 release which can be found at

   ftp://libvirt.org/libvirt/python/


  This release is a mix, with one important new feature, the new cgroup v2
and one important security bug for libvirt sockets, users are invited to
upgrade:

New features:

- util: Add cgroup v2 support
cgroup v2 support has been implemented in libvirt, with both "unified"
(v2 only) and "hybrid" (v2 + v1) setups being usable; existing "legacy"
(v1 only) setups will keep working.

- qemu: Add vfio AP support
The QEMU driver now has support to passthrough adjunct processors into
QEMU guests on S390.

Improvements:

- rpc: Make 'genprotocol' output reproducible
This is another step towards making libvirt builds fully reproducible.

Bug fixes:

- security: Fix permissions for UNIX sockets
Since 4.5.0, libvirt is using FD passing to hand sockets over to QEMU,
which in theory removes the need for them to be accessible by the user
under which the QEMU process is running; however, other processes such
as vdsm need to access the sockets as well, which means adjusting
permissions is still necessary.

- cpu_map: Add Icelake model definitions
These CPU models will be available in the upcoming 3.1.0 QEMU release.

- util: Properly parse URIs with missing trailing slash
Some storage URIs were not parsed correctly, in which case libvirt
ended up emitting XML that it would then refuse to parse back.

  Thanks everybody for your contributions to this release whatever
form that took (ideas, bug reports, patches, reviews, docs ...),

enjoy !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-snmp-0.0.4

2018-10-25 Thread Michal Prívozník
It's out. After 6 years we have a new libvirt-snmp release. Yay. You can
obtain it from the usual sources:

  https://libvirt.org/sources/snmp/

I've pushed it into git and tagged. Thanks everybody who participated in
any form.

Changelog:
- Replace placeholder org OID with libvirt OID
- Fix object OIDs for SNMP traps
- Send sysUptime in traps
- Modernize spec file
- Cleaned up some old code and rewritten it to use new Libvirt APIs
- Fixed build with newer net-snmp package
- Some bug fixes


Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-4.8.0

2018-10-01 Thread Daniel Veillard
  It is out, as planned, tagged in git, the signed tarball and rpms are
at the usual place:

   ftp://libvirt.org/libvirt/

I also make a python binding release which include event testing updates,
you can find those at

   ftp://libvirt.org/libvirt/python/

 This is a relatively large release considering the number of patches going in
please note the Removed Feature section below:

New features:

- Xen: Support PM Suspend and Wakeup
The libxl driver now supports the virDomainPMSuspendForDuration and
virDomainPMWakeup APIs.

Removed features:

- Xen: Drop support for Xen 4.4 and 4.5
Xen 4.4 and 4.5 are no longer supported by the Xen community. Drop
support for these older versions and require Xen >= 4.6.

- nwfilter: Disallow binding creation in session mode
Ensure that a filter binding creation is not attempted in session mode
and generates a proper error message.

Improvements:

- qemu: Retrieve guest hostname through QEMU Guest Agent command
QEMU is now able to retrieve the guest hostname using a new QEMU-GA
command called 'guest-get-host-name'. Virsh users can execute
'domhostname' for QEMU driver for domains configured to use the Guest
Agent.

- virsh: Implement vsh-table in virsh and virsh-admin
The new API fixes problems with table-alignment, making the tables more
readable and deals with unicode.

Bug fixes:

- storage: Allow inputvol to be encrypted
When creating a storage volume based on another volume, the base input
volume is allowed to be encrypted.

- virsh: Require explicit --domain for domxml-to-native
The --domain option for domxml-to-native virsh command has always been
documented as required, but commit v4.3.0-127-gd86531daf2 accidentally
made it optional.

- lxc_monitor: Avoid AB / BA lock race
A deadlock situation could occur when autostarting a LXC domain 'guest'
due to two threads attempting to take opposing locks while holding
opposing locks (AB BA problem).

  Thanks everybody for your help with this release.

Enjoy !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-4.7.0

2018-09-03 Thread Daniel Veillard
  I didn't do this this week-end, that gave time to Andrea to update the release
notes :-) it's now tagged in git and signed tarball and rpms are pushed to the
usual place:

   ftp://libvirt.org/libvirt/

I also pushed a release 4.7.0 for the python bindings but they are virtually 
equivalent
to 4.6.0 ones, you can find them at

   ftp://libvirt.org/libvirt/python/

 This seems a reasonably large release, many commits, not that many people were 
in
vacations last month ! The resulting is a balanced release with new features,
improvements, and obviously the usual amount of bug fixes !


New features:

- storage: add storage pool iscsi-direct
  Introduce a new storage pool backend that uses libiscsi instead of
  iscsiadm. It support basic pool operations: checkPool and refreshPool.

- Add support for MBA (Memory Bandwidth Allocation technology)
  Domain vCPU threads can now have allocated some parts of host memory
  bandwidth by using the memorytune element in cputune.

- qemu: Add support for RISC-V guests
  riscv32 and riscv64 guest architectures are now supported.

Improvements:

- qemu: Add ccw support for vhost-vsock
  Support the vhost-vsock-ccw device on S390.

- qemu: Make default machine type independent of QEMU
  We can't control whether or not QEMU will change its default machine
  type in the future, or whether downstream distributions will decide to
  compile out some machine types, so our only option to provide a
  predictable behavior is taking care of the default ourselves;
  management applications and users are encouraged to explicitly pick a
  machine type when creating new guests.

- apparmor: Various improvements
  Rules have been added to deal with a number of scenarios that didn't
  work correctly.

Bug fixes:

- esx: Truncate CPU model name
  Some CPU model names are too long to be stored into the corresponding
  property, and should be explicitly truncated to avoid unexpected
  behavior in users of the virNodeGetInfo() API such as virsh nodeinfo.

- utils: Remove arbitrary limit on socket_id/core_id
  Both values were assumed to be smaller than 4096, but in fact they are
  entirely hardware-dependent and there have been reports of machines
  presenting much bigger values, preventing libvirt from working
  correctly; all such limits have now been removed.


  Thanks everybody for your help with this release be it with code, bug reports,
patch reviews, documentation, ...

   Enjoy !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-4.6.0

2018-08-06 Thread Daniel Veillard
  Okay it took a bit longer than usual but the relrase is out, it's tagged
in git and signed tarball and rpms have been pushed to the usual place, but
there was quite a few bug fixes going in after RC2 was cut.

  ftp://libvirt.org/libvirt/

I also made libvirt-python 4.6.0 bindings release in a similar fashion
available at :

  ftp://libvirt.org/libvirt/python/


  So though the release note don't list any bug fixes we know there is a
batch of those in, otherwise this is mainly features and improvement
targetting QEmu and virsh users:

New features:

- qemu: Implement the HTM pSeries feature
  Users can now decide whether HTM (Hardware Transactional Memory)
  support should be available to the guest.

- qemu: Enable VNC console for mediated devices
  Host devices now support a new atribute 'display' which can be used to
  turn on frame buffer rendering on a vgpu mediated device instead of on
  an emulated GPU, like QXL.

Improvements:

- qemu: Introduce a new video model of type 'none'
  Introduce a new video model type that disables the automatic addition
  of a video device to domains with 'graphics' specified in their XML.
  This can be useful with GPU mediated devices which can serve as the
  only rendering devices within the guest.

- virsh: Add --alias to attach-disk and attach-interface commands
  Add option --alias to set customized device alias name when using
  attach-disk or attach-interface commands.

- virsh: Support usb and sata address to attach-disk
  Usb or sata address could be used when attach-disk with --address. For
  example, use usb address as usb:., use sata address as
  ...

  Thanks everybody for your help with this release, hopefully the next
one beginning of Sept will be more timely !

  Enjoy,

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-4.5.0

2018-07-02 Thread Daniel Veillard
  As planned the release is out, it is tagged in git and I have pushed
the signed tarball and rpms to the usual place:

   ftp://libvirt.org/libvirt/

I also made a release of the python bindings 4.5.0 also tagged in git with
signed tarball and rpms at:

   ftp://libvirt.org/libvirt/python


 This release has a distinct flavour around security, with one added feature
and improvement in that direction but also removal of some features which might
prove insecure. Beside that a potential crasher was fixed so user are invited
to update to this new version:

New features:

- qemu: Provide TPM emulator support
  Support QEMU's TPM emulator based on swtpm. Each QEMU guest gets its
  own virtual TPM.

- bhyve: Support specifying guest CPU topology
  Bhyve's guest CPU topology could be specified using the  element.

- qemu: Add support for extended TSEG size
  Support specifying extended TSEG size for SMM in QEMU.

- qemu: Add support for SEV guests
  SEV (Secure Encrypted Virtualization) is a feature available on AMD
  CPUs that encrypts the guest memory and makes it inaccessible even to
  the host OS.

Removed features:

- Remove support for qcow/default encrypted volumes
  Disallow using a qcow encrypted volume for the guest and disallow
  creation of the qcow or default encrypted volume from the storage
  driver. Support for qcow encrypted volumes has been phasing out since
  QEMU 2.3 and by QEMU 2.9 creation of a qcow encrypted volume via
  qemu-img required usage of secret objects, but that support was never
  added to libvirt.

- Make GnuTLS mandatory
  Building without GnuTLS is no longer possible.

- qemu: Remove allow_disk_format_probing configuration option
  The option represented a security risk when used with malicious disk
  images, so users were recommended against enabling it; with this
  release, it's been removed altogether.

Improvements:

- capabilities: Provide info about host IOMMU support
  Capabilities XML now provide information about host IOMMU support.

- virsh: Add --all to domblkinfo command
  Alter the domblkinfo command to add the option --all in order to
  display the size details of each domain block device from one command
  in a output table.

- qemu: Allow concurrent access to monitor and guest agent
  Historically libvirt prevented concurrent accesses to the qemu monitor
  and the guest agent. Therefore two independent calls (one querying the
  monitor and the other querying guest agent) would serialize which hurts
  performance. The code was reworked to allow two independent calls run
  at the same time.

- qemu: Allow configuring the page size for HPT pSeries guests
  For HPT pSeries guests, the size of the host pages used to back guest
  memory and the usable guest page sizes are connected; the new setting
  can be used to request that a certain page size is available in the
  guest.

- Add support to use an raw input volume for encryption
  It is now possible to provide a raw input volume as input for to
  generate a luks encrypted volume via either virsh vol-create-from or
  virStorageVolCreateXMLFrom.

- qemu: Add support for vsock hot (un)plug and cold (un)plug

- qemu: Add support for NBD over TLS
  NBD volumes can now be accessed securely.

- qemu: Implement FD passing for Unix sockets
  Instead of having QEMU open the socket and then connecting to it, which
  is inherently racy, starting with QEMU 2.12 we can open the socket
  ourselves and pass it to QEMU, avoiding race conditions.

- virsh: Introduce --nowait option for domstat command
  When this option is specified, virsh will try to fetch the guest stats
  but abort instead of stalling if they can't be retrieved right away.

Bug fixes:

- qemu: Fix a potential libvirtd crash on VM reconnect
  Initialization of the driver worker pool needs to come before libvirtd
  trying to reconnect to all machines, since one of the QEMU processes
  migh have already emitted events which need to be handled prior to us
  getting to the worker pool initialization.

- qemu: Fix domain resume after failed migration
  Recent versions of QEMU activate block devices before the guest CPU has
  been started, which makes it impossible to roll back a failed
  migration. Use the late-block-activate migration capability if
  supported to avoid the issue.

- vmx: Permit guests to have an odd number of vCPUs
  An odd number of vCPUs greater than 1 was forbidden in the past, but
  current versions of ESXi have lifted that restriction.

  Thanks everybody for your contributions to this release, be it with
code, ideas, bug reports, patch reviews, documentation, etc...

   Enjoy the release !

Daniel


-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-4.4.0

2018-06-04 Thread Daniel Veillard
  It's finally out, tagged in git, with signed tarball and rpms at the usual
place:

  ftp://libvirt.org/libvirt/

I also made a 4.4.0 release for the python bindings that one can find at

  ftp://libvirt.org/libvirt/python/


  There is apparently more new features than improvements, and no bug fix in
this release, I would just guess that people don't feel like updating news.xml
on bug fixes, rather than no bug needing fixes for a full month. It may
still be a good idea to update to this release and not just for the fun of
testing new features !


New features:

bhyve: Support locking guest memory
Bhyve's guest memory may be wired using the
 element.

qemu: Provide VFIO channel I/O passthrough support
Support passthrough devices that use channel I/O based mechanism in a
QEMU virtual machine.

qemu: Add support for migration of VMs with non-shared storage over TLS
It's now possible to use the VIR_MIGRATE_TLS flag together with
VIR_MIGRATE_NON_SHARED_DISK. The connection is then secured using the
TLS environment which is setup for the migration connection.

Add support for VM Generation ID
The VM Generatation ID exposes a 128-bit, cryptographically random,
integer value identifier, referred to as a Globally Unique Identifier
(GUID) to the guest in order to notify the guest operating system when
the virtual machine is executed with a different configuration. Add a
new domain XML processing and a domain capabilities feature.

Introduce virDomainDetachDeviceAlias
This new API enables users to detach device using only its alias.

Introduce new virConnectCompareHypervisorCPU and
  virConnectBaselineHypervisorCPU APIs
Unlike the old virConnectCompareCPU and virConnectBaselineCPU APIs,
both new APIs consider capabilities of a specific hypervisor.

Introduce SCSI persistent reservations support
The QEMU driver gained support for qemu-pr-helper which enables guests
to issue SCSI commands for persistent reservation.

qemu: Implement multiple screen support for virDomainScreenshot
While the virDomainScreenshot API supported multihead video cards, the
implementation was missing. But now that QEMU implemented it libvirt
has done as well.

qemu: add support for vhost-vsock-device
A new vsock device was introduced, allowing communication between the
guest and the host via the AF_VSOCK family.

Improvements:

qemu: Add suport for OpenGL rendering with SDL
Domains using SDL as a graphics backend will now be able to use OpenGL
accelerated rendering.

qemu: Add support for 'output' audio codec
Support QEMU's 'hda-output' codec advertising only a line-out for ich6
and ich9 sound devices.

virsh: Enhance event name completion
Implement event name completion for some commands (e.g. event,
secret-event, pool-event and nodedev-event)


  Thanks for everybody who contributed to that feature rich release, be it
with code, ideas, reviews etc ... 

Hopefully it won't crash and burn,

   Enjoy and Banzai !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-4.3.0

2018-05-02 Thread Daniel Veillard
  As planned the release is done, it is tagged into git and I pushed
signed tarball and rpms to the usual place:

   ftp://libvirt.org/libvirt/

I also pushed a release of the python bindings libvirt-python 4.3.0 at

   ftp://libvirt.org/libvirt/python


  As usual this release is a balance of features, improvement and bug fixes,
however it is to note that this release also remove the Xen daemon based driver,
hopefully by now nobody uses such very old Xen version:

New features

- qemu: Add support for the pcie-to-pci-bridge controller
  Pure PCIe guests such as x86_64/q35 and aarch64/virt will now add this
  controller when traditional PCI devices are in use.

- Xen: Support setting CPU features for host-passthrough model
  The CPU model presented to Xen HVM domains is equivalent to libvirt's
  host-passthrough model, although individual features can be enabled and
  disabled via the cpuid setting. The libvirt libxl driver now supports
  enabling and disabling individual features of the host-passthrough CPU
  model.

Removed features

- Xen: Drop the legacy xend-based driver
  The xm/xend toolstack was deprecated in Xen 4.2 and removed from the
  Xen sources in the 4.5 development cycle. The libvirt driver based on
  xend is now removed from the libvirt sources.

Improvements

- qemu: Support hot plug and hot unplug of mediated devices
  Libvirt now allows mediated devices to be hot plugged and hot unplugged
  from a guest rather than reporting an error that this isn't supported.
  In fact, kernel has been supporting this since 4.10.

Bug fixes

- Improve handling of device mapper targets
  When starting a domain with a disk backed by a device mapper volume
  libvirt also needs to allow the storage backing the device mapper in
  CGroups. In the past kernel did not care, but starting from 4.16
  CGroups are consulted on each access to the device mapper target.

  thanks everybody for your help on building that release, be it with ideas,
code, patches, reviews, documentation, localization, etc...

   Enjoy this month's release,

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-4.2.0

2018-04-01 Thread Daniel Veillard
On Sun, Apr 01, 2018 at 01:53:54PM +0400, Roman Bogorodskiy wrote:
>   Daniel Veillard wrote:
> 
> >   Not April fool one, I made the release on time :-)
> > It's signed in git and signed tarball and rpms are pushed to the usual 
> > place:
> > 
> >   ftp://libvirt.org/libvirt/
> > 
> > I also pushed a python binding 4.2.0 release which can be found at:
> > 
> >   ftp://libvirt.org/libvirt/python/
> 
> Hi Daniel,
> 
> I can't see libvirt-python-4.2.0.tar.gz in
> ftp://libvirt.org/libvirt/python/.
> 
> Roman Bogorodskiy

  Oops, indeed I uploaded one level up, my bad, now fixed,

thanks for the report !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-4.2.0

2018-04-01 Thread Roman Bogorodskiy
  Daniel Veillard wrote:

>   Not April fool one, I made the release on time :-)
> It's signed in git and signed tarball and rpms are pushed to the usual place:
> 
>   ftp://libvirt.org/libvirt/
> 
> I also pushed a python binding 4.2.0 release which can be found at:
> 
>   ftp://libvirt.org/libvirt/python/

Hi Daniel,

I can't see libvirt-python-4.2.0.tar.gz in
ftp://libvirt.org/libvirt/python/.

Roman Bogorodskiy


signature.asc
Description: PGP signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Release of libvirt-4.2.0

2018-04-01 Thread Daniel Veillard
  Not April fool one, I made the release on time :-)
It's signed in git and signed tarball and rpms are pushed to the usual place:

  ftp://libvirt.org/libvirt/

I also pushed a python binding 4.2.0 release which can be found at:

  ftp://libvirt.org/libvirt/python/


New features

- Support building with Python 3
  Python is required to build libvirt, and up until now only Python 2
  could be used as an interpreter. All scripts used during build have now
  been made compatible with Python 3, which means both major releases of
  the language are fully supported.

- qemu: Provide ccw address support for graphics and input devices
  Support the virtio-gpu-ccw device as a video device and
  virtio-{keyboard, mouse, tablet}-ccw devices as input devices on S390.

Improvements

- qemu: Add logging of guest crash information on S390
  On S390, when the guest crashes and QEMU exposes the guest crash
  information, log the relevant data to the domain log file.

- qemu: use arp table of host to get the IP address of guests
  Find IP address of a VM by arp table on hosts. If someone customizing
  IP address inside VM, it will be helpful.

- Xen: Remove hard-coded scheduler weight
  The libxl driver was accidentally hard-coding the per-domain scheduler
  weight to 1000, silently ignoring any user-provided  in
  . The driver now honors , and defers setting a default
  value to Xen. Note that the Xen default is 256, so any domains started
  after this improvement will have one fourth the shares of previously
  started domains. If all domains must have equal CPU shares,
  administrators must manually set the weight of previously started
  domains to 256, or restart them.

there is no documented bug fix but there is quite a few there too :-)

  Thanks everybody for your help getting this release, with patches,
reviews, bug reports, documentation, etc. 

Enjoy !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release candidate 2 of libvirt-4.2.0 is available

2018-03-29 Thread Daniel Veillard
  As planned I tagged it on git and pushed signed tarball and rpms
to the usual place at:

   ftp://libvirt.org/libvirt/

 this is virtually identical to rc1, the only change between two versions
is a comment edit pushed by Dan !

  Still please give it a try, especially for other platforms and OSes,
so that when time of release come (this week-end) we have confidence on
those aspects of the release,

  thanks in advance,

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-4.0.0

2018-01-19 Thread Daniel Veillard
  First release of the year ! A bit late but it is now tagged in git
and signed tarball and rpms are at the usual place:

   ftp://libvirt.org/libvirt/

 I also pushed a release of the python bindings in git and at

   ftp://libvirt.org/libvirt/python/

This is a relatively small release, probably due to the end of year slowdown
though there is some notable addition:

* New features

- tools: Provide bash completion support.
  Both virsh and virt-admin now implement basic bash completion support.

- qemu: Refresh capabilities on host microcode update
  A microcode update can cause the CPUID bits to change; therefore, the
  capabilities cache should be rebuilt when such an update is detected on
  the host.

- lxc: Set hostname based on container name

* Improvements

- CPU frequency reporting improvements
  The CPU frequency will now be reported by virsh nodeinfo and other
  tools for s390 hosts; at the same time; CPU frequency has been disabled
  on aarch64 hosts because there's no way to detect it reliably.

- libxl: Mark domain0 as persistent

- Xen: Add support for multiple IP addresses on interface devices

- qemu: Add support for hot unplugging redirdev device

* Bug fixes

- qemu: Enforce vCPU hotplug granularity constraints
  QEMU 2.7 and newer don't allow guests to start unless the initial vCPUs
  count is a multiple of the vCPU hotplug granularity, so validate it and
  report an error if needed.

  thanks everybody for your help with this release, be it code, bug reports
reviews, documentation, etc ...

 Enjoy the new release !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-3.10.0

2017-12-04 Thread Daniel Veillard
  A little bit late but it's out, the new release is tagged in git and
signed tarball and rpms have been pushed to the usual place:

ftp://libvirt.org/libvirt/

I also pushed the corresponding release of python bindings at

ftp://libvirt.org/libvirt/python/


This release brings a significant set of new features and noticeable
improvements in addition to bug fixes:


New features:

- conf: Support defining distances between virtual NUMA cells
A NUMA hardware architecture supports the notion of distances between
NUMA cells. This can now be specified using the  element
within the NUMA cell configuration. Drivers which support this include
Xen and QEMU.

- Xen: Support defining vNUMA topology
Xen now supports defining a virtual NUMA topology for VMs, including
specifying distances between NUMA cells.

- qemu: Add the ability to configure HPT resizing for pSeries guests
The user can now decide whether HPT (Hash Page Table) resizing should
be enabled, disabled or required instead of leaving it up to hypervisor
defaults and negotiation between the guest and the host.

- qemu: Add vmcoreinfo feature
Starting with QEMU 2.11, the guest can save kernel debug details when
this feature is enabled and the kernel supports it. It is useful to
process kernel dump with KASLR enabled, and also provides various
kernel details to crash tools.

- conf: Move the auth and encryption definitions to disk source
Allow parsing and formatting of the auth and encryption sub-elements to
be a child of the source element. This will allow adding an auth
sub-element to a backingStore or mirror elements as a means to track
specific authentication and/or encryption needs.

Improvements:

- vbox: Add VirtualBox 5.2 support

- vbox: Add support for configuring storage controllers
The VirtualBox driver now supports the  element in the
domain XML for configuring storage controllers in VBOX VMs.
Additionally, libvirt's domain XML schema was updated to allow optional
model attribute for  which is used by the VBOX
driver to set the IDE controller model to be one of 'piix4', 'piix4'
(default), or 'ich6'. Finally, with this change dumpxml generates
 elements that correspond to current VBOX VM storage
controller configuration.

- vbox: Add support for attaching empty removable disks
The VirutalBox driver now supports adding CD-ROM and floppy disk
devices that do not have the disk source specified. Previously such
devices were silently ignored.

- vbox: Add support for attaching SAS storage controllers
In VirtualBox, SCSI and SAS are distinct controller types whereas
libvirt does not make such distinction. Therefore, the VBOX driver was
updated to allow attaching SAS controllers via  element. If there are both SCSI and SAS controllers
present in the VBOX VM, the domain XML can associate the disk device
using the  element with the controller attribute, and
optionally, set the port via unit attribute.

- qemu: Generate predictable paths for qemu memory backends
In some cases management applications need to know paths passed to
memory-backend-file objects upfront. Libvirt now generates predictable
paths so applications can prepare the files if they need to do so.

- Shareable disks work properly with recent qemu
Recent qemu versions added image locking to avoid potential corruption
of disk images. This broke shareable disks with libvirt since the
feature was turned on by default in qemu. Libvirt now enables sharing
of those disks in qemu so that the image locking is not applied in that
case. Additionally libvirt now checks that shareable disks have
supported format (raw) to avoid metadata corruption.

- Improve serial console behavior on non-x86 architectures
ppc64, aarch64 and s390x guests were treating the  and
 elements differently from x86, in some cases presenting
misleading information to the user. The behavior is now consistent
across all architectures and the information reported is always
accurate.

Bug fixes:

- vbox: Do not ignore failures to attach disk devices when defining
The define now fails and reports an error if any of the controller or
disk devices specified in the domain XML fail to attach to the
VirtualBox VM.

- vbox: Fix dumpxml to always output disk devices
The VirtualBox driver was ignoring any disk devices in dumpxml output
if there was a SAS storage controller attached to the VM.

- vbox: Fix dumpxml to always generate valid domain XML
When a VirtualBox VM has multiple disks attached, each to a different
storage controller that uses 'sd' prefix for block device names e.g.
one disk attached to SATA and one to SCSI controller, it no longer
generates XML where both would have 'sda' device name assigned. Instead
it properly assigns 'sda' and 'sdb' to those disks in the order of
appearance.

- Securely pass iSCSI authentication data
Rather than supplying the authentication data as part of the iSCSI URL
for a disk or host device, utilize the encrypted secret object to
securely pass the authentication data.


  Thanks 

[libvirt] Release of libvirt-3.9.0

2017-11-02 Thread Daniel Veillard
  It's out ! I tagged it on git and pushed signed tarball and rpms to
the usual place:

   ftp://libvirt.org/libvirt/

I also made a 3.9.0 release of libvirt-python but it's virtually equivalent
to 3.8.0 as no commit were made last month in that module.

People are strongly encouraged to upgrade, as 3.9.0 includes a security
fix, there is also a reasonable amount of user visible new features,
improvement and bug fixes as usual:


Security:

- qemu: Ensure TLS clients always verify the server certificate
While it's reasonable to turn off client certificate validation, as
setting it up can be non-trivial, clients should always verify the
server certificate to avoid MITM attacks. However, libvirt was using
the same knob to control both checks, leading to CVE-2017-1000256 /
LSN-2017-0002.

New features:

- Add capability to allow hot (un)plug of a domain watchdog device

- Allow users to set device aliases
Users can set aliases to domain devices and thus identify them easily.

- qemu: Support multiqueue for virtio-blk
Multiqueue support for virtio-blk has been available in QEMU ever since
2.7.0, and now libvirt guests can enable it.

- Add virDomainSetLifecycleAction API
Provided a new API to allow dynamic guest lifecycle control for guest
reactions to poweroff, restart, or crash type events related to the
domain XML on_poweroff, on_reboot, and on_crash elements. The virsh
set-lifecycle-action command was created to control the actions.

- qemu: Allow cold(un)plugging and hot(un)plugging input devices

- net: Implement QoS for vhostuser

Improvements:

- Allow a logical volume to be create using LUKS
A logical volume may be created using an encryption element using
"luks" format. This does require a previously created secret to store
the passphrase used to encrypt the volume Adding the volume to a domain
can then either provide the secret or allow the consumer in the guest
to provide the passphrase in order to decrypt the volume.

- net: Ignore auto-generated MAC address when detaching an interface
If the MAC address has not been specified by the user, libvirt will try
and fill in the gaps by generating one; however, for some error paths
that led to some confusing error messages, so when an auto-generated
MAC address is specified the error message will not include the
auto-generated MAC.

- net: Enable MAC address lookup for virDomainInterfaceStats

- apparmor: Several improvements
Changes include permitting access to data about USB devices and dnsmasq
instances, allowing spaces in guest names and many more.

- cpu: Use CPU information obtained from QEMU when possible
Recent QEMU versions can expose information about which CPU models are
available and usable on the host; libvirt will now make use of such
information whenever possible.

- hyperv: Various improvements
The error reported when clients can't connect to Hyper-V has been made
more descriptive, and memory limits for guests are now mapped to more
appropriate libvirt equivalents.

- qemu: Report QEMU error on failed migration
Instead of reporting a generic error, ask QEMU for a more detailed and
thus hopefully more helpful one.

- vbox: Implement autoport for RDP
libvirt will now obtain the (dynamically allocated) RDP port number
from VirtualBox itself, avoiding conflicts between multiple guests
wanting to use RDP at the same time.

- qemu: Allow rotation of small logs
On a host where numerous unique instances are executed per day, it's
quite possible that, even though each of the single log files are
fairly small, collectively the quantity and volume may add tens of
thousands of log files to the /var/log/libvirt/qemu/ directory.
Removing the constraints that log have to be bigger than 100 KiB before
they can be rotated solves the issue.

Bug fixes:

- Fix swapped interface statistics and QoS
Due to internal implementation, reported statistics for some types of
interfaces were swapped (RX appeared in TX and vice versa). Similarly,
QoS was set in reversed way.

- Properly resize local LUKS encrypted volume
Resizing of a local LUKS encrypted volume will now use qemu-img to
resize the volume. This will require configuring a secret for the LUKS
encrypted volume.

- qemu: Reserve PCI addresses for implicit i440fx devices
Failing to do so causes the addresses to be considered usable by
libvirt, which means they could be assigned to more than one device
resulting in the guest failing to start.

- spec: Restart libvirtd only at the end of the upgrade process
Use %posttrans to make sure libvirtd is not restarted before all other
components, such as the library itself and storage / hypervisor
drivers, have already been upgraded.

  Thanks everybody for your help with this release, be it with patches,
bug reports, ideas, reviews, docs, etc...

   Enjoy !


[libvirt] Release of libvirt-3.8.0

2017-10-04 Thread Daniel Veillard
  I tagged the tree and pushed the release earlier today, signed tarball
and rpms should be available at the usual place:

   ftp://libvirt.org/libvirt/

I also pushed the associated 3.8.0 for the python bindings which can be
found in the python subdir:

   ftp://libvirt.org/libvirt/

 This is a balanced release with new features especially for Qemu/KVM,
a reasonable set of improvement and bugs fixes:

New features:
-

- qemu: Added support for cold-(un)plug of watchdog devices

- qemu: Added support for setting IP address os usernet interfaces

- qemu: Added support for Veritas Hyperscale (VxHS) block devices

- storage: Added new events for pool-build and pool-delete

Improvements:
-

- qemu: Set DAC permissions properly for spice rendernode
When a rendernode path is set for SPICE GL on qemu:///system, we now
correctly set DAC permissions on the device at VM startup. This is the
last remaining hurdle to let SPICE GL work for qemu:///system without
any external host changes.

- nodedev: Add switchdev offload query to NIC capabilities
Allow querying the NIC interface capabilities for the availability of
switchdev offloading (also known as kernel-forward-plane-offload).

- New CPU models for AMD and Intel
AMD EPYC and Intel Skylake-Server CPU models were added together with
their features

- Improve long waiting when saving a domain
While waiting for a write to disk to be finished, e.g. during save,
even simple operations like virsh list would be blocking due to domain
lock. This is now resolved by unlocking the domain in places where it
is not needed.

* Bug fixes:


- Proper units are now used in virsh manpage for dom(mem)stats
Previously the documentation used multiples of 1000, but now it is
fixed to use multiples of 1024.

- qemu: Fix error reporting when disk attachment fails
There was a possibility for the actual error to be overridden or
cleared during the rollback.

- qemu: Fix assignment of graphics ports after daemon restart
This could be seen with newer kernels that have bug regarding
SO_REUSEADDR. After libvirtd was restarted it could assign already used
address to new guests which would make them fail to start. This is
fixed by marking used ports unavailable when reconnecting to running
QEMU domains.

- Fix message decoding which was causing a very strange bug
When parsing an RPC message with file descriptors was interrupted and
had to restart, the offset of the payload was calculated badly causing
strange issues like not being able to find a domain that was not
requested.

  thanks everybody who contributed to this release with bug reports, patches,
reviews, documentation, etc ...

   Enjoy the release !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-php-0.5.4

2017-08-02 Thread Michal Privoznik
I just did the release of libvirt-php-0.5.4. You can download it here:

  https://libvirt.org/sources/php/libvirt-php-0.5.4.tar.gz

There were several bug fixes, style conversions, etc.
New features include:
- Added API bindings for getting/setting network autostart
- Implement NWFilter API bindings
- examples enhancement
and many others. Thanks anybody who contributed!

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-3.6.0

2017-08-01 Thread Daniel Veillard
  As planned I tagged the release in git and generated signed tarball and rpms
for the release, they can be found at the usual place:

  ftp://libvirt.org/libvirt/

I also cut a libvirt-python-3.6.0 release, it is virtually identical to
3.5.0 except for the version bump (i.e. no commits) available at

  ftp://libvirt.org/libvirt/python/


  Version 3.6.0 seems to be a reasonably sized release, with a lot of QEmu
related commit, and a balance of features, improvements and bug fixes:

New features:

- hyperv: Implement virDomainSetMemory and virDomainSendKey APIs

- qemu: Support multiple PHBs for pSeries guests
pSeries guests can now have multiple PHBs (PCI Host Bridges), which
show up as separate PCI domains in the guest. To create additional
PHBs, simply add PCI controllers with model pci-root to the guest
configuration.

- qemu: Isolate hostdevs on pSeries guests
To enable better error reporting and recovery, unrelated hostdevs will
now be automatically isolated on pSeries guests by placing them on
separate PHBs (PCI Host Bridges).

Improvements:

- qemu: platform serial devices can now use chardev features
QEMU VMs that depend on platform serial devices can now use QEMU's
-chardev option, which enables access to advanced features like log
file configuration. This applies to the default serial devices for arm,
aarch64, and some ppc configurations.

- Require use of GCC 4.4 or Clang compilers
We only ever test libvirt with GCC or Clang (which provides a GCC
compatible compilation environment). Between them, these compilers
cover every supported operating system platform, including Windows.

- qemu: shared disks with directsync cache should be safe for migration
At present shared disks can be migrated with either readonly or
cache=none. But cache=directsync should be safe for migration, because
both cache=directsync and cache=none don't use the host page cache, and
cache=direct write through qemu block layer cache.

- Handle hotplug change on VLAN configuration using OVS
Libvirt was taught to handle VLAN change for running OVS interface.

Bug fixes:

- qemu: Use vCPU 'node-id' property and pass it back to qemu
vCPU properties gathered from query-hotpluggable-cpus need to be passed
back to QEMU. As QEMU did not use the node-id property until now and
libvirt forgot to pass it back properly (it was parsed but not passed
around) we did not honor this.

- Miscellaneous stream fixes
After introducing sparse stream features there were still some known
bugs left. Those are fixed in this release.

- qemu: Miscellaneous domain NS fixes
Libvirt starts qemu domains in separate Linux namespaces for a while
now. However, there were still some bugs lingering. For instance
libvirt did not know how to handle file based bind mounts.

- Various CPU driver improvements
There were some minor bugs when using 'host-model' CPU.

  Thanks everybody for your contributions to this release, be it with patches,
reviews, ideas, bug reports, documentation, etc ...

   Enjoy the release !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-3.5.0

2017-07-05 Thread Daniel Veillard
On Wed, Jul 05, 2017 at 01:29:08PM -0600, Jim Fehlig wrote:
> On 07/04/2017 03:04 PM, Daniel Veillard wrote:
> > I also made a release 3.5.0 of the python bindings with minimal changes
> > compared to 3.4.0, it can be found at:
> > 
> >  ftp://libvirt.org/libvirt/python/
> 
> FYI, I don't see the 3.5.0 tarball there.

  Whoops :-) my bad, I had put them one level up, should be corrected now !

> Regards,
> Jim

  thanks for the heads-up Jim !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-3.5.0

2017-07-05 Thread Jim Fehlig

On 07/04/2017 03:04 PM, Daniel Veillard wrote:

I also made a release 3.5.0 of the python bindings with minimal changes
compared to 3.4.0, it can be found at:

 ftp://libvirt.org/libvirt/python/


FYI, I don't see the 3.5.0 tarball there.

Regards,
Jim

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-3.5.0

2017-07-04 Thread Daniel Veillard
  As planned, it is out, I tagged it in git and pushed signed tarball and
rpms to the usual place:

ftp://libvirt.org/libvirt/

I also made a release 3.5.0 of the python bindings with minimal changes
compared to 3.4.0, it can be found at:

ftp://libvirt.org/libvirt/python/

 This is a balanced release with signiciant amounts of both new features,
improvements and bug fixes:


New features:

- qemu: Add support for loadparm for a boot device
Add an optional boot parameter 'loadparm' for a boot device. Loadparm
is an 8 byte parameter that, when present, is queried by S390 guests
via sclp or diag 308. Linux guests on S390 use it to select a boot
entry.

- Support controlling how video devices are exposed to the bhyve guests
The vgaconf attribute was added to video's driver element. Possible
values are: on, off, and io. It controlls the way how bhyve exposes
video devices to its guests; various guest OSes might require different
settings to boot properly.

- qemu: Add support for live updates of coalesce settings
Users can now use virsh update-device to change the coalesce settings
of an interfaces while the domain is running.

- qemu: Allow VirtIO devices to use vIOMMU
It is now possible to turn on IOTBL for the vIOMMU and have VirtIO
devices use it, provided they have been configured appropriately.

Improvements:

- qemu: block copy job can be used with persistent domains
Until now it was not possible to use block copy with persistent VMs. In
use cases where it's not required to recover the job after VM shutdown,
it's possible to specify VIR_DOMAIN_BLOCK_COPY_TRANSIENT_JOB flag to
start the copy job.

- JSON pseudo-protocol backing store parser supports new format of qemu 2.9
QEMU 2.9 modified a few structures corresponding to the JSON format of
specifying a backing store for a disk image. Libvirt now implements the
new format.

- Capabilities now include info about host's CAT settings
Various information about resource control from the host is gathered
and presented in capabilities if available.

- apparmor: Several improvements
Allow access to Ceph config, EFI firmware on both x86_64 and aarch64,
device tree on ppc64 and more.

- qemu: Support host-model on POWER9 machines

Bug fixes:

- qemu: snapshot: retrieve image metadata from user provided files
Disk images of an external snapshot created with
VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT flag specified would not be
scanned for metadata after recent changes. The metadata is necessary to
allow keeping relative paths between images when doing a block-commit.

- Parse decimal numbers in a locale-independent way
Some locales, such as de_DE and pt_BR, use comma rather than dot to
separate the integer part from the fractional part of a decimal number;
however, several data sources such as the kernel use a
locale-independent representation and need to be treated accordingly.

- Support compilation with newer compiler and libc versions
Several fixes have been included to make compilation with Clang 4.0.0,
GCC 7.1 and glibc >= 2.25.90 possible.

- qemu: Query name for vhost-user interfaces at runtime
This makes it possible to use virsh subcommands such as domiflist and
domifstat on vhost-user interfaces.

- qemu: Set MTU for hotplugged interfaces correctly
When hotplugging a network interface, the MTU was only set on the guest
side. Set it on the host side as well.

- qemu: Forbid updating MTU for interfaces of running guests
The MTU setting can't be modified while the guest is running, so any
attempt to alter it at runtime will now result in an error rather than
being silently ignored.

- qemu: Fix specifying QXL heads with older QEMU releases
Specifying the number of QXL heads was not working correctly for QEMU
releases older than 1.6.

- qemu: Fix migration to older libvirt/QEMU versions
When the guest is started, libvirt updates the CPU definition to
reflect the actual CPU features to enforce ABI. We need to send
original and updated CPU definition in order to support migration to
older libvirt/QEMU versions. Only the updated CPU definition was sent
to destination.


  So thanks everybody for your help toward this release, be it code,
bug reports, reviews ideas or doc, it's all appreciated !

  So please enjoy this new release !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-3.4.0

2017-06-02 Thread Daniel Veillard
  It's out ! The release is tagged in git, the tree is open ! I pushed
the signed tartball and rpms to the usual place:

   ftp://libvirt.org/libvirt/

I also rolled out the libvirt-python-3.4.0 release that you can find at

   ftp://libvirt.org/libvirt/python/

  This is a feature and improvements driven release, as you can see below
there is a number of point with direct user visible improvements:

* New features

- Improved streams to efficiently transfer sparseness
  New extension to virStream was implemented so that
  virStorageVolDownload and virStorageVolUpload can preserve file
  sparseness.

- I/O APIC type can be specified for QEMU/KVM domains
  The ioapic tag was added to domain features, so the type of the I/O
  APIC can now be specified (e.g. putting it in userspace for KVM
  domains).

- The reason for VM shutdown is reported, if known
  QEMU 2.10 will be able to report the reason for shutting down (whether
  that was caused by the guest or not), and libvirt is prepared for that
  and reports that information in its shutdown event as well, if it is
  known.

* Improvements

- Repository now has new README.md file
  The new file uses markdown syntax, so it looks better on github and
  possibly other web pages, but it has also more useful information. The
  old README is now symlink to the new file.

- qemu: Use GICv2 by default for aarch64/virt TCG guests
  The emulated GICv3 has some limitations that make it unusable as a
  default; use GICv2 until they're sorted out. This change makes it once
  again possible to run aarch64/virt guests on a x86_64 host without
  having to tweak their configuration.

- Additional capabilities for the node_device module
  Introduce two new capabilities to the node_device module. The first is
  for CCW devices, most common on the S390 architecture. The second is
  for fibre channel-backed SCSI devices and exposes the fc_remote_port
  sub-capability to SCSI target devices.

- Node devices now report Mediated device capabilities
  Endpoint devices support new mdev capability and their parents now
  report the supported types in new mdev_types capability.

- Capabilities now report information about host caches
  If supported in the kernel, host capabilities will now list L3 caches.
  The code for other levels was added as well, but only L3 caches are
  reported currently.

- POWER9 CPU model was added
  It is now properly reported in host capabilities.

- libxl: NUMA sibling distances are now reported in host capabilities

- VMDK version 3 files are now properly detected

- Interrupt remapping and Extended interrupt mode for IOMMU devices
  These two new features can now be controlled with new  tag for iommu devices.

- Graphics in libxl domains now have default addresses
  Even though there were default addresses before this change, they were
  not saved in the XML. It is now possible to see and control the listen
  addresses properly.

- Default USB controllers are now added for devices in libxl domains
  Even though they were added automatically when USB device was attached,
  they could've been missing in some other cases. The logic is now fixed
  so there are always USB controllers, even if there was none of them in
  the specified XML.

- Limits for RPC messages were increased
  Hitting the RPC limits we have is easier every day, so they were
  increased once again and some guessing logic was improved as well. It
  is now possible to get more stats than ever using the
  virConnectGetAllDomainStats() call and push through even bigger
  requests and replies for all APIs.

* Bug fixes

- qemu: Create memory_backing_dir on startup
  Libvirt's policy is that directories are created on startup if they
  don't exist. We've missed this one.

- PCIe 4.0 cards now report proper link speeds
  It could happen that the link speed for PCIe devices was not properly
  reported or the nodedev-dumpxml just failed. That was due to mistake in
  the field width, but should now work properly.

- qemu: Do not report errors on shutdown
  For some users, in some rare cases, it could happen that there was an
  error message "internal error: End of file from qemu monitor" in the
  logs even though no problem happened. The detection of these false
  positives was improved and such errors should not show any more.

- User-specified UNIX socket paths for virtio channels should not be reset
  It could happen, in some cases, that libvirt would mistake a
  user-specified path for its own generated one and thus remove it from
  the XML. The detection of such addresses was improved now.

- Fix address reservation during RNG hot-plug
  When error occurred in a specific point in time during the hot-plug of
  an RNG device, it could happen that an address was released even though
  another device was already using it, making it possible to hot-plug
  another device with that address, effectively having duplicated
  addresses in the XML.

  Thanks everybody for your help with the release, be it 

[libvirt] Release of libvirt-php-0.5.3

2017-05-11 Thread Michal Privoznik
I just did the release of libvirt-php-0.5.3. You can download it here:

  http://libvirt.org/sources/php/libvirt-php-0.5.3.tar.gz

There are 77 patches in this release (nearly 2x as much as in the
previous release). There were several bug fixes, style conversions, etc.
New features include:
- New APIs
- examples enhancement
- build system improvements
and many others. Thanks anybody who contributed!

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-3.3.0

2017-05-06 Thread Daniel Veillard
  I did the release yesterday evening, just sending this mail now. The
release has been tagged in git, I have pushed signed tarball and rpms to
the usual place at :

  ftp://libvirt.org/libvirt/

 I also pushed version 3.3.0 of the python bindings, same tagged in git and
signed tarball and rpms should be in their respective place:

  ftp://libvirt.org/libvirt/python/

 this is a balanced release with a fair amount of both new features and
improvements, in addition to a set of bug fixes:


* New features

 - net: Add support for coalesce settings
Enabling data batching through these settings can improve network
performance for guests.

 - qemu: Add support for guest CPU cache specification
This features allows fine-grained control of the cache behavior of the
guest CPU.

 - qemu: Add support for the qemu-xhci USB controller

* Improvements

 - hyperv: Support Hyper-V 2012 and newer
Starting with Hyper-V 2012 the API has changed causing the existing
driver to be unable to send and process requests properly. This has
been resolved by adding abstractions to handle the differences and ease
handling such breaks if they happen in the future.

 - libxl: Add support for nested HVM domains
Xen has supported nested HVM domains since version 4.4. The libvirt
libxl driver now supports nested HVM domains by specifying the
host-passthrough CPU mode when defining a domain.

 - qemu: Implement ACPI support for aarch64 guests
Up until this point, ACPI support was only advertised for x86_64 guests
and disabling it for aarch64 guests was not possible at all.

 - vz: Add support for changing the number of vCPUs

 - qemu: Automatically choose the best USB controller for guests
The recently introduced qemu-xhci USB controller is the best choice for
both ppc64 and aarch64 guests, so use it by default on those
architectures if available.

 - daemon: Increase default task limit for libvirtd
The default number of tasks for the pids cgroup controller is 512,
which libvirtd can quickly bump into when starting lots of guests.
Raise the limit to a more reasonable 32768.

 - docs: Include man pages describing key code names and values

 - virsh: Report initialization errors
Sometimes virsh might be unable to start: when that happens, report
useful diagnostics instead of failing silently.

* Bug fixes

 - nss: Don't require a network restart for libvirt_guest
Previously, the libvirt_guest NSS module would only work properly after
the corresponding network had been restarted; now newly started guests
will be reported correctly right away.

 - storage: Remove unavailable transient pools after restart
Solve an issue where transient storage pools would be stuck in an
unmanageable state if the source disappeared and libvirtd was
subsequently restarted.

 - storage: Fix capacity value for LUKS encrypted volumes
The 'capacity' value (e.g. guest logical size) for a LUKS volume is
smaller than the 'physical' value of the file in the file system, so we
need to account for that.

 - qemu: Fix regression when hyperv/vendor_id feature is used
Guests using the feature would not be started at all; it is now
possible to start them as expected.

 - qemu: Do not crash on USB address with no port and invalid bus

 - crypto: Always pad data before encrypting it
If this step is not performed, when the data length matches the chunk
size the decryption routines will misinterpret the last byte of data as
the padding length and fail to decode it correctly.


  Thanks everybody for your help toward this release, be it with patches,
documentation, bug reports, reviews ideas, etc ...

  Enjoy !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-3.2.0

2017-04-02 Thread Daniel Veillard
  As planned I tagged the release in git, the tree is now open for
development. A signed tarball and rpms are available from the usual place:

  ftp://libvirt.org/libvirt/

I also made release of the python bindings, libvirt-python-3,2,0 is available
from:

  ftp://libvirt.org/libvirt/python/

This new release includes a number of new user visible features as well
as some improvement and bug fixes too:

* New features

- The virt-host-validate tool now supports bhyve hypervisor

- Introduce NVDIMM memory model
NVDIMM is new type of memory introduced into QEMU 2.6. The idea is that
we have a non-volatile memory module that keeps the data persistent
across domain reboots and offers much faster data accesses. However,
due to a bug in QEMU, this feature is not enabled for QEMUs older than
2.9.0.

- qemu: Introduce support for generic PCIe Root Ports
For new controllers, a generic device (pcie-root-port) will be used by
default instead of the Intel-specific device (ioh3420), provided the
QEMU binary supports it.

- qemu: Add support for checking guest CPU ABI compatibility
When migrating a domain to a different host, restoring a domain from a
file or reverting a snapshot libvirt will make sure the guest CPU QEMU
presents to the guest OS exactly matches the one provided on the source
host (or before the domain's state was saved). This enhanced check may
also be requested when starting a new domain to ensure the virtual CPU
exactly matches the one specified in the XML.

- qemu: Add support to migrate using TLS
Add the ability to migrate QEMU guests using TLS via a new flag
VIR_MIGRATE_TLS or virsh migrate '--tls' option. Requires using at
least QEMU 2.9.0 in order to work properly.

- qemu: add mediated devices framework support
Recent kernel version introduced new mediated device framework, so
provide an initial support of this framework for libvirt, mainly by
introducing a new host device type in the XML.

- qemu: Add support for setting TSC frequency
Setting TSC frequency is required to enable migration for domains with
'invtsc' CPU feature turned on.

- Add support for block device threshold event
When using thin provisioning, management tools need to resize the disk
in certain cases. To avoid having them to poll disk usage this version
introduces an event which will be fired when a given offset of the
storage is written by the hypervisor. Together with the API it allows
registering thresholds for given storage backing volumes and this event
will then notify management if the threshold is exceeded. Currently
only the qemu driver supports this.

- bhyve: Add support for UEFI boot ROM, VNC, and USB tablet
The bhyve driver now supports booting using the UEFI boot ROM, so
non-FreeBSD guests that support UEFI could be booted without using an
external boot loader like grub-bhyve. Video is also supported now,
allowing to connect to guests via VNC and use an USB tablet as an input
device. Please refer to the driver page for domain XML examples.

* Improvements

- qemu: Detect host CPU model by asking QEMU on x86_64
Previously, libvirt detected the host CPU model using CPUID
instruction, which caused libvirt to detect a lot of CPU features that
are not supported by QEMU/KVM. Asking QEMU makes sure we don't start it
with unsupported features.

- perf: Add more perf statistics
Add support to get the count of cpu clock time, task clock time, page
faults, context switches, cpu migrations, minor page faults, major page
faults, alignment faults, emulation faults by applications running on
the platform.

- Write hyperv crash information into vm log
qemu's implementation of the hyperv panic notifier now reports
information about the crash from the guest os. Starting with this
version, libvirt logs the information to the vm log file for possible
debugging.

* Bug fixes

- QEMU: Use adaptive timeout for connecting to monitor
When starting qemu, libvirt waits for qemu to create the monitor socket
which libvirt connects to. Historically, there was sharp 30 second
timeout after which the qemu process was killed. This approach is
suboptimal as in some scenarios with huge amounts of guest RAM it can
take a minute or more for kernel to allocate and zero out pages for
qemu. The timeout is now flexible and computed by libvirt at domain
startup.

- Overwrite (clear) 2 KB instead of just 512 bytes when initializing
logical device

- Describe the logical backend requirements better for pool-create-as


   Thanks everybody for your help with this release, be it with ideas,
bug reports, patches, reviews, localization, docs ...

   Enjoy !

Daniel

-- 
Daniel Veillard  | Red Hat Developers Tools http://developer.redhat.com/
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] The libvirt Release Notes Game, v3.0.0 edition

2017-01-19 Thread intrigeri
Hi,

Andrea Bolognani:
> Hello everyone, and welcome to the libvirt Release Notes
> Game, v3.0.0 edition!

Sorry I've hadn't time to take care of my bits in time for the
release!

I humbly suggest setting an explicit deadline next time, which might
help people like me prioritize their work better :)

Cheers,
-- 
intrigeri

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-3.0.0

2017-01-18 Thread Peter Krempa
On Wed, Jan 18, 2017 at 08:51:48 +0100, Christian Borntraeger wrote:
> On 01/17/2017 07:40 PM, Daniel Veillard wrote:
> >   So I got mixed reports in the last day about the state of the head
> > but one of the big issues seems solved, and I'm not sure keeping the
> > freeze much longer will help, so libvirt-3.0.0 is out. It's tagged in
> > git, signed tarball and rpms are available at thet usual place:
> 
> Very unfortunate.
> Can we please spin a 3.0.1 with namespaces disabled soon?

You can disable them in /etc/libvirt/qemu.conf with option 'namespaces'
(at the end of the example file).

Peter


signature.asc
Description: PGP signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Release of libvirt-3.0.0

2017-01-17 Thread Christian Borntraeger
On 01/17/2017 07:40 PM, Daniel Veillard wrote:
>   So I got mixed reports in the last day about the state of the head
> but one of the big issues seems solved, and I'm not sure keeping the
> freeze much longer will help, so libvirt-3.0.0 is out. It's tagged in
> git, signed tarball and rpms are available at thet usual place:

Very unfortunate.
Can we please spin a 3.0.1 with namespaces disabled soon?

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-3.0.0

2017-01-17 Thread Daniel Veillard
  So I got mixed reports in the last day about the state of the head
but one of the big issues seems solved, and I'm not sure keeping the
freeze much longer will help, so libvirt-3.0.0 is out. It's tagged in
git, signed tarball and rpms are available at thet usual place:

  ftp://libvirt.org/libvirt/

I also pushed python bindings release too which one can find at

  ftp://libvirt.org/libvirt/python/

It includes a fair amount of changes despite the slowdown around the end of
year break:

 * New features

- Domain events for metadata content changes
The domain events framework has a new event ID that can be used to get
notifications when domain metadata content changes.

- Event notifications for the secret object
The secret object now supports event notifications, covering lifcycle
changes and secret value changes.

- New localPtr attribute for "ip" element in network XML

- qemu: Support QEMU group I/O throttling
Add the capability to allow group I/O throttling via a new domain
  subelement "group_name" to allow sharing I/O throttling
quota between multiple drives.

- nss: Introduce libvirt_guest
New libvirt_guest nss module that translates libvirt guest names into
IP addresses.

- daemon: Add support for runtime logging settings adjustment
Logging-related settings like log outputs and filters can now be
adjusted during runtime using the admin interface without the necessity
of the daemon's restart.

- storage: Add virStorageVolInfoFlags API
Add the API to support using the VIR_STORAGE_VOL_GET_PHYSICAL flag in
order to return the host physical size in bytes of the image container
in the allocation field of the _virStorageVolInfo structure. The
--physical flag has been added to the virsh vol-info command to access
the data.

- libxl: Implement virDomainGetMaxVcpus API

- storage: Add overwrite flag checking for logical pool
Add support for the OVERWRITE flags for the logical storage backend
including checking for existing data on the target volumes when
building a new logical pool on target volume(s).
- qemu: Add support for guest CPU configuration on s390(x)

  * Improvements

- perf: Add more perf statistics
Add support to get the count of branch instructions executed, branch
misses, bus cycles, stalled frontend cpu cycles, stalled backend cpu
cycles, and ref cpu cycles by applications running on the platform.

- conf: Display  for volume xml
Add a display of the  size of a disk volume in the output of
the volume XML.

- qemu: Use virtio-pci by default for aarch64 mach-virt guests
virtio-pci provides several advantages over virtio-mmio, such as the
ability to hotplug devices and improved performance. While opting in to
virtio-pci has been possible for a while, newly-defined guests will now
use it automatically.

- vbox: remove support for VirtualBox 3.x and older
Those old VirtualBox versions have been unsupported by upstream for a
long time and the API of 4.0 and newer has diverged enough to require
code abstractions to handle differences. Removing support for those old
versions drops lots of code from the driver and simplifies the logic to
ease implementation of new features going forward.

- virsh: pool-info: introduce option --bytes
Add option --bytes to virsh pool-info in order ti allow display of
units in bytes rather than default of human readable output.

- scsi: Add parent wwnn/wwpn or fabric capability for createVport
Improve the algorithm searching for the parent scsi_host device for
vHBA/NPIV scsi_host creation. Rather than supplying the "parent" by
name, it's now possible to define the parent by it's wwnn/wwpn or
fabric_wwn in the node device create XML or the storage pool XML.

- qemu: aggregate pcie-root-ports onto multiple functions of a slot
When pcie-root-ports are added to pcie-root in order to provide a place
to connect PCI Express endpoint devices, libvirt now aggregates
multiple root ports together onto the same slot (up to 8 per slot) in
order to conserve slots. Using this method, it's possible to connect
more than 200 endpoint devices to a guest that uses PCIe without
requiring setup of any PCIe switches.

  * Bug fixes

- lxc: fix accidental killing of containers during libvirtd restart
The libvirt_lxc process was previously not moved into the container
scope. As a result, if systemd reloads its config after a container is
started, when libvirtd is later restarted it will accidentally kill the
containers.

- qemu: Correct GetBlockInfo values
For an active domain, correct the physical value provided for 

Re: [libvirt] The libvirt Release Notes Game, v3.0.0 edition

2017-01-11 Thread Andrea Bolognani
On Wed, 2017-01-11 at 17:26 +0100, Jiri Denemark wrote:
> >   * Collin L. Walling, Jason J. Herne
> > - 79d7201   s390: Cpu driver support for update and compare
> >   ..d47db7b qemu: command: Support new cpu feature argument syntax
> 
> None of these really deserves a NEWS item, but CPU config support for
> s390 in general is the thing we should mention. I'll try to come up with
> something.

What I wanted to convey is that the series of commits
starting at 79d7201 and ending at d47db7b, as a whole,
should have an entry in the release notes, exactly
because of the s390 CPU stuff :)

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] The libvirt Release Notes Game, v3.0.0 edition

2017-01-11 Thread John Ferlan


On 01/11/2017 11:21 AM, Andrea Bolognani wrote:
> Hello everyone, and welcome to the libvirt Release Notes
> Game, v3.0.0 edition!
> 

...

>   * John Ferlan
> - 2b13361   nodedev: Add the ability to create vHBA by parent wwnn/wwpn 
> or fabric_wwn
> 

Completed and pushed (it was in process anyway)


John

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] The libvirt Release Notes Game, v3.0.0 edition

2017-01-11 Thread Jiri Denemark
On Wed, Jan 11, 2017 at 17:21:33 +0100, Andrea Bolognani wrote:
...
> Please note that, unlike you, I don't have intimate knowledge
> of each and every line of code you've ever contributed to
> libvirt, and as such might have misjudged the weight and
> scope of the commits listed below, but that's the whole
> point: the only person worthy of documenting a change in the
> release notes is the author of the change himself! That said,
> if you feel that any of the changes below should not end up
> in the release notes feel free to raise an objection :)
...
>   * Collin L. Walling, Jason J. Herne
> - 79d7201   s390: Cpu driver support for update and compare
>   ..d47db7b qemu: command: Support new cpu feature argument syntax

None of these really deserves a NEWS item, but CPU config support for
s390 in general is the thing we should mention. I'll try to come up with
something.

Jirka

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] The libvirt Release Notes Game, v3.0.0 edition

2017-01-11 Thread Andrea Bolognani
Hello everyone, and welcome to the libvirt Release Notes
Game, v3.0.0 edition!

Here's the deal: libvirt v3.0.0 is right around the corner,
and so it's about time we get the release notes into shape.

Most of the work has thankfully already been done during the
development cycle, by bundling release notes entries with
the code that implements the actual changes; however, some
changes have managed to fly under the radar so far. Not
documenting them properly in the release notes would be a
disservice to our users, and would undersell what is once
again a terrific release - I'd venture as far as calling it
the best one of 2017!

I've gone through all the commits between v2.5.0 and now,
and highlighted the changes that look like they should be
part of the release notes. Look for your name in the list
below, and spend a few minutes to craft a beautiful release
notes entry for each of the highlighted changes, then send
the patch to the list as usual. Feel free to CC: me for a
guaranteed[1] swift review!

Please note that, unlike you, I don't have intimate knowledge
of each and every line of code you've ever contributed to
libvirt, and as such might have misjudged the weight and
scope of the commits listed below, but that's the whole
point: the only person worthy of documenting a change in the
release notes is the author of the change himself! That said,
if you feel that any of the changes below should not end up
in the release notes feel free to raise an objection :)

Happy documenting! ^^


  * Cédric Bosdonnat
- a30b08b   libxl: define a per-domain logger.
- 340bb6b   libxl: add QED disk format support

  * Collin L. Walling, Jason J. Herne
- 79d7201   s390: Cpu driver support for update and compare
  ..d47db7b qemu: command: Support new cpu feature argument syntax

  * Daniel P. Berrange
- c500701   Add domain event for metadata changes
  ..dc2bfdc Update remote_protocol-structs for new events
- 44f79a0   lxc: ensure libvirt_lxc and qemu-nbd move into systemd machine 
slice

  * intrigeri
- de79efd   AppArmor policy: support merged-/usr.
  ..a73e703 AppArmor: allow QEMU to set_process_name.

  * John Ferlan
- 2b13361   nodedev: Add the ability to create vHBA by parent wwnn/wwpn or 
fabric_wwn

  * Laine Stump
- 9838cad   conf: use struct instead of int for each slot in 
virDomainPCIAddressBus
  ..5949b53 conf: eliminate virDomainPCIAddressReleaseSlot() in favor of 
...Addr()

  * Lin Ma
- 2922cd9   cpu: Add support for more AVX512 Intel features
  ..c80e6b9 cpu: Add support for pku and ospke Intel features for Memory 
Protection Keys

  * Marc Hartmayer
- c344d4b   conf: simplify functions virDomainSCSIDriveAddressIsUsedBy*()
  ..36d9965 tests: add test cases for address conflicts

  * Maxim Nestratov
- ef5c8bb   qemu: Fix pit timer tick policy=delay
  ..245d9ba tests: Add "no-kvm-pit-device" testcase

  * Mehdi Abaakouk
- 013df87   Gathering vhostuser interface stats with ovs

  * Michal Privoznik
- f55afd8   qemu: Create hugepage path on per domain basis

  * Nikolay Shirokovskiy
- 61a0026   qemu: Fix xml dump of autogenerated websocket

  * Pavel Glushchak
- 5bafa1d   vz: set PVMT_DONT_CREATE_DISK migration flag
  ..b1f916a vz: added VIR_MIGRATE_NON_SHARED_INC migration flag support

  * Peter Krempa
- b469853   qemu: blockjob: Fix locking of block copy/active block commit
- f61e406   qemu: snapshot: Properly handle image locking
- a4ed5b4   qemu: Don't try to find compression program for "raw" memory 
images
- 9e93055   qemu: block copy: Forbid block copy to relative paths

  * Pino Toscano
- 408a1ce   rpc: libssh: allow a NULL known_hosts file
  ..1a5de3f remote: do not check for an existing config dir


[1] Or you money back!
-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Release of libvirt-2.5.0

2016-12-04 Thread Daniel Veillard
  As planned I have tagged the release in git and pushed signed tarball
and rpms to the usual place:

  ftp://libvirt.org/libvirt/

I also pushed 2.5.0 for the python bindings at:

  ftp://libvirt.org/libvirt/python/

thanks everybody for your help getting this release out,

enjoy !

Daniel

-- 
Daniel Veillard  | Open Source and Standards, Red Hat
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-2.4.0

2016-11-03 Thread Daniel Veillard
  It's out ! Not hearing any negative feedback on the release candidates
I went ahead, this is tagged in git and signed tarball and rpms are now
at the usual place:

   ftp://libvirt.org/libvirt/


I also made a libvirt-python release though it is virtually identical to
2.3.0, to be found at:

   ftp://libvirt.org/libvirt/python/


 this release is on the small side, leass than 250 commits were pulled in,
mostly bugfixes and incremental improvement. Main user visible one being
the one for I/O throtling and tuning:

Documentation:
- docs: remove obsolete library.xen file (Daniel P. Berrange)
- doc: update virsh domstats documentation for vcpu statistics (Viktor 
Mihajlovski)
- doc: Describe the VCPU states returned by virsh vcpuinfo (Viktor Mihajlovski)
- virsh: Fix typos in manpage (Nitesh Konkar)
- virsh: Fix commas in manpage to enhance readability. (Nitesh Konkar)
- docs: Alter descriptions of perf cpu_cycles (John Ferlan)
- docs: Add PCP as monitoring application (Marko Myllynen)
- docs: Fix typo in libvirt-domain.h parameter description (John Ferlan)

Portability:
- virLogDefineOutputs: Fix build without syslog.h (Michal Privoznik)
- virt-yajl: Fix detection of yajl requirements (Martin Kletzander)

Bug Fixes:
- vsh: Pass correct values for command line completion (John Ferlan)
- vsh: Using VSH_REQUIRE_OPTION rather than virReportError (Kothapally Madhu 
Pavan)
- network: fix endless loop when starting network with multiple IPs and no dhcp 
(Laine Stump)
- qemu_driver: unlink new domain cfg file when rollback (Chen Hanxiao)
- qemu: Fix crash during qemuStateCleanup (Nikolay Shirokovskiy)
- daemon: Fix crash during daemon cleanup (Nikolay Shirokovskiy)
- qemu: Forbid pinning vCPUs for TCG domain (Chen Hanxiao)
- Recreate the USB address cache at reconnect (Ján Tomko)
- Fix crash on usb-serial hotplug (Ján Tomko)
- virsh: Fix on_shutdown to on_poweroff (Martin Kletzander)
- qemu, lxc: Raise error message when resuming running domain (Sławek Kapłoński)
- qemu: Fix depedency order in qemuRemoveDiskDevice (John Ferlan)
- qemu: Move TLS object remove from DetachChr to RemoveChr (John Ferlan)
- libxl: fix leaking of allocated migration ports (Jim Fehlig)
- domain: fix migration to older libvirt (Pavel Hrdina)
- domain_conf: fix memory leak in virDomainDefAddConsoleCompat (Pavel Hrdina)
- bhyve: Need to add parameter to virDomainChrDefNew (John Ferlan)
- networkValidate: Forbid new-line char in network name (Sławek Kapłoński)
- qemu: always generate the same alias for tls-creds-x509 object (Pavel Hrdina)
- qemu_hotplug: fix crash in hot(un)plugging chardev devices (Pavel Hrdina)
- util: Alter return value of virReadFCHost and fix mem leak (John Ferlan)
- schema: smbios: allow any strings (Peter Krempa)
- qemu: command: escape smbios entry strings (Peter Krempa)
- testNodeGetCellsFreeMemory: Fix off by one error (Michal Privoznik)
- virsh: vcpuinfo: Report proper vcpu numbers and data for offline VMs (Peter 
Krempa)
- virsh: Fix xpath queries for retrieving vcpu count (Peter Krempa)
- conf: Fix virDomainShmemDefFind (Martin Kletzander)
- qemu: migration: Disallow migration of read only disk (Corey S. McQuay)
- tests: Need to initialize data (John Ferlan)
- vsh: Fix some issues in auto completion code (John Ferlan)
- util: Resolve memory leaks in virLogParse{Output|Filter} (John Ferlan)
- tools: Exclude Xen dom0 from libvirt-guests.sh list (Stefan Bader)
- tools: Ignore newlines in libvirt-guests.sh guest list (Stefan Bader)
- qemu: fix command line building for iommu devices (Daniel P. Berrange)
- qemu: monitor: Properly configure backend for UDP chardevs (Peter Krempa)
- qemu: attach: Close monitor socket on connection failure (Peter Krempa)
- qemu: Don't strictly require JSON monitor for vCPU detection (Peter Krempa)

Improvements:
- qemu: Minimalize global driver accesses (Michal Privoznik)
- vz: remove Bridged network name and rename Routed (Maxim Nestratov)
- vz: support type=bridge network interface type correctly (Maxim Nestratov)
- Do not try to release virtio serial addresses (Ján Tomko)
- Return directly from qemuDomainAttachChrDeviceAssignAddr (Ján Tomko)
- Introduce virDomainVirtioSerialAddrAutoAssign again (Ján Tomko)
- Add 'FromCache' to  virDomainVirtioSerialAddrAutoAssign (Ján Tomko)
- wireshark: Rename plugindir to ws_plugindir (Andrea Bolognani)
- wireshark: Inject $(prefix) at the right time (Andrea Bolognani)
- wireshark: Strip prefix correctly (Andrea Bolognani)
- wireshark: Hoist $ws_prefix declaration (Andrea Bolognani)
- wireshark: Introduce $ws_modversion (Andrea Bolognani)
- qemu: Add support for using AES secret for SCSI hotplug (Gema Gomez)
- qemu: Add secret object hotplug for TCP chardev TLS (John Ferlan)
- qemu: Add a secret object to/for a char source dev (John Ferlan)
- qemu: Need to remove TLS object in RemoveRNGDevice (John Ferlan)
- virsh: Add _length parameters to virsh output (John Ferlan)
- virsh: Create macros to add IOTUNE values (John Ferlan)
- qemu: Add the length 

Re: [libvirt] Release of libvirt-2.3.0

2016-10-04 Thread Daniel Veillard
On Tue, Oct 04, 2016 at 09:24:42PM +0200, Jean-Marc Liger wrote:
> Le 04/10/2016 à 19:29, Daniel Veillard a écrit :
> 
> >We are a little late but that allowed us to catch a regression before it 
> > impacted
> > the release :)
> >I have tagged the release in git, pushed signed tarball and rpms to the 
> > usual place:
> > 
> >  ftp://libvirt.org/libvirt/
> > 
> > I also pushed the associated python bindings release available at:
> > 
> >  ftp://libvirt.org/libvirt/python/
> 
> Daniel,
> 
> You run too fast,
> 
> libvirt-python-2.3.0 is missing

  Oops uploaded to the other directory, it was there just one level up,
should be fixed now,

  thanks Jean-Marc !

Daniel

> Regards,
> Jean-Marc
> 
> >   This is a release of moderate size, around 250 commits, with a balance of 
> > features
> > bugs fixes and improvements:
> > 
> > 
> > Features:
> > - Improvements on CPU models (Jiri Denemark)
> > - More performance metrics and events (Qiaowei Ren, John Ferlan)
> > 
> > Documentation:
> > - docs: correct version requirements for 

Re: [libvirt] Release of libvirt-2.3.0

2016-10-04 Thread Jean-Marc Liger

Le 04/10/2016 à 19:29, Daniel Veillard a écrit :


   We are a little late but that allowed us to catch a regression before it 
impacted
the release :)
   I have tagged the release in git, pushed signed tarball and rpms to the 
usual place:

 ftp://libvirt.org/libvirt/

I also pushed the associated python bindings release available at:

 ftp://libvirt.org/libvirt/python/


Daniel,

You run too fast,

libvirt-python-2.3.0 is missing

Regards,
Jean-Marc


  This is a release of moderate size, around 250 commits, with a balance of 
features
bugs fixes and improvements:


Features:
- Improvements on CPU models (Jiri Denemark)
- More performance metrics and events (Qiaowei Ren, John Ferlan)

Documentation:
- docs: correct version requirements for 

[libvirt] Release of libvirt-2.3.0

2016-10-04 Thread Daniel Veillard

  We are a little late but that allowed us to catch a regression before it 
impacted
the release :)
  I have tagged the release in git, pushed signed tarball and rpms to the usual 
place:

ftp://libvirt.org/libvirt/

I also pushed the associated python bindings release available at:

ftp://libvirt.org/libvirt/python/

 This is a release of moderate size, around 250 commits, with a balance of 
features
bugs fixes and improvements:


Features:
- Improvements on CPU models (Jiri Denemark)
- More performance metrics and events (Qiaowei Ren, John Ferlan)

Documentation:
- docs: correct version requirements for 

[libvirt] Release candidate 2 of 2.3.0 is available

2016-10-01 Thread Daniel Veillard
On Tue, Sep 27, 2016 at 10:14:36PM +0200, Daniel Veillard wrote:
>  Then I will try to push rc2 on Thursday, that way the final release can 
> happen
> during the week-end or on Monday if all goes well,

   I fogot. So you get RC2 today at the usual place signed tarball and 
rpms
at:

  ftp://libvirt.org/libvirt/

also tagged in git.

  Thanks Guido for the feedback on the Debian builds for rc1, please give it 
more testing,
I will try to push Monday evening or Tuesday morning unless something bad 
pops-up !

   Thanks,

Daniel

-- 
Daniel Veillard  | Open Source and Standards, Red Hat
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-2.2.0

2016-09-02 Thread Daniel Veillard
  Since the issue I had with rc2 was apparently just on my setup, I just pushed 
the release.
It is available as usual as signed tarball and rpms from :

   ftp://libvirt.org/libvirt/

I also pushed 2.2.0 for the python bindings which you can find at:

   ftp://libvirt.org/libvirt/python/

This is not a very big release, around 220 commits, august sounds like 
vacations, plus a number
of the developpers travelled to KVM forun so development took a bit of a hit. 
As a result we
have a release more inclined toward bug fixes though there is some features and 
notable improvements:

Features:
- Sparse vCPU topologies support and assorted vCPU improvements (Peter Krempa)
- Various improvements and fixes for vz driver (Olga Krishtal, Nikolay 
Shirokovskiy, Maxim Nestratov, Pavel Glushchak, Mikhail Feoktistov)
- Various improvements and fixes for libxl driver (Cédric Bosdonnat, Jim 
Fehlig, Chunyan Liu, Roman Bogorodskiy)

Documentation:
- docs: Add missing / to closing tag (Christophe Fergeau)
- doc: clarify documentation for vcpu order (Peter Krempa)
- storage_backend_rbd: fix typos (Chen Hanxiao)
- qemu_driver: update comments for qemuDomainSaveInternal (Chen Hanxiao)
- virsh: clarify snapshot --live (Chen Hanxiao)

Portability:
- conf: Fix build with picky GCC (Peter Krempa)
- tests: fix domaincapstest linking for libxl (Roman Bogorodskiy)
- libxl: fix unused functions (Roman Bogorodskiy)
- docs: Distribute subsite.xsl (Michal Privoznik)
- nsslinktest: also build virAtomic.h (Kai Kang)
- build: centralize use of extra Cygwin LDFLAGS (Eric Blake)
- build: use XDR_CFLAGS for Cygwin build (Eric Blake)

Bug Fixes:
- tests: fix segfault in objecteventtest (Roman Bogorodskiy)
- bhyve: fix disks address allocation (Roman Bogorodskiy)
- Check for --live flag for postcopy-after-precopy migration (Kothapally Madhu 
Pavan)
- qemu: driver: Validate configuration when setting maximum vcpu count (Peter 
Krempa)
- conf: Don't validate vcpu count in XML parser (Peter Krempa)
- qemu: driver: Fix qemuDomainHelperGetVcpus for sparse vcpu topologies (Peter 
Krempa)
- vz: fixed race in vzDomainAttach/DettachDevice (Olga Krishtal)
- qemu: fix ethernet network type ip/route assign (Vasiliy Tolstov)
- Fix remote_protocol-structs after recent commit (Peter Krempa)
- network: Need to free formatted addr in networkDnsmasqConfContents (John 
Ferlan)
- remove the dead code this patch is to remove the dead code Signed-off-by: 
JieWang  (JieWang)
- qemu: Fix crash hot plugging luks volume (John Ferlan)
- networkxml2conftest: Don't leak dnsmasq capabilities (Michal Privoznik)
- vz: fixed race in vzDomainAttach/DettachDevice (Olga Krishtal)
- qemu: Fix the command line generation for rbd auth using aes secrets (John 
Ferlan)
- qemu_process: graphics: setup listen types before ports are 
reserved/allocated (Pavel Hrdina)
- conf: Provide error on undefined iothreadsched entry (John Ferlan)
- utils: storage: Fix JSON field name for uri based storage (Peter Krempa)
- conf: free the ports array of a USB hub (Ján Tomko)
- lxc: don't try to reference NULL when mounting filesystems (Daniel P. 
Berrange)
- lxc: don't try to resolve a NULL path for filesystems (Daniel P. Berrange)
- virsh: Fix core for cmdSecretGetValue (John Ferlan)
- virschematest: Make sure that validator is initialized (Michal Privoznik)
- cpu_x86: fix libvirtd crash when host cpu vendor is not available (Jim Fehlig)
- virschematest: Initialize @data (Michal Privoznik)
- schema: Don't validate paths (Michal Privoznik)
- virNetDevMacVLanCreateWithVPortProfile: Don't mask virNetDevMacVLanTapOpen 
error (Michal Privoznik)
- qemu: fix qemu.conf security_driver (Cole Robinson)
- conf: restrict expander buses to connect only to a root bus (Laine Stump)
- conf: restrict where dmi-to-pci-bridge can be connected (Laine Stump)
- conf: don't allow connecting upstream-port directly to pce-expander-bus 
(Laine Stump)
- conf: improve error log when PCI devices don't match requested controller 
(Laine Stump)
- virt-admin: Fix the error when an invalid URI has been provided (Erik 
Skultety)
- cpu_x86: Fix host-model CPUs on hosts with CMT (Jiri Denemark)
- virt-admin: Properly fix the default session daemon URI to admin server (Erik 
Skultety)
- admin: Fix the default uri for session daemon to libvirtd:///session (Erik 
Skultety)
- virsystemd: Fix error check (Marc Hartmayer)
- lxcDomainCreateXMLWithFiles: Avoid crash (Michal Privoznik)
- storage: Don't remove the pool for buildPool failure in storagePoolCreate 
(John Ferlan)
- storage: Fix a NULL ptr dereference in virStorageBackendCreateQemuImg (Erik 
Skultety)
- tests: Fix broken build (John Ferlan)
- qemu: fix capability counting (Boris Fiuczynski)
- virObjectEventNew: Use virObjectUnref() to free virObjectEvent (Michal 
Privoznik)
- virshConnect: Don't leak polkit agent (Michal Privoznik)
- conf: events: Fix coverity warning (Cole Robinson)
- Don't error when attaching security label of model "none" (Daniel P. 

Re: [libvirt] Release of libvirt-2.1.0

2016-08-08 Thread Daniel Veillard
On Fri, Aug 05, 2016 at 12:09:42AM +0200, Jiri Denemark wrote:
> On Tue, Aug 02, 2016 at 10:57:17 +0200, Daniel Veillard wrote:
> >Sorry I didn't push an rc2 on Friday, finishing my move, but not seeing 
> > any
> > issue raised by rc1, I though it was better to push the final release now 
> > and free
> > up the tree for pending development. As a result 2.1.0 is tagged in git and 
> > I
> > pushed signed tarbal and rpms to the usual place:
> > 
> > ftp://libvirt.org/libvirt/
> 
> Unfortunately, the v2.1.0 tag is wrong. It points to
> 30bb6139d69833ffc1dc70aa1196cf88e2648590, but the actual release commit
> pushed on master is 1fa8fd1a9b23ed57f1d5a7690b38524ed6e09703.
> 
> Could you please drop the tag and generate a new one?
> 
> Thanks,
> 
> Jirka

  Okay fixed now :-)

  thanks !

Daniel

-- 
Daniel Veillard  | Open Source and Standards, Red Hat
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-2.1.0

2016-08-04 Thread Jiri Denemark
On Tue, Aug 02, 2016 at 10:57:17 +0200, Daniel Veillard wrote:
>Sorry I didn't push an rc2 on Friday, finishing my move, but not seeing any
> issue raised by rc1, I though it was better to push the final release now and 
> free
> up the tree for pending development. As a result 2.1.0 is tagged in git and I
> pushed signed tarbal and rpms to the usual place:
> 
> ftp://libvirt.org/libvirt/

Unfortunately, the v2.1.0 tag is wrong. It points to
30bb6139d69833ffc1dc70aa1196cf88e2648590, but the actual release commit
pushed on master is 1fa8fd1a9b23ed57f1d5a7690b38524ed6e09703.

Could you please drop the tag and generate a new one?

Thanks,

Jirka

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-2.1.0

2016-08-03 Thread Daniel Veillard
On Tue, Aug 02, 2016 at 02:46:34PM +0100, Justin Clift wrote:
> On 2 Aug 2016, at 09:57, Daniel Veillard  wrote:
> >   Sorry I didn't push an rc2 on Friday, finishing my move, but not seeing 
> > any
> > issue raised by rc1, I though it was better to push the final release now 
> > and free
> > up the tree for pending development. As a result 2.1.0 is tagged in git and 
> > I
> > pushed signed tarbal and rpms to the usual place:
> > 
> >ftp://libvirt.org/libvirt/
> 
> It's working for OSX too. (whew!) :)
> 
> Libvirt 2.1.0 is now available through OSX Homebrew.

  Cool, thanks Justin !

Daniel

> + Justin
> 
> --
> "My grandfather once told me that there are two kinds of people: those
> who work and those who take the credit. He told me to try to be in the
> first group; there was less competition there."
> - Indira Gandhi

-- 
Daniel Veillard  | Open Source and Standards, Red Hat
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-2.1.0

2016-08-02 Thread Justin Clift
On 2 Aug 2016, at 09:57, Daniel Veillard  wrote:
>   Sorry I didn't push an rc2 on Friday, finishing my move, but not seeing any
> issue raised by rc1, I though it was better to push the final release now and 
> free
> up the tree for pending development. As a result 2.1.0 is tagged in git and I
> pushed signed tarbal and rpms to the usual place:
> 
>ftp://libvirt.org/libvirt/

It's working for OSX too. (whew!) :)

Libvirt 2.1.0 is now available through OSX Homebrew.

+ Justin

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-2.1.0

2016-08-02 Thread Daniel Veillard
   Sorry I didn't push an rc2 on Friday, finishing my move, but not seeing any
issue raised by rc1, I though it was better to push the final release now and 
free
up the tree for pending development. As a result 2.1.0 is tagged in git and I
pushed signed tarbal and rpms to the usual place:

ftp://libvirt.org/libvirt/


  I didn't gave as much eyeballing to this release as usual, but this is still
a fairly big one with more than 300 commits. It is heavilly pushed toward
improvements of the code base, some major changes and fixes in the vz driver
and less bug fixes than the usual ratio:


Documentation:
- docs: Add Kimchi as Web Application (Ramon Medeiros)
- docs: Update docs to reflect LUKS secret changes (John Ferlan)
- docs: remove outdated suggestion to make patches with "diff -urp"/"git diff" 
(Laine Stump)

Portability:
- Fix RPM spec for wireshark on Fedora < 24 (Daniel P. Berrange)
- libvirt.spec.in: Adapt to newest wireshark plugindir (Michal Privoznik)
- virt-wireshark: Properly substract wireshark prefix (Michal Privoznik)
- virConfGetValueSSizeT: Fix build on 32 bits (Michal Privoznik)
- tests: command: Fix build on ppc64/aarch64 (Andrea Bolognani)
- libvirt.spec.in: require systemd-container on >= f24 (Daniel P. Berrange)
- build: drop hack for old mingw ssize_t (Eric Blake)
- build: virrandommock.c not needed on mingw (Eric Blake)
- maint: update to latest gnulib (Martin Kletzander)
- mingw-libvirt.spec.in: add perl + perl(Getopt::Long) BRs (Daniel P. Berrange)
- mingw-libvirt.spec.in: fix packaging of admin API and other bugs (Daniel P. 
Berrange)

Bug Fixes:
- storage: Document wiping formatted volume types (Martin Kletzander)
- qemu: remove panic dev models s390 and pseries when migrating (Boris 
Fiuczynski)
- schema: fix resolved interfaces of network type (Nikolay Shirokovskiy)
- qemu: fix domain id after domainCreateWithFlags() (Sascha Silbe)
- tests: qemu: Don't leak security manager object (Peter Krempa)
- qemu: Need to free fileprops in error path (John Ferlan)
- iscsi: Establish connection to target via static target login (John Ferlan)
- tools: Make use of the correct environment variables (Erik Skultety)
- qemu: Adjust the cur_ballon on coldplug/unplug of dimms (Shivaprasad G Bhat)
- virconf: Fix config file path construction (Erik Skultety)
- util: qemu: Don't generate any extra commas in virQEMUBuildCommandLineJSON 
(Peter Krempa)
- tests: qemuxml2xml: Avoid crash when processing an XML that fails to parse 
(Peter Krempa)
- conf: events: handle NULL uuid (Jovanka Gulicoska)
- lxc: Don't crash by forgetting to ref transient domains (Martin Kletzander)
- vz: handle gracefully races on undefining domain (Nikolay Shirokovskiy)
- qemu: Disallow usage of luks encryption if aes secret not possible (John 
Ferlan)
- storage: Fix error path (John Ferlan)
- lxc: errors after the handshake won't be reported (Cédric Bosdonnat)
- vsh: Properly initialize res (John Ferlan)
- conf: Need to check for glisten before accessing (John Ferlan)
- tests: Need to check return of virGetLastError (John Ferlan)
- tools: Fix comparison in virLoginShellGetShellArgv (John Ferlan)
- util: Fix incorrect VIR_FREE in virConfGetValueStringList (John Ferlan)
- fs: Fix '<' comparison of value produced by logical not '!' (Erik Skultety)
- security: compilation error due to wrong parameter for vah_add_path(). (Julio 
Faracco)
- vz: don't fail unregister on sending event error (Nikolay Shirokovskiy)
- vz: dont remove domain from list on client object error (Nikolay Shirokovskiy)
- vz: restore accidentally removed locks around close callback calls (Nikolay 
Shirokovskiy)
- vz: fixed null-pointer dereference in applying graphic params (Olga Krishtal)
- vz: fix destination domain synchronization (Nikolay Shirokovskiy)
- vz: fix memory leaks in prlsdkLoadDomains (Nikolay Shirokovskiy)
- vz: fix missed defined domain event (Nikolay Shirokovskiy)
- vz: don't pass empty and unused fields in migration cookie (Nikolay 
Shirokovskiy)
- qemu: Fix migration from old libvirt (Jiri Denemark)
- qemu: Drop default channel path during migration (Jiri Denemark)
- qemu: Copy complete domain def in qemuDomainDefFormatBuf (Jiri Denemark)
- conf: Make really sure we don't access non-existing vCPUs again (Martin 
Kletzander)
- conf: Make really sure we don't access non-existing vCPUs (Martin Kletzander)
- qemu: getAutoDumpPath() return value should be dumpfile not domname. (Yan Fu)
- systemd: fix ready notification on abstract socket (Jim Fehlig)
- virCommandExec: Report error if execve fails (Michal Privoznik)
- storage: dir: adapts .wipeVol for ploop volumes (Olga Krishtal)
- virconf: fix off-by-1 when appending \n to config file (Daniel P. Berrange)
- qemuxml2argvmock: Don't leak @netdef->ifname (Michal Privoznik)
- qemuxml2argvtest: Don't leak dummy monitor (Michal Privoznik)
- qemuDomainObjPrivateFree: Free @masterKey too (Michal Privoznik)
- qemuBuildCpuCommandLine: Don't leak @buf (Michal Privoznik)
- 

[libvirt] Release of libvirt-2.0.0

2016-07-01 Thread Daniel Veillard
  It's out ! As planned I tagged it in git and made available signed
tarball and rpms at the usual place:

   ftp://libvirt.org/libvirt/


I also pushed a libvirt-python-2.0.0 release that can be found at:

   ftp://libvirt.org/libvirt/python/


  Independantly of the major bump in numbering scheme (see the document
at http://libvirt.org/downloads.html#numbering for new mechanism) this is
a major release in terms of the number of commits included, more than 500.
This includes user visible changes and APIs, a very large amount of bug fixes
and massive set of improvements:

Features:
- Many improvements in Xen support (Jim Fehlig, Philipp Hahn, Chunyan Liu)
- Many improvements in OpenVZ support (Nikolay Shirokovskiy, 
mfeoktis...@virtuozzo.com)
- Guest agent vCPU APIs (Peter Krempa)
- storage lifecycle event APIs (Jovanka Gulicoska)
- CPU type detection (Jiri Denemark)

Documentation:
- Document to not rely on virConnectGetMaxVcpus API (Shivaprasad G Bhat)
- add help document relevant to default mapping of credentials to machines 
(yuelongguang)
- docs: Fix whitespace in output (John Ferlan)
- util: fix a typo (Chen Hanxiao)
- docs: virsh: Added note for the dump command (Jaroslav Suchanek)
- docs: Add at least some docs and fix schema entry for perf events (Peter 
Krempa)
- virsh: Fix help string for net-dumpxml (sannyshao)
- doc: Fix explanation of S3 and S4 states (Jingjing Shao)
- docs: Clarify chardev protocol (John Ferlan)
- docs: Document our event loop (Michal Privoznik)

Portability:
- libvirt.spec.in: Use libnl-devel for RHEL-6 (Jean-Marc Liger)
- qemuDomainDeviceDefValidate: Drop unused qemuCaps (Jiri Denemark)
- vz: Fix indentation in prlsdkGetNetAddresses() (Andrea Bolognani)
- Revert "util: new function virNetDevIPInfoAddToDev" (Ján Tomko)
- Revert "conf: allow setting peer address in  element of " (Ján 
Tomko)
- Revert "conf: support host-side IP/route information in " (Ján 
Tomko)
- Revert "util: support setting peer for virNetDevIPInfo addresses" (Ján Tomko)
- Revert "lxc: support setting host-side IP addresses/routes" (Ján Tomko)
- Revert "qemu: support setting host-side IP addresses/routes" (Ján Tomko)
- Clean up after virNetDevIP creation (Andrea Bolognani)
- util: netdevip: Include vircommand.h (Andrea Bolognani)
- qemu: support setting host-side IP addresses/routes (Laine Stump)
- lxc: support setting host-side IP addresses/routes (Laine Stump)
- util: support setting peer for virNetDevIPInfo addresses (Laine Stump)
- conf: support host-side IP/route information in  (Laine Stump)
- conf: allow setting peer address in  element of  (Vasiliy 
Tolstov)
- util: new function virNetDevIPInfoAddToDev (Laine Stump)
- lxc: move debug/error log when adding IP addresses to virNetDevIPAddrAdd 
(Laine Stump)
- conf: clean up after adding calls to virNetDevIPInfo helpers (Laine Stump)
- qemu: forbid setting guest-side IP address/route info of  (Laine 
Stump)
- conf: use virNetDevIPInfo for guest-side  config (Laine Stump)
- conf: use virNetDevIPInfo in virDomainHostdevCaps (Laine Stump)
- conf: single object containing list of IP addresses, list of routes (Laine 
Stump)
- util: move IP route & address object-related functions to virnetdevip.c 
(Laine Stump)
- util: new files virnetdevip.[ch] for IP-related netdev functions (Laine Stump)
- conf/openvz: eliminate incorrect/undocumented use of  
(Laine Stump)
- qemu: eliminate memory leaks when converting NetDefs to type='ethernet' 
(Laine Stump)
- qemu: don't set/clear NetDef IP addresses in qemuConnectDomainXMLToNative() 
(Laine Stump)
- conf: new function virDomainNetDefClear (Laine Stump)
- virHostCPUGetInfo: Fix build on non-Unix like systems (Michal Privoznik)
- Fix build without xen (Martin Kletzander)
- bhyve: add missing virhost(cpu|mem).h headers (Roman Bogorodskiy)
- hostcpu: fix build on FreeBSD (Roman Bogorodskiy)
- nodeinfo: fix build on non-Linux (Roman Bogorodskiy)
- domain_conf: silence gcc warnings (Pavel Hrdina)
- vz: fixed build by including necessary headers (Maxim Nestratov)
- nodeinfo: remove FreeBSD specific code for getting memory (Daniel P. Berrange)
- util: Alter virCryptoEncryptData for non GNUTLS builds (John Ferlan)


Bug Fixes:
- conf: Don't free the constructed string in 
virDomainGetBlkioParametersAssignFromDef (Peter Krempa)
- conf: def: Avoid unnecessary allocation of 'perf' events definition (Peter 
Krempa)
- docs: Warn against locked memory limit too high (Jiri Denemark)
- qemu: SCSI hostdev hot-plug: Fix automatic creation of SCSI controllers (Marc 
Hartmayer)
- qemu: hot-plug: Fix broken SCSI disk hot-plug (Marc Hartmayer)
- qemu: Let empty default VNC password work as documented (Jiri Denemark)
- admin: fix virt-admin startup crash by calling virAdmInitialize (Erik 
Skultety)
- Fix possible invalid read in adminClientGetInfo (Ján Tomko)
- virStorageTranslateDiskSourcePool: Avoid double free (Michal Privoznik)
- logging: fixing log level initialization from cmdline (Jaroslav Suchanek)
- vz: fix build for virNetDev* 

[libvirt] Release of libvirt-1.3.5

2016-06-04 Thread Daniel Veillard
  Things didn't go as planned, I got stuck in travels etc, so I didn't
push rc2 as expected earlier and I could not do any release on Friday.
So I broke the rule and pushed today without an rc2, that's exceptional,
but there was no negative feedback on RC1 and I didn't want to freeze
development any longer, so the tree is open. Signed tarball and rpms
are available at the usual place:

ftp://libvirt.org/libvirt/

I also made a python binding release but it is virtually identical to 1.3.4

  This is a very large release with more than 500 commits !
There is clear user visible new features, and an lot of code (and spec!)
cleanups. Nonetheless libvirt-1.3.5.tar.gz is 5 Megabytes bigger than
libvirt-1.3.4.tar.gz, likely due to a large update to localizations !
  As usual a fair amount of bug fixes are included:

Features:
- admin: Introduce virAdmClientGetInfo API (Erik Skultety)
- Various improvement on bhyve driver (Roman Bogorodskiy, Fabian Freyer)
- Various improvement on libxl driver (Jim Fehlig, Chunyan Liu)

Documentation:
- Refresh po files from zanata (Daniel P. Berrange)
- cpu: Fix documentation of cpuGetModels (Jiri Denemark)
- docs: fix  since version (Ján Tomko)
- docs: formatdomain: document virtio-mmio device addresses (Cole Robinson)
- schemas: Improve outdated comment (Christophe Fergeau)
- docs: Fix disk "volume" description (John Ferlan)
- docs: fix version number in vlan tagging documentation (Laine Stump)
- tools: virt-host-validate: fix missing translation marker (Bjoern Walk)
- docs: Reformat the Controllers description (John Ferlan)
- docs: clarify disk iothread support (John Ferlan)
- docs: align spelling of S390 (Boris Fiuczynski)

Portability:
- virDomainChrGetDomainPtrsInternal: Return an integer (Michal Privoznik)
- virSocketAddrIsPrivate: Work on 32bits platforms (Michal Privoznik)
- makefile: fix build on systems where gnutls is not in /usr/include (Pavel 
Hrdina)
- util: fix build without GNUTLS (Mikhail Feoktistov)
- tests: qemu: test  with aarch64 (Cole Robinson)
- tests: Link virtestmock with probes (Michal Privoznik)
- libvit.spec.in: Add missing BuildRequires against sheepdog (Daniel P. 
Berrange)
- libvirt.spec.in: remove client only build option (Daniel P. Berrange)
- uml: only build on Linux (Roman Bogorodskiy)
- virNetServerClientNewPostExecRestart: Avoid align problems (Michal Privoznik)
- build: fix 32-bit build of admin (Eric Blake)

Bug Fixes:
- Fix building with -Og (Martin Kletzander)
- virPerfEventIsEnabled: Don't crash on shut off domains (Michal Privoznik)
- virDomainFormatSchedDef: Avoid false positive NULL dereference (Michal 
Privoznik)
- ppc64Compute: Avoid possible NULL dereference (Michal Privoznik)
- network: restart dnsmasq after adding/removing txt and srv records (Laine 
Stump)
- QXL: fix reloading of vram64 attribute (Pavel Hrdina)
- esxStorageVolGetXMLDesc: Lookup SCSI lun properly (Michal Privoznik)
- qemuMonitorTextGetAllBlockStatsInfo: Fix line validation (Michal Privoznik)
- lxc: Fix virLXCDomainObjBeginJob position in lxcDomainSetMemoryParameters 
(Katerina Koukiou)
- esx: do not store escaped password in esxVI_Context. (Dawid Zamirski)
- qemu: Fix error message when PCI bridge has index <= bus (Andrea Bolognani)
- daemon: cleanup state drivers in order reverse to init order (Nikolay 
Shirokovskiy)
- esx: use newer virtualHW version for 5.1+ hosts (Dawid Zamirski)
- esx: Add VMCI device for virtualHW >= 7 (Dawid Zamirski)
- esx: use lsilogic adapter type in vol create. (Dawid Zamirski)
- libxl: default to qemu driver for network disks (Jim Fehlig)
- lxc: Fix lxcDomainDestroyFlags endjob processing (John Ferlan)
- qemu: Remove unused persistentAddrs (John Ferlan)
- xenconfig: xm: check for driver on disk format (Joao Martins)
- nwfilter: fix lock order deadlock (Maxim Nestratov)
- maint: fix syntax-check sc_prohibit_int_ijk exclude rule (Pavel Hrdina)
- vz: add error code for case if vm is already stopped (Mikhail Feoktistov)
- storage: do not clear vols before volume upload (Ján Tomko)
- util: Fix error path for virPCIGetVirtualFunctions (John Ferlan)
- tests: Add forgotten backslash (Michal Privoznik)
- qemu: bulk stats: Don't access possibly blocked storage (Peter Krempa)
- qemu_cgroup: allow access to /dev/dri for virtio-vga (Ján Tomko)
- Revert "qemu_hotplug: fix checking graphics ports" (Pavel Hrdina)
- util: Remove disabling of autologin for iscsi-targets (Fritz Elfert)
- xenFormatNet: correct `type=netfront' to 'type=vif' to match libxl (Chunyan 
Liu)
- libxl: Free migration cookie (John Ferlan)
- qemu: command: Use -name guest= if available (Cole Robinson)
- qemu: command: escape commas in chardev socket path (Cole Robinson)
- qemu: command: escape commas in VNC socket path (Cole Robinson)
- qemu: command: escape commas in secret master path (Cole Robinson)
- qemu: command: escape commas in VM name (Cole Robinson)
- admin: Fix passing an incorrect readonly attribute to virNetServerServiceNew 
(Erik Skultety)
- cpuGetModels: Fix 

Re: [libvirt] Release of libvirt-1.3.4

2016-05-03 Thread Daniel P. Berrange
On Mon, May 02, 2016 at 09:18:45AM +0200, Jiri Denemark wrote:
> On Sun, May 01, 2016 at 09:42:20 +0300, Yuri Chornoivan wrote:
> > Just a quick note about translations. It is very discouraging to see the  
> > release dated with 2016 with translations dated back in 2014. Personally,  
> > I worked hard to update translation to the latest catalog from Zanata just  
> > to see it is not used. :'(
> 
> Hi Yuri,
> 
> The omission of updated translation files in libvirt releases is
> definitely not intended. I suspect this is some kind of bug in DV's
> release process. I hope he will sort it out soon. Anyway, thanks for
> reporting this, we don't use localized libvirt which makes it impossible
> for us to notice when anything gets wrong with translations.

It looks like the translation file update and pulled translations from
the old unused Transifex install, instead of from Zanata

Regards,
Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-1.3.4

2016-05-02 Thread Jiri Denemark
On Sun, May 01, 2016 at 09:42:20 +0300, Yuri Chornoivan wrote:
> Just a quick note about translations. It is very discouraging to see the  
> release dated with 2016 with translations dated back in 2014. Personally,  
> I worked hard to update translation to the latest catalog from Zanata just  
> to see it is not used. :'(

Hi Yuri,

The omission of updated translation files in libvirt releases is
definitely not intended. I suspect this is some kind of bug in DV's
release process. I hope he will sort it out soon. Anyway, thanks for
reporting this, we don't use localized libvirt which makes it impossible
for us to notice when anything gets wrong with translations.

Jirka

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-1.3.4

2016-05-01 Thread Yuri Chornoivan
написане Sun, 01 May 2016 05:17:53 +0300, Daniel Veillard  
:



  As planned, it's out ! I tagged the release in git and pushed the
signed tarball and rpms to the usual place:
   ftp://libvirt.org/libvirt/
I also pushed the corresponding libvirt-python release to
   ftp://libvirt.org/libvirt/python/
 This is a rather large release especially considering that it's only
a bit over 3 weeks since 1.3.3 went out. The amount of changes related
to documentation and portability (especially FreeBSD and old Linuxes/gcc)
is larger than usual  . And as usual quite a lot of incremental
improvements, internal refactoring of code and bug fixes !


Hi,

Many thanks for those involved in this release preparation.

Just a quick note about translations. It is very discouraging to see the  
release dated with 2016 with translations dated back in 2014. Personally,  
I worked hard to update translation to the latest catalog from Zanata just  
to see it is not used. :'(


A tutorial on how to make releases from libguestfs team:

http://libguestfs.org/guestfs-hacking.1.html

Quote:

Push and pull from Zanata.

Run:

 zanata push
to push the latest POT files to Zanata. Then run:

 ./zanata-pull.sh
which is a wrapper to pull the latest translated *.po files.

A script to pull translations:

set -e

echo zanata po pull
zanata po pull

# Remove PO files that have no translations in them.
for f in po/*.po do
if ! grep -q '^msgstr "[^"]' $f; then
echo rm $f
rm $f
fi
done

Libvirt team should either remove the translation infrastructure to not  
fool around Fedora translators or use the translations properly (as it  
does Ubuntu with its LP translations).


Thanks for your time on reading this.

Best regards,
Yuri

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Release of libvirt-1.3.4

2016-04-30 Thread Daniel Veillard
  As planned, it's out ! I tagged the release in git and pushed the
signed tarball and rpms to the usual place:

ftp://libvirt.org/libvirt/

I also pushed the corresponding libvirt-python release to

ftp://libvirt.org/libvirt/python/

  This is a rather large release especially considering that it's only
a bit over 3 weeks since 1.3.3 went out. The amount of changes related
to documentation and portability (especially FreeBSD and old Linuxes/gcc)
is larger than usual :-) . And as usual quite a lot of incremental
improvements, internal refactoring of code and bug fixes !


Features:
- Lot of work on documentation (Andrea Bolognani, Cole Robinson)
- Add support for migration data compression (ShaoHe Feng, Nikolay 
Shirokovskiy, Eli Qiao)

Documentation:
- Fix minor typos in messages (Yuri Chornoivan)
- docs: Pass relative paths to apibuild.py (Andrea Bolognani)
- man: Fix links (Andrea Bolognani)
- man: Fix SYNOPSIS section (Andrea Bolognani)
- man: Fix NAME section (Andrea Bolognani)
- build: Standardize on .pod -> .x.in -> .x (Andrea Bolognani)
- build: Perform post-processing on all man pages (Andrea Bolognani)
- build: Build man pages in $(builddir) (Andrea Bolognani)
- build: Extract pod from source files (Andrea Bolognani)
- build: Ship virt-admin.pod (Andrea Bolognani)
- docs: Fix some formatting oddities (Andrea Bolognani)
- syntax-check: Enforce  inside  elements (Andrea Bolognani)
- docs: remove *other* reference to igmp for IPv6 (Laine Stump)
- docs: Add bold style for  elements (John Ferlan)
- docs: Use  inside  for symbols (Andrea Bolognani)
- docs: apibuild: Fix for python 2.6 (Peter Krempa)
- docs: remove reference to non-existent "igmp-ipv6" protocol (Laine Stump)
- docs: domain: Document network  (Cole Robinson)
- docs: Don't leave any documentation behind (Michal Privoznik)
- docs: Uninstall libvirt logo too (Michal Privoznik)
- man: Clarify virsh vol-clone works within a single pool (Cole Robinson)
- docs: Document the new XML elements (Andrea Bolognani)
- virDomain{Get,Set}PerfEvents: Tweak documentation (Michal Privoznik)
- spec: Only pull in API docs with -devel package (Cole Robinson)
- man: virsh: Document lxc-enter-namespace --noseclabel (Cole Robinson)
- docs: formatdomain: document versions for video acceleration (Cole Robinson)
- docs: domain: document blkiotune {read, write}_{bytes, iops}_sec (Cole 
Robinson)
- docs: rewrite graphics XML documentation (Pavel Hrdina)
- docs: Remove unused div.body CSS rule (Andrea Bolognani)

Portability:
- wireshark: Fix distcheck (Michal Privoznik)
- tools: Introduce install-nss targets (Michal Privoznik)
- docs: apibuild: Fix VPATH build (Peter Krempa)
- build: Fix default network generation on FreeBSD (Andrea Bolognani)
- dist: ln(1) is not guaranteed to have a '-f' option (Andrea Bolognani)
- build: Use $(LN_S) safely (Andrea Bolognani)
- Include sysmacros.h where needed (Martin Kletzander)
- ploop: Fix build with gluster (Jiri Denemark)
- Fix various shadowed declarations (Martin Kletzander)
- build: fix build on RHEL-6 (Pavel Hrdina)
- build: add GCC 6.0 -Wlogical-op workaround (Pavel Hrdina)
- build: cleanup GCC < 4.6 -Wlogical-op workaround (Pavel Hrdina)
- configure: Fix check for --with-login-shell on Windows (Andrea Bolognani)
- qemu: fix build without gnutls installed (Roman Bogorodskiy)
- nss: properly include syms files to dist (Roman Bogorodskiy)
- netdev: Use the correct pointer type for virSocketAddrFormat() (Andrea 
Bolognani)
- configure: Move check for  (Andrea Bolognani)
- util: move ENODATA redefine to internal.h (Roman Bogorodskiy)
- qemu: Explicitly check for gnutls_rnd() (Andrea Bolognani)

Bug Fixes:
- rpc: Don't leak fd via CreateXMLWithFiles (Ben Gray)
- vz: fix disk enumeration (Mikhail Feoktistov)
- virsh: Fix support for 64 migration options (Nikolay Shirokovskiy)
- qemu: Regenerate VNC socket paths (Martin Kletzander)
- qemu: Error out if setting vcpu count would lead to invalid config (Peter 
Krempa)
- qemu: conf: Set default logging approach in virQEMUDriverConfigNew (Peter 
Krempa)
- Shorten domain name for automatic coredump (Martin Kletzander)
- qemu: Unref cfg in qemuDomainDefPostParse (Martin Kletzander)
- conf: Drop restrictions on rng backend path (Cole Robinson)
- remote: Don't reject remote polkit if client lacks support (Cole Robinson)
- spec: If installing default network, restart libvirtd (Cole Robinson)
- schema: Allow space character in disk vendor/product (Cole Robinson)
- qemu: fix error log in qemuAssignPCIAddresses() (Laine Stump)
- virsh: host: Use bitmap size in bytes rather than bit count (Peter Krempa)
- qemu: Fix off-by-one error in block I/O throttle messages (Martin Kletzander)
- qemu: Limit maximum block device I/O tune values (Martin Kletzander)
- virconf: Handle conf file without ending newline (Cole Robinson)
- network: fix DHCPv6 on networks with prefix != 64 (Laine Stump)
- virsh: Don't clear old connection if 'connect $uri' fails (Cole Robinson)
- libvirt: Fix crash on URI 

Re: [libvirt] Release of libvirt-php-0.5.2

2016-04-21 Thread Michal Privoznik
On 21.04.2016 10:36, Christophe Fergeau wrote:
> On Wed, Apr 20, 2016 at 02:17:51PM -0400, Neal Gompa wrote:
>> On Wed, Apr 20, 2016 at 12:27 PM, Michal Privoznik  
>> wrote:
>>> After 5 months of development I'm more than proud to announce that
>>> libvirt-php-0.5.2 is out!It can be downloaded from
>>>
>>>   http://libvirt.org/sources/php/libvirt-php-0.5.2.tar.gz
>>>
>>> This release focused on adapting to PHP7 and yet again some more bug
>>> fixes. The diff stat is rather big, but that's mostly because of all the
>>> documentation that has been added to PHP functions that we expose. I'd
>>> like to thank everybody who participated, namely Neal and Remi for
>>> proposing their patches and testing mine, Vasiliy for his valuable
>>> input. Lets make the next release even better!
>>>
>>> Michal
>>>
>>
>> So, I started making preliminary builds locally for updating the
>> Fedora and EPEL packages, and something weird occurred: libvirt-php.so
>> now has a soname version. PHP modules aren't supposed to have versions
>> in the soname, and I'm not entirely sure how this happened. It's
>> definitely within the last couple of commits, though.
>>
>> The file is now called libvirt-php.so.0.0.0, with libvirt-php.so.0 and
>> libvirt-php.so being symlinks to it.
>>
>> What's going on?
> 
> This could be related to this change:
> 
> https://libvirt.org/git/?p=libvirt-php.git;a=blobdiff;f=src/Makefile.am;h=ec53dd7a1bdb628484e80dfca30956630901cb62;hp=f270ec2991b6575794c600a036680de9bb18afa9;hb=b87607385f95f6e18c4b061f1c3c55e250cc7c31;hpb=c1c29aa4dbac75a9ef893043dcc9ca7179537e41
> (the removal of the install-exec-local/uninstall-local bits).
> 

Indeed. I'm proposing a patchset that should fix this problem (and some
others). I should not have rushed the release and sacrifice proper testing.

https://www.redhat.com/archives/libvir-list/2016-April/msg01400.html

In particular this should fix your problem:

https://www.redhat.com/archives/libvir-list/2016-April/msg01404.html

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-php-0.5.2

2016-04-21 Thread Neal Gompa
On Thu, Apr 21, 2016 at 4:36 AM, Christophe Fergeau  wrote:
> On Wed, Apr 20, 2016 at 02:17:51PM -0400, Neal Gompa wrote:
>> On Wed, Apr 20, 2016 at 12:27 PM, Michal Privoznik  
>> wrote:
>> > After 5 months of development I'm more than proud to announce that
>> > libvirt-php-0.5.2 is out!It can be downloaded from
>> >
>> >   http://libvirt.org/sources/php/libvirt-php-0.5.2.tar.gz
>> >
>> > This release focused on adapting to PHP7 and yet again some more bug
>> > fixes. The diff stat is rather big, but that's mostly because of all the
>> > documentation that has been added to PHP functions that we expose. I'd
>> > like to thank everybody who participated, namely Neal and Remi for
>> > proposing their patches and testing mine, Vasiliy for his valuable
>> > input. Lets make the next release even better!
>> >
>> > Michal
>> >
>>
>> So, I started making preliminary builds locally for updating the
>> Fedora and EPEL packages, and something weird occurred: libvirt-php.so
>> now has a soname version. PHP modules aren't supposed to have versions
>> in the soname, and I'm not entirely sure how this happened. It's
>> definitely within the last couple of commits, though.
>>
>> The file is now called libvirt-php.so.0.0.0, with libvirt-php.so.0 and
>> libvirt-php.so being symlinks to it.
>>
>> What's going on?
>
> This could be related to this change:
>
> https://libvirt.org/git/?p=libvirt-php.git;a=blobdiff;f=src/Makefile.am;h=ec53dd7a1bdb628484e80dfca30956630901cb62;hp=f270ec2991b6575794c600a036680de9bb18afa9;hb=b87607385f95f6e18c4b061f1c3c55e250cc7c31;hpb=c1c29aa4dbac75a9ef893043dcc9ca7179537e41
> (the removal of the install-exec-local/uninstall-local bits).
>
> Christophe

I tried to use the php extension build system as an alternative, but
the config.m4 in the src/ directory wasn't bundled in the tarball,
which was strange. I'm going back to the git tag for this, because I
don't really want to ship something that appears broken like this.

-- 
真実はいつも一つ!/ Always, there's only one truth!

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Release of libvirt-php-0.5.2

2016-04-21 Thread Christophe Fergeau
On Wed, Apr 20, 2016 at 02:17:51PM -0400, Neal Gompa wrote:
> On Wed, Apr 20, 2016 at 12:27 PM, Michal Privoznik  
> wrote:
> > After 5 months of development I'm more than proud to announce that
> > libvirt-php-0.5.2 is out!It can be downloaded from
> >
> >   http://libvirt.org/sources/php/libvirt-php-0.5.2.tar.gz
> >
> > This release focused on adapting to PHP7 and yet again some more bug
> > fixes. The diff stat is rather big, but that's mostly because of all the
> > documentation that has been added to PHP functions that we expose. I'd
> > like to thank everybody who participated, namely Neal and Remi for
> > proposing their patches and testing mine, Vasiliy for his valuable
> > input. Lets make the next release even better!
> >
> > Michal
> >
> 
> So, I started making preliminary builds locally for updating the
> Fedora and EPEL packages, and something weird occurred: libvirt-php.so
> now has a soname version. PHP modules aren't supposed to have versions
> in the soname, and I'm not entirely sure how this happened. It's
> definitely within the last couple of commits, though.
> 
> The file is now called libvirt-php.so.0.0.0, with libvirt-php.so.0 and
> libvirt-php.so being symlinks to it.
> 
> What's going on?

This could be related to this change:

https://libvirt.org/git/?p=libvirt-php.git;a=blobdiff;f=src/Makefile.am;h=ec53dd7a1bdb628484e80dfca30956630901cb62;hp=f270ec2991b6575794c600a036680de9bb18afa9;hb=b87607385f95f6e18c4b061f1c3c55e250cc7c31;hpb=c1c29aa4dbac75a9ef893043dcc9ca7179537e41
(the removal of the install-exec-local/uninstall-local bits).

Christophe


signature.asc
Description: PGP signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Release of libvirt-php-0.5.2

2016-04-20 Thread Neal Gompa
On Wed, Apr 20, 2016 at 12:27 PM, Michal Privoznik  wrote:
> After 5 months of development I'm more than proud to announce that
> libvirt-php-0.5.2 is out!It can be downloaded from
>
>   http://libvirt.org/sources/php/libvirt-php-0.5.2.tar.gz
>
> This release focused on adapting to PHP7 and yet again some more bug
> fixes. The diff stat is rather big, but that's mostly because of all the
> documentation that has been added to PHP functions that we expose. I'd
> like to thank everybody who participated, namely Neal and Remi for
> proposing their patches and testing mine, Vasiliy for his valuable
> input. Lets make the next release even better!
>
> Michal
>

So, I started making preliminary builds locally for updating the
Fedora and EPEL packages, and something weird occurred: libvirt-php.so
now has a soname version. PHP modules aren't supposed to have versions
in the soname, and I'm not entirely sure how this happened. It's
definitely within the last couple of commits, though.

The file is now called libvirt-php.so.0.0.0, with libvirt-php.so.0 and
libvirt-php.so being symlinks to it.

What's going on?



-- 
真実はいつも一つ!/ Always, there's only one truth!

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Release of libvirt-php-0.5.2

2016-04-20 Thread Michal Privoznik
After 5 months of development I'm more than proud to announce that
libvirt-php-0.5.2 is out!It can be downloaded from

  http://libvirt.org/sources/php/libvirt-php-0.5.2.tar.gz

This release focused on adapting to PHP7 and yet again some more bug
fixes. The diff stat is rather big, but that's mostly because of all the
documentation that has been added to PHP functions that we expose. I'd
like to thank everybody who participated, namely Neal and Remi for
proposing their patches and testing mine, Vasiliy for his valuable
input. Lets make the next release even better!

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-1.3.3

2016-04-06 Thread Daniel Veillard
  With a bit of delay the release is now out and git is open again,
I tagged the release in head, and pushed signed tarball and rpms to the
usual place:

   ftp://libvirt.org/libvirt/

  UI also tagged and pushed signed tarball and rpms for the python
bindings for 1.3.3 at:

   ftp://libvirt.org/libvirt/python/

  This is a rather large lreales with a lot of development and user
visible features. The majority of the nearly 400 commits are incremental
improvements (which may explain why stabilization for release took a little
longuer than usual), but there is a decent amount of bug fixes too!


Features:
- perf events (Qiaowei Ren)
- post-copy migration support (Cristian Klein, Jiri Denemark)
- NSS module (Michal Privoznik)

Documentation:
- docs: fix logfile paragraph (Boris Fiuczynski)
- docs: Remove useless p:first-line CSS rule (Andrea Bolognani)
- docs: Remove unused #sponsor CSS rule (Andrea Bolognani)
- docs: Make most headers a bit smaller (Andrea Bolognani)
- docs: Use bold text for all headers (Andrea Bolognani)
- docs: Don't use bold text for menu entries (Andrea Bolognani)
- docs: Make menu entries smaller (Andrea Bolognani)
- docs: Don't use  in headers (Andrea Bolognani)
- docs: Remove empty CSS rule (Andrea Bolognani)
- docs: Adjust vertical whitespace in CSS (Andrea Bolognani)
- docs: fix qemu version for hyperv features (Pavel Hrdina)
- docs: Document NSS module (Michal Privoznik)
- docs: website: more header spacing tweaks (Cole Robinson)
- docs: Update the hyperv feature qemu supported version (John Ferlan)
- docs: generic.css: Indentation and spacing tweaks (Cole Robinson)
- docs: generic.css: font size tweaks (Cole Robinson)
- docs: generic.css: minor cleanups (Cole Robinson)
- docs: website: Remove the et.redhat.com footer (Cole Robinson)
- Fix minor typos (Yuri Chornoivan)
- docs: Clarify interface/target/@dev docs (Jiri Denemark)

Portability:
- build: workaround broken SASL header (again) (Fabiano Fidêncio)
- nss: FreeBSD support (Roman Bogorodskiy)
- perf: fix build on non-Linux (Roman Bogorodskiy)
- storage: rbd: Fix build (Peter Krempa)
- storage/rbd: Use correct printf-modifier for uint64 (Christophe Fergeau)
- tests: Produce predictable results in nsstest (Michal Privoznik)
- nss: don't try to build nss plugin when disabled (Roman Bogorodskiy)
- virlog: Fix build breaker with "comparison between signed and unsigned" (Erik 
Skultety)
- _virtualboxCreateMachine: Avoid unbounded stack (Michal Privoznik)
- datatypes.c: Replace 'close' with 'closeData' (Michal Privoznik)
- util: Fix build without polkit (Jiri Denemark)

Bug Fixes:
- qemu: Fix mis-merge of qemuBuildRedirdevCommandLine (John Ferlan)
- qemu: Fix mis-merge of qemuBuildConsoleCommandLine (John Ferlan)
- qemu: Fix mis-merge of qemuBuildChannelsCommandLine (John Ferlan)
- qemu: Fix mis-merge of qemuBuildParallelsCommandLine (John Ferlan)
- qemu: Fix mis-merge of qemuBuildSerialCommandLine (John Ferlan)
- qemu: Fix mis-merge of qemuBuildSmartcardCommandLine (John Ferlan)
- nodedev: Fix parsing of generated XMLs (Martin Kletzander)
- qemu: fix alias name for  (Laine Stump)
- qemu: Clear generated private paths (Martin Kletzander)
- apparmor: QEMU monitor socket moved (Guido Günther)
- Revert "hostdev: Use actual device when reattaching" (Andrea Bolognani)
- Pass the correct cpu count when calling virDomainGetCPUStats. (Nitesh Konkar)
- migration: convert speed from MiB/sec to bytes/sec in drive-mirror jobs (Rudy 
Zhang)
- libxl: fix net device detach (Jim Fehlig)
- libxl: fix attaching net device of type hostdev (Jim Fehlig)
- qemuProcessVerifyGuestCPU: Avoid coverity false positive (Michal Privoznik)
- virDomain{Get,Set}PerfEvents: support --config --live --current (Michal 
Privoznik)
- qemu: command: Pass numad nodeset when formatting memory devices at boot 
(Peter Krempa)
- libxl: only disable domain death events in libxlDomainCleanup (Jim Fehlig)
- libxl: fix resource leaks in libxlDomainStart error paths (Chunyan Liu)
- conf: decrease iterations complexity when formatting iothreads (Peter Krempa)
- qemu: Fix /proc/**/stat parsing (Jiri Denemark)
- bhyve: fix invalid hostsysinfo freeing (Maxim Nestratov)
- libxl: remove reference to non-existent out label (Jim Fehlig)
- util: avoid getting stuck on macvtapN name created outside libvirt (Laine 
Stump)
- libxl: fix hot add/remove VF from a pool (Chunyan Liu)
- tests: storagepoolxml2xmltest: Fix pool-rbd test (Anatole Denis)
- Revert "zfs: Only raw volumes are supported" (Roman Bogorodskiy)
- Revert "logical: Only raw volumes are supported" (Roman Bogorodskiy)
- network: differentiate macvtap/bridge from host-bridge based networks (Laine 
Stump)
- test: Fix typo in testutils.h header guard (Christophe Fergeau)
- virTestSetEnvPath: Avoid clearing out PATH (Michal Privoznik)
- admin_server: Avoid accessing unallocated memory (Michal Privoznik)
- testutils: Adapt to highly unlikely case (Michal Privoznik)
- tests: virlogtest: Fix testLogParseOutputs return value (Erik 

[libvirt] Release of libvirt-1.3.2

2016-02-29 Thread Daniel Veillard
  So as planned I pushed the release earlier today, it is tagged in
git and signed tarball and rpms are at the usual place:

ftp://libvirt.org/libvirt/

  I also built a libvirt-python 1.3.2 release which can be found at

ftp://libvirt.org/libvirt/python

  This is a relatively big release with around 375 commits done in the
last month and a half. There are user visible improvement listed as features
and a lot more improvements and refactoring under the hood. Of course this
also carries a large set of bug fixes, including serious ones but none
labelled as security, upgrade is still recommended !

Features:
- Various improvements for the Xen libxl driver (Joao Martins and Jim Fehlig)
- virt-admin improvement (Erik Skultety)
- Various improvements for the RDB volumes (Wido den Hollander)

Documentation:
- docs: mention ZFS on Linux support (Roman Bogorodskiy)
- docs: formatdomain: Document "spice" as a valid value for  
(Richard W.M. Jones)
- docs: Try harder to uninstall (Michal Privoznik)
- tests: Fix typo oaque -> opaque (Andrea Bolognani)
- docs: List possible GIC versions (Andrea Bolognani)
- Spell VMware with a lowercase w (Ján Tomko)
- leaseshelper: move comment about adding IPv6 leases (Ján Tomko)

Portability:
- build: accomodate selinux 2.5 header API change (Eric Blake)
- rbd: fix 32-bit build (Eric Blake)
- util: Use virBitmapIsBitSet in freebsd impl of virProcessSetAffinity (Peter 
Krempa)
- domsuspend: Fix warning on mingw build (Andrea Bolognani)
- virportallocatortest: Run on linux only (Michal Privoznik)
- Revert "tests: Don't link mock libraries against libvirt and gnulib" (Andrea 
Bolognani)
- tests: Don't link mock libraries against libvirt and gnulib (Andrea Bolognani)
- virDomainFormatSchedDef: Initialize @priority (Michal Privoznik)
- Fix '-pie' build with clang (Martin Kletzander)
- include: Handle case when builddir == srcdir (Michal Privoznik)
- tests: avoid realpath in test-lib.sh (Eric Blake)
- includes: Install libvirt-common.h (Michal Privoznik)
- docs: fix generation of docs from VPATH build (Daniel P. Berrange)
- Fix make check with gcc version 5 (Martin Kletzander)

Bug Fixes:
- storage: Fix error path in storagePoolDefineXML (John Ferlan)
- storage: Fix error path in virStoragePoolObjLoad (John Ferlan)
- qemu: error out on missing machine type in configs (Ján Tomko)
- Revert "Error out on missing machine type in machine configs" (Ján Tomko)
- libxl: unref objects in error paths (Jim Fehlig)
- storage: No need to check ret after VIR_APPEND_ELEMENT (John Ferlan)
- zfs: Resolve RESOURCE_LEAK (John Ferlan)
- netdev: Use virNetDevIsVirtualFunction() properly (Andrea Bolognani)
- Fix bug of attaching redirdev device (Osier Yang)
- libxl: small fix in parsing network (Chunyan Liu)
- qemuBuildCommandLine: Change the condition for -nographics (Michal Privoznik)
- xen: Check return value of virStringReplace (Michal Privoznik)
- vbox: Avoid signed and unsigned comparison (Michal Privoznik)
- qemu_process: mark auto-generated spice ports as reserved (Pavel Hrdina)
- adminDaemonListServers: Don't leak @srv_names array (Michal Privoznik)
- Check for active domain in virDomainObjWait (Jiri Denemark)
- qemu: Avoid calling qemuProcessStop without a job (Jiri Denemark)
- qemu: Process monitor EOF in a job (Jiri Denemark)
- qemu: qemuDomainGetStatsVcpu: Fix output for possible sparse vCPU settings 
(Peter Krempa)
- qemu: vcpupin: Don't overwrite errors from functions setting pinning (Peter 
Krempa)
- admin: Fix memory leak in remoteAdminConnectClose (Erik Skultety)
- esx: Avoid using vSphere SessionIsActive function (Matthias Bolte)
- Error out on missing machine type in machine configs (Ján Tomko)
- qemu: cgroup: fix cgroup permission logic (Bjoern Walk)
- virsh: Remove  when changing cdrom media source (Peter Krempa)
- vircgroup: Update virCgroupDenyDevicePath stub (Michal Privoznik)
- qemu: cgroup: Avoid reporting errors from inaccessible NFS volumes (Peter 
Krempa)
- qemu: fix hot unplug of PCI devices with VFIO (Ludovic Beliveau)
- vz: fix race condition when adding domain to domains list (Mikhail Feoktistov)
- vz: fix notification subscription (Mikhail Feoktistov)
- conf: snapshot: Avoid autogenerating duplicate snapshot names (Peter Krempa)
- dbus: Don't unref NULL messages (Michal Privoznik)
- qemu: Connect to guest agent iff needed (Michal Privoznik)
- xenconfig: Properly check retval of virDomainGraphicsListenSetAddress (Michal 
Privoznik)
- leaseshelper: swap two parameters of virLeaseNew (Ján Tomko)
- vboxDumpDisplay: check return of virDomainGraphicsListenSetAddress (Ján Tomko)
- Check return value of vboxDumpVideo (Ján Tomko)
- qemu: vcpu: Reuse qemuProcessSetupVcpu in vcpu hotplug (Peter Krempa)
- remote: enforce VIR_TYPED_PARAM_STRING_OKAY flag on client side serialization 
(Joao Martins)
- vircgroup: Update virCgroupGetPercpuStats stump (Michal Privoznik)
- conf: Don't store vcpusched orthogonally to other vcpu info (Peter Krempa)
- qemu: snapshot: Avoid infinite loop 

Re: [libvirt] Release of libvirt-1.3.1

2016-01-17 Thread Justin Clift
On 17 Jan 2016, at 03:00, Daniel Veillard  wrote:
>  As planned I just tagged the release in git and pushed signed tarball
> and rpms to the usual place:
> 
>  ftp://libvirt.org/libvirt/

It's in OSX Homebrew now too. :)

+ Justin

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-1.3.1

2016-01-17 Thread Daniel Veillard
On Sun, Jan 17, 2016 at 12:44:10PM +, Justin Clift wrote:
> On 17 Jan 2016, at 03:00, Daniel Veillard  wrote:
> >  As planned I just tagged the release in git and pushed signed tarball
> > and rpms to the usual place:
> > 
> >  ftp://libvirt.org/libvirt/
> 
> It's in OSX Homebrew now too. :)
> 

  cool, thanks !

Daniel

-- 
Daniel Veillard  | Open Source and Standards, Red Hat
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-1.3.1

2016-01-16 Thread Daniel Veillard
  As planned I just tagged the release in git and pushed signed tarball
and rpms to the usual place:

  ftp://libvirt.org/libvirt/

 I also tagged and pushed a python release though there is no change from
1.3.0:

  ftp://libvirt.org/libvirt/python/

  This is a moderately large release with close to 300 commits packed
in, one security patch for CVE-2015-5313, and some user visible feature
improvement. There is also a lot of refactoring in code, makefiles etc
along with other improvements and the usual flow of bug fixes:


Features:
- Various improvements for the Xen libxl driver (Jim Fehlig)
- rbd: Add support for wiping and cloning images to storage driver (Wido den 
Hollander)
- PCI hostdev improvements and fixes (Andrea Bolognani)

Security:
- CVE-2015-5313: storage: don't allow '/' in filesystem volume names (Eric 
Blake)

Documentation:
- virsh: Update description of lxc-enter-namespace (Guido Günther)
- virsh: Document the --timestamp option (Andrea Bolognani)
- docs: update to properly reflect meaning of fields in log filter (Laine Stump)
- virStorageVolWipe: Document that wiping journaled FS is useless (Michal 
Privoznik)
- storage: Add comments for backend APIs (John Ferlan)

Portability:
- build: fix distdir with wireshark disabled (Cole Robinson)
- wireshark: Install into DESTDIR (Michal Privoznik)
- cgroup: don't include sys/mount.h if not needed (Jasper Lievisse Adriaanse)
- tools: Disable virt-login-shell on mingw (Michal Privoznik)
- sysconf: Include unistd.h (Michal Privoznik)
- Allow building lxc without virt-login-shell (Cédric Bosdonnat)
- build: disable vbox on cygwin (Eric Blake)
- virNetDevMacVLanTapSetup: Work around older systems (Michal Privoznik)

Bug Fixes:
- security: Do not restore labels on device tree binary (Jiri Denemark)
- security: Do not restore kernel and initrd labels (Jiri Denemark)
- cgroup: Fix possible bug as a result of code motion for vcpu cgroup setup 
(John Ferlan)
- Revert "lxc_cgroup: Add check for NULL cgroup before AddTask call" (John 
Ferlan)
- Revert "util: cgroups do not implicitly add task to new machine cgroup" (John 
Ferlan)
- Revert "qemu: do not put a task into machine cgroup" (John Ferlan)
- virt-aa-helper: don't deny writes to readonly mounts (Cédric Bosdonnat)
- conf: Initialize 'deflate' for balloon parse XML (John Ferlan)
- wireshark: Drop DESTDIR from install path (Michal Privoznik)
- qemuProcessCleanupChardevDevice: Don't unlink NULL paths (Michal Privoznik)
- xenconfig: check return value of regcomp (Jim Fehlig)
- Xen: use correct domctl version in domaininfolist union (Jim Fehlig)
- testutils: Fix coverity warning with REGENERATE_OUTPUT (Cole Robinson)
- rpc: socket: Don't repeatedly attempt to launch daemon (Cole Robinson)
- rpc: socket: Explicitly error if we exceed retry count (Cole Robinson)
- rpc: Don't rewrite msg->fds on every read dispatch (Ben Gray)
- util: eliminate bogus error log in virNetDevVPortProfileGetStatus (Laine 
Stump)
- qemu: Set virtio channel state sooner (Michal Privoznik)
- virDomainGetTime: Deny on RO connections (Michal Privoznik)
- virDomainInterfaceAddresses: Allow API on RO connection too (Michal Privoznik)
- Don't clear libvirt-internal paths when parsing status XML (Martin Kletzander)
- virDomainMigrateUnmanagedParams: Don't blindly dereference @dconnuri (Michal 
Privoznik)
- Fix USB model defaults for ppc64 (Martin Kletzander)
- Avoid wild securityManager pointer in tests (Martin Kletzander)
- tests: Fix running schematests directly from topdir (Cole Robinson)
- qemu: Fix crash when defining XML with bogus emulator (Cole Robinson)
- tests.nwfilterebiptablestest: swap actual and expected (Pavel Hrdina)
- qemu: Fix NBD migration with default listenAddress (Jiri Denemark)
- virLogVMessage: Don't leak rawinitmsg (Michal Privoznik)
- virLogHostnameString: Don't leak hostname (Michal Privoznik)
- virsh: Interrupt *event --loop on disconnect (Jiri Denemark)
- virsh: Pass ctl to virshCatchDisconnect (Jiri Denemark)
- qemu: Don't bother user with libvirt-internal paths (Martin Kletzander)
- rbd: Do not append Ceph monitor port number 6789 if not provided (Wido den 
Hollander)
- rbd: Do not error out on a single image during pool refresh (Wido den 
Hollander)
- rbd: Only close RBD image if it has been opened (Wido den Hollander)
- fix LSB part of virtlogd runlevel script (Olaf Hering)
- virtlogd: fix lock file path in initscript (Michael Chapman)
- spec: chkconfig(8) and service(8) are in /sbin/, not /bin/ (Michael Chapman)
- spec: dbus-devel is needed as build dependency if polkit support is enabled 
(Michael Chapman)
- storage: Clean up error path for create buildPool failure (John Ferlan)
- libvirt-domain: fix dxml passing in virDomainMigrateToURI2 (Ján Tomko)
- schema: interleave domain name and uuid with other elements (Ján Tomko)
- qemu: Fix return value of qemuDomainGetBlockJobInfo (Michal Privoznik)
- storage: do not leak storage pool XML filename (Michael Chapman)
- qemu: do not leak NBD disk data in 

Re: [libvirt] Release candidate 2 of libvirt-1.3.1

2016-01-15 Thread Daniel Veillard
On Fri, Jan 15, 2016 at 08:17:43AM +, Justin Clift wrote:
> On 15 Jan 2016, at 02:16, Roman Bogorodskiy  wrote:
> > [trim libvirt-announce@]
> > 
> >  Daniel Veillard wrote:
> > 
> >>  Seems we don't have the fix for OSX/BSD in yet but I decided to
> >> push the new release candidate out, signed tarball and rpms are at the
> >> usual place, and it's tagged in git:
> >> 
> >>   ftp://libvirt.org/libvirt/
> >> 
> >> Seems to work for me but obviously more testing is better, I will also
> >> wait for the OSX/BSD patch to make a final release, if it's commited by
> >> this week-end I will push, otherwise this will have to wait Tuesday as
> >> I will be travelling Monday.
> >> 
> >>  So try it more and let's get a BSD patch in,
> > 
> > Actually we do have this patch in now (bc451c4).
> > 
> > rc2 builds fine on my test OpenBSD install, I hope it does build on OS X
> > also.
> > 
> > These platforms are still affected by the rpcgen issue though, but it
> > only affects people trying to do development builds (i.e. from a git
> > repo, not from a tarball).
> 
> Yep, rc2 is compiling fine on OSX now too.  Well, at least OSX 10.9.5
> (my desktop).  Didn't bother trying other versions. ;)

  Ah excellent, thanks guys for the quick feedback !

Daniel

-- 
Daniel Veillard  | Open Source and Standards, Red Hat
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release candidate 2 of libvirt-1.3.1

2016-01-15 Thread Justin Clift
On 15 Jan 2016, at 02:16, Roman Bogorodskiy  wrote:
> [trim libvirt-announce@]
> 
>  Daniel Veillard wrote:
> 
>>  Seems we don't have the fix for OSX/BSD in yet but I decided to
>> push the new release candidate out, signed tarball and rpms are at the
>> usual place, and it's tagged in git:
>> 
>>   ftp://libvirt.org/libvirt/
>> 
>> Seems to work for me but obviously more testing is better, I will also
>> wait for the OSX/BSD patch to make a final release, if it's commited by
>> this week-end I will push, otherwise this will have to wait Tuesday as
>> I will be travelling Monday.
>> 
>>  So try it more and let's get a BSD patch in,
> 
> Actually we do have this patch in now (bc451c4).
> 
> rc2 builds fine on my test OpenBSD install, I hope it does build on OS X
> also.
> 
> These platforms are still affected by the rpcgen issue though, but it
> only affects people trying to do development builds (i.e. from a git
> repo, not from a tarball).

Yep, rc2 is compiling fine on OSX now too.  Well, at least OSX 10.9.5
(my desktop).  Didn't bother trying other versions. ;)

+ Justin

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release candidate 2 of libvirt-1.3.1

2016-01-14 Thread Daniel Veillard
  Seems we don't have the fix for OSX/BSD in yet but I decided to
push the new release candidate out, signed tarball and rpms are at the
usual place, and it's tagged in git:

   ftp://libvirt.org/libvirt/

 Seems to work for me but obviously more testing is better, I will also
wait for the OSX/BSD patch to make a final release, if it's commited by
this week-end I will push, otherwise this will have to wait Tuesday as
I will be travelling Monday.

  So try it more and let's get a BSD patch in,

thanks,

Daniel

-- 
Daniel Veillard  | Open Source and Standards, Red Hat
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release candidate 2 of libvirt-1.3.1

2016-01-14 Thread Roman Bogorodskiy
[trim libvirt-announce@]

  Daniel Veillard wrote:

>   Seems we don't have the fix for OSX/BSD in yet but I decided to
> push the new release candidate out, signed tarball and rpms are at the
> usual place, and it's tagged in git:
> 
>ftp://libvirt.org/libvirt/
> 
>  Seems to work for me but obviously more testing is better, I will also
> wait for the OSX/BSD patch to make a final release, if it's commited by
> this week-end I will push, otherwise this will have to wait Tuesday as
> I will be travelling Monday.
> 
>   So try it more and let's get a BSD patch in,

Actually we do have this patch in now (bc451c4).

rc2 builds fine on my test OpenBSD install, I hope it does build on OS X
also.

These platforms are still affected by the rpcgen issue though, but it
only affects people trying to do development builds (i.e. from a git
repo, not from a tarball).

Roman Bogorodskiy

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-1.3.0

2015-12-13 Thread Roman Bogorodskiy
  Daniel Veillard wrote:

>   So as planned, I tagged the release in git and pushed signed tarball and
> rpms to the usual place:
> 
>ftp://libvirt.org/libvirt

It seems there is still no entry for 1.3.0 on the web site:
http://libvirt.org/news.html

Though I can see the corresponding commit to docs/news.html.in.

Roman Bogorodskiy

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release of libvirt-1.3.0

2015-12-09 Thread Daniel Veillard
  So as planned, I tagged the release in git and pushed signed tarball and
rpms to the usual place:

   ftp://libvirt.org/libvirt

I also pushed the associated python release for 1.3.0 though there was no
actual code change except numbering:

   ftp://libvirt.org/libvirt/python

The bump in version minor number comes from the addition of the administration
API which nearly made it in 1.2.17 in the summer but was postponed since. That
is backed up by serious improvement in virtio support and logging. As usual
that release carries a sigificant amount of fixes and smaller improvements too:

Features:
- virt-admin and administration API (Erik Skultety, Martin Kletzander)
- various improvements in virtio devices support (Ján Tomko, Marc-André Lureau)
- log daemon, logging improvements and protocol (Daniel P. Berrange)

Documentation:
- libvirt: Update virDomainSetMemory description (Nikolay Shirokovskiy)
- virt-admin: Provide a man page for virt-admin (Erik Skultety)
- Enhance documentation of virDomainDetachDevice (Jiri Denemark)
- qemu: monitor: Explain logic of qemuMonitorGetCPUInfo (Peter Krempa)
- document virCommandRunRegex function (Christian Loehle)
- libvirt-domain: Fix typo in debug message (Cole Robinson)
- qemu: Explain mlock limit size more in detail (Peter Krempa)
- virsh.pod: improve attach-interface section (Pavel Hrdina)
- virnetdev: Fix function comments for virNetDevGetFeatures (John Ferlan)
- virnetdev: Document reasons for ignoring some SIOCETHTOOL errno values (John 
Ferlan)

Portability:
- network: selectively disable -Wcast-align in virNetDevParseDadStatus (Ian 
Campbell)
- log_manager: Include configmake.h last (Michal Privoznik)
- virtlogd: Fix build without DBus (Martin Kletzander)
- virtlogd: use %llu to print 64bit types (Guido Günther)

Bug Fixes:
- qemu: fix memory leak in opening log file (Daniel P. Berrange)
- qemu: Automatic SCSI controller creation in SCSI disk hotplug broken (Boris 
Fiuczynski)
- qemu: domain: Prevent overflows in memory alignment code (Peter Krempa)
- conf: Revert some code to resolve issues for hostdev hotplug (Boris 
Fiuczynski)
- virsh: report errors for empty strings (Ján Tomko)
- bridge: check for invalid MAC in networkGetDHCPLeases (Ján Tomko)
- qemu_agent: fix deadlock in qemuProcessHandleAgentEOF (Wang Yufei)
- include: Install libvirt-common.h (Martin Kletzander)
- tools: fix output of list with state-shutoff (Wei Jiangang)
- virlogd: fix crash if log file exists and it's larger the maxlen (Pavel 
Hrdina)
- systemd: Escape only needed characters for machined (Martin Kletzander)
- logging: remove reference to non-existent augeas files (Daniel P. Berrange)
- virtlockd: fix misc memory leaks and other bugs (Daniel P. Berrange)
- systemd: Escape machine name for machined (Martin Kletzander)
- schema: use a better regex for listen addresses (Ján Tomko)
- apparmor: add missing qemu binaries (Guido Günther)
- storage: Change virStorageBackendVolOpen to use virFileOpenAs (John Ferlan)
- storage: Really fix setting mode for backend exec in NFS root-squash env 
(John Ferlan)
- qemu: Add ppc64-specific math to qemuDomainGetMlockLimitBytes() (Andrea 
Bolognani)
- libxl: don't unlock virDomainObj if refcnt is 0 (Jim Fehlig)
- libxl: unref libxlDriverConfig object (Jim Fehlig)
- qemu: Fix build error in Coverity environment (John Ferlan)
- virSetUIDGID: Don't leak supplementary groups (Richard Weinberger)
- locking: Add io_timeout to sanlock (Michal Privoznik)
- libvirt-guests: Disable shutdown timeout (Guido Günther)
- tpm: adapt sysfs cancel path for new TPM driver (Stefan Berger)
- bhyve: monitor: do not override domain's privateData (Roman Bogorodskiy)
- storage: Don't assume storage pool exists for FC/SCSI refresh thread (John 
Ferlan)
- domain-conf: reorder usb controllers so the master is first (Pavel Hrdina)
- qemu: fix parsing of -sdl arg (Daniel P. Berrange)
- qemu: handle floppy disk bus when parsing command line argv (Daniel P. 
Berrange)
- qemu: hotplug: Fix mlock limit handling on memory hotplug (Peter Krempa)
- Revert "utils: Remove the logging of errors from virNetDevSendEthtoolIoctl" 
(Daniel P. Berrange)
- qemu: migration: Actually error out on unsupported migration flag (Peter 
Krempa)
- qemu: migration: Properly parse memory hotplug migration flag (Peter Krempa)
- network: Remove extraneous ATTRIBUTE_NONNULL for virNetDevWaitDadFinish (John 
Ferlan)
- virnetdev: Check correct return value for virNetDevFeatureAvailable (John 
Ferlan)
- storage: On 'buildVol' failure don't delete the volume (John Ferlan)
- Revert "storage: Prior to creating a volume, refresh the pool" (John Ferlan)
- qemu: Fix memory leak in qemuProcessStart (Jiri Denemark)
- qemu: Use correct type when calling qemuPrepareNVRAM (Jiri Denemark)

Improvements:
- Revert "libxl: implement virDomainInterfaceStats" (Jim Fehlig)
- rpm: explicitly enable & start virtlogd on install (Daniel P. Berrange)
- libvirtd: enable virtlockd/virtlogd socket activation on install (Daniel P. 

Re: [libvirt] Release of libvirt-1.2.21

2015-11-04 Thread Daniel Veillard
On Wed, Nov 04, 2015 at 12:42:31PM +0100, Andrea Bolognani wrote:
> Sorry, previous mail got garbled beyond recognition on
> the way out.
> 
> On Wed, 2015-11-04 at 11:50 +0800, Daniel Veillard wrote:
> >   So as planned I tagged libvirt-1.2.21 in git, we are out of freeze !
> 
> Is it just me or master has not been updated with the
> release commit?
> 
> I can see both the tag and the release commit in gitweb,
> but if I try to fetch from the repository I get nothing
> and even in gitweb master shows up as being last updated
> five days ago.
> 
> Cheers.

  problem

thinkpad2:~/libvirt -> git push
To ssh://libvirt.org/git/libvirt.git
 ! [rejected]master -> master (fetch first)
 error: failed to push some refs to 'ssh://libvirt.org/git/libvirt.git'
 hint: Updates were rejected because the remote contains work that you do
 hint: not have locally. This is usually caused by another repository pushing
 hint: to the same ref. You may want to first integrate the remote changes
 hint: (e.g., 'git pull ...') before pushing again.
 hint: See the 'Note about fast-forwards' in 'git push --help' for details.
 thinkpad2:~/libvirt -> 

ouchj

Daniel
-- 
Daniel Veillard  | Open Source and Standards, Red Hat
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-1.2.21

2015-11-04 Thread Andrea Bolognani
On Wed, 2015-11-04 at 12:55 +0100, Jiri Denemark wrote:
> > >    So as planned I tagged libvirt-1.2.21 in git, we are out of freeze !
> > 
> > Is it just me or master has not been updated with the
> > release commit?
> > 
> > I can see both the tag and the release commit in gitweb,
> > but if I try to fetch from the repository I get nothing
> > and even in gitweb master shows up as being last updated
> > five days ago.
> 
> Oh, in that case it shouldn't be too hard to fix this... done.

Great, thanks!

-- 
Andrea Bolognani
Software Engineer - Virtualization Team

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Release of libvirt-1.2.21

2015-11-04 Thread Andrea Bolognani
Sorry, previous mail got garbled beyond recognition on
the way out.

On Wed, 2015-11-04 at 11:50 +0800, Daniel Veillard wrote:
>   So as planned I tagged libvirt-1.2.21 in git, we are out of freeze !

Is it just me or master has not been updated with the
release commit?

I can see both the tag and the release commit in gitweb,
but if I try to fetch from the repository I get nothing
and even in gitweb master shows up as being last updated
five days ago.

Cheers.

-- 
Andrea Bolognani
Software Engineer - Virtualization Team

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Release of libvirt-1.2.21

2015-11-04 Thread Jiri Denemark
On Wed, Nov 04, 2015 at 12:42:31 +0100, Andrea Bolognani wrote:
> Sorry, previous mail got garbled beyond recognition on
> the way out.
> 
> On Wed, 2015-11-04 at 11:50 +0800, Daniel Veillard wrote:
> >   So as planned I tagged libvirt-1.2.21 in git, we are out of freeze !
> 
> Is it just me or master has not been updated with the
> release commit?
> 
> I can see both the tag and the release commit in gitweb,
> but if I try to fetch from the repository I get nothing
> and even in gitweb master shows up as being last updated
> five days ago.

Oh, in that case it shouldn't be too hard to fix this... done.

Jirka

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Release of libvirt-1.2.21

2015-11-04 Thread Andrea Bolognani
On Wed, 2015-11-04 at 11:50 +0800, Daniel Veillard wrote:

>   So as planned I tagged libvirt-1.2.21 in git, we are out of
freeze !

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Release of libvirt-1.2.21

2015-11-03 Thread Daniel Veillard
  So as planned I tagged libvirt-1.2.21 in git, we are out of freeze !
The signed tarballs and rpms for 1.2.21 are in the usual places for libvirt

ftp://libvirt.org/libvirt/

and for python bindings

ftp://libvirt.org/libvirt/python/

This is a moderately sized release with around 150 commits, a lot of
refactoring and cleanups on the migration code, the python bindings and
updates to the vz driver:

Documentation:
- event impl. registration before hypervisor connection (Dominik Perpeet)
- libvirt-secret: Fix typo (Wei Jiangang)
- NEWS: Fix XSLT stylesheet (Andrea Bolognani)
- NEWS: Split releases by year (Andrea Bolognani)
- NEWS: Unify date format (Andrea Bolognani)
- NEWS: Unify section titles (Andrea Bolognani)
- NEWS: Add empty lines (Andrea Bolognani)
- NEWS: Fix indentation (Andrea Bolognani)
- NEWS: Fix newlines (Andrea Bolognani)
- NEWS: Fix whitespace (Andrea Bolognani)
- NEWS: Organize old entries (Andrea Bolognani)
- NEWS: Split old entries (2009) (Andrea Bolognani)
- NEWS: Split old entries (2008) (Andrea Bolognani)
- NEWS: Split old entries (2006-2007) (Andrea Bolognani)
- NEWS: Properly escape > in HTML (Andrea Bolognani)
- NEWS: Split off merged sections (Andrea Bolognani)
- NEWS: Remove empty sections (Andrea Bolognani)
- NEWS: Include description for release 0.7.3 (Andrea Bolognani)
- domain: Show canonical pvspinlock XML (Cole Robinson)
- Add Cuckoo Sandbox into apps.html (Martin Kletzander)

Portability:
- Fix virNetDevWaitDadFinish stub (Roman Bogorodskiy)
- util: implement virProcessGetStartTime on GNU/kFreeBSD (Pino Toscano)
- build: include xdr cflags for libvirt-admin (Eric Blake)
- virt-host-validate: disable mntent code on Win32 (Daniel P. Berrange)
- src: Remove $(builddir) usage (Andrea Bolognani)

Bug Fixes:
- wireshark: Install to generic plugin directory (Michal Privoznik)
- network: wait for DAD to finish for bridge IPv6 addresses (Maxim 
Perevedentsev)
- qemu: Use live autoNodeset when numatune placement is auto (Luyao Huang)
- virsh-domain: use correct base for virStrToLong_ui (Pavel Hrdina)
- libvirt-domain: fix the error reporting when use the localhost as target uri 
(Luyao Huang)
- qemu: fix migration flags undefinesource cannot work (Luyao Huang)
- virsh: Display an error when passing count <= 0 to setvcpus (Luyao Huang)
- virtlockd: Don't SIGSEGV on SIGUSR1 (Michal Privoznik)
- Close the source fd if the destination qemu exits during tunnelled migration 
(Shivaprasad G Bhat)
- qemu: Fix qemu startup check for QEMU_CAPS_OBJECT_IOTHREAD (John Ferlan)
- virsh: Use 'format' argument only when specified (Peter Krempa)
- storage: Track successful creation of LV for removal (John Ferlan)
- storage: Fix a resource leak in storageVolCreateXML (John Ferlan)
- storage: Fix incorrect format for   XML (John Ferlan)
- migration: check dconnuri in p2p mode (Nikolay Shirokovskiy)
- qemu: Resolve Coverity FORWARD_NULL (John Ferlan)
- libxl: Resolve Coverity FORWARD_NULL (John Ferlan)
- tests: eventtest: Fix coverity warning (Cole Robinson)
- qemu: migration: Skip few checks while doing offline migration (Peter Krempa)
- qemu: Wait until destination QEMU consumes all migration data (Jiri Denemark)
- conf: Remove  elements with no namespace (Peter Krempa)
- storage: Adjust calculation of alloc/capacity for disk (John Ferlan)
- storage: Prior to creating a volume, refresh the pool (John Ferlan)
- virfile: Fix error path for forked virFileRemove (John Ferlan)
- rpc: libssh2: Fix regression in ssh host key verification (Peter Krempa)
- interface: fail on OOM from virGetInterface() (Laine Stump)
- libvirt.spec: fix accidental conditional inclusion of polkit docs (Daniel P. 
Berrange)
- qemu: Use memory-backing-file only when needed (Martin Kletzander)

Improvements:
- util: set max wait for IPv6 DAD to 20 seconds (Laine Stump)
- util: set error if DAD is not finished (Luyao Huang)
- netlink: add support for multi-part netlink messages. (Maxim Perevedentsev)
- rbd: Remove snapshots if the DELETE_WITH_SNAPSHOTS flag has been provided 
(Wido den Hollander)
- bhyve: implement domainGetOSType (Roman Bogorodskiy)
- libvirt-domain: fix no error report when p2p migrate fail (Luyao Huang)
- conf: Add serial target type to ABI stability check (Luyao Huang)
- lock_daemon: Switch to wrapper locking functions (Michal Privoznik)
- qemu: hostdev: Introduce qemuHostdevUpdateActiveDomainDevices() (Andrea 
Bolognani)
- qemu: hostdev: Unify naming for qemuHostdevUpdateActive*Devices() (Andrea 
Bolognani)
- qemu: hostdev: Unify naming for qemuHostdevReAttach*Devices() (Andrea 
Bolognani)
- qemu: hostdev: Unify naming for qemuHostdevPrepare*Devices() (Andrea 
Bolognani)
- hostdev: Rename virHostdevUpdateDomainActiveDevices() (Andrea Bolognani)
- conf: Fix error message to use correct parameter (John Ferlan)
- util: Produce friendlier error message to user (Luyao Huang)
- util: Adjust error paths for virNumaSetPagePoolSize (Luyao Huang)
- util: split the virNumaGetHugePageInfoPath into separate 

[libvirt] Release of libvirt-1.2.20

2015-10-02 Thread Daniel Veillard
  Apparently RC2 was absolutely perfect and bug-free so I tagged 1.2.20
in git and pushed signed tarball and rpms to the usual place earlier
today :

ftp://libvirt.org/libvirt/


 This is a relatively small release with less than 150 commit but since
it includes a security update people are really invited to update. Of course
that's still including a decent number of bug fixes and improvements:


Security:
- storage: Handle failure from refreshVol (John Ferlan)
- storage: Correct the 'mode' check (John Ferlan)
- virfile: Introduce virFileUnlink (John Ferlan)
Documentation:
- docs: Add yet another libvirt based app (Michal Privoznik)
- conf: Document all VIR_DOMAIN_DEF_PARSE_* flags (Peter Krempa)
- Minor typo fixes in documentation (Christian Loehle)
- util: Add space before comment end marker (Andrea Bolognani)
- docs: Update devguide.html to point to the new Python dev guide (Daniel P. 
Berrange)
- docs: Remove last use of double semicolon in Makefile (Martin Kletzander)
Portability:
- tools: Link libvirt.la and readline to libvirt_shell.a (Michal Privoznik)
- util: Add win32 version of virFileUnlink (Martin Kletzander)
Bug Fixes:
- qemu: Fix dynamic_ownership qemu.conf setting (Cole Robinson)
- virsh: Preserve startupPolicy in change-media command (Michal Privoznik)
- Create a shallow copy for volume building only if supported (Ján Tomko)
- Update pool allocation with new values on volume creation (Ján Tomko)
- conf: Fix virtType check (John Ferlan)
- qemu: Make virtType of type virDomainVirtType (Shivangi Dhir)
- Use daemon log facility for journald (Guido Günther)
- domain: Fix migratable XML with graphics/@listen (Jiri Denemark)
- qemu: Resolve Coverity RESOURCE_LEAK (John Ferlan)
- qemu: Clean up ret in qemuDomainSaveMemory and qemuDomainSaveInternal (John 
Ferlan)
- qemu: Resolve Coverity CHECKED_RETURN (John Ferlan)
- virsh: Resolve Coverity DEADCODE (John Ferlan)
- tests: Resolve Coverity RESOURCE_LEAK (John Ferlan)
- tests: Resolve Coverity RESOURCE_LEAK (John Ferlan)
- virDomainRestore: Don't keep transient domains around (Michal Privoznik)
- virDomainCreateXML: Make domain definition transient (Michal Privoznik)
- virDomainCreateXML: Don't remove persistent domains on error (Michal 
Privoznik)
- virsh: Fix job status indicator for 0 length block jobs (Peter Krempa)
- qemu: Refresh memory size only on fresh starts (Peter Krempa)
- client rpc: Process pending data on error (Jiri Denemark)
- conf: escape string for disk driver name attribute (Luyao Huang)
- Makefile: fix build fail when make rpm (Luyao Huang)
- tests: Avoid use of virQEMUDriverCreateXMLConf(NULL) (Michal Privoznik)
- qemuTestDriverInit: init the driver lock too (Michal Privoznik)
- Revert "qemu: Fix integer/boolean logic in qemuSetUnprivSGIO" (John Ferlan)
- qemu: ppc64: Align memory sizes to 256MiB blocks (Peter Krempa)
- qemu: command: Align memory sizes only on fresh starts (Peter Krempa)
- test driver: don't unlock pool after freeing it (David Mansfield)
- qemuDomainChangeDiskLive: Allow startupPolicy change (Michal Privoznik)
- qemu: Fix some corner cases in persistent migration (Jiri Denemark)
- qemu: Don't report false errors in migration protocol v2 (Jiri Denemark)
- qemu: Kill domain when migration finish fails (Jiri Denemark)
- libxl: fix AttachDeviceConfig on hostdev type (Chunyan Liu)
- qemu: Fix using guest architecture as lookup key (Andrea Bolognani)
- libxl: fix compiler error introduced by commit ba25c214 (Jim Fehlig)
- Ignore virtio-mmio disks in qemuAssignDevicePCISlots() (Pavel Fedin)
- security_selinux: Take @privileged into account (Michal Privoznik)
- qemu: Allow others to browse /var/lib/libvirt/qemu (Martin Kletzander)
- qemu: hotplug: Properly clean up drive backend if frontend hotplug fails 
(Peter Krempa)
- xen: fix race in refresh of config cache (Daniel P. Berrange)
- libxl: don't end job for ephemeal domain on start failure (Ian Campbell)
- qemu: Report error if per-VM directory cannot be created (Martin Kletzander)
- Revert "docs: Drop unused rule for internals/%.html.tmp target" (Martin 
Kletzander)
- conf: fix crash when parsing a unordered NUMA  (Luyao Huang)
- admin: Resolve leaked reference to private data (Erik Skultety)
- util: Avoid Coverity FORWARD_NULL (John Ferlan)
- virfile: Avoid Coverity IDENTICAL_BRANCHES error (John Ferlan)
- lxc: Avoid Coverity SIZEOF_MISMATCH (John Ferlan)
- qemu: Check virGetLastError return value for migration finish failure (John 
Ferlan)
- qemu: Need to check for machine.os when using ADDRESS_TYPE_CCW (John Ferlan)
- libxl: don't overwrite error from virNetSocketNewConnectTCP() (Jim Fehlig)
- util: don't use netlink to save/set mac for macvtap+passthrough+802.1Qbh 
(Laine Stump)
- remoteClientCloseFunc: Don't mangle connection object refcount (Michal 
Privoznik)
- vshInit: Don't leak @histsize_env (Michal Privoznik)
Improvements:
- conf: Add new VIR_DOMAIN_VIRT_NONE enum (Shivangi Dhir)
- vsh: create a noinstall libvirt_shell library (Erik Skultety)
- 

[libvirt] Release of libvirt-php-0.5.1

2015-10-02 Thread Michal Privoznik
So, after little more than a year of development, I'm proud to announce
that libvirt-php-0.5.1 is out! It can be downloaded from

  http://libvirt.org/sources/php/libvirt-php-0.5.1.tar.gz

This is relatively small release, mostly focused on cleanups. Thanks to
all who participated!

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] Release candidate 2 of libvirt-1.2.20

2015-09-30 Thread Daniel Veillard

   I have tagged rc2 in git and pushed signed tarball and rpms to the
usual place :

   ftp://libvirt.org/libvirt/

 this seems to work fine in my limited testing, but other people need to
give it a good try especially on other systems or platforms.

  Goal is to push the final release on Friday,

thanks,

Daniel

-- 
Daniel Veillard  | Open Source and Standards, Red Hat
veill...@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


  1   2   3   4   >