search for: virstreamnew

Displaying 3 results from an estimated 3 matches for "virstreamnew".

2013 Sep 18
2
Trouble using virStream with callbacks
...rDomainPtr dom; virStreamPtr st; int bytes_read; char buf[BUF_SIZE]; if ((conn = virConnectOpen(CONNECT_URI)) == NULL) errx(1, "virConnectOpen"); if ((dom = virDomainLookupByName(conn, DOMAIN)) == NULL) errx(1, "virDomainLookupByName"); if ((st = virStreamNew(conn, VIR_STREAM_NONBLOCK)) == NULL) errx(1, "virStreamNew"); if (virDomainOpenChannel(dom, CHANNEL, st, 0) == -1) errx(1, "virDomainOpenChannel"); if (virEventRegisterDefaultImpl() != 0) errx(1, "virEventRegisterDefaultImpl"); if (virStre...
2018 Dec 03
2
Re: console type tcp with logging
пн, 3 дек. 2018 г. в 12:27, Daniel P. Berrangé <berrange@redhat.com>: > > We don't have any plans to add it, but if someone's interested we'd > accept patches. It would need to integrate with our virStream APIs > to allow download, in similar way to how virStorageVolDownload() works What args this function need to receive? VolDownload this args:
2015 May 21
1
Qemu-guest agent
Hi all, I am new to libvirt, I am trying to execute some commands inside guest domains from my host machine using libvirt-Python API. So far I have been able to open up a stream but I am not sure how to send commands on the stream (through virDomainOpenConsole). After hours of searching through different forums I found out that there is a utlity called qemu-guest agent which can solve my problem.