From: Steven Smith Subject: Re: [Xen-changelog] [XENBUS] Avoid direct use of xen_start_info. Date: Tue, 15 Aug 2006 10:04:40 +0100 Message-ID: <20060815090439.GA3319@cam.ac.uk> References: <1155584268.30510.104.camel@basalt.austin.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0911676100==" Return-path: In-Reply-To: <1155584268.30510.104.camel@basalt.austin.ibm.com> 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: Hollis Blanchard Cc: xen-ppc-devel , xen-devel@lists.xensource.com, sos22@srcf.ucam.org, Steven Smith List-Id: xen-devel@lists.xenproject.org --===============0911676100== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > This is great, because on PowerPC we're looking to drop struct > start_info entirely. However, I notice there are still a fair number of > 'xen_start_info' references in drivers/xen. Are there more of these > patches coming Steven, or since HVM guests don't use those drivers > you're not pursuing them? I wasn't planning on doing so since, as you say, none of the others are relevant to HVM guests. > > @@ -1014,8 +1017,13 @@ static int __init xenbus_probe_init(void > > if (xsd_port_intf) > > xsd_port_intf->read_proc =3D xsd_port_read; > > #endif > > - } else > > + } else { > > xenstored_ready =3D 1; > > + xen_store_evtchn =3D xen_start_info->store_evtchn; > > + xen_store_mfn =3D xen_start_info->store_mfn; > > + } > > + > > + xen_store_interface =3D mfn_to_virt(xen_store_mfn); > > =20 > > /* Initialize the interface to xenstore. */ > > err =3D xs_init(); > Could we abstract this part more please? I think calling into an > arch-provided xen_get_store_mfn() function would be good. (And of course > the same for store_evtchn and the console_* equivalents.) This'd probably reduce the number of #ifdef's in the PV-on-HVM patches as well, so I'd be happy to see it. Steven. --UugvWAfsgieZRqgk 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) iD8DBQFE4Y4nO4S8/gLNrjcRAiRAAJwKHoNpS12g+RQMGVVsHviKvWxAjQCfQXZ6 mUqmsxj6pMSUlYw9zr3Av2c= =aj2F -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- --===============0911676100== 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 --===============0911676100==--