Skip to contentSkip to conversation

global keymap= option not recognized

DISCUSSION Olaf Hering 4 participants 10 messages Jan 8, 2014 – Jan 9, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

With xm it was possible to have a global keymap="de" to map the physical keybard correctly. Now with xl this fails, at least in xen-4.3. xl create -d shows keymap:NULL in the vfb part.
Only moving keymap= into vfb=[] fixes it for me.

xl.cfg(5) indicates that keymap= can be specified as global option (just like vnc=) as well as suboption for vbf=[].

Was this already fixed in xen-unstable? git log shows not keymap related changes.

Olaf

#1 lore raw
Quoted 10 lines · Olaf Hering

With xm it was possible to have a global keymap="de" to map the physical keybard correctly. Now with xl this fails, at least in xen-4.3. xl create -d shows keymap:NULL in the vfb part.
Only moving keymap= into vfb=[] fixes it for me.

xl.cfg(5) indicates that keymap= can be specified as global option (just like vnc=) as well as suboption for vbf=[].

Was this already fixed in xen-unstable? git log shows not keymap related changes.

I don't think Wei covered this one with his VNC patches. It does sound like it should be move though, yes. I think this is 4.5 material at this point.

Wei, BTW, did you VNC change not require any doc (e.g. manpage) updates? Sorry for not thinking of that during review.

Ian.

#2 lore raw
Quoted 9 lines · Ian Campbell
Quoted 8 lines · Olaf Hering

With xm it was possible to have a global keymap="de" to map the physical keybard correctly. Now with xl this fails, at least in xen-4.3. xl create -d shows keymap:NULL in the vfb part.
Only moving keymap= into vfb=[] fixes it for me.

xl.cfg(5) indicates that keymap= can be specified as global option (just like vnc=) as well as suboption for vbf=[].

Quoted 7 lines
Quoted 2 lines

Was this already fixed in xen-unstable? git log shows not keymap related changes.

I don't think Wei covered this one with his VNC patches. It does sound like it should be move though, yes. I think this is 4.5 material at this point.

You're right, my patch didn't cover that aspect because I tried hard to make it minimal.

Quoted 3 lines

Wei, BTW, did you VNC change not require any doc (e.g. manpage) updates? Sorry for not thinking of that during review.

I don't think so. All VNC / VFB options are already documented.

Wei.

Quoted 1 line

Ian.

#3 lore raw
Quoted 13 lines · Wei Liu
Quoted 12 lines · Ian Campbell
Quoted 10 lines · Olaf Hering

With xm it was possible to have a global keymap="de" to map the physical keybard correctly. Now with xl this fails, at least in xen-4.3. xl create -d shows keymap:NULL in the vfb part.
Only moving keymap= into vfb=[] fixes it for me.

xl.cfg(5) indicates that keymap= can be specified as global option (just like vnc=) as well as suboption for vbf=[].

Was this already fixed in xen-unstable? git log shows not keymap related changes.

Quoted 7 lines
Quoted 4 lines

I don't think Wei covered this one with his VNC patches. It does sound like it should be move though, yes. I think this is 4.5 material at this point.

You're right, my patch didn't cover that aspect because I tried hard to make it minimal.

Do you think you could revisit this bit for 4.5?

Quoted 5 lines
Quoted 3 lines

Wei, BTW, did you VNC change not require any doc (e.g. manpage) updates? Sorry for not thinking of that during review.

I don't think so. All VNC / VFB options are already documented.

The top level vnc*= options seem to be under "Emulated VGA Graphics Device" though.

Ian.

#4 lore raw
Quoted 19 lines · Ian Campbell
Quoted 18 lines · Wei Liu
Quoted 16 lines · Ian Campbell
Quoted 10 lines · Olaf Hering

With xm it was possible to have a global keymap="de" to map the physical keybard correctly. Now with xl this fails, at least in xen-4.3. xl create -d shows keymap:NULL in the vfb part.
Only moving keymap= into vfb=[] fixes it for me.

xl.cfg(5) indicates that keymap= can be specified as global option (just like vnc=) as well as suboption for vbf=[].

Was this already fixed in xen-unstable? git log shows not keymap related changes.

I don't think Wei covered this one with his VNC patches. It does sound like it should be move though, yes. I think this is 4.5 material at this point.

Quoted 5 lines
Quoted 2 lines

You're right, my patch didn't cover that aspect because I tried hard to make it minimal.

Do you think you could revisit this bit for 4.5?

Yes, I think so. That should be relatively straightfoward, I hope. :-)

Quoted 9 lines
Quoted 5 lines
Quoted 3 lines

Wei, BTW, did you VNC change not require any doc (e.g. manpage) updates? Sorry for not thinking of that during review.

I don't think so. All VNC / VFB options are already documented.

The top level vnc*= options seem to be under "Emulated VGA Graphics Device" though.

How about this

Quoted 1 line

From eba072e1362de55f8c6b7fc1101543852c7ee683 Mon Sep 17 00:00:00 2001

From: Wei Liu <[email protected]>
Date: Thu, 9 Jan 2014 11:48:13 +0000
Subject: [PATCH] docs/man/xl.cfg.pod.5: document global VNC options for VFB
device

Update xl.cfg to reflect change in 706d4ab74 "xl: create VFB for PV guest when VNC is specified".

---
 docs/man/xl.cfg.pod.5 |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
docs/man/xl.cfg.pod.5 +3 -1
index 72efd88..00a89b2 100644
@@ -387,7 +387,9 @@ to the domain.
 
 This options does not control the emulated graphics card presented to
 an HVM guest. See L<Emulated VGA Graphics Device> below for how to
-configure the emulated device.
+configure the emulated device. If L<Emulated VGA Graphics Device> options
+are used in a PV guest configuration, xl will extract relevant bits to
+create paravirtual framebuffer device for the guest.
 
 Each B<VFB_SPEC_STRING> is a comma-separated list of C<KEY=VALUE>
 settings, from the following list:
Signature · 1 line
1.7.10.4
Quoted 1 line

Ian.

#5 lore raw
Quoted 32 lines · Wei Liu
Quoted 19 lines · Ian Campbell
Quoted 18 lines · Wei Liu
Quoted 16 lines · Ian Campbell
Quoted 10 lines · Olaf Hering

With xm it was possible to have a global keymap="de" to map the physical keybard correctly. Now with xl this fails, at least in xen-4.3. xl create -d shows keymap:NULL in the vfb part.
Only moving keymap= into vfb=[] fixes it for me.

xl.cfg(5) indicates that keymap= can be specified as global option (just like vnc=) as well as suboption for vbf=[].

Was this already fixed in xen-unstable? git log shows not keymap related changes.

I don't think Wei covered this one with his VNC patches. It does sound like it should be move though, yes. I think this is 4.5 material at this point.

Quoted 5 lines
Quoted 2 lines

You're right, my patch didn't cover that aspect because I tried hard to make it minimal.

Do you think you could revisit this bit for 4.5?

Yes, I think so. That should be relatively straightfoward, I hope. :-)

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

Wei, BTW, did you VNC change not require any doc (e.g. manpage) updates? Sorry for not thinking of that during review.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

I don't think so. All VNC / VFB options are already documented.

The top level vnc*= options seem to be under "Emulated VGA Graphics Device" though.

How about this

HRM, I was more thinking about pulling those options out into a new "Primary Graphics Device" or something section with a little intro blurb about how for PV this is a PVFB and for HVM this is an emulated VNC.

With your approach I think at a minimum it would need to enumerate which specific options work for both.

Quoted 29 lines

From eba072e1362de55f8c6b7fc1101543852c7ee683 Mon Sep 17 00:00:00 2001
From: Wei Liu <[email protected]>
Date: Thu, 9 Jan 2014 11:48:13 +0000
Subject: [PATCH] docs/man/xl.cfg.pod.5: document global VNC options for VFB
device

Update xl.cfg to reflect change in 706d4ab74 "xl: create VFB for PV guest when VNC is specified".

---
 docs/man/xl.cfg.pod.5 |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
docs/man/xl.cfg.pod.5 +3 -1
index 72efd88..00a89b2 100644
@@ -387,7 +387,9 @@ to the domain.
 
 This options does not control the emulated graphics card presented to
 an HVM guest. See L<Emulated VGA Graphics Device> below for how to
-configure the emulated device.
+configure the emulated device. If L<Emulated VGA Graphics Device> options
+are used in a PV guest configuration, xl will extract relevant bits to
+create paravirtual framebuffer device for the guest.
 
 Each B<VFB_SPEC_STRING> is a comma-separated list of C<KEY=VALUE>
 settings, from the following list:
#6 lore raw
Quoted 45 lines · Ian Campbell
Quoted 32 lines · Wei Liu
Quoted 19 lines · Ian Campbell
Quoted 18 lines · Wei Liu
Quoted 16 lines · Ian Campbell
Quoted 10 lines · Olaf Hering

With xm it was possible to have a global keymap="de" to map the physical keybard correctly. Now with xl this fails, at least in xen-4.3. xl create -d shows keymap:NULL in the vfb part.
Only moving keymap= into vfb=[] fixes it for me.

xl.cfg(5) indicates that keymap= can be specified as global option (just like vnc=) as well as suboption for vbf=[].

Was this already fixed in xen-unstable? git log shows not keymap related changes.

I don't think Wei covered this one with his VNC patches. It does sound like it should be move though, yes. I think this is 4.5 material at this point.

Quoted 5 lines
Quoted 2 lines

You're right, my patch didn't cover that aspect because I tried hard to make it minimal.

Do you think you could revisit this bit for 4.5?

Yes, I think so. That should be relatively straightfoward, I hope. :-)

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

