2014-05-22 12:37, Burakov, Anatoly: > > Yes, in some environments, it could be easier to be able to configure > > devices directly on application command line instead of having to call a > > python script. I think having a clear and extendable syntax to configure > > devices in command line could greatly improve usability. But it can be > > another step. > > That's probably out of scope for this patch. We can discuss this later > without stalling VFIO :)
Yes, I agree to discuss it later. > > What do you think of _mp_sync or _mp_conf? > > Usage of the socket is to synchronize VFIO config between processes, > > right? > > More or less, yes. However, the code inside that file is the communication > mechanism. I.e. it's not actually synchronizing or configuring anything, > it's simply providing means to do so for primary and secondary processes, > so I don't think _mp_sync or _mp_conf is a good name for that. IMO > something like _mp_socket or similar (_mp_comm?) would be more appropriate. Yes I agree. But I stopped on the name for another thing: it's not really specific to vfio. Actually, vfio uses it for synchronization. But wouldn't it be more generic? -- Thomas