open_graphics_fd


Description:

[ Version ( since = "0.2.0" ) ]
public int open_graphics_fd (uint idx, uint flags) throws Error

This will create a socket pair connected to the graphics backend of this.

One end of the socket will be returned on success, and the other end is handed to the hypervisor. If this has multiple graphics backends configured, then idx will determine which one is opened, starting from idx 0.

Parameters:

this

the domain

idx

the graphics index

flags

extra flags, currently unused

Returns:

An fd on success, -1 on failure.