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: > >>>Hi libvirt people, > >>> >

Re: [libvirt] [OSSTEST PATCH 2/2] libvirt: Do not attempt save/restore when migration not advertised

2016-10-05 Thread Jim Fehlig
On 10/04/2016 11:02 AM, Ian Jackson wrote: Currently, osstest wrongly thinks that ARM can do save/restore, because `virsh help' does mention the save command (on all architectures). Additionally, check the virth capabilities xpath /capabilities/host/migration_features to try to see whether

Re: [libvirt] [OSSTEST PATCH 1/2] libvirt: Check migration capabilities using proper XML parser

2016-10-05 Thread Jim Fehlig
On 10/04/2016 11:02 AM, Ian Jackson wrote: Do not grep the virsh capabilities output (!) Instead, parse the XML using perl's XML modules and look for the specific feature flag using an XPATH pattern. AFAICT from looking at the XML, that's But the original code

Re: [libvirt] [PATCH 00/12] Add length (duration) params for iotune throttling

2016-10-05 Thread John Ferlan
On 09/27/2016 11:21 AM, Michal Privoznik wrote: > On 23.09.2016 14:56, John Ferlan wrote: >> https://bugzilla.redhat.com/show_bug.cgi?id=1349898 >> >> Do a little housekeeping and minor adjustments to existing code, then >> add the various "-length" options for the code. >> >> >> John Ferlan

Re: [libvirt] [OSSTEST PATCH 1/2] libvirt: Check migration capabilities using proper XML parser

2016-10-05 Thread Julien Grall
Hi Ian, On 04/10/2016 10:05, Ian Jackson wrote: Ian Jackson writes ("[OSSTEST PATCH 1/2] libvirt: Check migration capabilities using proper XML parser"): Do not grep the virsh capabilities output (!) Instead, parse the XML using perl's XML modules and look for the specific feature flag using

Re: [libvirt] Analysis of the effect of adding PCIe root ports

2016-10-05 Thread Richard W.M. Jones
On Wed, Oct 05, 2016 at 01:26:31PM -0400, Laine Stump wrote: > On 10/05/2016 11:50 AM, Richard W.M. Jones wrote: > >(b) It would be nice to turn the whole thing off for people who don't > >care about / need hotplugging. > > I had contemplated having an "availablePCIeSlots" (or something like >

Re: [libvirt] Analysis of the effect of adding PCIe root ports

2016-10-05 Thread Laine Stump
On 10/05/2016 11:50 AM, Richard W.M. Jones wrote: I was asked to look at the impact on boot times of adding (empty) PCIe root ports to the device model. The proposal from Laine is to add a few of these to every guest to allow hotplugging. Last time I looked into this I found that probing any

Re: [libvirt] [PATCH] qemu: allow 32 slots on pcie-expander-bus, not just 1

2016-10-05 Thread Laine Stump
On 10/05/2016 12:25 PM, Martin Kletzander wrote: On Wed, Oct 05, 2016 at 11:34:13AM -0400, Laine Stump wrote: When I added support for the pcie-expander-bus controller in commit bc07251f, I incorrectly thought that it only had a single slot available. Actually it has 32 slots, just like the

Re: [libvirt] [PATCH] qemu: allow 32 slots on pcie-expander-bus, not just 1

2016-10-05 Thread Martin Kletzander
On Wed, Oct 05, 2016 at 11:34:13AM -0400, Laine Stump wrote: When I added support for the pcie-expander-bus controller in commit bc07251f, I incorrectly thought that it only had a single slot available. Actually it has 32 slots, just like the root complex aka pcie-root (the part that I *did* get

[libvirt] PCP libvirt Plugin

2016-10-05 Thread Marko Myllynen
Hi, FYI, I've written a PCP plugin (PMDA in PCP parlance) to support most hypervisor / domain information and metrics available over the libvirt Python API, it's up to date as of libvirt 2.3 (so it already supports the recently added perf event metrics). In case you haven't heard about PCP,

Re: [libvirt] libvirt zsh completions

2016-10-05 Thread Eric Blake
On 10/05/2016 04:29 AM, Marko Myllynen wrote: > Hi, > > FWIW, FYI, I've contributed completions for the commands part of libvirt > to zsh upstream, here's a quick screenshot: > > $ virsh > zsh: do you wish to see all 222 possibilities (111 lines)? n > $ virsh allocpages > --add--all

[libvirt] Analysis of the effect of adding PCIe root ports

2016-10-05 Thread Richard W.M. Jones
I was asked to look at the impact on boot times of adding (empty) PCIe root ports to the device model. The proposal from Laine is to add a few of these to every guest to allow hotplugging. Last time I looked into this I found that probing any (legacy) PCI device is expensive because of the

Re: [libvirt] libvirt zsh completions

2016-10-05 Thread Martin Kletzander
On Wed, Oct 05, 2016 at 12:29:59PM +0300, Marko Myllynen wrote: Hi, FWIW, FYI, I've contributed completions for the commands part of libvirt to zsh upstream, here's a quick screenshot: $ virsh zsh: do you wish to see all 222 possibilities (111 lines)? n $ virsh allocpages --add--all

Re: [libvirt] [PATCH] vsh: Fix warnings in command line completer

2016-10-05 Thread Jiri Denemark
On Wed, Oct 05, 2016 at 16:07:09 +0200, Martin Kletzander wrote: > On Wed, Oct 05, 2016 at 09:26:43AM +0200, Jiri Denemark wrote: > >@@ -2648,7 +2647,7 @@ vshReadlineParse(const char *text, int state) > > static vshCommandParser parser, sanitizer; > > vshCommandToken tk; > > static

[libvirt] [PATCH] qemu: allow 32 slots on pcie-expander-bus, not just 1

2016-10-05 Thread Laine Stump
When I added support for the pcie-expander-bus controller in commit bc07251f, I incorrectly thought that it only had a single slot available. Actually it has 32 slots, just like the root complex aka pcie-root (the part that I *did* get correct is that unlike pcie-root a pcie-expander-bus doesn't

Re: [libvirt] [PATCH 2/6] tests: qemu: Add support for testing aguments on monitor verbatim

2016-10-05 Thread Peter Krempa
On Wed, Oct 05, 2016 at 09:37:50 -0400, John Ferlan wrote: > On 09/27/2016 12:39 PM, Peter Krempa wrote: > > Add code that takes a string and matches it against the data passed as > > arguments from qemu. This is a simpler version of > > qemuMonitorTestAddItemParams. > > --- > >

Re: [libvirt] [[PATCH v2] 0/4] try harder to get dest qemu errors on migation

2016-10-05 Thread Peter Krempa
On Mon, Sep 12, 2016 at 17:34:39 +0300, Nikolay Shirokovskiy wrote: > Hi, all. > > In case migration fails due to destination qemu exits unexpectedly user > recevies the qemu log in the error message. Unfortunately log is truncated and > the most interesting part is missed (below is the example

Re: [libvirt] [[PATCH v2] 3/4] virtlogd: add flag to wait for log end on read

2016-10-05 Thread Peter Krempa
On Mon, Sep 12, 2016 at 17:34:42 +0300, Nikolay Shirokovskiy wrote: This is a pretty big change but you did not write anything to describe or justify it. > --- > src/logging/log_handler.c | 38 -- > src/logging/log_protocol.x | 5 + > 2 files changed,

Re: [libvirt] [PATCH 6/6] qemu: monitor: Properly configure backend for UDP chardevs

2016-10-05 Thread Peter Krempa
On Wed, Oct 05, 2016 at 09:39:06 -0400, John Ferlan wrote: > > > On 09/27/2016 12:39 PM, Peter Krempa wrote: > > Since introduction of chardev hotplug the code was wrong for the UDP > > case and basically created a TCP socket instead. Use proper objects and > > type for UDP. > > > > Resolves:

Re: [libvirt] [PATCH 1/3] qemu: simplify switch case for blockjob events

2016-10-05 Thread Jiri Denemark
On Wed, Oct 05, 2016 at 16:52:08 +0300, Nikolay Shirokovskiy wrote: > --- > src/qemu/qemu_monitor_json.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c > index e1494df..6c2884d 100644 > ---

Re: [libvirt] [PATCH] vsh: Fix warnings in command line completer

2016-10-05 Thread Martin Kletzander
On Wed, Oct 05, 2016 at 09:26:43AM +0200, Jiri Denemark wrote: GCC complained that vsh.c: In function 'vshReadlineOptionsGenerator': vsh.c:2622:29: warning: unused variable 'opt' [-Wunused-variable] const vshCmdOptDef *opt = >opts[list_index]; ^ vsh.c: In

[libvirt] libvirt zsh completions

2016-10-05 Thread Marko Myllynen
Hi, FWIW, FYI, I've contributed completions for the commands part of libvirt to zsh upstream, here's a quick screenshot: $ virsh zsh: do you wish to see all 222 possibilities (111 lines)? n $ virsh allocpages --add--all--cellno --pagecount --pagesize $ virsh start

Re: [libvirt] [PATCH v3 1/4] util: Introduce virJSONValueObjectStealArray

2016-10-05 Thread Peter Krempa
On Wed, Oct 05, 2016 at 09:47:15 -0400, John Ferlan wrote: > > > On 10/05/2016 03:48 AM, Peter Krempa wrote: > > On Tue, Oct 04, 2016 at 11:28:55 -0400, John Ferlan wrote: > >> Provide the Steal API for any code paths that will desire to grab the > >> entire array and then free it afterwards

[libvirt] [PATCH 3/3] qemu: report block job errors from qemu to the user

2016-10-05 Thread Nikolay Shirokovskiy
--- src/qemu/qemu_blockjob.c | 13 +++-- src/qemu/qemu_blockjob.h | 3 ++- src/qemu/qemu_domain.h | 1 + src/qemu/qemu_driver.c | 4 ++-- src/qemu/qemu_migration.c| 34 ++ src/qemu/qemu_monitor.c | 5 +++--

[libvirt] [PATCH 1/3] qemu: simplify switch case for blockjob events

2016-10-05 Thread Nikolay Shirokovskiy
--- src/qemu/qemu_monitor_json.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c index e1494df..6c2884d 100644 --- a/src/qemu/qemu_monitor_json.c +++ b/src/qemu/qemu_monitor_json.c @@ -841,10 +841,8 @@

[libvirt] [PATCH 2/3] qemu: use blockjob completed event's error field to detect errors

2016-10-05 Thread Nikolay Shirokovskiy
BLOCK_JOB_COMPLETED has error field set on error from day one (12bd451f) thus there is no need to guess for error. Is it true that when len == offset then can be no error? --- src/qemu/qemu_monitor_json.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [libvirt] [PATCH v3 1/4] util: Introduce virJSONValueObjectStealArray

2016-10-05 Thread John Ferlan
On 10/05/2016 03:48 AM, Peter Krempa wrote: > On Tue, Oct 04, 2016 at 11:28:55 -0400, John Ferlan wrote: >> Provide the Steal API for any code paths that will desire to grab the >> entire array and then free it afterwards rather than relying to freeing >> the whole chain from the reply. >> >>

[libvirt] [PATCH 0/3] qemu: report block job errors from qemu to the user

2016-10-05 Thread Nikolay Shirokovskiy
So that you can see nice report on migration: "error: operation failed: migration of disk sda failed: No space left on device" Nikolay Shirokovskiy (3): qemu: simplify switch case for blockjob events qemu: use blockjob completed event's error field to detect errors qemu: report block job

Re: [libvirt] [PATCH 6/6] qemu: monitor: Properly configure backend for UDP chardevs

2016-10-05 Thread John Ferlan
On 09/27/2016 12:39 PM, Peter Krempa wrote: > Since introduction of chardev hotplug the code was wrong for the UDP > case and basically created a TCP socket instead. Use proper objects and > type for UDP. > > Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1377602 > --- >

Re: [libvirt] [PATCH 3/6] tests: qemumonitorjson: Don't do multiple tests in one virTestRun

2016-10-05 Thread John Ferlan
On 09/27/2016 12:39 PM, Peter Krempa wrote: > The chardev attach test would do all the tests in one virTestRun > instance. If one sub-test failed then the test would report failure > improperly and the error would be hard to debug since the error pointer > was overwritten. > --- >

Re: [libvirt] [PATCH 5/6] qemu: monitor: Simplify construction of chardev backends

2016-10-05 Thread John Ferlan
On 09/27/2016 12:39 PM, Peter Krempa wrote: > --- > src/qemu/qemu_monitor_json.c | 39 +++ > 1 file changed, 15 insertions(+), 24 deletions(-) > ACK, John -- libvir-list mailing list libvir-list@redhat.com

Re: [libvirt] [PATCH v3] qemu-migration: Disallow migration of read only disk

2016-10-05 Thread Jason J. Herne
Polite ping? :) On 09/26/2016 01:16 PM, Corey S. McQuay wrote: Currently Libvirt allows attempts to migrate read only disks. Qemu cannot handle this as read only disks cannot be written to on the destination system. The end result is a cryptic error message and a failed migration. This patch

Re: [libvirt] [PATCH 4/6] tests: qemumonitorjsontest: Do some actual testing in qemuMonitorJSONTestAttachChardev

2016-10-05 Thread John Ferlan
On 09/27/2016 12:39 PM, Peter Krempa wrote: > Until now the test was rather useless since it didn't check the > arguments formatted and didn't use properly configured chardev objects. > > Add the expected arguments and instrument the test to validate them. > Modify some test cases to actually

Re: [libvirt] [PATCH 2/6] tests: qemu: Add support for testing aguments on monitor verbatim

2016-10-05 Thread John Ferlan
On 09/27/2016 12:39 PM, Peter Krempa wrote: > Add code that takes a string and matches it against the data passed as > arguments from qemu. This is a simpler version of > qemuMonitorTestAddItemParams. > --- > tests/qemumonitortestutils.c | 112 > +++ >

Re: [libvirt] [PATCH 1/6] conf: Sanitize formatting of UDP chardev source

2016-10-05 Thread John Ferlan
On 09/27/2016 12:39 PM, Peter Krempa wrote: > Use much simpler logic to determine parts of the code to print. > --- > src/conf/domain_conf.c | 42 -- > 1 file changed, 16 insertions(+), 26 deletions(-) > ACK John -- libvir-list mailing list

Re: [libvirt] [PATCH v3 09/18] qemu: set/use info->pciConnectFlags during qemuDomainAssignDevicePCISlots

2016-10-05 Thread Andrea Bolognani
On Tue, 2016-10-04 at 11:50 -0400, Laine Stump wrote: > > All these differences between the code you're removing and > > the code that's supposed to replace it make me wonder whether > > I'm missing something. Feel free to point out my mistake > > right about... Now! :) >  > Yeah, you're missing

Re: [libvirt] [PATCH v2 1/5] Introduce a "scsi_host" hostdev type

2016-10-05 Thread Eric Farman
On 09/13/2016 05:48 PM, Eric Farman wrote: On 09/13/2016 04:49 PM, John Ferlan wrote: [...] Thanks for the review. (Silent ACK on a lot of the above comments.) I'll try to get these all in place for a v3 with a little runway before the next freeze. OK - hopefully I won't be neck deep

Re: [libvirt] [PATCH 2/3] rbd: Change from static to alloc contexts

2016-10-05 Thread Peter Krempa
On Mon, Sep 26, 2016 at 08:18:30 -0400, John Ferlan wrote: In subject: Static is not the same as stack allocated. > Rather than use static/stack state context pointers, let's allocate and same here. > free the state context pointer. In doing so, we'll shrink the code a bit > since many

Re: [libvirt] [PATCH] libvirt-storage.c:Lines too long, use 80 character columns.

2016-10-05 Thread Andrea Bolognani
On Wed, 2016-09-28 at 10:04 +0100, Daniel P. Berrange wrote: > We do *not* apply > a strict 80 character limit in libvirt. Is that so? I was under the impression that we did, mostly due to the fact that long lines are often pointed out during review, but turns out that in fact the HACKING file

Re: [libvirt] [PATCH 1/2] conf: Add support for preallocated fd memory

2016-10-05 Thread Safka, JaroslavX
Hi, thanks all for review Comments inside Best regards Jarek > -Original Message- > From: Daniel P. Berrange [mailto:berra...@redhat.com] > Sent: Tuesday, October 04, 2016 5:15 PM > To: Michal Privoznik > Cc: Safka, JaroslavX ;

Re: [libvirt] [PATCH 1/3] rbd: Change virStorageBackendRBDCloseRADOSConn to be static void

2016-10-05 Thread Peter Krempa
On Mon, Sep 26, 2016 at 08:18:29 -0400, John Ferlan wrote: > Since none of the callers check the status, let's just alter it from > a (global!) int to be a static void. global? > > While we're at it - scrap the local runtime variable and just do the > math in the VIR_DEBUG directly. > >

Re: [libvirt] [PATCH 3/3] rbd: Move the encryption check in build

2016-10-05 Thread Peter Krempa
On Mon, Sep 26, 2016 at 08:18:31 -0400, John Ferlan wrote: > No sense opening a connection only to fail because we don't support the > type of build being attempted. > > Signed-off-by: John Ferlan > --- > src/storage/storage_backend_rbd.c | 6 +++--- > 1 file changed, 3

Re: [libvirt] 2 major proposals to enhance libvirt and its attractivity among developers & users

2016-10-05 Thread jean-christophe Manciot
Hello Michal, Well, in fact I think this should be vice versa. Docker is using LXCs but not through libvirt. And as much as I wish they had chosen to have libvirt backend, they hadn't. I mean, docker is a management application so in the stack it sits above libvirt. But on the other hand, one

Re: [libvirt] [PATCH v3 4/4] qemu: Create helper qemuMonitorJSONGetBlockDevDevice

2016-10-05 Thread Peter Krempa
On Tue, Oct 04, 2016 at 11:28:58 -0400, John Ferlan wrote: > This will fetch "this device" from the recently returned 'dev' and perform It fetches the device alias actually. "this device" is just a code nuance. > common error checking for the paths that call it. > > Signed-off-by: John Ferlan

Re: [libvirt] [PATCH v3 3/4] qemu: Create helper qemuMonitorJSONGetBlockDev

2016-10-05 Thread Peter Krempa
On Tue, Oct 04, 2016 at 11:28:57 -0400, John Ferlan wrote: > This will grab the 'dev' from devices and do the common validation checks. > > Signed-off-by: John Ferlan > --- > src/qemu/qemu_monitor_json.c | 37 + > 1 file changed, 21

Re: [libvirt] [PATCH v3 2/4] qemu: Create common code for JSON "query-block" call

2016-10-05 Thread Peter Krempa
On Tue, Oct 04, 2016 at 11:28:56 -0400, John Ferlan wrote: > Reduce some cut-n-paste code by creating common helper. Make use of the > recently added virJSONValueObjectStealArray to grab the devices list as > part of the common code (we we can Free the reply) and return devices for > each of the

Re: [libvirt] [PATCH v3 1/4] util: Introduce virJSONValueObjectStealArray

2016-10-05 Thread Peter Krempa
On Tue, Oct 04, 2016 at 11:28:55 -0400, John Ferlan wrote: > Provide the Steal API for any code paths that will desire to grab the > entire array and then free it afterwards rather than relying to freeing > the whole chain from the reply. > > Signed-off-by: John Ferlan > ---

Re: [libvirt] [PATCH 1/2] conf: add disk cache tuning parameters after qemu

2016-10-05 Thread Nikolay Shirokovskiy
adding cc On 26.09.2016 13:36, Nikolay Shirokovskiy wrote: > > > On 26.09.2016 13:04, Peter Krempa wrote: >> On Mon, Sep 26, 2016 at 12:15:42 +0300, Nikolay Shirokovskiy wrote: >>> On 26.09.2016 12:01, Peter Krempa wrote: >> >> [...] >> >>> Sorry, I forget to write down the motivation. >>> >>>

Re: [libvirt] [libvirt-glib 03/20] gconfig: Introduce GVirConfigDomainGraphicsListenAddress

2016-10-05 Thread Christophe Fergeau
hey, On Tue, Oct 04, 2016 at 04:30:14PM +0100, Daniel P. Berrange wrote: > > + > > +/** > > + * gvir_config_domain_graphics_listen_address_get_inet_address: > > + * > > + * Returns the #GInetAddress associated with the > > #GVirConfigDomainGraphicsListenAddress. > > + * > > + * Returns:

[libvirt] [PATCH 3/4] test driver: Store memory per NUMA node

2016-10-05 Thread Michal Privoznik
In d18c7d7124 we have tried to implement virNodeGetFreePages API to test driver. And for a very limited definition of success we have succeeded. But, we can do better. Firstly, we can teach our internal representation of a NUMA cell that there are different page sizes and that they create a pool

[libvirt] [PATCH 4/4] test_driver: Implement virNodeAllocPages

2016-10-05 Thread Michal Privoznik
Now that our cells in test driver are huge pages aware, we can implement virNodeAllocPages. Basically there's just one catch. If users specify startCell == -1, they want the huge pages change to be stretched over all the nodes. Therefore we just recalculate the change they want to make to each

[libvirt] [PATCH 2/4] testNodeGetCellsFreeMemory: Fix off by one error

2016-10-05 Thread Michal Privoznik
Consider the following scenario: virsh # freecell --all 0: 2048 KiB 1: 4096 KiB Total: 6144 KiB virsh # freecell 0 0: 2048 KiB virsh # freecell 1 1: 4096 KiB And now before this change: virsh # freecell 2 After this change:

[libvirt] [PATCH 1/4] testOpenDefault: Rename loop variable

2016-10-05 Thread Michal Privoznik
We have inclination to calling our loop variables i, j, k, not u. Signed-off-by: Michal Privoznik --- src/test/test_driver.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index

[libvirt] [PATCH 0/4] Couple of test driver fixes and improvements

2016-10-05 Thread Michal Privoznik
BLURB Michal Privoznik (4): testOpenDefault: Rename loop variable testNodeGetCellsFreeMemory: Fix off by one error test driver: Store memory per NUMA node test_driver: Implement virNodeAllocPages src/test/test_driver.c | 198 - 1 file

[libvirt] [PATCH] vsh: Fix warnings in command line completer

2016-10-05 Thread Jiri Denemark
GCC complained that vsh.c: In function 'vshReadlineOptionsGenerator': vsh.c:2622:29: warning: unused variable 'opt' [-Wunused-variable] const vshCmdOptDef *opt = >opts[list_index]; ^ vsh.c: In function 'vshReadlineParse': vsh.c:2830:44: warning: 'opt' may be

Re: [libvirt] Entering freeze for libvirt-2.3.0

2016-10-05 Thread Peter Krempa
On Tue, Oct 04, 2016 at 18:25:32 +0200, Michal Privoznik wrote: > On 04.10.2016 18:03, Peter Krempa wrote: > > On Fri, Sep 30, 2016 at 15:28:08 +0200, Daniel Veillard wrote: > >> On Fri, Sep 30, 2016 at 11:37:08AM +0200, Guido Günther wrote: > >>> On Tue, Sep 27, 2016 at 10:14:36PM +0200, Daniel

Re: [libvirt] [OSSTEST PATCH 2/2] libvirt: Do not attempt save/restore when migration not advertised

2016-10-05 Thread Martin Kletzander
On Tue, Oct 04, 2016 at 06:02:27PM +0100, Ian Jackson wrote: Currently, osstest wrongly thinks that ARM can do save/restore, because `virsh help' does mention the save command (on all architectures). Additionally, check the virth capabilities xpath /capabilities/host/migration_features to try

Re: [libvirt] [PATCH 3/3] introduce pull backup

2016-10-05 Thread Nikolay Shirokovskiy
On 05.10.2016 00:55, John Ferlan wrote: > > > On 09/30/2016 10:38 AM, Nikolay Shirokovskiy wrote: >> >> >> On 30.09.2016 01:02, John Ferlan wrote: >>> >>> >>> [...] >>> > > Because it's also dependent upon an x-blockdev-del, it cannot be pushed > upstream to libvirt. I know qemu

Re: [libvirt] [PATCH v2 2/2] Don't drop expired lease while reading custom leases file

2016-10-05 Thread Michal Privoznik
On 03.10.2016 09:49, Michal Privoznik wrote: > On 30.09.2016 17:11, Nehal J Wani wrote: >> Libvirt, on its own, shouldn't decide whether an expired lease should >> stay in the custom leases database or not. It should rather rely on >> the 'DEL' event from dnsmasq. >> --- >> src/util/virlease.c |