On 12/27/2013 08:38 PM, yue wrote: [please don't top-post on technical lists] > the theory , i mean how libvirt get guest's console( or graphic screen), via what kind of channel, then how libvirt show guest's screen. Libvirt has a notion of a virStreamPtr, which is an object which tracks an arbitrary pass-through channel. Any API such as virDomainOpenConsole that needs to pass data in both directions between the client and the source opens up a virStreamPtr, then passes that data alongside all the other RPC calls. For more details on how the data is passed, read docs/internals/rpc.html, and look at the stream type packets. A virStreamPtr is also used under the hood in tunneled migration. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users