diff options
Diffstat (limited to 'perl/Guestfs.xs')
-rw-r--r-- | perl/Guestfs.xs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/perl/Guestfs.xs b/perl/Guestfs.xs index e498842d..235c3a76 100644 --- a/perl/Guestfs.xs +++ b/perl/Guestfs.xs @@ -305,6 +305,26 @@ PREINIT: RETVAL void +set_busy (g) + guestfs_h *g; +PREINIT: + int r; + PPCODE: + r = guestfs_set_busy (g); + if (r == -1) + croak ("set_busy: %s", guestfs_last_error (g)); + +void +set_ready (g) + guestfs_h *g; +PREINIT: + int r; + PPCODE: + r = guestfs_set_ready (g); + if (r == -1) + croak ("set_ready: %s", guestfs_last_error (g)); + +void mount (g, device, mountpoint) guestfs_h *g; char *device; |