From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Smith Subject: Re: Paravirtualised drivers for fully virtualised domains Date: Wed, 26 Jul 2006 16:34:52 +0100 Message-ID: <20060726153452.GA6211@cam.ac.uk> References: <20060718125106.GA4727@cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0629625763==" Return-path: In-Reply-To: <20060718125106.GA4727@cam.ac.uk> 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: xen-devel@lists.xensource.com Cc: sos22@srcf.ucam.org List-Id: xen-devel@lists.xenproject.org --===============0629625763== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I've just put an updated version of these patches up at http://www.cl.cam.ac.uk/~sos22/pv-on-hvm/rev2 . There's also an equivalent single big patch at http://www.cl.cam.ac.uk/~sos22/pv-on-hvm/rev2.combined . Thank you to everyone who gave feedback on the previous version. The main changes since last time are: -- Support for SMP guests -- Support for 64 bit guests on a 64 bit hypervisor -- Partial support for 32 bit guests on a 64 bit hypervisor: the network interface works, but the block device doesn't. The block device can be made to work by #define'ing ALIEN_INTERFACES in blkif.h, but drivers compiled in that way won't work with 32 on 32. The problem here is that blkif_request_t contains extra padding in 64 bit builds, and so is a different size, and so the block ring layout is different. Other structures with similar problems are handled either by run time tests in the drivers (shared_info_t) or translation wrappers in the hypervisor (xen_feature_info_t, xen_add_to_physmap_t), but trying to do this for the block rings would require far more painful and extensive surgery. I'm inclined to stick with multiply compiling the frontend drivers in the short term, although it'll obviously need doing in a slightly less grotty way. Steven. --/04w6evG8XlLl3ft Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEx4ucO4S8/gLNrjcRAlfRAKCGv4ufNxst+rFMDGlHGfSZffJqOACghIwQ uUP1WkAWqZDUSm+uC30/+sQ= =aYz/ -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft-- --===============0629625763== 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 --===============0629625763==--