]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
libxl: Copy user-specified keymap to libxl build info struct
authorJim Fehlig <jfehlig@suse.com>
Fri, 19 Sep 2014 16:38:37 +0000 (10:38 -0600)
committerJim Fehlig <jfehlig@suse.com>
Fri, 10 Oct 2014 21:08:33 +0000 (15:08 -0600)
Commit 4dfc34c3 missed copying the user-specified keymap to
libxl_domain_build_info struct when creating a VFB device.

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/libxl/libxl_conf.c

index acba69c52f3c38495a7903599160e8c40a82adeb..0a781f9d8b4011c0b14e491fa199e18f99213802 100644 (file)
@@ -1200,6 +1200,9 @@ libxlMakeVfbList(virPortAllocatorPtr graphicsports,
             if (VIR_STRDUP(b_info->u.hvm.sdl.xauthority, vfb.sdl.xauthority) < 0)
                 goto error;
         }
+
+        if (VIR_STRDUP(b_info->u.hvm.keymap, vfb.keymap) < 0)
+            goto error;
     }
 
     return 0;