Re: [libvirt-users] Retrieving datas sent by host within the Guest

2015-11-04 Thread Jean-Pierre Ribeauville
perror("writing on stream socket"); Even if the host is not opening or sending anything I got this "already in use" error message. Regards, J.P. -Message d'origine- De : Martin Kletzander [mailto:mklet...@redhat.com] Envoyé : mercredi 4 novembre 2015 16:21

Re: [libvirt-users] Retrieving datas sent by host within the Guest

2015-11-04 Thread Martin Kletzander
On Wed, Nov 04, 2015 at 02:38:43PM +, Jean-Pierre Ribeauville wrote: Hi, I' trying to read datas sent by my KVM host within the Guest. Host send these datas trough a channel UNIX type , by using AF_UNIX socket stuff. If i try to retrive the datas by using such type of thing in the Guest :

[libvirt-users] Retrieving datas sent by host within the Guest

2015-11-04 Thread Jean-Pierre Ribeauville
Hi, I' trying to read datas sent by my KVM host within the Guest. Host send these datas trough a channel UNIX type , by using AF_UNIX socket stuff. If i try to retrive the datas by using such type of thing in the Guest : #define NAME "/dev/virtio-ports/agent" sock = socket(AF_UNIX, SOCK_STREA