All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Steven Smith <sos22-xen@srcf.ucam.org>
Cc: xen-devel@lists.xensource.com,
	Markus Armbruster <armbru@redhat.com>,
	sos22@srcf.ucam.org
Subject: Re: [PATCH] PV framebuffer
Date: Tue, 5 Dec 2006 01:59:33 +0000	[thread overview]
Message-ID: <20061205015933.GA16297@redhat.com> (raw)
In-Reply-To: <20061204202925.GG897@redhat.com>

On Mon, Dec 04, 2006 at 08:29:25PM +0000, Daniel P. Berrange wrote:
> 
> On Fri, Dec 01, 2006 at 01:25:42PM +0000, Steven Smith wrote:
> > Applied.
> > 
> > Thanks,
> > 
> > Steven.
> 
> Looking at the patches applied for the PVFB code & config re-arrangement
> I think that VNC password handling for fullyvirt HVM guests has been
> broken

> The following hunk  against tools/python/xen/xm/create.py removes processing
> of the 'vncpassword' config parameter from the guest config files for HVM
> guests:
> 
> 
>   @@ -678,20 +690,13 @@ def configure_vifs(config_devs, vals):
>            config_devs.append(['device', config_vif])
>  
>  
>   -def configure_graphics(config_image, vals):
>   -    """Create the config for graphic consoles.
>   -    """
>   -    args = [ 'vnc', 'vncdisplay', 'vncconsole', 'vncunused',
>   -             'sdl', 'display', 'xauthority', 'vnclisten', 'vncpasswd']
>   -    for a in args:
>   -        if (vals.__dict__[a]):
>   -            config_image.append([a, vals.__dict__[a]])
>   -
>    def configure_hvm(config_image, vals):
>        """Create the config for HVM devices.
>        """
>        args = [ 'device_model', 'pae', 'vcpus', 'boot', 'fda', 'fdb',
>                 'localtime', 'serial', 'stdvga', 'isa', 'nographic', 'soundhw',
>   +             'vnc', 'vncdisplay', 'vncunused', 'vncconsole', 'vnclisten',
>   +             'sdl', 'display', 'xauthority',
>                 'acpi', 'apic', 'usb', 'usbdevice', 'keymap' ]
>        for a in args:
>            if a in vals.__dict__ and vals.__dict__[a] is not None:
> 
> 
> I've not been able to actually verify it since I don't currently have
> a working xen-unstable build, but I don't see how it can work without
> the 'vncpasswd' parameter included there in the args for configure_hvm.

Ignore me. I see there is special case code for vncpasswd parameter elsewhere
in the create.py file, which ensures its processed correctly, so there's no
bug here.  I had missed it because of a merge issue with my vncpassword
patches for the Paravirt FB.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

      reply	other threads:[~2006-12-05  1:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30 18:29 [PATCH] PV framebuffer Markus Armbruster
2006-12-01 13:25 ` Steven Smith
2006-12-01 18:04   ` Markus Armbruster
2006-12-04 19:51   ` Markus Armbruster
2006-12-04 20:43     ` Ewan Mellor
2006-12-05 10:01       ` Markus Armbruster
2006-12-05 18:11     ` Steven Smith
2006-12-05 18:51       ` Markus Armbruster
2006-12-04 20:29   ` Daniel P. Berrange
2006-12-05  1:59     ` Daniel P. Berrange [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061205015933.GA16297@redhat.com \
    --to=berrange@redhat.com \
    --cc=armbru@redhat.com \
    --cc=sos22-xen@srcf.ucam.org \
    --cc=sos22@srcf.ucam.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.