Wei, BTW, did you VNC change not require any doc (e.g. manpage) updates? Sorry for not thinking of that during review.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

I don't think so. All VNC / VFB options are already documented.

The top level vnc*= options seem to be under "Emulated VGA Graphics Device" though.

How about this

HRM, I was more thinking about pulling those options out into a new "Primary Graphics Device" or something section with a little intro blurb about how for PV this is a PVFB and for HVM this is an emulated VNC.

Quoted 5 lines

With your approach I think at a minimum it would need to enumerate which specific options work for both.

From 935b18da7a9cf60186a87dcf97d39722d0e49937 Mon Sep 17 00:00:00 2001

From: Wei Liu <[email protected]>
Date: Thu, 9 Jan 2014 11:48:13 +0000
Subject: [PATCH] docs/man/xl.cfg.pod.5: document global VNC options for VFB
device

Update xl.cfg to reflect change in 706d4ab74 "xl: create VFB for PV guest when VNC is specified".

---
 docs/man/xl.cfg.pod.5 |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
docs/man/xl.cfg.pod.5 +4 -1
index 72efd88..9941395 100644
@@ -387,7 +387,10 @@ to the domain.
 
 This options does not control the emulated graphics card presented to
 an HVM guest. See L<Emulated VGA Graphics Device> below for how to
-configure the emulated device.
+configure the emulated device. If L<Emulated VGA Graphics Device> options
+are used in a PV guest configuration, xl will pick up B<vnc>, B<vnclisten>,
+B<vncpasswd>, B<vncdisplay> and B<vncunused> to construct paravirtual
+framebuffer device for the guest.
 
 Each B<VFB_SPEC_STRING> is a comma-separated list of C<KEY=VALUE>
 settings, from the following list:
Signature · 1 line
1.7.10.4
#7 lore raw
Quoted 56 lines · Wei Liu
Quoted 39 lines · Ian Campbell
Quoted 38 lines · Wei Liu
Quoted 19 lines · Ian Campbell
Quoted 18 lines · Wei Liu
Quoted 16 lines · Ian Campbell
Quoted 10 lines · Olaf Hering

With xm it was possible to have a global keymap="de" to map the physical keybard correctly. Now with xl this fails, at least in xen-4.3. xl create -d shows keymap:NULL in the vfb part.
Only moving keymap= into vfb=[] fixes it for me.

xl.cfg(5) indicates that keymap= can be specified as global option (just like vnc=) as well as suboption for vbf=[].

Was this already fixed in xen-unstable? git log shows not keymap related changes.

I don't think Wei covered this one with his VNC patches. It does sound like it should be move though, yes. I think this is 4.5 material at this point.

Quoted 5 lines
Quoted 2 lines

You're right, my patch didn't cover that aspect because I tried hard to make it minimal.

Do you think you could revisit this bit for 4.5?

Yes, I think so. That should be relatively straightfoward, I hope. :-)

Quoted 9 lines
Quoted 5 lines
Quoted 3 lines

Wei, BTW, did you VNC change not require any doc (e.g. manpage) updates? Sorry for not thinking of that during review.

I don't think so. All VNC / VFB options are already documented.

The top level vnc*= options seem to be under "Emulated VGA Graphics Device" though.

Quoted 9 lines
Quoted 1 line

How about this

HRM, I was more thinking about pulling those options out into a new "Primary Graphics Device" or something section with a little intro blurb about how for PV this is a PVFB and for HVM this is an emulated VNC.

With your approach I think at a minimum it would need to enumerate which specific options work for both.

From 935b18da7a9cf60186a87dcf97d39722d0e49937 Mon Sep 17 00:00:00 2001
From: Wei Liu <[email protected]>
Date: Thu, 9 Jan 2014 11:48:13 +0000
Subject: [PATCH] docs/man/xl.cfg.pod.5: document global VNC options for VFB
device

Quoted 4 lines

Update xl.cfg to reflect change in 706d4ab74 "xl: create VFB for PV guest when VNC is specified".

I still think this is inferior to a proper refactoring but it's better than nothing so, Acked + applied.

RM hat: barrier to docs improvements is very low.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw

Processed: Re: global keymap= option not recognized

Processing commands for [email protected]:

Quoted 1 line

create ^

Created new bug #31 rooted at `<[email protected]>'
Title: `Re: [Xen-devel] global keymap= option not recognized'

Quoted 1 line

title it xl: global keymap= option not recognised

Set title for #31 to `xl: global keymap= option not recognised'

Quoted 1 line

prune it <[email protected]>

Prune `<[email protected]>' from #31

Quoted 1 line

owner it Wei Liu <[email protected]>

Change owner for #31 to `Wei Liu <[email protected]>'

Quoted 1 line

thanks

Finished processing.

Modified/created Bugs:
- 31: http://bugs.xenproject.org/xen/bug/31 (new)

---
Xen Hypervisor Bug Tracker
See http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen for information on reporting bugs Contact [email protected] with any infrastructure issues