From: Steven Smith Subject: Re: [PATCH] Paravirt framebuffer support in xend [3/5] Date: Thu, 7 Sep 2006 09:01:50 +0100 Message-ID: <20060907080150.GB2604@cam.ac.uk> References: <1157227117.11059.43.camel@aglarond.local> <20060904090209.GD4812@cam.ac.uk> <1157472717.7571.89.camel@aglarond.local> <20060906091722.GE3257@cam.ac.uk> <1157551140.25608.46.camel@aglarond.local> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1676159347==" Return-path: In-Reply-To: <1157551140.25608.46.camel@aglarond.local> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Katz Cc: xen-devel , Markus Armbruster , sos22@srcf.ucam.org List-Id: xen-devel@lists.xenproject.org --===============1676159347== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ADZbWkCsHQ7r3kzd" Content-Disposition: inline --ADZbWkCsHQ7r3kzd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > > > 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. > >=20 > > 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 =3D self.cmdline, > > > > > ramdisk =3D self.ramdisk, > > > > > features =3D self.vm.getFeat= ures()) > > > > > + > > > > > + 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 rig= ht > > > 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. --ADZbWkCsHQ7r3kzd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE/9HuO4S8/gLNrjcRAt1WAKCc17l5BtYNNpqerBycRv/lDafdTgCeP4Ej dT4syjyn4uV7QmgIIcIqHDg= =1f38 -----END PGP SIGNATURE----- --ADZbWkCsHQ7r3kzd-- --===============1676159347== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1676159347==--