GVirSandboxBuilderInitrd

GVirSandboxBuilderInitrd — Kernel ramdisk construction

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GVirSandboxBuilderInitrd

Includes

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

Description

Provides an object for constructing kernel ramdisks

The GVirSandboxBuilderInitrd object provides the support required to dynically creat minimal footprint kernel ramdisks for booting virtual machine based sandboxes.

Functions

gvir_sandbox_builder_initrd_new ()

GVirSandboxBuilderInitrd *
gvir_sandbox_builder_initrd_new (void);

Create a new initrd builder

Returns

a new sandbox builder object.

[transfer full]


gvir_sandbox_builder_initrd_construct ()

gboolean
gvir_sandbox_builder_initrd_construct (GVirSandboxBuilderInitrd *builder,
                                       GVirSandboxConfigInitrd *config,
                                       gchar *outputfile,
                                       GError **error);

Types and Values

struct GVirSandboxBuilderInitrd

struct GVirSandboxBuilderInitrd;

struct GVirSandboxBuilderInitrdClass

struct GVirSandboxBuilderInitrdClass {
    GObjectClass parent_class;

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

GVirSandboxBuilderInitrdPrivate

typedef struct _GVirSandboxBuilderInitrdPrivate GVirSandboxBuilderInitrdPrivate;

See Also

GVirSandboxBuilderMachine, GVirSandboxConfigInitrd