<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello,<br>
I used virt-v2v 1.40.2<br>
<br>
Best regards,<br>
Maxim Davydov<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>От:</b> Richard W.M. Jones <rjones@redhat.com><br>
<b>Отправлено:</b> 12 декабря 2021 г. 0:47<br>
<b>Кому:</b> Maxim Davydov <maxim.davydov@virtuozzo.com><br>
<b>Копия:</b> libguestfs@redhat.com <libguestfs@redhat.com>; Denis Lunev <den@virtuozzo.com>; rvkagan@yandex-team.ru <rvkagan@yandex-team.ru><br>
<b>Тема:</b> Re: [PATCH] v2v: skip decryption of VM disks</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Sun, Dec 12, 2021 at 12:22:42AM +0300, Maxim Davydov wrote:<br>
> In some situations, we want to be able to skip an encrypted disk<br>
> automatically, without waiting for a passphrase from the user for this<br>
> disk. For instance, it maybe be required by hosting service providers that<br>
> use automatic guest reconfiguration but cannot have passphrases for<br>
> encrypted guest disks. So this option can be part of "--in-place" because<br>
> it is usually used in automatic mode. But this feature can also be<br>
> implemented as a separate command line option, for example,<br>
> "--skip-encrypt"<br>
> <br>
> Signed-off-by: Maxim Davydov <maxim.davydov@virtuozzo.com><br>
> ---<br>
>  v2v/v2v.ml | 2 +-<br>
>  1 file changed, 1 insertion(+), 1 deletion(-)<br>
> <br>
> diff --git a/v2v/v2v.ml b/v2v/v2v.ml<br>
> index 68817da04..052c9f3ed 100644<br>
> --- a/v2v/v2v.ml<br>
> +++ b/v2v/v2v.ml<br>
> @@ -105,7 +105,7 @@ let rec main () =<br>
>    g#launch ();<br>
>  <br>
>    (* Decrypt the disks. *)<br>
> -  inspect_decrypt g cmdline.ks;<br>
> +  if not cmdline.in_place then inspect_decrypt g cmdline.ks;<br>
>  <br>
>    (* Inspection - this also mounts up the filesystems. *)<br>
>    (match conversion_mode with<br>
<br>
Hello Maxim, which version of virt-v2v would this be applied to?<br>
<br>
I have (temporarily) disabled in-place conversions upstream but<br>
intend to re-enable it soon, before 2.0 is released.<br>
<br>
Rich.<br>
<br>
-- <br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones">
http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com">
http://rwmj.wordpress.com</a><br>
virt-builder quickly builds VMs from scratch<br>
<a href="http://libguestfs.org/virt-builder.1.html">http://libguestfs.org/virt-builder.1.html</a><br>
<br>
</div>
</span></font></div>
</body>
</html>