-
Lukáš Hrázký authored
Wrap the streaming virtio port along with the mutex to lock it in a class. Pass the class temporarily around to functions that need it until the functions too are consolidated into the class. The locking needs to be outside the class for now to prevent situations like: 1 - data header 2 - cursor header 3 - data message 4 - cursor message Signed-off-by: Lukáš Hrázký <lhrazky@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
c80e89e8