GVirSandboxConsoleRaw

GVirSandboxConsoleRaw — A text mode raw console

Synopsis

#include <libvirt-sandbox/libvirt-sandbox.h>

struct              GVirSandboxConsoleRaw;
struct              GVirSandboxConsoleRawClass;
GVirSandboxConsoleRaw * gvir_sandbox_console_raw_new    (GVirConnection *connection,
                                                         GVirDomain *domain,
                                                         const char *devname);

Object Hierarchy

  GObject
   +----GVirSandboxConsole
         +----GVirSandboxConsoleRaw

Description

Provides an object to interface to the text mode console of the sandbox

The GVirSandboxConsole object provides support for interfacing to the text mode console of the sandbox. It forwards I/O between the GVirStream associated with the virtual machine's console and a local console represented by GUnixInputStream and GUnixOutputStream objects.

Details

struct GVirSandboxConsoleRaw

struct GVirSandboxConsoleRaw;

struct GVirSandboxConsoleRawClass

struct GVirSandboxConsoleRawClass {
    GVirSandboxConsoleClass parent_class;

    void (*closed)(GVirSandboxConsoleRaw *console, gboolean err);

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

gvir_sandbox_console_raw_new ()

GVirSandboxConsoleRaw * gvir_sandbox_console_raw_new    (GVirConnection *connection,
                                                         GVirDomain *domain,
                                                         const char *devname);

Create a new sandbox raw console from the specified configuration

connection :

the libvirt connection. [transfer none]

domain :

the libvirt domain whose console_raw to run. [transfer none]

devname :

the console to connect to

Returns :

a new sandbox console object. [transfer full]