[libvirt] ANNOUNCE: Oz 0.16.0 release

2017-08-08 Thread Chris Lalancette
All, I'm pleased to announce release 0.16.0 of Oz. Oz is a program for doing automated installation of guest operating systems with limited input from the user. Release 0.16.0 is a bugfix and feature release for Oz. Some of the highlights between Oz 0.15.0 and 0.16.0 are: * Windows 10 and

[libvirt] Request for review: [PATCH v3 0/3] implement migrate-getmaxdowntime command

2017-08-08 Thread Scott Garfinkle
I think this may have gotten lost in the 3.6 release. Does someone have the time to review this, please? The patches still apply cleanly (albeit with fuzz) at the current level. -Scott Garfinkle -- libvir-list mailing list libvir-list@redhat.com

Re: [libvirt] [RESEND] pci: add support for VMD domains

2017-08-08 Thread Laine Stump
On 08/07/2017 03:46 PM, Jon Derrick wrote: > VMD domains start at 0x1, so expand dev->name to fit at least this > many > characters. > > Signed-off-by: Jon Derrick > --- > src/util/virpci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [libvirt] [RFC]Add new mdev interface for QoS

2017-08-08 Thread Kirti Wankhede
On 8/7/2017 1:11 PM, Gao, Ping A wrote: > > On 2017/8/4 5:11, Alex Williamson wrote: >> On Thu, 3 Aug 2017 20:26:14 +0800 >> "Gao, Ping A" wrote: >> >>> On 2017/8/3 0:58, Alex Williamson wrote: On Wed, 2 Aug 2017 21:16:28 +0530 Kirti Wankhede

[libvirt] [PATCH v4 2/7] lib: Add API to edit domain's managed save state xml configuration

2017-08-08 Thread Kothapally Madhu Pavan
Similar to domainSaveImageDefineXML this commit adds domainManagedSaveDefineXML API which allows to edit domain's managed save state xml configuration. Signed-off-by: Kothapally Madhu Pavan --- include/libvirt/libvirt-domain.h | 4 +++ src/driver-hypervisor.h

Re: [libvirt] [PATCH] conf: check rombar against VIR_DOMAIN_TRISTATE_SWITCH_ABSENT

2017-08-08 Thread Pavel Hrdina
On Mon, Aug 07, 2017 at 05:50:51PM +0200, Michal Privoznik wrote: > On 08/07/2017 05:30 PM, Pavel Hrdina wrote: > > On Mon, Aug 07, 2017 at 05:06:49PM +0200, Michal Privoznik wrote: > >> On 08/07/2017 04:56 PM, Ján Tomko wrote: > >>> Make the comparison explicit. > >>> --- > >>>

[libvirt] [PATCH v4 7/7] virsh: Implement managedsave-edit command

2017-08-08 Thread Kothapally Madhu Pavan
Add a simple virsh command handler which makes use of the new API. Signed-off-by: Kothapally Madhu Pavan --- tools/virsh-domain.c | 72 tools/virsh.pod | 21 +++ 2 files changed, 93 insertions(+)

Re: [libvirt] [PATCH] Update to latest keycodemapdb content

2017-08-08 Thread Andrea Bolognani
On Mon, 2017-08-07 at 14:38 +0100, Daniel P. Berrange wrote: > Signed-off-by: Daniel P. Berrange > --- > src/Makefile.am | 2 +- > src/keycodemapdb | 2 +- > src/util/virkeycode.c | 5 ++--- > 3 files changed, 4 insertions(+), 5 deletions(-) The changes look

[libvirt] [PATCH v4 3/7] qemu: Implement qemuDomainManagedSaveGetXMLDesc

2017-08-08 Thread Kothapally Madhu Pavan
This commit adds qemu driver implementation to get xml description for managed save state domain. Signed-off-by: Kothapally Madhu Pavan --- src/qemu/qemu_driver.c | 46 ++ 1 file changed, 46 insertions(+) diff --git

Re: [libvirt] [RFC]Add new mdev interface for QoS

