[Pkg-libvirt-commits] [libguestfs] 29/35: v2v: Print a message if the guest is virtio-capable after conversion.
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:46:45 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.49-1
in repository libguestfs.
commit c573feb4d1dcae0da85963237ef57312bb02e288
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Thu Sep 18 17:45:12 2014 +0100
v2v: Print a message if the guest is virtio-capable after conversion.
---
v2v/v2v.ml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/v2v/v2v.ml b/v2v/v2v.ml
index 0d1e9bf..7f0ac9c 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -224,6 +224,14 @@ let rec main () =
if verbose then printf "picked conversion module %s\n%!" conversion_name;
convert ~verbose ~keep_serial_console g inspect source in
+ (* Did we manage to install virtio drivers? *)
+ if not quiet then (
+ if guestcaps.gcaps_block_bus = Virtio_blk then
+ printf (f_"This guest has virtio drivers installed.\n%!")
+ else
+ printf (f_"This guest does not have virtio drivers installed.\n%!");
+ );
+
if do_copy then (
(* Doing fstrim on all the filesystems reduces the transfer size
* because unused blocks are marked in the overlay and thus do
--
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