[libvirt] Entering freeze for libvirt 4.9.0

2018-10-30 Thread Daniel Veillard
with a bit of delay today, I finally just tagged the release candidate 1 in git and pushed signed tarball and rpms to the usual place: ftp://libvirt.org/libvirt/ Looks fine in my minimal testing, and most of CI seems to be green except for 3 tests https://ci.centos.org/view/libvirt/ .

Re: [libvirt] [Qemu-devel] [PATCH 3/3] cirrus: mark as deprecated

2018-10-30 Thread Daniel P . Berrangé
On Mon, Oct 29, 2018 at 10:12:44AM +0100, Gerd Hoffmann wrote: > On Thu, Oct 25, 2018 at 09:37:58PM +0100, Daniel P. Berrangé wrote: > > On Thu, Oct 25, 2018 at 10:52:56AM +0200, Gerd Hoffmann wrote: > > > While being at it deprecate cirrus too. > > > > > > Reason (short version): use stdvga inste

[libvirt] RFC: "Determine if the domain has been updated."?

2018-10-30 Thread Philipp Hahn
Hello, states: > int virDomainIsUpdated (virDomainPtr dom) > > Determine if the domain has been updated. > > dom: pointer to the domain object > Returns: 1 if updated, 0 if not, -1 on error Not very enligh

Re: [libvirt] [PATCH v2] qemu: Introduce caching whether /dev/kvm is accessible

2018-10-30 Thread Daniel P . Berrangé
On Tue, Oct 30, 2018 at 04:47:32PM +0100, Michal Privoznik wrote: > On 10/30/2018 04:07 PM, Daniel P. Berrangé wrote: > > On Tue, Oct 30, 2018 at 03:45:36PM +0100, Michal Privoznik wrote: > >> On 10/30/2018 02:46 PM, Michal Privoznik wrote: > >>> On 10/30/2018 01:55 PM, Daniel P. Berrangé wrote: >

Re: [libvirt] [Qemu-devel] [PATCH v3 0/3] Deprecate QMP & HMP `cpu-add`; document vCPU hotplug

2018-10-30 Thread Michal Privoznik
On 10/30/2018 02:00 PM, Kashyap Chamarthy wrote: > [Cc: libvir-list] > > On Tue, Oct 30, 2018 at 01:35:23PM +0100, Kashyap Chamarthy wrote: >> The first patch deprecates the QMP `cpu-add`, the second its HMP >> equivalent, and the third documents vCPU hotplug procedure using QMP >> `device_add` e

Re: [libvirt] [PATCH v2] qemu: Introduce caching whether /dev/kvm is accessible

2018-10-30 Thread Michal Privoznik
On 10/30/2018 04:07 PM, Daniel P. Berrangé wrote: > On Tue, Oct 30, 2018 at 03:45:36PM +0100, Michal Privoznik wrote: >> On 10/30/2018 02:46 PM, Michal Privoznik wrote: >>> On 10/30/2018 01:55 PM, Daniel P. Berrangé wrote: On Tue, Oct 30, 2018 at 10:32:08AM +, Daniel P. Berrangé wrote: >>>

Re: [libvirt] [PATCH v2] qemu: Introduce caching whether /dev/kvm is accessible

2018-10-30 Thread Daniel P . Berrangé
On Tue, Oct 30, 2018 at 03:45:36PM +0100, Michal Privoznik wrote: > On 10/30/2018 02:46 PM, Michal Privoznik wrote: > > On 10/30/2018 01:55 PM, Daniel P. Berrangé wrote: > >> On Tue, Oct 30, 2018 at 10:32:08AM +, Daniel P. Berrangé wrote: > >>> On Tue, Oct 30, 2018 at 11:08:45AM +0100, Michal P

Re: [libvirt] [PATCH v2] qemu: Introduce caching whether /dev/kvm is accessible

