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.
 
thanks, Eric Blake



At 2013-12-28 04:30:30,"Eric Blake" <eblake@redhat.com> wrote: >On 12/26/2013 01:46 AM, yue wrote: >> hi,all >>  1.how to use openConsole and openGraphics? > >See tools/virsh-console.c for an example use of virDomainOpenConsole. >virDomainOpenGraphics is probably similar. > >>   >> 2.what is the theory of that? > >Your question is very vague.  What are you trying to accomplish, so that >we can better determine how to answer it? > >--  >Eric Blake   eblake redhat com    +1-919-301-3266 >Libvirt virtualization library http://libvirt.org >