nutanix / libvfio-user

framework for emulating devices in userspace
BSD 3-Clause "New" or "Revised" License
154 stars 49 forks source link

Introduce client object in python tests #772

Closed mnissler-rivos closed 10 months ago

mnissler-rivos commented 11 months ago

Thus far, the client end of the socket is the only piece of client state tracked in tests, for which a global socket variable has been used. In preparation to add more state, replace the socket global with a client global object that groups all client state.