All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Smith <sos22-xen@srcf.ucam.org>
To: Jeremy Katz <katzj@redhat.com>
Cc: xen-devel <xen-devel@lists.xensource.com>,
	Markus Armbruster <armbru@redhat.com>,
	sos22@srcf.ucam.org
Subject: Re: [PATCH] Paravirt framebuffer support in xend [3/5]
Date: Thu, 7 Sep 2006 09:01:50 +0100	[thread overview]
Message-ID: <20060907080150.GB2604@cam.ac.uk> (raw)
In-Reply-To: <1157551140.25608.46.camel@aglarond.local>


[-- Attachment #1.1: Type: text/plain, Size: 2339 bytes --]

> > > > Why?
> > > Because it's used to kill a process and doing a lazy import of things
> > > like this is a good way to drive a man crazy ;-)
> > I'd drop this from this patch, since it's not really required or
> > particularly useful.
> > 
> > Don't let that stop you from doing a separate cleanup patch,
> > though. :)
> Hint taken and sent ;-)
Thanks.

> > > > >  import xen.lowlevel.xc
> > > > > +import xen.util.auxbin
> > > > >  from xen.xend import sxp
> > > > >  from xen.xend.XendError import VmError
> > > > >  from xen.xend.XendLogging import log
> > > > > @@ -189,6 +191,68 @@ class LinuxImageHandler(ImageHandler):
> > > > >                                cmdline        = self.cmdline,
> > > > >                                ramdisk        = self.ramdisk,
> > > > >                                features       = self.vm.getFeatures())
> > > > > +
> > > > > +    def configure(self, imageConfig, deviceConfig):
> > > > Does this really belong in class LinuxImageHandler?
> > > Right now, it's only implemented for Linux -- with a proof of concept
> > > for elsewhere, I could see move it to being generic instead.  But right
> > > now, it's Linux specific
> > The other PV devices have their own Controller classes
> > (BlkifController, NetifController, etc.).  Why is the framebuffer
> > special?
> Because I was able to "liberally use" a lot of the hvm code.  Also, for
> consistency with the hvm code, the framebuffer bits show up as part of
> the image section of the sexpr rather than device.
I'd be happier if the framebuffer stuff was in the device section of
the sexp, because it is a device, and there's no reason in principle
why a domain couldn't have more than one of them.

> Since one of the big goals here (at least, from my point of view) is
> making full and para virt domains more consistent, I'd like to keep
> to that.
This is a good reason, but I think that the display configuration was
put in image in the HVM sexp for reasons of expediency rather than
correctness.  It'd be good not to copy that if we don't have to.

Even better would be to move the HVM configuration information to the
right place, but that's probably a job for another time.

> If you feel strongly, I can look at reworking it
How much of a pain is this going to be?

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

  reply	other threads:[~2006-09-07  8:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02 19:58 [PATCH] Paravirt framebuffer support in xend [3/5] Jeremy Katz
2006-09-04  9:02 ` Steven Smith
2006-09-05 16:11   ` Jeremy Katz
2006-09-06  9:17     ` Steven Smith
2006-09-06 11:43       ` sos22-xen
2006-09-06 13:59       ` Jeremy Katz
2006-09-07  8:01         ` Steven Smith [this message]
2006-09-14 19:27 ` Daniel P. Berrange

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=20060907080150.GB2604@cam.ac.uk \
    --to=sos22-xen@srcf.ucam.org \
    --cc=armbru@redhat.com \
    --cc=katzj@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.