GVirSandboxConfigMountHostImage

GVirSandboxConfigMountHostImage

Functions

Properties

GVirConfigDomainDiskFormat format Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GVirSandboxConfigMount
        ╰── GVirSandboxConfigMountFile
            ╰── GVirSandboxConfigMountHostImage

Description

Functions

gvir_sandbox_config_mount_host_image_new ()

GVirSandboxConfigMountHostImage *
gvir_sandbox_config_mount_host_image_new
                               (const gchar *source,
                                const gchar *targetdir,
                                GVirConfigDomainDiskFormat format);

Create a new custom mount mapped to the directory targetdir

Parameters

targetdir

the target directory.

[transfer none]

Returns

a new sandbox mount object.

[transfer full]


gvir_sandbox_config_mount_host_image_get_format ()

GVirConfigDomainDiskFormat
gvir_sandbox_config_mount_host_image_get_format
                               (GVirSandboxConfigMountHostImage *config);

Retrieves the image format of the host-image filesystem.

Parameters

config

the sandbox mount config.

[transfer none]

Returns

the imave format.

[transfer none]

Types and Values

struct GVirSandboxConfigMountHostImage

struct GVirSandboxConfigMountHostImage;

struct GVirSandboxConfigMountHostImageClass

struct GVirSandboxConfigMountHostImageClass {
    GVirSandboxConfigMountFileClass parent_class;

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

GVirSandboxConfigMountHostImagePrivate

typedef struct _GVirSandboxConfigMountHostImagePrivate GVirSandboxConfigMountHostImagePrivate;

Property Details

The “format” property

  “format”                   GVirConfigDomainDiskFormat

The disk format.

Flags: Read / Write / Construct Only

Default value: GVIR_CONFIG_DOMAIN_DISK_FORMAT_RAW