Re: [Qemu-devel] Monitor file path length limitation

2017-05-24 Thread Daniel P. Berrange
On Wed, May 24, 2017 at 10:26:58AM -0500, Eric Blake wrote: > On 05/24/2017 10:16 AM, Simon wrote: > > Hello, > > > > It seems that the monitor file path length is limited to about 100 > > characters (107 to be precise). > > Welcome to the joy of Unix socket (AF_UNIX) files. The kernel imposes a

Re: [Qemu-devel] Monitor file path length limitation

2017-05-24 Thread Simon
Thank you for your answer Eric, I've learned a new thing today :) !

Re: [Qemu-devel] Monitor file path length limitation

2017-05-24 Thread Eric Blake
On 05/24/2017 10:16 AM, Simon wrote: > Hello, > > It seems that the monitor file path length is limited to about 100 > characters (107 to be precise). Welcome to the joy of Unix socket (AF_UNIX) files. The kernel imposes a hard length limit on sockaddr_un.sun_path[] (see 'man 7 unix') - and it i

[Qemu-devel] Monitor file path length limitation

2017-05-24 Thread Simon
Hello, It seems that the monitor file path length is limited to about 100 characters (107 to be precise). Currently I'm using the '-monitor' parameter to create the monitor file in a directory which gather all the files related to a given VM (monitor file, PID file, disk image, etc.): -mon