1. Does vepa mode in libvirt use sr-iov ? 2. How can I do port mirroring with sr-iov? vepa This network uses a macvtap "direct" connection in "vepa" mode to connect each guest to the network (this requires that the physical interfaces used be connected to a vepa-capable hardware switch. The physical interface to be used will be picked from among those listed in <interface>subelements of the <forward> element; multiple guest interfaces can share each physical interface (libvirt will attempt to balance usage between all available interfaces).Since 0.9.4 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20150202/3afe6a53/attachment.htm>
Hi. I'm try to use virDomainOpenConsole( domainPtr, NULL, stream, VIR_DOMAIN_CONSOLE_SAFE) for control remote terminal, but i don't understand in which text codec the stream returns a data?
On 02/02/2015 05:57 AM, Fl@sh wrote:> Hi. I'm try to use[please don't reply to an unrelated message - thread hijacking is considered poor netiquette, and merely changing the subject line without deleting In-Reply-To headers doesn't work to start a new thread]> > virDomainOpenConsole( > domainPtr, NULL, stream, VIR_DOMAIN_CONSOLE_SAFE) > > for control remote terminal, but i don't understand > in which text codec the stream returns a data?There is no encoding going on; the virStreamPtr plays bytes locally exactly as they were generated remotely in the guest. If you want to see an example of how virDomainOpenConsole is used correctly, look at the source code for 'virsh console'. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org