[Libguestfs] [PATCH] v2v: glance: Set hw_video_model property to qxl|cirrus (RHBZ#1374651).

Pino Toscano ptoscano at redhat.com
Tue Nov 1 17:19:45 UTC 2016


On Tuesday, 1 November 2016 14:02:39 CET Richard W.M. Jones wrote:
> Thanks: Vladik Romanovsky, Ming Xie.
> ---
>  v2v/output_glance.ml | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/v2v/output_glance.ml b/v2v/output_glance.ml
> index e38b172..179448b 100644
> --- a/v2v/output_glance.ml
> +++ b/v2v/output_glance.ml
> @@ -92,6 +92,10 @@ object
>             | Virtio_net -> "virtio"
>             | E1000 -> "e1000"
>             | RTL8139 -> "rtl8139");
> +          "hw_video_model",
> +          (match guestcaps.gcaps_video with
> +           | QXL -> "qxl"
> +           | Cirrus -> "cirrus");
>            "architecture", guestcaps.gcaps_arch;
>            "hypervisor_type", "kvm";
>            "vm_mode", "hvm";

LGTM.

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20161101/ab4963e6/attachment.sig>


More information about the Libguestfs mailing list