Re: [PATCH v3 04/17] tools/xenstore: introduce dummy nodes for special watch paths

2023-01-17 Thread Juergen Gross
On 17.01.23 15:02, Julien Grall wrote: Hi Juergen, On 17/01/2023 09:11, Juergen Gross wrote: +static void fire_special_watches(const char *name) +{ +    void *ctx = talloc_new(NULL); +    struct node *node; + +    if (!ctx) +    return; + +    node = read_node(NULL, ctx, name); + +    if (n

Re: [PATCH v3 04/17] tools/xenstore: introduce dummy nodes for special watch paths

2023-01-17 Thread Julien Grall
Hi Juergen, On 17/01/2023 09:11, Juergen Gross wrote: +static void fire_special_watches(const char *name) +{ + void *ctx = talloc_new(NULL); + struct node *node; + + if (!ctx) + return; + + node = read_node(NULL, ctx, name); + + if (node) +

[PATCH v3 04/17] tools/xenstore: introduce dummy nodes for special watch paths

2023-01-17 Thread Juergen Gross
Instead of special casing the permission handling and watch event firing for the special watch paths "@introduceDomain" and "@releaseDomain", use static dummy nodes added to the data base when starting Xenstore. The node accounting needs to reflect that change by adding the special nodes in the do