2017-08-08 Thread Gao, Ping A
On 2017/8/8 14:42, Kirti Wankhede wrote: > > On 8/7/2017 1:11 PM, Gao, Ping A wrote: >> On 2017/8/4 5:11, Alex Williamson wrote: >>> On Thu, 3 Aug 2017 20:26:14 +0800 >>> "Gao, Ping A" wrote: >>> On 2017/8/3 0:58, Alex Williamson wrote: > On Wed, 2 Aug 2017

[libvirt] [PATCH v4 5/7] virsh: Implement managedsave-define command

2017-08-08 Thread Kothapally Madhu Pavan
Add a simple virsh command handler which makes use of the new API. Signed-off-by: Kothapally Madhu Pavan --- tools/virsh-domain.c | 79 tools/virsh.pod | 14 ++ 2 files changed, 93 insertions(+) diff

[libvirt] [PATCH v4 1/7] lib: Add API to dump xml configuration of managed save state domain

2017-08-08 Thread Kothapally Madhu Pavan
Similar to domainSaveImageGetXMLDesc this commit adds domainManagedSaveGetXMLDesc API which allows to get the xml of managed save state domain. Signed-off-by: Kothapally Madhu Pavan --- include/libvirt/libvirt-domain.h | 2 ++ src/driver-hypervisor.h | 5

Re: [libvirt] support for configuring all ports of a multiport SRIOV VF when assigning to guest

2017-08-08 Thread Moshe Levi
Hi Laine, Our Driver Architect is on PTO, I am waiting for his return to provide answer to your questions -Original Message- From: sendmail [mailto:justsendmailnothinge...@gmail.com] On Behalf Of Laine Stump Sent: Saturday, August 5, 2017 8:14 PM To: Libvirt

[libvirt] [PATCH] docs: force content in

2017-08-08 Thread Daniel P. Berrange
If there's no content in , the XSTL generator will turn it into which is not permitted in XHTML. Adding a single whitespace is enough to guarantee an explicit closing tag. Without this, the scripts never get loaded by the browser. Signed-off-by: Daniel P. Berrange ---

[libvirt] [PATCH v4 4/7] qemu: Implement qemuDomainManagedSaveDefineXML

2017-08-08 Thread Kothapally Madhu Pavan
This commit adds qemu driver implementation to edit xml configuration of managed save state file of a domain. Signed-off-by: Kothapally Madhu Pavan --- src/qemu/qemu_driver.c | 41 + 1 file changed, 41 insertions(+) diff --git

[libvirt] [PATCH v4 0/7] Add new APIs to edit xml configuration of managed save state of a domain

2017-08-08 Thread Kothapally Madhu Pavan
managedsave command offloads the user from managing the save state file. It does not need the user to specify saved state file location, all it takes is domain name to identify. This makes it much more comfortable to use in emergency where immediate shutdowm is needed. But it doesn't provide a way

Re: [libvirt] [PATCH] conf: check rombar against VIR_DOMAIN_TRISTATE_SWITCH_ABSENT

2017-08-08 Thread Michal Privoznik
On 08/08/2017 10:49 AM, Pavel Hrdina wrote: > On Mon, Aug 07, 2017 at 05:50:51PM +0200, Michal Privoznik wrote: >> On 08/07/2017 05:30 PM, Pavel Hrdina wrote: >>> On Mon, Aug 07, 2017 at 05:06:49PM +0200, Michal Privoznik wrote: On 08/07/2017 04:56 PM, Ján Tomko wrote: > Make the

[libvirt] [PATCH v4 6/7] virsh: Implement managedsave-dumpxml command

2017-08-08 Thread Kothapally Madhu Pavan
Add a simple virsh command handler which makes use of the new API. Signed-off-by: Kothapally Madhu Pavan --- tools/virsh-domain.c | 56 tools/virsh.pod | 6 ++ 2 files changed, 62 insertions(+) diff --git

Re: [libvirt] [PATCH] docs: Add "PCI topology and hotplug" guidelines

2017-08-08 Thread Laine Stump
On 07/25/2017 06:42 AM, Andrea Bolognani wrote: > For all machine types except i440fx, making a guest hotplug > capable requires some sort of planning. Add some information > to help users make educated choices when defining the PCI > topology of guests. > > Signed-off-by: Andrea Bolognani

[libvirt] [dbus PATCH 5/7] maint: move service file into data directory

2017-08-08 Thread Pavel Hrdina
Signed-off-by: Pavel Hrdina --- .gitignore | 3 ++- Makefile.am | 2 +- configure.ac| 2 ++ data/Makefile.am| 15 +++ data/session/org.libvirt.service.in | 3 +++

[libvirt] [dbus PATCH 6/7] data: add system dbus service file

2017-08-08 Thread Pavel Hrdina
Signed-off-by: Pavel Hrdina --- .gitignore | 1 + configure.ac | 10 ++ data/Makefile.am | 16 ++-- data/system/org.libvirt.service.in | 4 libvirt-dbus.spec.in | 1 + 5

[libvirt] [dbus PATCH 7/7] data: add system dbus service policy configuration

2017-08-08 Thread Pavel Hrdina
Signed-off-by: Pavel Hrdina --- configure.ac | 10 ++ data/Makefile.am | 8 +++- data/system/org.libvirt.conf | 12 libvirt-dbus.spec.in | 1 + 4 files changed, 30 insertions(+), 1 deletion(-) create mode 100644

[libvirt] [PATCH] qemuBuildMemoryBackendStr: Handle one more corner case

2017-08-08 Thread Michal Privoznik
https://bugzilla.redhat.com/show_bug.cgi?id=1458638 This code is so complicated because we allow enabling the same bits at many places. Just like in this case: huge pages can be enabled by global element under or on per basis. To complicate things a bit more, users are allowed to not specify

Re: [libvirt] [PATCH] docs: Add "PCI topology and hotplug" guidelines

2017-08-08 Thread Andrea Bolognani
On Tue, 2017-08-08 at 10:06 -0400, Laine Stump wrote: > > + The reason for this apparent limitation is the fact that each > > + hotplugged PCI device might require additional PCI controllers to > > + be added to the guest, and libvirt has no way of knowing in advance > > + how

[libvirt] [dbus PATCH 4/7] build: move test related bits to test/Makefile.am

2017-08-08 Thread Pavel Hrdina
Signed-off-by: Pavel Hrdina --- Makefile.am | 19 +-- configure.ac | 1 + test/Makefile.am | 16 3 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 test/Makefile.am diff --git a/Makefile.am b/Makefile.am index

[libvirt] [dbus PATCH 3/7] build: fix distcheck

2017-08-08 Thread Pavel Hrdina
Signed-off-by: Pavel Hrdina --- Makefile.am | 15 ++- test/libvirttest.py | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index abb154c..67e9d1e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,6 +25,19

[libvirt] [dbus PATCH 0/7] additional cleanups and improvements

2017-08-08 Thread Pavel Hrdina
Pavel Hrdina (7): maint: cleanup gitignore maint: ignore dist tarball build: fix distcheck build: move test related bits to test/Makefile.am maint: move service file into data directory data: add system dbus service file data: add system dbus service policy configuration .gitignore

[libvirt] [dbus PATCH 1/7] maint: cleanup gitignore

2017-08-08 Thread Pavel Hrdina
Signed-off-by: Pavel Hrdina --- .gitignore | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 0844b58..e4bd377 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,15 @@ +*.log *.o -*~ -vgcore.* *.pyc

[libvirt] [dbus PATCH 2/7] maint: ignore dist tarball

2017-08-08 Thread Pavel Hrdina
Signed-off-by: Pavel Hrdina --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index e4bd377..72f3595 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ vgcore.* /config.log /config.status /configure +/libvirt-dbus-*.tar.gz

[libvirt] A bug that libvirt lxc can't destroy all container process.

2017-08-08 Thread 曹远志
Hello all, This is my first mail to this list, so let me introduce myself. My name is yuanzhi cao, and I work in the oVirt team. Currently We are using libvirt lxc in large-scale and found that libvirt can't destroy container process normally . Environments: System: zesty libvirt version: