X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=internal.h;h=950fd0531c21c132cc1fd1607a4a26d8eb7925e7;hb=0e605c0d34447f049f14dfd96ace73fb1c0cffaf;hp=8f5ec0128a9f4c1e9bf273d513d66600578a5487;hpb=432ef642869fbbac2d6f6d111d80137cc5e7b119;p=ovirt-viewer.git diff --git a/internal.h b/internal.h index 8f5ec01..950fd05 100644 --- a/internal.h +++ b/internal.h @@ -104,17 +104,19 @@ struct vm { int hostid; int id; int vnc_port; + int forward_vnc_port; + char *uuid; /* Printable UUID. */ - /* Only description, hostid, id and vnc_port fields are required. - * The remainder may be NULL / -1 to indicate they were missing in - * the data we got back from the WUI. + /* Only the fields above this point are required. The remainder may + * be NULL / -1 to indicate they were missing in the data we got + * back from the WUI. */ + long mem_allocated; /* Kbytes */ long mem_used; /* Kbytes */ int vcpus_allocated; int vcpus_used; char *state; - char *uuid; /* Printable UUID. */ char *mac_addr; /* Printable MAC addr. */ };