X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fguestfs-internal.h;h=0eb395b953a148b6ea8ea32b87310860c2d04351;hb=db98ac041ec36c4e2ce322d336f5792fa8e6922d;hp=194c8928c627e24e7130af740aa1ce2902f1acd9;hpb=78f1405de05ef1f2efebafd8245658d1707e59ef;p=libguestfs.git diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index 194c892..0eb395b 100644 --- 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 }; +/* Attach method. */ +enum attach_method { ATTACH_METHOD_APPLIANCE = 0, ATTACH_METHOD_UNIX }; + 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. */ + enum attach_method attach_method; + char *attach_method_arg; + int memsize; /* Size of RAM (megabytes). */ int selinux; /* selinux enabled? */