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

Re: [libvirt] [PATCH 1/8] Introduce the virDomainOpenGraphics API



On 10/25/2011 10:03 AM, Daniel P. Berrange wrote:
From: "Daniel P. Berrange"<berrange redhat com>

The virDomainOpenGraphics API allows a libvirt client to pass in
a file descriptor for an open socket pair, and get it connected
to the graphics display of the guest. This is limited to working
with local libvirt hypervisors connected over a UNIX domain
socket, since it will use UNIX FD passing

We might someday be able to extend it to also work over TCP, by connecting the user's UNIX fd to libvirt_iohelper, which in turn feeds a pipe into an fdstream over RPC, then feeds another libvirt_iohelper invocation on the client that converts the data back into a server-side UNIX fd passed to qemu. But that's future extension.

+++ b/src/libvirt_public.syms
@@ -495,6 +495,7 @@ LIBVIRT_0.9.7 {
          virDomainSnapshotGetParent;
          virDomainSnapshotListChildrenNames;
          virDomainSnapshotNumChildren;
+        virDomainOpenGraphics;
  } LIBVIRT_0.9.5;

I would have sorted this, but it's not the end of the world if you don't.

ACK.

--
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


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