John wrote:

> On Fri, Mar 21, 2008 at 04:55:02PM -0700, Russ Blaine wrote:
> 
> > I added that a while ago to get HVM working. Looks like it's no longer 
> > needed. 
> > I'll file a bug and get it removed...thanks for the heads-up.
> 
> I think removing this patch will mean everyone has to specify -k en-us
> to virt-install - far from ideal.
> 
>       return self.get_config_value('keymap', 'en-us')
> 
> seems like the right fix, no?

Hmm, I think for a vnc display it doesn't make a difference,
xen.hg/tools/ioemu/vl.c function vnc_display_init() does this,
when no keyboard layout is specified:

    if (!keyboard_layout)
        keyboard_layout = "en-us";

    vs->kbd_layout = init_keyboard_layout(keyboard_layout);



But sdl is different; xen.hg/tools/ioemu/sdl.c, function sdl_display_init()


#if defined(__APPLE__)
    /* always use generic keymaps */
    if (!keyboard_layout)
        keyboard_layout = "en-us";
#endif
    if(keyboard_layout) {
        kbd_layout = init_keyboard_layout(keyboard_layout);
        if (!kbd_layout)
            exit(1);
    }



sdl also seems to default to "en-us" keymap, but only when 
qemu-dm is compiled on APPLE (= MacOS X?) ??


I guess the HVM keymap problems start when sdl displays to a
non-Xorg (non-PC?) X11 server (SPARC Xsun?,  MacOS X?,
X terminals?).
 
 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to