From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/929 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Test environment for non-native archs Date: Sat, 26 May 2012 23:18:40 -0400 Message-ID: <20120527031840.GC163@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1338089035 13553 80.91.229.3 (27 May 2012 03:23:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 May 2012 03:23:55 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-930-gllmg-musl=m.gmane.org@lists.openwall.com Sun May 27 05:23:54 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1SYU54-0000k5-2A for gllmg-musl@plane.gmane.org; Sun, 27 May 2012 05:23:46 +0200 Original-Received: (qmail 18398 invoked by uid 550); 27 May 2012 03:23:45 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 18390 invoked from network); 27 May 2012 03:23:45 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:929 Archived-At: Hi, I've been thinking a bit about further testing of ARM (for which I don't have a native environment) and ports to other systems, and realized that to be able to efficiently mix working on the native host and virtual target system (e.g. doing most of the compiling on the host), it's going to be desirable to have the Linux running under qemu using part of the host's filesystem as its root fs, instead of having a filesystem image. This seems to be possible with qemu's support for exporting a virtual 9p share to the guest OS, but I haven't yet determined if it's possible to boot directly with the 9p share as the root fs, or whether it's going to require a separate initial fs image and switch/pivot root afterwards (as you can tell, I'm not very familiar with this sort of setup). Anyone know the answer, or have some recipes I could use? Rich