diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c index 96af27bf00..5c1ab6204b 100644 --- a/src/util/virstoragefile.c +++ b/src/util/virstoragefile.c @@ -62,7 +62,7 @@ VIR_ENUM_IMPL(virStorageFileFormat, "cloop", "dmg", "iso", "vpc", "vdi", /* Not direct file formats, but used for various drivers */ - "fat", "vhd", + "fat", "vhd", "ploop", /* Formats with backing file below here */ "cow", "qcow", "qcow2", "qed", "vmdk") @@ -230,6 +230,8 @@ static struct FileTypeInfo const fileTypeInfo[] = { -1, {0}, 0, 0, 0, 0, NULL, NULL }, [VIR_STORAGE_FILE_VHD] = { 0, NULL, NULL, LV_LITTLE_ENDIAN, -1, {0}, 0, 0, 0, 0, NULL, NULL }, + [VIR_STORAGE_FILE_PLOOP] = { 0, NULL, NULL, LV_LITTLE_ENDIAN, + -1, {0}, 0, 0, 0, 0, NULL, NULL }, /* All formats with a backing store probe below here */ [VIR_STORAGE_FILE_COW] = { diff --git a/src/util/virstoragefile.h b/src/util/virstoragefile.h index 0a1960311a..bdc79440c0 100644 --- a/src/util/virstoragefile.h +++ b/src/util/virstoragefile.h @@ -72,6 +72,7 @@ typedef enum { /* Not direct file formats, but used for various drivers */ VIR_STORAGE_FILE_FAT, VIR_STORAGE_FILE_VHD, + VIR_STORAGE_FILE_PLOOP, /* Not a format, but a marker: all formats below this point have * libvirt support for following a backing chain */