Richard W.M. Jones
2016-Nov-01 14:02 UTC
[Libguestfs] [PATCH] v2v: glance: Set hw_video_model property to qxl|cirrus (RHBZ#1374651).
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"; -- 2.7.4
Pino Toscano
2016-Nov-01 17:19 UTC
Re: [Libguestfs] [PATCH] v2v: glance: Set hw_video_model property to qxl|cirrus (RHBZ#1374651).
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
Maybe Matching Threads
- [PATCH 2/2] v2v: -o glance: factorize common properties
- [PATCH 1/2] v2v: -o glance: add property for UEFI firmware (RHBZ#1445659)
- Failed to probe capabilities on libvirt v5.1.0
- [PATCH 0/2] v2v: glance: Allow Glance backend to import multiple disks
- [PATCH] v2v: Model machine type explicitly.