All of lore.kernel.org
 help / color / mirror / Atom feed
* global keymap= option not recognized
@ 2014-01-08 16:46 Olaf Hering
  2014-01-08 16:51 ` Ian Campbell
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Olaf Hering @ 2014-01-08 16:46 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: global keymap= option not recognized
  2014-01-08 16:46 global keymap= option not recognized Olaf Hering
@ 2014-01-08 16:51 ` Ian Campbell
  2014-01-08 18:34   ` Wei Liu
  2014-01-09 15:52 ` Ian Campbell
       [not found] ` <1389286148.19805.50.camel@kazak.uk.xensource.com>
  2 siblings, 1 reply; 10+ messages in thread
From: Ian Campbell @ 2014-01-08 16:51 UTC (permalink / raw)
  To: Olaf Hering; +Cc: Wei Liu, xen-devel

On Wed, 2014-01-08 at 17:46 +0100, Olaf Hering wrote:
> 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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: global keymap= option not recognized
  2014-01-08 16:51 ` Ian Campbell
@ 2014-01-08 18:34   ` Wei Liu
  2014-01-09 10:04     ` Ian Campbell
  0 siblings, 1 reply; 10+ messages in thread
From: Wei Liu @ 2014-01-08 18:34 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Olaf Hering, Wei Liu, xen-devel

On Wed, Jan 08, 2014 at 04:51:40PM +0000, Ian Campbell wrote:
> On Wed, 2014-01-08 at 17:46 +0100, Olaf Hering wrote:
> > 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.
> 

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

> 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.

> Ian.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: global keymap= option not recognized
  2014-01-08 18:34   ` Wei Liu
@ 2014-01-09 10:04     ` Ian Campbell
  2014-01-09 11:52       ` Wei Liu
  0 siblings, 1 reply; 10+ messages in thread
From: Ian Campbell @ 2014-01-09 10:04 UTC (permalink / raw)
  To: Wei Liu; +Cc: Olaf Hering, xen-devel

On Wed, 2014-01-08 at 18:34 +0000, Wei Liu wrote:
> On Wed, Jan 08, 2014 at 04:51:40PM +0000, Ian Campbell wrote:
> > On Wed, 2014-01-08 at 17:46 +0100, Olaf Hering wrote:
> > > 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.
> > 
> 
> 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?

> > 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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: global keymap= option not recognized
  2014-01-09 10:04     ` Ian Campbell
@ 2014-01-09 11:52       ` Wei Liu
  2014-01-09 11:59         ` Ian Campbell
  0 siblings, 1 reply; 10+ messages in thread
From: Wei Liu @ 2014-01-09 11:52 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Olaf Hering, Wei Liu, xen-devel

On Thu, Jan 09, 2014 at 10:04:51AM +0000, Ian Campbell wrote:
> On Wed, 2014-01-08 at 18:34 +0000, Wei Liu wrote:
> > On Wed, Jan 08, 2014 at 04:51:40PM +0000, Ian Campbell wrote:
> > > On Wed, 2014-01-08 at 17:46 +0100, Olaf Hering wrote:
> > > > 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.
> > > 
> > 
> > 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. :-)

> > > 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

>From eba072e1362de55f8c6b7fc1101543852c7ee683 Mon Sep 17 00:00:00 2001
From: Wei Liu <wei.liu2@citrix.com>
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".

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 docs/man/xl.cfg.pod.5 |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5
index 72efd88..00a89b2 100644
--- a/docs/man/xl.cfg.pod.5
+++ b/docs/man/xl.cfg.pod.5
@@ -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:
-- 
1.7.10.4


> Ian.

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: global keymap= option not recognized
  2014-01-09 11:52       ` Wei Liu
@ 2014-01-09 11:59         ` Ian Campbell
  2014-01-09 14:39           ` Wei Liu
  0 siblings, 1 reply; 10+ messages in thread
From: Ian Campbell @ 2014-01-09 11:59 UTC (permalink / raw)
  To: Wei Liu; +Cc: Olaf Hering, xen-devel

On Thu, 2014-01-09 at 11:52 +0000, Wei Liu wrote:
> On Thu, Jan 09, 2014 at 10:04:51AM +0000, Ian Campbell wrote:
> > On Wed, 2014-01-08 at 18:34 +0000, Wei Liu wrote:
> > > On Wed, Jan 08, 2014 at 04:51:40PM +0000, Ian Campbell wrote:
> > > > On Wed, 2014-01-08 at 17:46 +0100, Olaf Hering wrote:
> > > > > 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.
> > > > 
> > > 
> > > 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. :-)
> 
> > > > 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

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 eba072e1362de55f8c6b7fc1101543852c7ee683 Mon Sep 17 00:00:00 2001
> From: Wei Liu <wei.liu2@citrix.com>
> 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".
> 
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>
> ---
>  docs/man/xl.cfg.pod.5 |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5
> index 72efd88..00a89b2 100644
> --- a/docs/man/xl.cfg.pod.5
> +++ b/docs/man/xl.cfg.pod.5
> @@ -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:

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: global keymap= option not recognized
  2014-01-09 11:59         ` Ian Campbell
@ 2014-01-09 14:39           ` Wei Liu
  2014-01-09 15:49             ` Ian Campbell
  0 siblings, 1 reply; 10+ messages in thread
From: Wei Liu @ 2014-01-09 14:39 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Olaf Hering, Wei Liu, xen-devel

On Thu, Jan 09, 2014 at 11:59:44AM +0000, Ian Campbell wrote:
> On Thu, 2014-01-09 at 11:52 +0000, Wei Liu wrote:
> > On Thu, Jan 09, 2014 at 10:04:51AM +0000, Ian Campbell wrote:
> > > On Wed, 2014-01-08 at 18:34 +0000, Wei Liu wrote:
> > > > On Wed, Jan 08, 2014 at 04:51:40PM +0000, Ian Campbell wrote:
> > > > > On Wed, 2014-01-08 at 17:46 +0100, Olaf Hering wrote:
> > > > > > 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.
> > > > > 
> > > > 
> > > > 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. :-)
> > 
> > > > > 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
> 
> 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 <wei.liu2@citrix.com>
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".

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 docs/man/xl.cfg.pod.5 |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5
index 72efd88..9941395 100644
--- a/docs/man/xl.cfg.pod.5
+++ b/docs/man/xl.cfg.pod.5
@@ -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:
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: global keymap= option not recognized
  2014-01-09 14:39           ` Wei Liu
@ 2014-01-09 15:49             ` Ian Campbell
  0 siblings, 0 replies; 10+ messages in thread
From: Ian Campbell @ 2014-01-09 15:49 UTC (permalink / raw)
  To: Wei Liu; +Cc: Olaf Hering, xen-devel

On Thu, 2014-01-09 at 14:39 +0000, Wei Liu wrote:
> On Thu, Jan 09, 2014 at 11:59:44AM +0000, Ian Campbell wrote:
> > On Thu, 2014-01-09 at 11:52 +0000, Wei Liu wrote:
> > > On Thu, Jan 09, 2014 at 10:04:51AM +0000, Ian Campbell wrote:
> > > > On Wed, 2014-01-08 at 18:34 +0000, Wei Liu wrote:
> > > > > On Wed, Jan 08, 2014 at 04:51:40PM +0000, Ian Campbell wrote:
> > > > > > On Wed, 2014-01-08 at 17:46 +0100, Olaf Hering wrote:
> > > > > > > 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.
> > > > > > 
> > > > > 
> > > > > 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. :-)
> > > 
> > > > > > 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
> > 
> > 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 <wei.liu2@citrix.com>
> 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".
> 
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: global keymap= option not recognized
  2014-01-08 16:46 global keymap= option not recognized Olaf Hering
  2014-01-08 16:51 ` Ian Campbell
@ 2014-01-09 15:52 ` Ian Campbell
       [not found] ` <1389286148.19805.50.camel@kazak.uk.xensource.com>
  2 siblings, 0 replies; 10+ messages in thread
From: Ian Campbell @ 2014-01-09 15:52 UTC (permalink / raw)
  To: Olaf Hering; +Cc: Wei Liu, xen-devel

create ^
title it xl: global keymap= option not recognised
prune it <20140109115220.GA32437@zion.uk.xensource.com>
owner it Wei Liu <wei.liu2@citrix.com>
thanks

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Processed: Re:  global keymap= option not recognized
       [not found] ` <1389286148.19805.50.camel@kazak.uk.xensource.com>
@ 2014-01-09 17:00   ` xen
  0 siblings, 0 replies; 10+ messages in thread
From: xen @ 2014-01-09 17:00 UTC (permalink / raw)
  To: Ian Campbell, xen-devel

Processing commands for xen@bugs.xenproject.org:

> create ^
Created new bug #31 rooted at `<20140108164617.GA20476@aepfle.de>'
Title: `Re: [Xen-devel] global keymap= option not recognized'
> title it xl: global keymap= option not recognised
Set title for #31 to `xl: global keymap= option not recognised'
> prune it <20140109115220.GA32437@zion.uk.xensource.com>
Prune `<20140109115220.GA32437@zion.uk.xensource.com>' from #31
> owner it Wei Liu <wei.liu2@citrix.com>
Change owner for #31 to `Wei Liu <wei.liu2@citrix.com>'
> 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 xen-bugs-owner@bugs.xenproject.org with any infrastructure issues

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-01-09 17:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-08 16:46 global keymap= option not recognized Olaf Hering
2014-01-08 16:51 ` Ian Campbell
2014-01-08 18:34   ` Wei Liu
2014-01-09 10:04     ` Ian Campbell
2014-01-09 11:52       ` Wei Liu
2014-01-09 11:59         ` Ian Campbell
2014-01-09 14:39           ` Wei Liu
2014-01-09 15:49             ` Ian Campbell
2014-01-09 15:52 ` Ian Campbell
     [not found] ` <1389286148.19805.50.camel@kazak.uk.xensource.com>
2014-01-09 17:00   ` Processed: " xen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.