|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 16/17] tools/xenstore: let check_store() check the accounting data
Hi Juergen, On 18/01/2023 06:23, Juergen Gross wrote: On 17.01.23 23:36, Julien Grall wrote:Hi Juergen, On 17/01/2023 09:11, Juergen Gross wrote:Today check_store() is only testing the correctness of the node tree. Add verification of the accounting data (number of nodes) and correctNIT: one too many space before 'and'.the data if it is wrong. Do the initial check_store() call only after Xenstore entries of a live update have been read.Can you clarify whether this is needed for the rest of the patch, or simply a nice thing to have in general?I'll add: "This is wanted to make sure the accounting data is correct after a live update." Fine with me. Signed-off-by: Juergen Gross <jgross@xxxxxxxx> --- tools/xenstore/xenstored_core.c | 62 ++++++++++++++++------ tools/xenstore/xenstored_domain.c | 86 +++++++++++++++++++++++++++++++ tools/xenstore/xenstored_domain.h | 4 ++ 3 files changed, 137 insertions(+), 15 deletions(-)diff --git a/tools/xenstore/xenstored_core.c b/tools/xenstore/xenstored_core.c I am not sure I understand your reasoning. Looking at hashtable_search(), I don't see a call to talloc_free(). Anyway, this is not directly related to this patch. So I will have a look separately. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |