diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-23 19:03:08 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-23 20:17:25 +0100 |
commit | bf00be0e17c03f46075b3276fade7bd23d380557 (patch) | |
tree | 1b1850bed2af08b2975bcb8dd5163c79a0d328b2 /src/guestfs-internal.h | |
parent | 3614d76b37ee8ef90f5a280e1bb51bccd87eaadb (diff) | |
download | libguestfs-bf00be0e17c03f46075b3276fade7bd23d380557.tar.gz libguestfs-bf00be0e17c03f46075b3276fade7bd23d380557.tar.xz libguestfs-bf00be0e17c03f46075b3276fade7bd23d380557.zip |
launch: Make get-pid and max-disks APIs into virtual methods of the current attach-method.
Diffstat (limited to 'src/guestfs-internal.h')
-rw-r--r-- | src/guestfs-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index fe275f05..5a2e9ba5 100644 --- a/src/guestfs-internal.h +++ b/src/guestfs-internal.h @@ -165,6 +165,9 @@ struct qemu_param { struct attach_ops { int (*launch) (guestfs_h *g, const char *arg); /* Initialize and launch. */ int (*shutdown) (guestfs_h *g); /* Shutdown and cleanup. */ + + int (*get_pid) (guestfs_h *g); /* get-pid API. */ + int (*max_disks) (guestfs_h *g); /* max-disks API. */ }; extern struct attach_ops attach_ops_appliance; extern struct attach_ops attach_ops_libvirt; |