[libvirt] Syslog nested job is dangerous message

2014-07-16 Thread Sam Bobroff
Hello everyone, After performing a migration, the syslog often contains several messages like this: This thread seems to be the async job owner; entering monitor without asking for a nested job is dangerous The message makes it sound as if the user has done something dangerous but, after

Re: [libvirt] Syslog nested job is dangerous message

2014-07-16 Thread Sam Bobroff
On 17/07/14 12:50, Eric Blake wrote: On 07/16/2014 07:52 PM, Sam Bobroff wrote: Hello everyone, [Can you configure your mailer to wrap long lines?] [No problem, done.] After performing a migration, the syslog often contains several messages like this: This thread seems to be the async

Re: [libvirt] Syslog nested job is dangerous message

2014-07-22 Thread Sam Bobroff
On 17/07/14 17:54, Ján Tomko wrote: On 07/17/2014 08:51 AM, Jiri Denemark wrote: On Thu, Jul 17, 2014 at 13:29:52 +1000, Sam Bobroff wrote: On 17/07/14 12:50, Eric Blake wrote: On 07/16/2014 07:52 PM, Sam Bobroff wrote: Hello everyone, [Can you configure your mailer to wrap long lines

[libvirt] [PATCH 1/1] qemu: Tidy up job handling during live migration

2014-07-28 Thread Sam Bobroff
places that are incorrect. This patch passes the required asyncJob value around and prevents the warnings as well as any issues that the warnings may be referring to. Signed-off-by: Sam Bobroff sam.bobr...@au1.ibm.com --- src/qemu/qemu_domain.c| 5 +++-- src/qemu/qemu_domain.h| 2

Re: [libvirt] [PATCH 1/1] qemu: Tidy up job handling during live migration

2014-07-31 Thread Sam Bobroff
On 30/07/14 01:52, Ján Tomko wrote: On 07/29/2014 02:41 AM, Sam Bobroff wrote: During a QEMU live migration several warning messages about job handling could be written to syslog on the destination host: entering monitor without asking for a nested job is dangerous The messages are written

Re: [libvirt] [PATCH 1/1] qemu: Tidy up job handling during live migration

2014-08-11 Thread Sam Bobroff
On 02/08/14 00:04, Ján Tomko wrote: On 08/01/2014 03:12 AM, Sam Bobroff wrote: On 30/07/14 01:52, Ján Tomko wrote: On 07/29/2014 02:41 AM, Sam Bobroff wrote: During a QEMU live migration several warning messages about job handling could be written to syslog on the destination host: entering

[libvirt] [PATCH v2 1/1] qemu: Tidy up job handling during live migration

2014-08-11 Thread Sam Bobroff
places that are incorrect. This patch passes the required asyncJob value around and prevents the warnings as well as any issues that the warnings may be referring to. Signed-off-by: Sam Bobroff sam.bobr...@au1.ibm.com --- v2: * Handle failures from qemuDomainObjEnterMonitorAsync() rather than

Re: [libvirt] [PATCH] fix

2014-08-14 Thread Sam Bobroff
On 14/08/14 20:14, Ján Tomko wrote: On 08/14/2014 11:52 AM, Michal Privoznik wrote: On 14.08.2014 10:41, Ján Tomko wrote: Also add qemuDomainChangeGraphicsPasswords, qemuProcessVerifyGuestCPU and qemuProcessInitPCIAddresses. Replace tabs by spaces. --- I'll do some testing on the patch and

[libvirt] Question about QEMU + hugepages + NUMA memory + migration

2016-07-31 Thread Sam Bobroff
Hi libvirt people, I've been looking at a (probable) bug and I'm not sure how to progress. The situation is a bit complicated and involves both QEMU and libvirt (and I think it may have been looked at already) so I would really appreciate some advice on how to approach it. I'm using a pretty

[libvirt] qemu: Bug: NUMA memory policy ignored in some situations

2016-08-16 Thread Sam Bobroff
Hi all, I've found that if I create a QEMU guest that: (a) is backed by host hugepages and (b) specifies a host NUMA memory placement policy ... then the NUMA policy (b) is ignored. It's even possible to start the guest if the policy specifies that memory must come from non-existant host

Re: [libvirt] Question about QEMU + hugepages + NUMA memory + migration

2016-10-05 Thread Sam Bobroff
On Tue, Oct 04, 2016 at 11:28:15AM +0200, Martin Kletzander wrote: > On Tue, Oct 04, 2016 at 02:34:57PM +1100, Sam Bobroff wrote: > >On Mon, Oct 03, 2016 at 04:27:25PM +0200, Martin Kletzander wrote: > >>On Mon, Aug 01, 2016 at 02:01:22PM +1000, Sam Bobroff wrote: >

Re: [libvirt] Question about QEMU + hugepages + NUMA memory + migration

2016-10-03 Thread Sam Bobroff
On Mon, Oct 03, 2016 at 04:27:25PM +0200, Martin Kletzander wrote: > On Mon, Aug 01, 2016 at 02:01:22PM +1000, Sam Bobroff wrote: > >Hi libvirt people, > > > >I've been looking at a (probable) bug and I'm not sure how to progress. The > >situation is a bit complic

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-26 Thread Sam Bobroff
On Tue, Oct 25, 2016 at 02:13:07PM +0200, Martin Kletzander wrote: > On Tue, Oct 25, 2016 at 01:10:23PM +1100, Sam Bobroff wrote: > >On Tue, Oct 18, 2016 at 10:43:31PM +0200, Martin Kletzander wrote: > >>On Mon, Oct 17, 2016 at 03:45:09PM +1100, Sam Bobroff wrote: > >>

[libvirt] [RFC PATCH v2 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-30 Thread Sam Bobroff
this by, in this specific case, changing the QEMU command line from "-mem-prealloc -mem-path=..." (which cannot specify NUMA policy) to "-object memory-backend-file ..." (which can). Note: This is not visible to the guest and does not appear to create a migration incompatibility. Signed

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-24 Thread Sam Bobroff
On Tue, Oct 18, 2016 at 10:43:31PM +0200, Martin Kletzander wrote: > On Mon, Oct 17, 2016 at 03:45:09PM +1100, Sam Bobroff wrote: > >On Fri, Oct 14, 2016 at 10:19:42AM +0200, Martin Kletzander wrote: > >>On Fri, Oct 14, 2016 at 11:52:22AM +1100, Sam Bobroff wrote: > >>

[libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-11 Thread Sam Bobroff
this by, in this specific case, changing the QEMU command line from "-mem-prealloc -mem-path=..." (which cannot specify NUMA policy) to "-object memory-backend-file ..." (which can). Note: This is not visible to the guest and does not appear to create a migration incompatibility. Signed

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-13 Thread Sam Bobroff
On Thu, Oct 13, 2016 at 11:34:43AM +0200, Martin Kletzander wrote: > On Thu, Oct 13, 2016 at 11:34:16AM +1100, Sam Bobroff wrote: > >On Wed, Oct 12, 2016 at 10:27:50AM +0200, Martin Kletzander wrote: > >>On Wed, Oct 12, 2016 at 03:04:53PM +1100, Sam Bobroff wrote: > >

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-16 Thread Sam Bobroff
On Fri, Oct 14, 2016 at 10:19:42AM +0200, Martin Kletzander wrote: > On Fri, Oct 14, 2016 at 11:52:22AM +1100, Sam Bobroff wrote: > >On Thu, Oct 13, 2016 at 11:34:43AM +0200, Martin Kletzander wrote: > >>On Thu, Oct 13, 2016 at 11:34:16AM +1100, Sam Bobroff wrote: > >>

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-12 Thread Sam Bobroff
On Wed, Oct 12, 2016 at 10:27:50AM +0200, Martin Kletzander wrote: > On Wed, Oct 12, 2016 at 03:04:53PM +1100, Sam Bobroff wrote: > >At the moment, guests that are backed by hugepages in the host are > >only able to use policy to control the placement of those hugepages > >

Re: [libvirt] [PATCH 1/1] qemu: host NUMA hugepage policy without guest NUMA

2016-10-12 Thread Sam Bobroff
On Wed, Oct 12, 2016 at 09:48:07AM +0200, Peter Krempa wrote: > On Wed, Oct 12, 2016 at 15:04:53 +1100, Sam Bobroff wrote: > > At the moment, guests that are backed by hugepages in the host are > > only able to use policy to control the placement of those hugepages > > on a