[libvirt] [PATCH 1/8] Introduce the virDomainOpenGraphics API
Eric Blake
eblake at redhat.com
Thu Oct 27 22:40:11 UTC 2011
On 10/25/2011 10:03 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"<berrange at 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 at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
More information about the libvir-list
mailing list