Re: [PATCH 09/11] tools/xenstore: add hashtable_replace() function

2023-06-29 Thread Juergen Gross
On 20.06.23 14:43, Julien Grall wrote: Hi Juergen, On 30/05/2023 10:13, Juergen Gross wrote: For an effective way to replace a hashtable entry add a new function hashtable_replace(). While at it let hashtable_add() fail if an entry with the specified key does already exist. Please explain wh

Re: [PATCH 09/11] tools/xenstore: add hashtable_replace() function

2023-06-20 Thread Julien Grall
Hi Juergen, On 30/05/2023 10:13, Juergen Gross wrote: For an effective way to replace a hashtable entry add a new function hashtable_replace(). While at it let hashtable_add() fail if an entry with the specified key does already exist. Please explain why you want to do it. I also think this c

[PATCH 09/11] tools/xenstore: add hashtable_replace() function

2023-05-30 Thread Juergen Gross
For an effective way to replace a hashtable entry add a new function hashtable_replace(). While at it let hashtable_add() fail if an entry with the specified key does already exist. This is in preparation to replace TDB with a more simple data storage. Signed-off-by: Juergen Gross --- tools/xe