2018-10-30 Thread Michal Privoznik
On 10/30/2018 02:46 PM, Michal Privoznik wrote: > On 10/30/2018 01:55 PM, Daniel P. Berrangé wrote: >> On Tue, Oct 30, 2018 at 10:32:08AM +, Daniel P. Berrangé wrote: >>> On Tue, Oct 30, 2018 at 11:08:45AM +0100, Michal Privoznik wrote: On 10/30/2018 10:35 AM, Daniel P. Berrangé wrote: >>>

Re: [libvirt] [PATCH v2] qemu: Introduce caching whether /dev/kvm is accessible

2018-10-30 Thread Michal Privoznik
On 10/30/2018 01:55 PM, Daniel P. Berrangé wrote: > On Tue, Oct 30, 2018 at 10:32:08AM +, Daniel P. Berrangé wrote: >> On Tue, Oct 30, 2018 at 11:08:45AM +0100, Michal Privoznik wrote: >>> On 10/30/2018 10:35 AM, Daniel P. Berrangé wrote: On Tue, Oct 30, 2018 at 09:13:50AM +0100, Michal Pr

Re: [libvirt] [PATCH v3 0/3] Deprecate QMP & HMP `cpu-add`; document vCPU hotplug

2018-10-30 Thread Kashyap Chamarthy
[Cc: libvir-list] On Tue, Oct 30, 2018 at 01:35:23PM +0100, Kashyap Chamarthy wrote: > The first patch deprecates the QMP `cpu-add`, the second its HMP > equivalent, and the third documents vCPU hotplug procedure using QMP > `device_add` et al. > > v2: https://lists.gnu.org/archive/html/qemu-dev

Re: [libvirt] [PATCH v2] qemu: Introduce caching whether /dev/kvm is accessible

2018-10-30 Thread Daniel P . Berrangé
On Tue, Oct 30, 2018 at 10:32:08AM +, Daniel P. Berrangé wrote: > On Tue, Oct 30, 2018 at 11:08:45AM +0100, Michal Privoznik wrote: > > On 10/30/2018 10:35 AM, Daniel P. Berrangé wrote: > > > On Tue, Oct 30, 2018 at 09:13:50AM +0100, Michal Privoznik wrote: > > >> On 10/29/2018 06:34 PM, Marc H

Re: [libvirt] [PATCH 1/2] qemu: fix recording of vCPU pids for MTTCG

2018-10-30 Thread Daniel P . Berrangé
On Tue, Oct 30, 2018 at 07:30:52AM -0400, John Ferlan wrote: > > > On 10/30/18 5:25 AM, Daniel P. Berrangé wrote: > > On Mon, Oct 29, 2018 at 05:55:36PM -0400, John Ferlan wrote: > >> > >> > >> On 10/17/18 10:15 AM, Daniel P. Berrangé wrote: > >>> MTTCG is the new multi-threaded impl of TCG which

Re: [libvirt] [PATCH 1/2] qemu: fix recording of vCPU pids for MTTCG

2018-10-30 Thread John Ferlan
On 10/30/18 5:25 AM, Daniel P. Berrangé wrote: > On Mon, Oct 29, 2018 at 05:55:36PM -0400, John Ferlan wrote: >> >> >> On 10/17/18 10:15 AM, Daniel P. Berrangé wrote: >>> MTTCG is the new multi-threaded impl of TCG which follows >>> KVM in having one host OS thread per vCPU. Historically >>> we h

Re: [libvirt] [PATCH v2] qemu: Introduce caching whether /dev/kvm is accessible

2018-10-30 Thread Daniel P . Berrangé
On Tue, Oct 30, 2018 at 11:08:45AM +0100, Michal Privoznik wrote: > On 10/30/2018 10:35 AM, Daniel P. Berrangé wrote: > > On Tue, Oct 30, 2018 at 09:13:50AM +0100, Michal Privoznik wrote: > >> On 10/29/2018 06:34 PM, Marc Hartmayer wrote: > >>> Introduce caching whether /dev/kvm is usable as the QE

Re: [libvirt] [PATCH v2] qemu: Introduce caching whether /dev/kvm is accessible

2018-10-30 Thread Michal Privoznik
On 10/30/2018 10:35 AM, Daniel P. Berrangé wrote: > On Tue, Oct 30, 2018 at 09:13:50AM +0100, Michal Privoznik wrote: >> On 10/29/2018 06:34 PM, Marc Hartmayer wrote: >>> Introduce caching whether /dev/kvm is usable as the QEMU user:QEMU >>> group. This reduces the overhead of the QEMU capabilities

Re: [libvirt] [PATCH 1/2] qemu: fix recording of vCPU pids for MTTCG

2018-10-30 Thread Daniel P . Berrangé
On Mon, Oct 29, 2018 at 05:55:36PM -0400, John Ferlan wrote: > > > On 10/17/18 10:15 AM, Daniel P. Berrangé wrote: > > MTTCG is the new multi-threaded impl of TCG which follows > > KVM in having one host OS thread per vCPU. Historically > > we have discarded all PIDs reported for TCG guests, but

Re: [libvirt] [PATCH 0/2] Augment access denied error message and adjust polkit docs

2018-10-30 Thread Michal Privoznik
On 10/15/2018 04:26 PM, John Ferlan wrote: > Details in the patches > > John Ferlan (2): > access: Modify the VIR_ERR_ACCESS_DENIED to include driverName > docs: Enhance polkit documentation to describe secondary connection > > docs/aclpolkit.html.in| 117

Re: [libvirt] [PATCH v2] qemu: Introduce caching whether /dev/kvm is accessible

2018-10-30 Thread Daniel P . Berrangé
On Tue, Oct 30, 2018 at 09:13:50AM +0100, Michal Privoznik wrote: > On 10/29/2018 06:34 PM, Marc Hartmayer wrote: > > Introduce caching whether /dev/kvm is usable as the QEMU user:QEMU > > group. This reduces the overhead of the QEMU capabilities cache > > lookup. Before this patch there were many

Re: [libvirt] [PATCH] libxl: add support for soft reset

2018-10-30 Thread Michal Privoznik
On 10/30/2018 03:17 AM, Jim Fehlig wrote: > On 10/29/18 7:26 PM, Jim Fehlig wrote: >> The pvops Linux kernel implements machine_ops.crash_shutdown as >> >> static void xen_hvm_crash_shutdown(struct pt_regs *regs) >> { >> native_machine_crash_shutdown(regs); >> xen_reboot(SHUTDOWN_

Re: [libvirt] [PATCH 1/2] qemu: fix recording of vCPU pids for MTTCG

2018-10-30 Thread Michal Privoznik
On 10/29/2018 10:55 PM, John Ferlan wrote: > > > On 10/17/18 10:15 AM, Daniel P. Berrangé wrote: >> MTTCG is the new multi-threaded impl of TCG which follows >> KVM in having one host OS thread per vCPU. Historically >> we have discarded all PIDs reported for TCG guests, but >> we must now select

Re: [libvirt] [PATCH v2] qemu: Introduce caching whether /dev/kvm is accessible

2018-10-30 Thread Michal Privoznik
On 10/29/2018 06:34 PM, Marc Hartmayer wrote: > Introduce caching whether /dev/kvm is usable as the QEMU user:QEMU > group. This reduces the overhead of the QEMU capabilities cache > lookup. Before this patch there were many fork() calls used for > checking whether /dev/kvm is accessible. Now we st

Re: [libvirt] [PATCH] nwfilter: intantiate filters on loading driver

2018-10-30 Thread Nikolay Shirokovskiy
On 29.10.2018 22:37, John Ferlan wrote: > > > On 10/15/18 4:26 AM, Nikolay Shirokovskiy wrote: >> Before using filters binding filters instantiation was done by hypervisors >> drivers initialization code (qemu was the only such hypervisor). Now qemu >> reconnection done supposes it should be d