Displaying 1 result from an estimated 1 matches for "msg01084".
Did you mean:
msg00184
2013 Sep 18
2
Trouble using virStream with callbacks
...sing a blocked
stream and a thread for sending and another for receiving works
as well. It would be nice however if I could get rid of the threads
in favour of callbacks. Not sure if I'm missing something obvious.
Thanks,
Jonathan
[1] https://www.redhat.com/archives/libvir-list/2012-December/msg01084.html
---
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <libvirt/libvirt.h>
#include <fcntl.h>
#define CONNECT_URI "qemu:///system"
#define DOMAIN "TestVM&qu...