Re: [Xen-devel] [PATCH v2] xenconsole: Ensure exclusive access to console using locks

2015-07-24 Thread Ian Campbell
On Fri, 2015-07-24 at 16:47 +0200, Martin Lucina wrote: > If more than one instance of xenconsole is run against the same DOMID > then each instance will only get some data. This change ensures > exclusive access to the console by obtaining an exclusive lock on > /xenconsole.. > > The locking stra

Re: [Xen-devel] [PATCH v2] xenconsole: Ensure exclusive access to console using locks

2015-07-24 Thread Ian Jackson
Martin Lucina writes ("[PATCH v2] xenconsole: Ensure exclusive access to console using locks"): > If more than one instance of xenconsole is run against the same DOMID > then each instance will only get some data. This change ensures > exclusive access to the console by obtaining an exclusive lock

[Xen-devel] [PATCH v2] xenconsole: Ensure exclusive access to console using locks

2015-07-24 Thread Martin Lucina
If more than one instance of xenconsole is run against the same DOMID then each instance will only get some data. This change ensures exclusive access to the console by obtaining an exclusive lock on /xenconsole.. The locking strategy used is based on tools/libxl/libxl_internal.c:libxl__lock_domai