Re: how to use openConsole and openGraphics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux