1 /* libguestfs generated file
2 * WARNING: THIS FILE IS GENERATED BY 'src/generator.ml'.
3 * ANY CHANGES YOU MAKE TO THIS FILE WILL BE LOST.
5 * Copyright (C) 2009 Red Hat Inc.
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 struct guestfs_lvm_pv {
24 char pv_uuid[32]; /* this is NOT nul-terminated, be careful when printing */
32 int64_t pv_pe_alloc_count;
39 struct guestfs_lvm_pv_list {
41 struct guestfs_lvm_pv *val;
44 struct guestfs_lvm_vg {
46 char vg_uuid[32]; /* this is NOT nul-terminated, be careful when printing */
52 uint64_t vg_extent_size;
53 int64_t vg_extent_count;
54 int64_t vg_free_count;
66 struct guestfs_lvm_vg_list {
68 struct guestfs_lvm_vg *val;
71 struct guestfs_lvm_lv {
73 char lv_uuid[32]; /* this is NOT nul-terminated, be careful when printing */
77 int64_t lv_kernel_major;
78 int64_t lv_kernel_minor;
82 float snap_percent; /* [0..100] or -1 */
83 float copy_percent; /* [0..100] or -1 */
90 struct guestfs_lvm_lv_list {
92 struct guestfs_lvm_lv *val;