Re: [Qemu-devel] [PATCH v2] xen_console: support the new extended xenstore protocol

2011-06-28 Thread Peter Maydell
On 28 June 2011 15:55, wrote: > +    xs = xs_daemon_open(); > +    if (xs == NULL) { > +        fprintf(stderr, "Could not contact XenStore\n"); > +        goto out; > +    } > +out: > +    free(path); > +    xs_daemon_close(xs); Google suggests xs_daemon_close(NULL) will crash... -- PMM

[Qemu-devel] [PATCH v2] xen_console: support the new extended xenstore protocol

2011-06-28 Thread stefano.stabellini
From: Stefano Stabellini Since CS 21994 on xen-unstable.hg and CS 466608f3a32e1f9808acdf832a5843af37e5fcec on qemu-xen-unstable.git, few changes have been introduced to the PV console xenstore protocol, as described by the document docs/misc/console.txt under xen-unstable.hg. >From the Qemu poin