[Pkg-libvirt-commits] [libguestfs] 19/66: v2v: Move mpstat type definition.
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:47:37 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.54-1
in repository libguestfs.
commit cd9c0fc9a4b0069528b9f157b589acccba931e1e
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Sat Sep 20 11:38:39 2014 +0100
v2v: Move mpstat type definition.
It's only used by the core v2v.ml code, so move it to that file.
This is just code motion.
---
v2v/types.mli | 8 --------
v2v/v2v.ml | 8 ++++++++
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/v2v/types.mli b/v2v/types.mli
index 7d7e6c7..825a72b 100644
--- a/v2v/types.mli
+++ b/v2v/types.mli
@@ -116,14 +116,6 @@ type inspect = {
}
(** Inspection information. *)
-type mpstat = {
- mp_dev : string; (** Filesystem device (eg. /dev/sda1) *)
- mp_path : string; (** Guest mountpoint (eg. /boot) *)
- mp_statvfs : Guestfs.statvfs; (** Free space stats. *)
- mp_vfs : string; (** VFS type (eg. "ext4") *)
-}
-(** Mountpoint stats, used for free space estimation. *)
-
type guestcaps = {
gcaps_block_bus : guestcaps_block_type;
gcaps_net_bus : guestcaps_net_type;
diff --git a/v2v/v2v.ml b/v2v/v2v.ml
index bf5295c..bdf115d 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -27,6 +27,14 @@ open Common_utils
open Types
open Utils
+(* Mountpoint stats, used for free space estimation. *)
+type mpstat = {
+ mp_dev : string; (* Filesystem device (eg. /dev/sda1) *)
+ mp_path : string; (* Guest mountpoint (eg. /boot) *)
+ mp_statvfs : Guestfs.statvfs; (* Free space stats. *)
+ mp_vfs : string; (* VFS type (eg. "ext4") *)
+}
+
let () = Random.self_init ()
let rec main () =
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list