git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New APIs: set-attach-method, get-attach-method.
[libguestfs.git]
/
src
/
guestfs-internal.h
diff --git
a/src/guestfs-internal.h
b/src/guestfs-internal.h
index
194c892
..
0eb395b
100644
(file)
--- a/
src/guestfs-internal.h
+++ b/
src/guestfs-internal.h
@@
-84,6
+84,9
@@
/* GuestFS handle and connection. */
enum state { CONFIG, LAUNCHING, READY, BUSY, NO_HANDLE };
/* GuestFS handle and connection. */
enum state { CONFIG, LAUNCHING, READY, BUSY, NO_HANDLE };
+/* Attach method. */
+enum attach_method { ATTACH_METHOD_APPLIANCE = 0, ATTACH_METHOD_UNIX };
+
struct guestfs_h
{
struct guestfs_h *next; /* Linked list of open handles. */
struct guestfs_h
{
struct guestfs_h *next; /* Linked list of open handles. */
@@
-116,6
+119,9
@@
struct guestfs_h
char *qemu; /* Qemu binary. */
char *append; /* Append to kernel command line. */
char *qemu; /* Qemu binary. */
char *append; /* Append to kernel command line. */
+ enum attach_method attach_method;
+ char *attach_method_arg;
+
int memsize; /* Size of RAM (megabytes). */
int selinux; /* selinux enabled? */
int memsize; /* Size of RAM (megabytes). */
int selinux; /* selinux enabled? */