summaryrefslogtreecommitdiffstats
path: root/perl/Guestfs.xs
diff options
context:
space:
mode:
Diffstat (limited to 'perl/Guestfs.xs')
-rw-r--r--perl/Guestfs.xs33
1 files changed, 33 insertions, 0 deletions
diff --git a/perl/Guestfs.xs b/perl/Guestfs.xs
index be13fcde..53c589d9 100644
--- a/perl/Guestfs.xs
+++ b/perl/Guestfs.xs
@@ -1485,3 +1485,36 @@ PREINIT:
OUTPUT:
RETVAL
+void
+lvremove (g, device)
+ guestfs_h *g;
+ char *device;
+PREINIT:
+ int r;
+ PPCODE:
+ r = guestfs_lvremove (g, device);
+ if (r == -1)
+ croak ("lvremove: %s", guestfs_last_error (g));
+
+void
+vgremove (g, vgname)
+ guestfs_h *g;
+ char *vgname;
+PREINIT:
+ int r;
+ PPCODE:
+ r = guestfs_vgremove (g, vgname);
+ if (r == -1)
+ croak ("vgremove: %s", guestfs_last_error (g));
+
+void
+pvremove (g, device)
+ guestfs_h *g;
+ char *device;
+PREINIT:
+ int r;
+ PPCODE:
+ r = guestfs_pvremove (g, device);
+ if (r == -1)
+ croak ("pvremove: %s", guestfs_last_error (g));
+