GVirSandboxBuilderInitrd

GVirSandboxBuilderInitrd — Kernel ramdisk construction

Synopsis

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

struct              GVirSandboxBuilderInitrd;
struct              GVirSandboxBuilderInitrdClass;
GVirSandboxBuilderInitrd * gvir_sandbox_builder_initrd_new
                                                        (void);
gboolean            gvir_sandbox_builder_initrd_construct
                                                        (GVirSandboxBuilderInitrd *builder,
                                                         GVirSandboxConfigInitrd *config,
                                                         gchar *outputfile,
                                                         GError **error);

Object Hierarchy

  GObject
   +----GVirSandboxBuilderInitrd

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.

Details

struct GVirSandboxBuilderInitrd

struct GVirSandboxBuilderInitrd;

struct GVirSandboxBuilderInitrdClass

struct GVirSandboxBuilderInitrdClass {
    GObjectClass parent_class;

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

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);

See Also

GVirSandboxBuilderMachine, GVirSandboxConfigInitrd