avatartwo / avatar2

Python core of avatar²
Apache License 2.0
518 stars 98 forks source link

RemoteMemoryProtocol: Handle ImportError on darwin #87

Closed fabianfreyer closed 3 years ago

fabianfreyer commented 3 years ago

Darwin doesn't have mqueue.h, so the posix_ipc dependency raises an ImportError when remote_memory.py tries to import MessageQueue.

For now, just fail gracefully, and don't add a rmp to a qemu_target if RemoteMemoryProtocol can't be imported.