From: Steven Smith <sos22-xen@srcf.ucam.org>
To: Markus Armbruster <armbru@redhat.com>
Cc: xen-devel@lists.xensource.com, sos22@srcf.ucam.org
Subject: Re: Re: [PATCH 0/2] PV framebuffer
Date: Wed, 29 Nov 2006 10:31:21 +0000 [thread overview]
Message-ID: <20061129103121.GA2452@cam.ac.uk> (raw)
In-Reply-To: <87d57d6zi8.fsf@pike.pond.sub.org>
[-- Attachment #1.1: Type: text/plain, Size: 2938 bytes --]
> Next iteration. If there's anything left in the way of getting this
> merged, please let me know right away.
>
> Changes since last time:
>
> * Leave xen console defaulting to /dev/tty1.
>
> * Start backend automatically.
I'm not entirely happy with the way this is done; I'd much rather the
device controller started the backend than the image controller. I
can probably fix this up more easily than you.
> * Fix kernel thread to call try_to_freeze().
>
> * Recreate the image sub-object in XendDomainInfo.py on resume.
Why did you do this? I can't see that it has anything to do with the
pvfb work, and everything seems to still work when I get rid of this
part of the patch.
> To activate the framebuffer, you have to put the following lines into
> /etc/xen/DOMNAME:
>
> vfb = 'yes'
> vkbd = 'yes'
>
> and either
>
> sdl = 1
>
> or
>
> vnc = 1
I'm not entirely happy about this configuration syntax:
-- It's redundant: you can't specify a vfb without a vkbd or
vice-versa, or the domain won't start, so we might as well get rid
of the vkbd="yes" business
-- It doesn't give any way of specifying parameters to the backend
-- The configuration for a single device ends up split into several
different items. It also depends on stuff outside the usual
(device) sections in the SXP, which is kind of nasty.
-- It potentially conflicts with the way emulated vga is specified in
hvm guests. e.g. you can't specify that emulated vga should be
exported over vnc while the pv framebuffer should be sdl. Whether
you'd ever want to do this is another matter, but it'd be nice if
we didn't rule it out for reasons as trivial as a bad configuration
file design.
-- It won't extend to supporting multiple pvfbs
-- It doesn't look much like the syntax for configuring other devices.
I'd prefer something more like this:
vfbs = [ 'type=sdl,listen=127.0.0.1' ]
Again, I can probably fix this up more easily than you, if you don't
object.
> One last thing to consider: I'm not entirely happy with source file
> names and locations. It's now or never for renames. Peeves:
>
> * Frontend source usually lives in drivers/xen/<WHAT>front. xenfb and
> xenkbd are exceptions. Rename to fbfront and kbdfront? Same for
> the .c files. This would also fix the minor annoyance of having the
> same file name in frontend and backend.
>
> * Given how closely related xenfb and xenkbd are, I'm not fond of
> having them in separate directories. Move kbd into the fb
> directory?
If it were my patch, I'd put everything in drivers/xen/fbfront, but it
doesn't really make a great deal of difference.
Apart from that, I'm happy with this. If you send me a patch which
applies cleanly to xen-unstable and is signed-off-by the right people,
I'll check it in and fix the things I mentioned myself.
Steven.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2006-11-29 10:31 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-10 8:53 [PATCH 0/2] PV framebuffer Markus Armbruster
2006-11-10 9:32 ` Gerd Hoffmann
2006-11-12 14:20 ` Steven Smith
2006-11-13 15:29 ` Markus Armbruster
2006-11-21 17:48 ` Markus Armbruster
2006-11-16 1:08 ` Atsushi SAKAI
2006-11-16 8:21 ` Markus Armbruster
2006-11-16 10:31 ` Atsushi SAKAI
2006-11-16 11:46 ` Markus Armbruster
2006-11-17 13:22 ` Markus Armbruster
2006-11-22 14:18 ` Steven Smith
2006-11-22 15:31 ` Markus Armbruster
2006-11-24 8:05 ` Markus Armbruster
2006-11-24 8:07 ` Markus Armbruster
2006-11-29 10:31 ` Steven Smith [this message]
2006-11-29 12:43 ` Markus Armbruster
2006-11-21 5:23 ` Kasai Takanori
2006-11-21 5:50 ` Markus Armbruster
2006-11-21 9:43 ` Ewan Mellor
2006-11-22 11:47 ` Kasai Takanori
2006-11-22 13:30 ` Markus Armbruster
2006-11-24 1:54 ` Kasai Takanori
2006-11-24 8:15 ` Markus Armbruster
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=20061129103121.GA2452@cam.ac.uk \
--to=sos22-xen@srcf.ucam.org \
--cc=armbru@redhat.com \
--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.