Re: [PATCH v2 6/6] qemucapsprobemock: Fix lookup of qemu functions

2020-11-27 Thread Michal Prívozník
On 11/23/20 11:10 PM, Roman Bolshakov wrote: qemucapsprobemock can't find real versions of qemuMonitorSend() and qemuMonitorJSONIOProcessLine() on macOS. That breaks qemucapsprobe. The failure can be explained by documented behaviour of dlsym(3) on macOS: If dlsym() is called with the

[PATCH v2 6/6] qemucapsprobemock: Fix lookup of qemu functions

2020-11-23 Thread Roman Bolshakov
qemucapsprobemock can't find real versions of qemuMonitorSend() and qemuMonitorJSONIOProcessLine() on macOS. That breaks qemucapsprobe. The failure can be explained by documented behaviour of dlsym(3) on macOS: If dlsym() is called with the special handle RTLD_NEXT, then dyld searches for