Initial commit.
[virt-resize-ui.git] / slave_types.ml
1 (* Virt-resize UI.
2  * Copyright (C) 2011 Red Hat Inc.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  *)
18
19 module D = Libvirt.Domain
20 module G = Guestfs
21
22 (*
23 type domain = {
24   dom_id : int;
25   dom_name : string;
26   dom_state : D.state;
27 }
28 *)
29
30 type inspection_data = {
31   insp_all_filesystems : (string * string) list;
32   insp_oses : inspection_os list;
33 }
34
35 and inspection_os = {
36   insp_root : string;
37   insp_arch : string;
38   insp_distro : string;
39   insp_drive_mappings : (string * string) list;
40   insp_filesystems : string array;
41   insp_hostname : string;
42   insp_major_version : int;
43   insp_minor_version : int;
44   insp_mountpoints : (string * string) list;
45   insp_package_format : string;
46   insp_package_management : string;
47   insp_product_name : string;
48   insp_product_variant : string;
49   insp_type : string;
50   insp_windows_current_control_set : string option;
51   insp_windows_systemroot : string option;
52 }