From mirageos-devel-bounces@lists.xenproject.org Wed Jul 01 14:35:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 01 Jul 2015 14:35:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAJ6S-0001qr-5J; Wed, 01 Jul 2015 14:35:08 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZAJ6Q-0001qf-Dm
	for mirageos-devel@lists.xenproject.org; Wed, 01 Jul 2015 14:35:06 +0000
Received: from [193.109.254.147] by server-14.bemta-14.messagelabs.com id
	28/4B-21300-99AF3955; Wed, 01 Jul 2015 14:35:05 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-14.tower-27.messagelabs.com!1435761304!28384837!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=MAILTO_TO_SPAM_ADDR,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17881 invoked from network); 1 Jul 2015 14:35:04 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-14.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 1 Jul 2015 14:35:04 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id b16112ac;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 1 Jul 2015 15:35:03 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>
Date: Wed, 1 Jul 2015 15:35:03 +0100
Message-Id: <43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
References: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>
To: Amir M Chaudhry <amc79@cam.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 1st at
	4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

VGhlIEdvb2dsZSBIYW5nb3V0IGxpbmsgZm9yIHRoZSBjYWxsIGluIDMwIG1pbnV0ZXMgaXM6Cgog
ICBodHRwczovL3BsdXMuZ29vZ2xlLmNvbS9oYW5nb3V0cy9fL2dxN2UzNnN2eWgzb2t6bGJhbjNz
NjVud255YQoKVGFsayB0byB5b3UgYWxsIHNvb24hCgotYW5pbAoKPiBPbiAzMCBKdW4gMjAxNSwg
YXQgMTg6NDksIEFtaXIgQ2hhdWRocnkgPGFtYzc5QGNhbS5hYy51az4gd3JvdGU6Cj4gCj4gSGkg
Zm9sa3MsCj4gCj4gVGhlIG5leHQgTWlyYWdlIGRldiBjYWxsIHdpbGwgdG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vL21pcmFnZW9zLWRldmVsCgoKX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGlu
ZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54
ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 01 14:35:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 01 Jul 2015 14:35:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAJ6S-0001qr-5J; Wed, 01 Jul 2015 14:35:08 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZAJ6Q-0001qf-Dm
	for mirageos-devel@lists.xenproject.org; Wed, 01 Jul 2015 14:35:06 +0000
Received: from [193.109.254.147] by server-14.bemta-14.messagelabs.com id
	28/4B-21300-99AF3955; Wed, 01 Jul 2015 14:35:05 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-14.tower-27.messagelabs.com!1435761304!28384837!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=MAILTO_TO_SPAM_ADDR,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17881 invoked from network); 1 Jul 2015 14:35:04 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-14.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 1 Jul 2015 14:35:04 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id b16112ac;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 1 Jul 2015 15:35:03 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>
Date: Wed, 1 Jul 2015 15:35:03 +0100
Message-Id: <43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
References: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>
To: Amir M Chaudhry <amc79@cam.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 1st at
	4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

VGhlIEdvb2dsZSBIYW5nb3V0IGxpbmsgZm9yIHRoZSBjYWxsIGluIDMwIG1pbnV0ZXMgaXM6Cgog
ICBodHRwczovL3BsdXMuZ29vZ2xlL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kh
Cj4gCj4gQmVzdCB3aXNoZXMsCj4gQW1pcgo+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fCj4gTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Cj4gTWlyYWdl
T1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKPiBodHRwOi8vbGlzdHMueGVucHJvamVjdC5v
cmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCgoKX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGlu
ZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54
ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 09:56:50 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 09:56:50 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAbEY-0002y5-9v; Thu, 02 Jul 2015 09:56:42 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZAbEX-0002xw-FR
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 09:56:41 +0000
Received: from [85.158.137.68] by server-15.bemta-3.messagelabs.com id
	6E/6F-28408-8DA05955; Thu, 02 Jul 2015 09:56:40 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-4.tower-31.messagelabs.com!1435830999!20700634!1
X-Originating-IP: [74.125.82.43]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19553 invoked from network); 2 Jul 2015 09:56:39 -0000
Received: from mail-wg0-f43.google.com (HELO mail-wg0-f43.google.com)
	(74.125.82.43)
	by server-4.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	2 Jul 2015 09:56:39 -0000
Received: by wgck11 with SMTP id k11so58581764wgc.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 02 Jul 2015 02:56:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:from:content-type:content-transfer-encoding:subject
	:message-id:date:to:mime-version;
	bh=0yXqdWsvs5crbZUB3cyP+wD+UTALZFJxK0b3TRQ8B44=;
	b=KZFiwo3BK6IZX0NJqNzMqHbrwqcCRirWUYp4kWxnaJEqDllt+wJxWcITDT+JqxxLfY
	iNpMRLV6/PYaPuWOUfi3m9mM608M21RWLd6uyGiJUylpWJkvgaHMa6MPe8rLIrh8m20+
	AkfsLdgdIiE9CBkdSjgJNGbWdA7fCMFBE+2Dx1Y7lgPQntn0Una7GBB1Yx06JFdnhMMa
	QawU535Hv4vvmTShzzIeYE3w2FXjGT3oTY+pXSYkl9RsW1XlG6uHZrxguPkT8kpOddse
	z+iUlgA4Dg4Tacz/Ddrylk64TTS9AcJxPdyANmYWfe5pWW5SptTPXG2fDgCZVpjK0YM6
	SDbw==
X-Received: by 10.194.192.98 with SMTP id hf2mr57505624wjc.23.1435830999102;
	Thu, 02 Jul 2015 02:56:39 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id u7sm26339504wif.3.2015.07.02.02.56.37
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Thu, 02 Jul 2015 02:56:37 -0700 (PDT)
From: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-Id: <23D71538-C66C-4D59-9A65-4875FD5BAEDA@gazagnaire.org>
Date: Thu, 2 Jul 2015 10:56:36 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] blocking pretty-printing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

I think a good scheme to use in our libraries for pretty-printing is to define a `val pp: Format.formatter -> t -> unit` function to be used with the Format module and "%a". Used in conjonction with other Format combinators[1] it can help pretty-printing a lots of things simply.

However, one of the issue is that sometimes iterating over a value to pretty-print its sub-components is blocking (see [2] for instance) and the unit is actually a unit Lwt.t. So using "%a" is not possible anymore.Is there a nice solution to this which keeps the compositional properties?

Best,
Thomas

[1] https://github.com/dbuenzli/bos/blob/master/src/bos.mli#L131-L333
[2] https://github.com/mirage/mirage/pull/419#issuecomment-117974012
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 09:56:50 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 09:56:50 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAbEY-0002y5-9v; Thu, 02 Jul 2015 09:56:42 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZAbEX-0002xw-FR
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 09:56:41 +0000
Received: from [85.158.137.68] by server-15.bemta-3.messagelabs.com id
	6E/6F-28408-8DA05955; Thu, 02 Jul 2015 09:56:40 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-4.tower-31.messagelabs.com!1435830999!20700634!1
X-Originating-IP: [74.125.82.43]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19553 invoked from network); 2 Jul 2015 09:56:39 -0000
Received: from mail-wg0-f43.google.com (HELO mail-wg0-f43.google.com)
	(74.125.82.43)
	by server-4.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	2 Jul 2015 09:56:39 -0000
Received: by wgck11 with SMTP id k11so58581764wgc.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 02 Jul 2015 02:56:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:from:content-type:content-transfer-encoding:subject
	:message-id:date:to:mime-version;
	bh=0yXqdWsvs5crbZUB3cyP+wD+UTALZFJxK0b3TRQ8B44=;
	b=KZFiwo3BK6IZX0NJqNzMqHbrwqcCRirWUYp4kWxnaJEqDllt+wJxWcITDT+JqxxLfY
	iNpMRLV6/PYaPuWOUfi3m9mM608M21RWLd6uyGiJUylpWJkvgaHMa6MPe8rLIrh8m20+
	AkfsLdgdIiE9CBkdSjgJNGbWdA7fCMFBE+2Dx1Y7lgPQntn0Una7GBB1Yx06JFdnhMMa
	QawU535Hv4vvmTShzzIeYE3w2FXjGT3oTY+pXSYkl9RsW1XlG6uHZrxguPkT8kpOddse
	z+iUlgA4Dg4Tacz/Ddrylk64TTS9AcJxPdyANmYWfe5pWW5SptTPXG2fDgCZVpjK0YM6
	SDbw==
X-Received: by 10.194.192.98 with SMTP id hf2mr57505624wjc.23.1435830999102;
	Thu, 02 Jul 2015 02:56:39 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id u7sm26339504wif.3.2015.07.02.02.56.37
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Thu, 02 Jul 2015 02:56:37 -0700 (PDT)
From: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-Id: <23D71538-C66C-4D59-9A65-4875FD5BAEDA@gazagnaire.org>
Date: Thu, 2 Jul 2015 10:56:36 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] blocking pretty-printing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

I think a good scheme to use in our libraries for pretty-printing is to define a `val pp: Format.formatter -> t -> unit` function to be used with the Format module and "%a". Used in conjonction with other Format combinators[1] it can help pretty-printing a lots of things simply.

However, one of the issue is that sometimes iterating over a value to pretty-print its sub-components is blocking (see [2] for instance) and the unit is actually a unit Lwt.t. So using "%a" is not possible anymore.Is there a nice solution to this which keeps the compositional properties?

Best,
Thomas

[1] https://github.com/dbuenzli/bos/blob/master/src/bos.mli#L131-L333
[2] https://github.com/mirage/mirage/pull/419#issuecomment-117974012
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 10:05:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 10:05:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAbN0-0003U4-BH; Thu, 02 Jul 2015 10:05:26 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZAbMy-0003Ty-OD
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 10:05:24 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	BC/9A-27764-4EC05955; Thu, 02 Jul 2015 10:05:24 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-6.tower-27.messagelabs.com!1435831523!28620454!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6366 invoked from network); 2 Jul 2015 10:05:23 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-6.tower-27.messagelabs.com with SMTP;
	2 Jul 2015 10:05:23 -0000
Received: from [172.20.10.2] (188.29.164.242.threembb.co.uk [188.29.164.242])
	by smtp.webfaction.com (Postfix) with ESMTP id 230A52162474;
	Thu,  2 Jul 2015 10:05:21 +0000 (UTC)
Date: Thu, 2 Jul 2015 11:05:19 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-ID: <F2EC0F0BC5774AE6B959B71D0DF495DC@erratique.ch>
In-Reply-To: <23D71538-C66C-4D59-9A65-4875FD5BAEDA@gazagnaire.org>
References: <23D71538-C66C-4D59-9A65-4875FD5BAEDA@gazagnaire.org>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] blocking pretty-printing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgamV1ZGksIDIganVpbGxldCAyMDE1IMOgIDEwOjU2LCBUaG9tYXMgR2F6YWduYWlyZSBhIMOp
Y3JpdCA6Cj4gSG93ZXZlciwgb25lIG9mIHRoZSBpc3N1ZSBpcyB0aGF0IHNvbWV0aW1lcyBpdGVy
YXRpbmcgb3ZlciBhIHZhbHVlIHRvIHByZXR0eS1wcmludCBpdHMgc3ViLWNvbXBvbmVudHMgaXMg
YmxvY2tpbmcgKHNlZSBbMl0gZm9yIGluc3RhbmNlKSBhbmQgdGhlIHVuaXQgaXMgYWN0dWFsbHkg
YSB1bml0IEx3dC50LiBTbyB1c2luZyAiJWEiIGlzIG5vdCBwb3NzaWJsZSBhbnltb3JlLklzIHRo
ZXJlIGEgbmljZSBzb2x1dGlvbiB0byB0aGlzIHdoaWNoIGtlZXBzIHRoZSBjb21wb3NpdGlvbmFs
IHByb3BlcnRpZXM/CgpBIGJpdCBhbm5veWluZyBidXQgb25lIHdheSBvdXQgd291bGQgYmUgdG8g
aW50cm9kdWNlIGFuIGludGVybWVkaWF0ZSByZXByZXNlbnRhdGlvbiB0eXBlCgp2YWwgdG9fcmVw
ciA6IHQgLT4gcmVwciBpbwp2YWwgcHAgOiBGb3JtYXQuZm9ybWF0dGVyIC0+IHJlcHIgLT4gdW5p
dAoKQmVzdCwKCkRhbmllbAoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3Rz
LnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxt
YW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 10:05:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 10:05:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAbN0-0003U4-BH; Thu, 02 Jul 2015 10:05:26 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZAbMy-0003Ty-OD
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 10:05:24 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	BC/9A-27764-4EC05955; Thu, 02 Jul 2015 10:05:24 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-6.tower-27.messagelabs.com!1435831523!28620454!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6366 invoked from network); 2 Jul 2015 10:05:23 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-6.tower-27.messagelabs.com with SMTP;
	2 Jul 2015 10:05:23 -0000
Received: from [172.20.10.2] (188.29.164.242.threembb.co.uk [188.29.164.242])
	by smtp.webfaction.com (Postfix) with ESMTP id 230A52162474;
	Thu,  2 Jul 2015 10:05:21 +0000 (UTC)
Date: Thu, 2 Jul 2015 11:05:19 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-ID: <F2EC0F0BC5774AE6B959B71D0DF495DC@erratique.ch>
In-Reply-To: <23D71538-C66C-4D59-9A65-4875FD5BAEDA@gazagnaire.org>
References: <23D71538-C66C-4D59-9A65-4875FD5BAEDA@gazagnaire.org>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] blocking pretty-printing
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgamV1ZGksIDIganVpbGxldCAyMDE1IMOgIDEwOjU2LCBUaG9tYXMgR2F6YWduYWlyZSBhIMOp
Y3JpdCA6Cj4gSG93ZXZlciwgb25lIG9mIHRoZSBpc3N1ZSBpcyB0aGF0IHNvbWV0aW1lcyBpdGVy
YXRpbmcgb3ZlciBhIHZhbHVlIHRvIHByZXR0eS1wcmludCBpdHMgc3ViLWNvbXBvbmVudHMgaXMg
YmxvY2tpbmcgKHNlZSBbMl0gZm9yIGluc3RhbmNlKSBhbmQgdGhlIHVuaXQgaXMgYWN0dWFsbHkg
YSB1bml0IEx3dC50LiBTbyB1c2luZyAiJWEiIGlzIG5vdCBwb3NzaWJsZSBhbnltb3JlLklzIHRo
ZXJlIGEgbmljZSBzb2x1dGlvbiB0byB0aGlzIHdoaWNoIGtlZXBzIHRoZSBjb21wb3NpdGlvbmFs
IHByb3BlcnRpZXM/CgpBIGJpdCBhbm5veWluZyBidXQgb25lIHdheSBvdXQgd291bGQgYmUgdG8g
aW50cm9kdWNlIGFuIGludGVybWVkaWF0ZSByZXByZXNlbnRhdGlvbiB0eXBlCgp2YWwgdG9fcmVw
ciA6IHQgLT4gcmVwciBpbwp2YWwgcHAgOiBGb3JtYXQuZm9ybWF0dGVyIC0+IHJlcHIgLT4gdW5p
dAoKQmVzdCwKCkRhbmllbAoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3Rz
LnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxt
YW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 12:32:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 12:32:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAdeq-0005Fa-4A; Thu, 02 Jul 2015 12:32:00 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZAdeo-0005FP-VK
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 12:31:59 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	78/E9-10437-E3F25955; Thu, 02 Jul 2015 12:31:58 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-3.tower-31.messagelabs.com!1435840317!22084158!1
X-Originating-IP: [131.111.8.140]
X-SpamReason: No, hits=0.2 required=7.0 tests=MIME_QP_LONG_LINE
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22632 invoked from network); 2 Jul 2015 12:31:57 -0000
Received: from ppsw-40.csi.cam.ac.uk (HELO ppsw-40.csi.cam.ac.uk)
	(131.111.8.140)
	by server-3.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 2 Jul 2015 12:31:57 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from [62.3.162.37] (port=50514)
	by ppsw-40.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZAden-0002fL-kA (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Thu, 02 Jul 2015 13:31:57 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Mime-Version: 1.0 (1.0)
Message-Id: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
Date: Thu, 2 Jul 2015 14:31:36 +0200
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
X-Mailer: iPhone Mail (12F70)
Subject: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsCgpKdXN0IGEgZmV3IChob3BlZnVsbHkgcXVpY2spIHF1ZXN0aW9ucy4gTWFpbmx5
IGZvciBmb2xrcyBkZXBsb3lpbmcgdGhlIE1pcmFnZSB3ZWJzaXRlIGFuZCBCaXRjb2luIFBpw7Fh
dGEuIAoKLSBIb3cgYmlnIGlzIHRoZSBtaXJhZ2Utd3d3IHVuaWtlcm5lbCB0aGVzZSBkYXlzICh3
aGVuIGRlcGxveWVkKT8KLSBBbnkgaWRlYSB3aGF0IHByb3BvcnRpb24gb2YgdGhhdCBpcyBhY3R1
YWxseSB0aGUgY29udGVudD8gaS5lLiBJJ20gY3VyaW91cyBhYm91dCB0aGUgZGlmZiBiZXR3ZWVu
IHRoZSBtYWNoaW5lcnkgaXRzZWxmIGFuZCB0aGUgYXNzZXRzL2NvbnRlbnQgdGhhdCB0aGUgbWFj
aGluZXJ5IGV4aXN0cyB0byBzZXJ2ZS4gCgotIENvdWxkIEhhbm5lcyBvciBEYXZpZCB0ZWxsIG1l
IHRoZSBzaXplIG9mIHRoZSBQacOxYXRhIGFuZCBpdHMgZXF1aXZhbGVudCBpbiB0aGUgdHJhZGl0
aW9uYWwgc3RhY2s/IChJIGFscmVhZHkgaGF2ZSBhIGNvbXBhcmlzb24gaW4ga2xvYyBidXQgSSdt
IGN1cmlvdXMgYWJvdXQgdGhlIGRlcGxveWVkIGltYWdlKS4gCgpCZXN0IHdpc2hlcywKQW1pcgoK
LS0KU2VudCB2aWEgbW9iaWxlCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0
cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWls
bWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 12:32:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 12:32:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAdeq-0005Fa-4A; Thu, 02 Jul 2015 12:32:00 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZAdeo-0005FP-VK
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 12:31:59 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	78/E9-10437-E3F25955; Thu, 02 Jul 2015 12:31:58 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-3.tower-31.messagelabs.com!1435840317!22084158!1
X-Originating-IP: [131.111.8.140]
X-SpamReason: No, hits=0.2 required=7.0 tests=MIME_QP_LONG_LINE
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22632 invoked from network); 2 Jul 2015 12:31:57 -0000
Received: from ppsw-40.csi.cam.ac.uk (HELO ppsw-40.csi.cam.ac.uk)
	(131.111.8.140)
	by server-3.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 2 Jul 2015 12:31:57 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from [62.3.162.37] (port=50514)
	by ppsw-40.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZAden-0002fL-kA (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Thu, 02 Jul 2015 13:31:57 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Mime-Version: 1.0 (1.0)
Message-Id: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
Date: Thu, 2 Jul 2015 14:31:36 +0200
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
X-Mailer: iPhone Mail (12F70)
Subject: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsCgpKdXN0IGEgZmV3IChob3BlZnVsbHkgcXVpY2spIHF1ZXN0aW9ucy4gTWFpbmx5
IGZvciBmb2xrcyBkZXBsb3lpbmcgdGhlIE1pcmFnZSB3ZWJzaXRlIGFuZCBCaXRjb2luIFBpw7Fh
dGEuIAoKLSBIb3cgYmlnIGlzIHRoZSBtaXJhZ2Utd3d3IHVuaWtlcm5lbCB0aGVzZSBkYXlzICh3
aGVuIGRlcGxveWVkKT8KLSBBbnkgaWRlYSB3aGF0IHByb3BvcnRpb24gb2YgdGhhdCBpcyBhY3R1
YWxseSB0aGUgY29udGVudD8gaS5lLiBJJ20gY3VyaW91cyBhYm91dCB0aGUgZGlmZiBiZXR3ZWVu
IHRoZSBtYWNoaW5lcnkgaXRzZWxmIGFuZCB0aGUgYXNzZXRzL2NvbnRlbnQgdGhhdCB0aGUgbWFj
aGluZXJ5IGV4aXN0cyB0byBzZXJ2ZS4gCgotIENvdWxkIEhhbm5lcyBvciBEYXZpZCB0ZWxsIG1l
IHRoZSBzaXplIG9mIHRoZSBQacOxYXRhIGFuZCBpdHMgZXF1aXZhbGVudCBpbiB0aGUgdHJhZGl0
aW9uYWwgc3RhY2s/IChJIGFscmVhZHkgaGF2ZSBhIGNvbXBhcmlzb24gaW4ga2xvYyBidXQgSSdt
IGN1cmlvdXMgYWJvdXQgdGhlIGRlcGxveWVkIGltYWdlKS4gCgpCZXN0IHdpc2hlcywKQW1pcgoK
LS0KU2VudCB2aWEgbW9iaWxlCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0
cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWls
bWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 13:02:47 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 13:02:47 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAe8a-0007Mg-Jx; Thu, 02 Jul 2015 13:02:44 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1ZAe8Z-0007MR-8c
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 13:02:43 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	65/48-21074-27635955; Thu, 02 Jul 2015 13:02:42 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-7.tower-206.messagelabs.com!1435842156!18524442!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6381 invoked from network); 2 Jul 2015 13:02:36 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-7.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 2 Jul 2015 13:02:36 -0000
Received: from [128.232.110.219] (c219.al.cl.cam.ac.uk [128.232.110.219])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id D07A11FD9
	for <mirageos-devel@lists.xenproject.org>;
	Thu,  2 Jul 2015 15:02:34 +0200 (CEST)
Message-ID: <5595364C.5090402@mehnert.org>
Date: Thu, 02 Jul 2015 14:02:04 +0100
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
In-Reply-To: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Content-Length: 714
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

QW1pciwKCk9uIDA3LzAyLzIwMTUgMTM6MzEsIEFtaXIgQ2hhdWRocnkgd3JvdGU6Cj4gLSBDb3Vs
ZCBIYW5uZXMgb3IgRGF2aWQgdGVsbCBtZSB0aGUgc2l6ZSBvZiB0aGUgUGnDsWF0YSBhbmQgaXRz
IGVxdWl2YWxlbnQgaW4gdGhlIHRyYWRpdGlvbmFsIHN0YWNrPyAoSSBhbHJlYWR5IGhhdmUgYSBj
b21wYXJpc29uIGluIGtsb2MgYnV0IEknbSBjdXJpb3VzIGFib3V0IHRoZSBkZXBsb3llZCBpbWFn
ZSkuIAoKYmluYXJ5IHNpemUgaXMgOC4yTSAobW9zdGx5IGNvdyBpdCBzZWVtcywgY29tcHJlc3Nl
ZCAxLjRNQikuIHRyYWRpdGlvbmFsCnN0YWNrczogbm90IHN1cmUsIG1heWJlIDIwME1CPwoKCmhh
bm5lcwoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWly
YWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qu
b3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8v
bWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 13:02:47 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 13:02:47 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAe8a-0007Mg-Jx; Thu, 02 Jul 2015 13:02:44 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1ZAe8Z-0007MR-8c
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 13:02:43 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	65/48-21074-27635955; Thu, 02 Jul 2015 13:02:42 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-7.tower-206.messagelabs.com!1435842156!18524442!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6381 invoked from network); 2 Jul 2015 13:02:36 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-7.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 2 Jul 2015 13:02:36 -0000
Received: from [128.232.110.219] (c219.al.cl.cam.ac.uk [128.232.110.219])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id D07A11FD9
	for <mirageos-devel@lists.xenproject.org>;
	Thu,  2 Jul 2015 15:02:34 +0200 (CEST)
Message-ID: <5595364C.5090402@mehnert.org>
Date: Thu, 02 Jul 2015 14:02:04 +0100
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
In-Reply-To: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Content-Length: 714
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

QW1pciwKCk9uIDA3LzAyLzIwMTUgMTM6MzEsIEFtaXIgQ2hhdWRocnkgd3JvdGU6Cj4gLSBDb3Vs
ZCBIYW5uZXMgb3IgRGF2aWQgdGVsbCBtZSB0aGUgc2l6ZSBvZiB0aGUgUGnDsWF0YSBhbmQgaXRz
IGVxdWl2YWxlbnQgaW4gdGhlIHRyYWRpdGlvbmFsIHN0YWNrPyAoSSBhbHJlYWR5IGhhdmUgYSBj
b21wYXJpc29uIGluIGtsb2MgYnV0IEknbSBjdXJpb3VzIGFib3V0IHRoZSBkZXBsb3llZCBpbWFn
ZSkuIAoKYmluYXJ5IHNpemUgaXMgOC4yTSAobW9zdGx5IGNvdyBpdCBzZWVtcywgY29tcHJlc3Nl
ZCAxLjRNQikuIHRyYWRpdGlvbmFsCnN0YWNrczogbm90IHN1cmUsIG1heWJlIDIwME1CPwoKCmhh
bm5lcwoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWly
YWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qu
b3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8v
bWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 13:20:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 13:20:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAePU-0000RT-BP; Thu, 02 Jul 2015 13:20:12 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZAePS-0000RB-LP
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 13:20:10 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	5B/93-02969-98A35955; Thu, 02 Jul 2015 13:20:09 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-3.tower-31.messagelabs.com!1435843208!22105340!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15361 invoked from network); 2 Jul 2015 13:20:08 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-3.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 2 Jul 2015 13:20:08 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 7d930e5c;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 2 Jul 2015 14:20:07 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <5595364C.5090402@mehnert.org>
Date: Thu, 2 Jul 2015 14:20:06 +0100
Message-Id: <9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
To: Hannes Mehnert <hannes@mehnert.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMiBKdWwg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dmUgY29kZSBpcyBvbiB0aGUgVE9ETyBsaXN0LCBidXQgbmVl
ZHMgc29tZSBmaWRkbGluZyB3aXRoIGZyYW1lIHBvaW50ZXJzIGluIHRoZSBnZW5lcmF0ZWQgYmlu
YXJpZXMgdG8gZG8gYSBnb29kIGpvYi4gCgpTbyB0aGUgb3ZlcmFsbCBtZXNzYWdlIGlzIHRoYXQg
cmVkdWNpbmcgdGhlIGRlcGxveWVkIGJpbmFyeSBzaXplIGlzIG5vdyBhIGNvbXBpbGVyIHByb2Js
ZW0sIHNpbmNlIHRoZSB1bmlrZXJuZWwgYXJjaGl0ZWN0dXJlIGxldHMgdXMgcHJvdmlkZSBpdCB3
aXRoIG11Y2ggbW9yZSBpbmZvcm1hdGlvbiAoY29uZmlndXJhdGlvbiBmaWxlcyBhbmQgT1MgbGli
cmFyaWVzIGFzIHdlbGwgYXMgdGhlIGFwcGxpY2F0aW9uIGxvZ2ljKS4KCi1hbmlsCl9fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1h
aWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlz
dHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVs
Cg==

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 13:20:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 13:20:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAePU-0000RT-BP; Thu, 02 Jul 2015 13:20:12 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZAePS-0000RB-LP
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 13:20:10 +0000
Received: from [85.158.137.68] by server-14.bemta-3.messagelabs.com id
	5B/93-02969-98A35955; Thu, 02 Jul 2015 13:20:09 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-3.tower-31.messagelabs.com!1435843208!22105340!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15361 invoked from network); 2 Jul 2015 13:20:08 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-3.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 2 Jul 2015 13:20:08 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 7d930e5c;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 2 Jul 2015 14:20:07 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <5595364C.5090402@mehnert.org>
Date: Thu, 2 Jul 2015 14:20:06 +0100
Message-Id: <9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
To: Hannes Mehnert <hannes@mehnert.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMiBKdWwgMjAxNSwgYXQgMTQ6MDIsIEhhbm5lcyBNZWhuZXJ0IDxoYW5uZXNAbWVobmVydC5v
cmc+IHdyb3RlOgo+IAo+IEFtaXIsCj4gCj4gT24gMDcvMDIvMjAxNSAxMzozMSwgQW1pciBDaGF1
ZGhyeSB3cm90ZToKPj4gLSBDb3VsZCBIYW5uZXMgb3IgRGF2aWQgdGVsbCBtZSB0aGUgc2l6ZSBv
ZiB0aGUgUGnDsWF0YSBhbmQgaXRzIGVxdWl2YWxlbnQgaW4gdGhlIHRyYWRpdGlvbmFsIHN0YWNr
PyAoSSBhbHJlYWR5IGhhdmUgYSBjb21wYXJpc29uIGluIGtsb2MgYnV0IEknbSBjdXJpb3VzIGFi
b3V0IHRoZSBkZXBsb3llZCBpbWFnZSkuIAo+IAo+IGJpbmFyeSBzaXplIGlzIDguMk0gKG1vc3Rs
eSBjb3cgaXQgc2VlbXMsIGNvbXByZXNzZWQgMS40TUIpLiB0cmFkaXRpb25hbAo+IHN0YWNrczog
bm90IHN1cmUsIG1heWJlIDIwME1CPwoKSW5jaWRlbnRhbGx5LCBJIHBvc3RlZCBhIGZldyB0aGlu
Z3MgdGhhdCB3ZSBjb3VsZCBkbyB0byByZWR1Y2UgdGhlIGJpbmFyeSBzaXplIGZ1cnRoZXIgdG8g
SE4gYW5kIGZvcmdvdCB0byBtaX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bmZvL21pcmFnZW9zLWRldmVs
Cg==

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 14:01:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 14:01:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAf3G-0002pP-9o; Thu, 02 Jul 2015 14:01:18 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZAf3F-0002pK-O8
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 14:01:17 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	10/62-21325-D2445955; Thu, 02 Jul 2015 14:01:17 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-15.tower-206.messagelabs.com!1435845676!15155698!1
X-Originating-IP: [131.111.8.141]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE0MSA9PiAxNTQ4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17831 invoked from network); 2 Jul 2015 14:01:16 -0000
Received: from ppsw-41.csi.cam.ac.uk (HELO ppsw-41.csi.cam.ac.uk)
	(131.111.8.141)
	by server-15.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 2 Jul 2015 14:01:16 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from [62.3.162.37] (port=51071)
	by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZAf3D-0003Oe-Ry (Exim 4.82_3-c0e5623)
	(return-path <amc79@cam.ac.uk>); Thu, 02 Jul 2015 15:01:15 +0100
Mime-Version: 1.0 (1.0)
From: Amir Chaudhry <amc79@cam.ac.uk>
X-Mailer: iPhone Mail (12F70)
In-Reply-To: <5595364C.5090402@mehnert.org>
Date: Thu, 2 Jul 2015 16:00:54 +0200
Message-Id: <5A5B1F52-6490-4FA0-9399-831C6BB2AD07@cam.ac.uk>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
To: Hannes Mehnert <hannes@mehnert.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Cgo+IE9uIDIgSnVsIDIwMTUsIGF0IDE1OjAyLCBIYW5uZXMgTWVobmVydCA8aGFubmVzQG1laG5l
cnQub3JnPiB3cm90ZToKPiAKPiBBbWlyLAo+IAo+PiBPbiAwNy8wMi8yMDE1IDEzOjMxLCBBbWly
IENoYXVkaHJ5IHdyb3RlOgo+PiAtIENvdWxkIEhhbm5lcyBvciBEYXZpZCB0ZWxsIG1lIHRoZSBz
aXplIG9mIHRoZSBQacOxYXRhIGFuZCBpdHMgZXF1aXZhbGVudCBpbiB0aGUgdHJhZGl0aW9uYWwg
c3RhY2s/IChJIGFscmVhZHkgaGF2ZSBhIGNvbXBhcmlzb24gaW4ga2xvYyBidXQgSSdtIGN1cmlv
dXMgYWJvdXQgdGhlIGRlcGxveWVkIGltYWdlKS4KPiAKPiBiaW5hcnkgc2l6ZSBpcyA4LjJNICht
b3N0bHkgY293IGl0IHNlZW1zLCBjb21wcmVzc2VkIDEuNE1CKS4gdHJhZGl0aW9uYWwKPiBzdGFj
a3M6IG5vdCBzdXJlLCBtYXliZSAyMDBNQj8KClRoYW5rcy4gSXQgYXBwZWFycyB0aGF0IHRoZSBy
YXRpbyBtYXRjaGVzIHRoYXQgb2YgdGhlIGtsb2MgY29tcGFyaXNvbi4gSXMgdGhhdCBhIHJlYXNv
bmFibGUgZXhwZWN0YXRpb24/CgpCZXN0IHdpc2hlcywKQW1pcgoKLS0KU2VudCB2aWEgbW9iaWxl
Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9T
LWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpo
dHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFn
ZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 14:01:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 14:01:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAf3G-0002pP-9o; Thu, 02 Jul 2015 14:01:18 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZAf3F-0002pK-O8
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 14:01:17 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	10/62-21325-D2445955; Thu, 02 Jul 2015 14:01:17 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-15.tower-206.messagelabs.com!1435845676!15155698!1
X-Originating-IP: [131.111.8.141]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE0MSA9PiAxNTQ4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17831 invoked from network); 2 Jul 2015 14:01:16 -0000
Received: from ppsw-41.csi.cam.ac.uk (HELO ppsw-41.csi.cam.ac.uk)
	(131.111.8.141)
	by server-15.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 2 Jul 2015 14:01:16 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from [62.3.162.37] (port=51071)
	by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZAf3D-0003Oe-Ry (Exim 4.82_3-c0e5623)
	(return-path <amc79@cam.ac.uk>); Thu, 02 Jul 2015 15:01:15 +0100
Mime-Version: 1.0 (1.0)
From: Amir Chaudhry <amc79@cam.ac.uk>
X-Mailer: iPhone Mail (12F70)
In-Reply-To: <5595364C.5090402@mehnert.org>
Date: Thu, 2 Jul 2015 16:00:54 +0200
Message-Id: <5A5B1F52-6490-4FA0-9399-831C6BB2AD07@cam.ac.uk>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
To: Hannes Mehnert <hannes@mehnert.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Cgo+IE9uIDIgSnVsIDIwMTUsIGF0IDE1OjAyLCBIYW5uZXMgTWVobmVydCA8aGFubmVzQG1laG5l
cnQub3JnPiB3cm90ZToKPiAKPiBBbWlyLAo+IAo+PiBPbiAwNy8wMi8yMDE1IDEzOjMxLCBBbWly
IENoYXVkaHJ5IHdyb3RlOgo+PiAtIENvdWxkIEhhbm5lcyBvciBEYXZpZCB0ZWxsIG1lIHRoZSBz
aXplIG9mIHRoZSBQacOxYXRhIGFuZCBpdHMgZXF1aXZhbGVudCBpbiB0aGUgdHJhZGl0aW9uYWwg
c3RhY2s/IChJIGFscmVhZHkgaGF2ZSBhIGNvbXBhcmlzb24gaW4ga2xvYyBidXQgSSdtIGN1cmlv
dXMgYWJvdXQgdGhlIGRlcGxveWVkIGltYWdlKS4KPiAKPiBiaW5hcnkgc2l6ZSBpcyA4LjJNICht
b3N0bHkgY293IGl0IHNlZW1zLCBjb21wcmVzc2VkIDEuNE1CKS4gdHJhZGl0aW9uYWwKPiBzdGFj
a3M6IG5vdCBzdXJlLCBtYXliZSAyMDBNQj8KClRoYW5rcy4gSXQgYXBwZWFycyB0aGF0IHRoZSBy
YXRpbyBtYXRjaGVzIHRoYXQgb2YgdGhlIGtsb2MgY29tcGFyaXNvbi4gSXMgdGhhdCBhIHJlYXNv
bmFibGUgZXhwZWN0YXRpb24/CgpCZXN0IHdpc2hlcywKQW1pcgoKLS0KU2VudCB2aWEgbW9iaWxl
Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9T
LWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpo
dHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFn
ZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 14:07:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 14:07:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAf8y-0002vL-Qw; Thu, 02 Jul 2015 14:07:12 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZAf8x-0002vE-PN
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 14:07:11 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	F9/11-11201-F8545955; Thu, 02 Jul 2015 14:07:11 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-13.tower-206.messagelabs.com!1435846030!18533279!1
X-Originating-IP: [131.111.8.141]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE0MSA9PiAxNTQ4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7702 invoked from network); 2 Jul 2015 14:07:10 -0000
Received: from ppsw-41.csi.cam.ac.uk (HELO ppsw-41.csi.cam.ac.uk)
	(131.111.8.141)
	by server-13.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 2 Jul 2015 14:07:10 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from [62.3.162.37] (port=51079)
	by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZAf8v-0002x1-Sz (Exim 4.82_3-c0e5623)
	(return-path <amc79@cam.ac.uk>); Thu, 02 Jul 2015 15:07:10 +0100
Mime-Version: 1.0 (1.0)
From: Amir Chaudhry <amc79@cam.ac.uk>
X-Mailer: iPhone Mail (12F70)
In-Reply-To: <9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
Date: Thu, 2 Jul 2015 16:06:49 +0200
Message-Id: <9EA1BC18-ECA8-4005-A33C-CD9C44636810@cam.ac.uk>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
	<9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Cj4gT24gMiBKdWwgMjAxNSwgYXQgMTU6MjAsIEFuaWwgTWFkaGF2YXBlZGR5IDxhbmlsQHJlY29p
bC5vcmc+IHdyb3RlOgo+IAo+PiBPbiAyIEp1bCAyMDE1LCBhdCAxNDowMiwgSGFubmVzIE1laG5l
cnQgPGhhbm5lc0BtZWhuZXJ0Lm9yZz4gd3JvdGU6Cj4+IAo+PiBBbWlyLAo+PiAKPj4+IE9uIDA3
LzAyLzIwMTUgMTM6MzEsIEFtaXIgQ2hhdWRocnkgd3JvdGU6Cj4+PiAtIENvdWxkIEhhbm5lcyBv
ciBEYXZpZCB0ZWxsIG1lIHRoZSBzaXplIG9mIHRoZSBQacOxYXRhIGFuZCBpdHMgZXF1aXZhbGVu
dCBpbiB0aGUgdHJhZGl0aW9uYWwgc3RhY2s/IChJIGFscmVhZHkgaGF2ZSBhIGNvbXBhcmlzb24g
aW4ga2xvYyBidXQgSSdtIGN1cmlvdXMgYWJvdXQgdGhlIGRlcGxveWVkIGltYWdlKS4KPj4gCj4+
IGJpbmFyeSBzaXplIGlzIDguMk0gKG1vc3RseSBjb3cgaXQgc2VlbXMsIGNvbXByZXNzZWQgMS40
TUIpLiB0cmFkaXRpb25hbAo+PiBzdGFja3M6IG5vdCBzdXJlLCBtYXliZSAyMDBNQj8KPiAKPiB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EknbSBzdGlsbCBjdXJpb3VzIGFib3V0IHdoYXQgdGhlIGZpZ3VyZXMgYXJl
IGN1cnJlbnRseSBmb3IgbWlyYWdlLXd3dy4gRnJvbSBvdGhlciBzaXRlcy9pbmZvLCBpdCBzZWVt
cyB0aGF0IG1hY2hpbmVyeSBmb3IgKHNlY3VyZSkgc3RhdGljIHNpdGUgY29tZXMgdG8gfjVNQiAt
LSBzbyB0aGUgcmVzdCB3b3VsZCBiZSBjb250ZW50IChhc3N1bWluZyBjcnVuY2ggYW5kIGNvaHR0
cCwgSSBiZWxpZXZlKS4KCkFtaXIKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxp
c3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21h
aWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 02 14:07:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 02 Jul 2015 14:07:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAf8y-0002vL-Qw; Thu, 02 Jul 2015 14:07:12 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZAf8x-0002vE-PN
	for mirageos-devel@lists.xenproject.org; Thu, 02 Jul 2015 14:07:11 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	F9/11-11201-F8545955; Thu, 02 Jul 2015 14:07:11 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-13.tower-206.messagelabs.com!1435846030!18533279!1
X-Originating-IP: [131.111.8.141]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE0MSA9PiAxNTQ4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7702 invoked from network); 2 Jul 2015 14:07:10 -0000
Received: from ppsw-41.csi.cam.ac.uk (HELO ppsw-41.csi.cam.ac.uk)
	(131.111.8.141)
	by server-13.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 2 Jul 2015 14:07:10 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from [62.3.162.37] (port=51079)
	by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZAf8v-0002x1-Sz (Exim 4.82_3-c0e5623)
	(return-path <amc79@cam.ac.uk>); Thu, 02 Jul 2015 15:07:10 +0100
Mime-Version: 1.0 (1.0)
From: Amir Chaudhry <amc79@cam.ac.uk>
X-Mailer: iPhone Mail (12F70)
In-Reply-To: <9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
Date: Thu, 2 Jul 2015 16:06:49 +0200
Message-Id: <9EA1BC18-ECA8-4005-A33C-CD9C44636810@cam.ac.uk>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
	<9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Cj4gT24gMiBKdWwgMjAxNSwgYXQgMTU6MjAsIEFuaWwgTWFkaGF2YXBlZGR5IDxhbmlsQHJlY29p
bC5vcmc+IHdyb3RlOgo+IAo+PiBPbiAyIEp1bCAyMDE1LCBhdCAxNDowMiwgSGFubmVzIE1laG5l
cnQgPGhhbm5lc0BtZWhuZXJ0Lm9yZz4gd3JvdGU6Cj4+IAo+PiBBbWlyLAo+PiAKPj4+IE9uIDA3
LzAyLzIwMTUgMTM6MzEsIEFtaXIgQ2hhdWRocnkgd3JvdGU6Cj4+PiAtIENvdWxkIEhhbm5lcyBv
ciBEYXZpZCB0ZWxsIG1lIHRoZSBzaXplIG9mIHRoZSBQacOxYXRhIGFuZCBpdHMgZXF1aXZhbGVu
dCBpbiB0aGUgdHJhZGl0aW9uYWwgc3RhY2s/IChJIGFscmVhZHkgaGF2ZSBhIGNvbXBhcmlzb24g
aW4ga2xvYyBidXQgSSdtIGN1cmlvdXMgYWJvdXQgdGhlIGRlcGxveWVkIGltYWdlKS4KPj4gCj4+
IGJpbmFyeSBzaXplIGlzIDguMk0gKG1vc3RseSBjb3cgaXQgc2VlbXMsIGNvbXByZXNzZWQgMS40
TUIpLiB0cmFkaXRpb25hbAo+PiBzdGFja3M6IG5vdCBzdXJlLC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Cj4gCgpH
b29kIHRvIGtub3cuIEknbSBzdGlsbCBjdXJpb3VzIGFib3V0IHdoYXQgdGhlIGZpZ3VyZXMgYXJl
IGN1cnJlbnRseSBmb3IgbWlyYWdlLXd3dy4gRnJvbSBvdGhlciBzaXRlcy9pbmZvLCBpdCBzZWVt
cyB0aGF0IG1hY2hpbmVyeSBmb3IgKHNlY3VyZSkgc3RhdGljIHNpdGUgY29tZXMgdG8gfjVNQiAt
LSBzbyB0aGUgcmVzdCB3b3VsZCBiZSBjb250ZW50IChhc3N1bWluZyBjcnVuY2ggYW5kIGNvaHR0
cCwgSSBiZWxpZXZlKS4KCkFtaXIKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxp
c3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21h
aWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 03 10:25:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 03 Jul 2015 10:25:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAy9O-0004XY-RV; Fri, 03 Jul 2015 10:24:54 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZAy9O-0004X6-8M
	for mirageos-devel@lists.xenproject.org; Fri, 03 Jul 2015 10:24:54 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	D2/FF-27764-5F266955; Fri, 03 Jul 2015 10:24:53 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1435919092!28910642!1
X-Originating-IP: [209.85.216.43]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12693 invoked from network); 3 Jul 2015 10:24:52 -0000
Received: from mail-vn0-f43.google.com (HELO mail-vn0-f43.google.com)
	(209.85.216.43)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	3 Jul 2015 10:24:52 -0000
Received: by vnbg129 with SMTP id g129so8876912vnb.11
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 03 Jul 2015 03:24:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=WWiqQLDtj6Gh9+imcNhQd+GuUyAd4vvirv/2DCLJsz4=;
	b=ymzsXb558kVqHcmyArljspTwng5xe5+iB0RX3fKdn80sybFugOqLM3Pf/ukVrlEX72
	ZDwbExyGABbiAnRFrdOQuXaW4w3GrVb2N6wWCNFXLgelkPGOjz8Ld7lWtg/vu5e/xb+d
	wTCWBz1bFa9PYAD/yBQe1lgIXPIdQHPFEXQqP4a9Js66Xa6wXYZ/zi9YCzE/Jguhx9h6
	njeddZE3Yzf7iCDNtjUBTQn56snRrgYuovR5Rs5k70tyrn2l6fYH8E8zM8am+aaiCepj
	2avsAPp6+x0KMfLvBVlqb/tLz3xju4r4dlTiDNoYZ2kAoJtfVZcF3qvQD8x+vvdb8bZh
	1NJw==
MIME-Version: 1.0
X-Received: by 10.53.2.228 with SMTP id br4mr23391116vdd.54.1435919091724;
	Fri, 03 Jul 2015 03:24:51 -0700 (PDT)
Received: by 10.31.65.132 with HTTP; Fri, 3 Jul 2015 03:24:51 -0700 (PDT)
In-Reply-To: <58191C15A0734EBB98CDE898FECE04D2@erratique.ch>
References: <CAG4opy_cFRACp6d6nKRmSPS5ZX1LAb57Dq5PCRfmM0uf=XOztg@mail.gmail.com>
	<CAG4opy9JgX=ofu8fVNx1UwxazAg=YCa_S1bwSXgTHX2WXy6-0A@mail.gmail.com>
	<F79BA7F749A14E998519FCA6902D51A3@erratique.ch>
	<D4447E560CD04285B158E10F3B1FB200@erratique.ch>
	<CAG4opy-Lo9gY02SqR8mkZBY2x1g23-u6Ppk_kZ6aDv=Zwq4-ag@mail.gmail.com>
	<369C93557344411F9DAFF6A5714ECF92@erratique.ch>
	<CAG4opy9RD-YXTdLSc5pKtDMibraOzt9GRVSuB=K23TYxNNN4OA@mail.gmail.com>
	<4A9C5274F830437FA5F4E9CF177C4BA4@erratique.ch>
	<CAG4opy8OWcx+xNxvqLj8GJbviWterED-ver9vZYJijEi0mjRdg@mail.gmail.com>
	<FFFD198942504001A6B023CBA01F2B92@erratique.ch>
	<CAG4opy-D_G+k3PQEG6GEADHFXPJBgBkz4p+J4=yoE_axJzm2vA@mail.gmail.com>
	<7D80CA2225674EF4B22101658021E80A@erratique.ch>
	<CAG4opy_e27qMSwHKK7eX=+rhbvXq5aAuV3sp2JOadX9Xwq9OjA@mail.gmail.com>
	<8C05361301464677926E78D53DA0A55C@erratique.ch>
	<CAG4opy_cqoYQzV46nakLzpBuW6_OwuQi9_gd55Zz+XbT9now0A@mail.gmail.com>
	<58191C15A0734EBB98CDE898FECE04D2@erratique.ch>
Date: Fri, 3 Jul 2015 11:24:51 +0100
Message-ID: <CAG4opy8PEDYBT_62Vr36Nc=hs4paA3V_quf0pjh0MoUBw_uCKw@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Blog post on Irmin/CueKeeper
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMjkgSnVuZSAyMDE1IGF0IDExOjA0LCBEYW5pZWwgQsO8bnpsaSA8ZGFuaWVsLmJ1ZW56bGlA
ZXJyYXRpcXVlLmNoPiB3cm90ZToKPiBMZSBzYW1lZGksIDI3IGp1aW4gMjAxNSDDoCAxMjozMiwg
VGhvbWFzIExlb25hcmQgYSDDqWNyaXQgOgo+PiBIbW0sIHllcywgdGhpcyBjb3VsZCBiZSBhIHBy
b2JsZW0gZm9yIGhhbmRsZXJzIHRoYXQgZXhwZWN0IHRvIHNlZSBhbGwgc3RhdGVzLgo+Cj4gSSB3
b3VsZG4ndCBwdXQgaXQgaW4gdGhlc2UgdGVybXMgKGhhbmRsZXJzLCBzdGF0ZSkgYnV0IHllcyBp
dCBicmVha3MgdGhlIHNlbWFudGljcyBvZiBzaWduYWxzLiBUaGlzIG5lZWRzIG1vcmUgdGhpbmtp
bmcuCj4KPj4gUy5kaWZmIHdvdWxkIGJlIGEgcHJvYmxlbSB0b28gKGFuZCBzb21ldGltZXMgeW91
IG1pZ2h0IHdhbnQgdG8gZGlmZgo+PiBhZ2FpbnN0IHRoZSBsYXN0IHNlZW4gdmFsdWUgb2YgdGhl
IHNpZ25hbCByYXRoZXIgdGhhbiB0aGUgcHJldmlvdXMKPj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GlzIGEgbWF0dGVyIG9mIG5vdCBjcmVhdGluZyB0aGUgcXVlcmllcyBpbiB0aGUgYmluZGluZyBm
dW5jdGlvbiBidXQgcmF0aGVyIG91dHNpZGUgb2YgaXQgPwoKWWVzLCB0aGF0IHdvdWxkIHByb2Jh
Ymx5IHdvcmsgdG9vLgoKCi0tIApEciBUaG9tYXMgTGVvbmFyZCAgICAgICAgaHR0cDovL3Jvc2Np
ZHVzLmNvbS9ibG9nLwpHUEc6IERBOTggMjVBRSBDQUQwIDg5NzUgN0NEQSAgQkQ4RSAwNzEzIDNG
OTYgQ0E3NCBEOEJBCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVu
cHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9s
aXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 03 10:25:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 03 Jul 2015 10:25:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZAy9O-0004XY-RV; Fri, 03 Jul 2015 10:24:54 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZAy9O-0004X6-8M
	for mirageos-devel@lists.xenproject.org; Fri, 03 Jul 2015 10:24:54 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	D2/FF-27764-5F266955; Fri, 03 Jul 2015 10:24:53 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1435919092!28910642!1
X-Originating-IP: [209.85.216.43]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12693 invoked from network); 3 Jul 2015 10:24:52 -0000
Received: from mail-vn0-f43.google.com (HELO mail-vn0-f43.google.com)
	(209.85.216.43)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	3 Jul 2015 10:24:52 -0000
Received: by vnbg129 with SMTP id g129so8876912vnb.11
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 03 Jul 2015 03:24:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=WWiqQLDtj6Gh9+imcNhQd+GuUyAd4vvirv/2DCLJsz4=;
	b=ymzsXb558kVqHcmyArljspTwng5xe5+iB0RX3fKdn80sybFugOqLM3Pf/ukVrlEX72
	ZDwbExyGABbiAnRFrdOQuXaW4w3GrVb2N6wWCNFXLgelkPGOjz8Ld7lWtg/vu5e/xb+d
	wTCWBz1bFa9PYAD/yBQe1lgIXPIdQHPFEXQqP4a9Js66Xa6wXYZ/zi9YCzE/Jguhx9h6
	njeddZE3Yzf7iCDNtjUBTQn56snRrgYuovR5Rs5k70tyrn2l6fYH8E8zM8am+aaiCepj
	2avsAPp6+x0KMfLvBVlqb/tLz3xju4r4dlTiDNoYZ2kAoJtfVZcF3qvQD8x+vvdb8bZh
	1NJw==
MIME-Version: 1.0
X-Received: by 10.53.2.228 with SMTP id br4mr23391116vdd.54.1435919091724;
	Fri, 03 Jul 2015 03:24:51 -0700 (PDT)
Received: by 10.31.65.132 with HTTP; Fri, 3 Jul 2015 03:24:51 -0700 (PDT)
In-Reply-To: <58191C15A0734EBB98CDE898FECE04D2@erratique.ch>
References: <CAG4opy_cFRACp6d6nKRmSPS5ZX1LAb57Dq5PCRfmM0uf=XOztg@mail.gmail.com>
	<CAG4opy9JgX=ofu8fVNx1UwxazAg=YCa_S1bwSXgTHX2WXy6-0A@mail.gmail.com>
	<F79BA7F749A14E998519FCA6902D51A3@erratique.ch>
	<D4447E560CD04285B158E10F3B1FB200@erratique.ch>
	<CAG4opy-Lo9gY02SqR8mkZBY2x1g23-u6Ppk_kZ6aDv=Zwq4-ag@mail.gmail.com>
	<369C93557344411F9DAFF6A5714ECF92@erratique.ch>
	<CAG4opy9RD-YXTdLSc5pKtDMibraOzt9GRVSuB=K23TYxNNN4OA@mail.gmail.com>
	<4A9C5274F830437FA5F4E9CF177C4BA4@erratique.ch>
	<CAG4opy8OWcx+xNxvqLj8GJbviWterED-ver9vZYJijEi0mjRdg@mail.gmail.com>
	<FFFD198942504001A6B023CBA01F2B92@erratique.ch>
	<CAG4opy-D_G+k3PQEG6GEADHFXPJBgBkz4p+J4=yoE_axJzm2vA@mail.gmail.com>
	<7D80CA2225674EF4B22101658021E80A@erratique.ch>
	<CAG4opy_e27qMSwHKK7eX=+rhbvXq5aAuV3sp2JOadX9Xwq9OjA@mail.gmail.com>
	<8C05361301464677926E78D53DA0A55C@erratique.ch>
	<CAG4opy_cqoYQzV46nakLzpBuW6_OwuQi9_gd55Zz+XbT9now0A@mail.gmail.com>
	<58191C15A0734EBB98CDE898FECE04D2@erratique.ch>
Date: Fri, 3 Jul 2015 11:24:51 +0100
Message-ID: <CAG4opy8PEDYBT_62Vr36Nc=hs4paA3V_quf0pjh0MoUBw_uCKw@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Blog post on Irmin/CueKeeper
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMjkgSnVuZSAyMDE1IGF0IDExOjA0LCBEYW5pZWwgQsO8bnpsaSA8ZGFuaWVsLmJ1ZW56bGlA
ZXJyYXRpcXVlLmNoPiB3cm90ZToKPiBMZSBzYW1lZGksIDI3IGp1aW4gMjAxNSDDoCAxMjozMiwg
VGhvbWFzIExlb25hcmQgYSDDqWNyaXQgOgo+PiBIbW0sIHllcywgdGhpcyBjb3VsZCBiZSBhIHBy
b2JsZW0gZm9yIGhhbmRsZXJzIHRoYXQgZXhwZWN0IHRvIHNlZSBhbGwgc3RhdGVzLgo+Cj4gSSB3
b3VsZG4ndCBwdXQgaXQgaW4gdGhlc2UgdGVybXMgKGhhbmRsZXJzLCBzdGF0ZSkgYnV0IHllcyBp
dCBicmVha3MgdGhlIHNlbWFudGljcyBvZiBzaWduYWxzLiBUaGlzIG5lZWRzIG1vcmUgdGhpbmtp
bmcuCj4KPj4gUy5kaWZmIHdvdWxkIGJlIGEgcHJvYmxlbSB0b28gKGFuZCBzb21ldGltZXMgeW91
IG1pZ2h0IHdhbnQgdG8gZGlmZgo+PiBhZ2FpbnN0IHRoZSBsYXN0IHNlZW4gdmFsdWUgb2YgdGhl
IHNpZ25hbCByYXRoZXIgdGhhbiB0aGUgcHJldmlvdXMKPj4gYWN0dWFsIHZhb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IG9mIG5vdCBjcmVhdGluZyB0aGUgcXVlcmllcyBpbiB0aGUgYmluZGluZyBm
dW5jdGlvbiBidXQgcmF0aGVyIG91dHNpZGUgb2YgaXQgPwoKWWVzLCB0aGF0IHdvdWxkIHByb2Jh
Ymx5IHdvcmsgdG9vLgoKCi0tIApEciBUaG9tYXMgTGVvbmFyZCAgICAgICAgaHR0cDovL3Jvc2Np
ZHVzLmNvbS9ibG9nLwpHUEc6IERBOTggMjVBRSBDQUQwIDg5NzUgN0NEQSAgQkQ4RSAwNzEzIDNG
OTYgQ0E3NCBEOEJBCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVu
cHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9s
aXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 03 16:25:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 03 Jul 2015 16:25:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZB3mG-0007GE-Ka; Fri, 03 Jul 2015 16:25:24 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1ZB3mF-0007G9-Bb
	for mirageos-devel@lists.xenproject.org; Fri, 03 Jul 2015 16:25:23 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	5D/93-18676-277B6955; Fri, 03 Jul 2015 16:25:22 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-15.tower-27.messagelabs.com!1435940717!29085082!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25466 invoked from network); 3 Jul 2015 16:25:17 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-15.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 3 Jul 2015 16:25:17 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 7A897122803;
	Fri,  3 Jul 2015 18:23:59 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1435940639;
	bh=3jgMzq8aApOSLLZKMoqXqWVkCCruH4Pr6XVUvVRn+xs=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=QG5DW8Yb/1U+XOkSwPGkTIo7JDl0SkJjLrV//Ia7ye25h/Eb9QSe1mlCnCz7WxMJX
	7380e55prv8OlpWonoy57RfGzDUkd1eHmPgCJmfk5tl756RUt6oCD0QAmX2e4dO7sf
	XGo5tD7mm3jp9Z4oyoRvMU7+dztXal/KTXi4NeR06gZF9IQeNqbzMh4SW/u+3sr7rT
	NrE9VJEg/foj4tWdQVKXeMTbQLPIsAKcvAZPAOpWoav7LUwMQYgo5q1nLIcPZt3sWr
	ZAuaiTuCP2hi3GhHs42EkQnvg0KlatFjE6veZ9YIADfOs45oh8mp5b2sZHlqGCF15/
	zipACUb66KdXw==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 5612E4C0E33; Fri,  3 Jul 2015 18:25:42 +0200 (CEST)
Date: Fri, 3 Jul 2015 18:25:42 +0200
From: Martin Lucina <martin@lucina.net>
To: Thomas Leonard <talex5@gmail.com>
Message-ID: <20150703162542.GA7817@nodbug.lucina.net>
Mail-Followup-To: Thomas Leonard <talex5@gmail.com>,
	"mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>, 
	rumpkernel-users@freelists.org, Richard Mortier <mort@cantab.net>,
	Anil Madhavapeddy <avsm@recoil.org>
References: <20150612114938.GA12252@nodbug.lucina.net>
	<CAG4opy_fNz-aaaxxWUCUxd7DOAbXXhJ14mgD_x9exKKS6++P9g@mail.gmail.com>
	<20150615105643.GA13479@nodbug.lucina.net>
	<CAG4opy8qGqV8hAFkJqsdr0cFMCZ9R9=NxrLbkCgaq-zMLmE6Aw@mail.gmail.com>
MIME-Version: 1.0
Content-Length: 1223
Content-Disposition: inline
In-Reply-To: <CAG4opy8qGqV8hAFkJqsdr0cFMCZ9R9=NxrLbkCgaq-zMLmE6Aw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Anil Madhavapeddy <avsm@recoil.org>, rumpkernel-users@freelists.org,
	Richard Mortier <mort@cantab.net>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS on rumprun now with networking and
	HTTP
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Saturday, 20.06.2015 at=A011:57, Thomas Leonard wrote:
> On 15 June 2015 at 11:56, Martin Lucina <martin@lucina.net> wrote:
> > On Friday, 12.06.2015 at 16:40, Thomas Leonard wrote:
> >> I also tested mirage-skeleton/console, which worked but ran rather
> >> fast (it's supposed to wait 1s between each print). Calling
> >> gettimeofday showed the clock running fast for some reason.
> >
> > I've logged issues rumprun/#30 (clock runs fast) and rumprun/#31 (no
> > rtc/wall time on hw/kvm), so that we don't forget and users see it's a
> > known problem.
> =

> Thanks!

Wow, timekeeping is *complicated*. See the full discussion at
http://www.freelists.org/post/rumpkernel-users/Implement-timekeeping-for-ru=
mprunhw-x86

Any testing will be much appreciated. You will need to pull the latest
rumprun and opam-rumprun master and rebuild the ocaml-rumprun toolchain
from scratch due to other changes in the rumprun toolchain.

I will continue to improve the timekeeping code, especially with with
better support for KVM (pvclock).

Martin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 03 16:25:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 03 Jul 2015 16:25:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZB3mG-0007GE-Ka; Fri, 03 Jul 2015 16:25:24 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <martin@lucina.net>) id 1ZB3mF-0007G9-Bb
	for mirageos-devel@lists.xenproject.org; Fri, 03 Jul 2015 16:25:23 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	5D/93-18676-277B6955; Fri, 03 Jul 2015 16:25:22 +0000
X-Env-Sender: martin@lucina.net
X-Msg-Ref: server-15.tower-27.messagelabs.com!1435940717!29085082!1
X-Originating-IP: [62.176.169.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 25466 invoked from network); 3 Jul 2015 16:25:17 -0000
Received: from smtp.lucina.net (HELO smtp.lucina.net) (62.176.169.44)
	by server-15.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 3 Jul 2015 16:25:17 -0000
Received: from nodbug.lucina.net (chello089173222227.chello.sk
	[89.173.222.227])
	by smtp.lucina.net (Postfix) with ESMTPSA id 7A897122803;
	Fri,  3 Jul 2015 18:23:59 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net;
	s=dkim-201309; t=1435940639;
	bh=3jgMzq8aApOSLLZKMoqXqWVkCCruH4Pr6XVUvVRn+xs=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=QG5DW8Yb/1U+XOkSwPGkTIo7JDl0SkJjLrV//Ia7ye25h/Eb9QSe1mlCnCz7WxMJX
	7380e55prv8OlpWonoy57RfGzDUkd1eHmPgCJmfk5tl756RUt6oCD0QAmX2e4dO7sf
	XGo5tD7mm3jp9Z4oyoRvMU7+dztXal/KTXi4NeR06gZF9IQeNqbzMh4SW/u+3sr7rT
	NrE9VJEg/foj4tWdQVKXeMTbQLPIsAKcvAZPAOpWoav7LUwMQYgo5q1nLIcPZt3sWr
	ZAuaiTuCP2hi3GhHs42EkQnvg0KlatFjE6veZ9YIADfOs45oh8mp5b2sZHlqGCF15/
	zipACUb66KdXw==
Received: by nodbug.lucina.net (Postfix, from userid 1000)
	id 5612E4C0E33; Fri,  3 Jul 2015 18:25:42 +0200 (CEST)
Date: Fri, 3 Jul 2015 18:25:42 +0200
From: Martin Lucina <martin@lucina.net>
To: Thomas Leonard <talex5@gmail.com>
Message-ID: <20150703162542.GA7817@nodbug.lucina.net>
Mail-Followup-To: Thomas Leonard <talex5@gmail.com>,
	"mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>, 
	rumpkernel-users@freelists.org, Richard Mortier <mort@cantab.net>,
	Anil Madhavapeddy <avsm@recoil.org>
References: <20150612114938.GA12252@nodbug.lucina.net>
	<CAG4opy_fNz-aaaxxWUCUxd7DOAbXXhJ14mgD_x9exKKS6++P9g@mail.gmail.com>
	<20150615105643.GA13479@nodbug.lucina.net>
	<CAG4opy8qGqV8hAFkJqsdr0cFMCZ9R9=NxrLbkCgaq-zMLmE6Aw@mail.gmail.com>
MIME-Version: 1.0
Content-Length: 1223
Content-Disposition: inline
In-Reply-To: <CAG4opy8qGqV8hAFkJqsdr0cFMCZ9R9=NxrLbkCgaq-zMLmE6Aw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Anil Madhavapeddy <avsm@recoil.org>, rumpkernel-users@freelists.org,
	Richard Mortier <mort@cantab.net>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS on rumprun now with networking and
	HTTP
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Saturday, 20.06.2015 at=A011:57, Thomas Leonard wrote:
> On 15 June 2015 at 11:56, Martin Lucina <martin@lucina.net> wrote:
> > On Friday, 12.06.2015 at 16:40, Thomas Leonard wrote:
> >> I also tested mirage-skeleton/console, which worked but ran rather
> >> fast (it's supposed to wait 1s between each print). Calling
> >> gettimeofday showed the clock running fast for some reason.
> >
> > I've logged issues rumprun/#30 (clock runs fast) and rumprun/#31 (no
> > rtc/wall time on hw/kvm), so that we don't forget and users see it's a
> > known problem.
> =

> Thanks!

Wow, timekeeping is *complicated*. See the full discussion at
http://www.freelists.org/post/rumpkernel-users/Implement-timekeeping-for-ru=
mprunhw-x86

Any testing will be much appreciated. You will need to pull the latest
rumprun and opam-rumprun master and rebuild the ocaml-rumprun toolchain
from scratch due to other changes in the rumprun toolchain.

I will continue to improve the timekeeping code, especially with with
better support for KVM (pvclock).

Martin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 03 17:07:24 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 03 Jul 2015 17:07:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZB4Qr-0003rE-Nt; Fri, 03 Jul 2015 17:07:21 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZB4Qq-0003r1-AD
	for mirageos-devel@lists.xenproject.org; Fri, 03 Jul 2015 17:07:20 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	05/FC-17050-741C6955; Fri, 03 Jul 2015 17:07:19 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-15.tower-31.messagelabs.com!1435943237!22362163!1
X-Originating-IP: [74.125.82.54]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14103 invoked from network); 3 Jul 2015 17:07:17 -0000
Received: from mail-wg0-f54.google.com (HELO mail-wg0-f54.google.com)
	(74.125.82.54)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	3 Jul 2015 17:07:17 -0000
Received: by wgjx7 with SMTP id x7so92797969wgj.2
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 03 Jul 2015 10:07:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=esJ3Axz4WZVhPzxZLwC7nJt+Cg0iXu6y0Xo4Tz1Wm50=;
	b=Kk+/6/Nwrvrhwrf+/KpAyWx5Wmyh9fDwErrMEZn7136+D3XgGrA4JHupxUNMeJNyAU
	UjH0GcUaBgwOBuAQ7Nhnpn60C1B4/n0rmH5tTzDiuR3lFzbKO95IqDh5RGFDOnvhL4xc
	FDvlBNNq9RBEX3W5kUv7TnC/RJgYzJlXiP6+6JDvlUMh0Km+oygNWdH0oL1t8huY6cTP
	k4mu5fEe0nRFj5SAf8gX4dArzEMLRYPrTyvGnMWbqUN9m2/Ka6v13Mqn5rsz1jZvSc+P
	aJvB6/ag5x+LWN9ZqJvYxDHg3E7fk8CQcX1OzNLS2zHKVufpcVfG6X0PoAu/ToCzIYIq
	aetg==
X-Received: by 10.194.172.130 with SMTP id bc2mr75528003wjc.85.1435943236803; 
	Fri, 03 Jul 2015 10:07:16 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id c2sm14229684wjf.18.2015.07.03.10.07.14
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Fri, 03 Jul 2015 10:07:15 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAG4opy9FTb6aYdHmmfkCKrEegRYN_C8fA-zivXfs6=7=NgoR7g@mail.gmail.com>
Date: Fri, 3 Jul 2015 18:07:13 +0100
Message-Id: <3F4F6E53-23A0-4E51-B800-520C808B343C@gazagnaire.org>
References: <CAG4opy_+GY7zB1Yy5Jb6N++dFudD3PTF8OaekZEE2tSN6G-Hhw@mail.gmail.com>
	<CAG4opy9mttDxvm+YM0K88abV0=ULojA6giRMtitsVGt5QwnQTA@mail.gmail.com>
	<5B731FB8-4704-4B68-AABC-C38D8F647CFD@gazagnaire.org>
	<953C6FDD-FD1E-43ED-AC40-E14DB8B9CBAD@gazagnaire.org>
	<CAG4opy9FTb6aYdHmmfkCKrEegRYN_C8fA-zivXfs6=7=NgoR7g@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2102)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Binary Irmin slices
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

>> The binary serialisation of slices if now fixed in irmin master. Do you have anything else blocking the use of Irmin to javascript? could you update the related issue[3] if that's the case?
> 
> I've updated CueKeeper to run against Irmin master, and it now works
> without any hacks :-)

fwy, I've just released 0.9.6 with the fix and few other things[1].

Thomas

[1]: https://github.com/mirage/irmin/releases/tag/0.9.6


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 03 17:07:24 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 03 Jul 2015 17:07:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZB4Qr-0003rE-Nt; Fri, 03 Jul 2015 17:07:21 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZB4Qq-0003r1-AD
	for mirageos-devel@lists.xenproject.org; Fri, 03 Jul 2015 17:07:20 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	05/FC-17050-741C6955; Fri, 03 Jul 2015 17:07:19 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-15.tower-31.messagelabs.com!1435943237!22362163!1
X-Originating-IP: [74.125.82.54]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14103 invoked from network); 3 Jul 2015 17:07:17 -0000
Received: from mail-wg0-f54.google.com (HELO mail-wg0-f54.google.com)
	(74.125.82.54)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	3 Jul 2015 17:07:17 -0000
Received: by wgjx7 with SMTP id x7so92797969wgj.2
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 03 Jul 2015 10:07:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=esJ3Axz4WZVhPzxZLwC7nJt+Cg0iXu6y0Xo4Tz1Wm50=;
	b=Kk+/6/Nwrvrhwrf+/KpAyWx5Wmyh9fDwErrMEZn7136+D3XgGrA4JHupxUNMeJNyAU
	UjH0GcUaBgwOBuAQ7Nhnpn60C1B4/n0rmH5tTzDiuR3lFzbKO95IqDh5RGFDOnvhL4xc
	FDvlBNNq9RBEX3W5kUv7TnC/RJgYzJlXiP6+6JDvlUMh0Km+oygNWdH0oL1t8huY6cTP
	k4mu5fEe0nRFj5SAf8gX4dArzEMLRYPrTyvGnMWbqUN9m2/Ka6v13Mqn5rsz1jZvSc+P
	aJvB6/ag5x+LWN9ZqJvYxDHg3E7fk8CQcX1OzNLS2zHKVufpcVfG6X0PoAu/ToCzIYIq
	aetg==
X-Received: by 10.194.172.130 with SMTP id bc2mr75528003wjc.85.1435943236803; 
	Fri, 03 Jul 2015 10:07:16 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id c2sm14229684wjf.18.2015.07.03.10.07.14
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Fri, 03 Jul 2015 10:07:15 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAG4opy9FTb6aYdHmmfkCKrEegRYN_C8fA-zivXfs6=7=NgoR7g@mail.gmail.com>
Date: Fri, 3 Jul 2015 18:07:13 +0100
Message-Id: <3F4F6E53-23A0-4E51-B800-520C808B343C@gazagnaire.org>
References: <CAG4opy_+GY7zB1Yy5Jb6N++dFudD3PTF8OaekZEE2tSN6G-Hhw@mail.gmail.com>
	<CAG4opy9mttDxvm+YM0K88abV0=ULojA6giRMtitsVGt5QwnQTA@mail.gmail.com>
	<5B731FB8-4704-4B68-AABC-C38D8F647CFD@gazagnaire.org>
	<953C6FDD-FD1E-43ED-AC40-E14DB8B9CBAD@gazagnaire.org>
	<CAG4opy9FTb6aYdHmmfkCKrEegRYN_C8fA-zivXfs6=7=NgoR7g@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
X-Mailer: Apple Mail (2.2102)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Binary Irmin slices
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

>> The binary serialisation of slices if now fixed in irmin master. Do you have anything else blocking the use of Irmin to javascript? could you update the related issue[3] if that's the case?
> 
> I've updated CueKeeper to run against Irmin master, and it now works
> without any hacks :-)

fwy, I've just released 0.9.6 with the fix and few other things[1].

Thomas

[1]: https://github.com/mirage/irmin/releases/tag/0.9.6


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 03 17:09:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 03 Jul 2015 17:09:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZB4SY-00040V-Vq; Fri, 03 Jul 2015 17:09:06 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZB4SX-00040F-CH
	for mirageos-devel@lists.xenproject.org; Fri, 03 Jul 2015 17:09:05 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	77/60-27764-0B1C6955; Fri, 03 Jul 2015 17:09:04 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-6.tower-27.messagelabs.com!1435943343!29084130!1
X-Originating-IP: [209.85.212.169]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29556 invoked from network); 3 Jul 2015 17:09:03 -0000
Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com)
	(209.85.212.169)
	by server-6.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	3 Jul 2015 17:09:03 -0000
Received: by wiwl6 with SMTP id l6so232314394wiw.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 03 Jul 2015 10:09:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=11T3hZ8dYoPw3KOc2Za1wp5HlbLlgdPdSx26aXIUdP4=;
	b=a5naNOwbQpWEFOwWJ9sh9PenIYYUpez3npq9OZdxkdIKPe7Zwcbx34IP2XSe2kyJld
	chn69wQbCTxKzTsd+9VPG0I2hCySP87jA4l24nJUCuHjPMvuvQ2ZYBUx7dsYPzOWFdRy
	W2R3o7QKPfhIklza90t3vxisHP7177hKnDLXQv7E6e4yuJZ0Dt2TnNUmZvQ+k8eMGyTP
	+AfxXsdLlEsJHOxT7T/9izkjlVubCVF+LI/c5nNdXNOkUsOYtVTGPFLKHWTFk+F5b8ig
	rIp5UouS37wQJrGmACgR8syiLMrhulQGRG7ic15GAolS5lcQXBiSm6hwBYGZ9QW5pJy3
	CPPA==
X-Received: by 10.194.2.51 with SMTP id 19mr45930602wjr.40.1435943343642;
	Fri, 03 Jul 2015 10:09:03 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id um5sm14244465wjc.1.2015.07.03.10.09.02
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Fri, 03 Jul 2015 10:09:02 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <9EA1BC18-ECA8-4005-A33C-CD9C44636810@cam.ac.uk>
Date: Fri, 3 Jul 2015 18:09:01 +0100
Message-Id: <7EC4380F-4BEA-4010-8352-77DD06FFDDD2@gazagnaire.org>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
	<9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
	<9EA1BC18-ECA8-4005-A33C-CD9C44636810@cam.ac.uk>
To: Amir Chaudhry <amc79@cam.ac.uk>
X-Mailer: Apple Mail (2.2102)
Cc: "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>, Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> Good to know. I'm still curious about what the figures are currently for mirage-www. From other sites/info, it seems that machinery for (secure) static site comes to ~5MB -- so the rest would be content (assuming crunch and cohttp, I believe).

size of the latest website image:

$ du -h mir-mirage.io.xen.bz2
4.6M	mir-mirage.io.xen.bz2

Best,
Thomas


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 03 17:09:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 03 Jul 2015 17:09:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZB4SY-00040V-Vq; Fri, 03 Jul 2015 17:09:06 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZB4SX-00040F-CH
	for mirageos-devel@lists.xenproject.org; Fri, 03 Jul 2015 17:09:05 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	77/60-27764-0B1C6955; Fri, 03 Jul 2015 17:09:04 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-6.tower-27.messagelabs.com!1435943343!29084130!1
X-Originating-IP: [209.85.212.169]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29556 invoked from network); 3 Jul 2015 17:09:03 -0000
Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com)
	(209.85.212.169)
	by server-6.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	3 Jul 2015 17:09:03 -0000
Received: by wiwl6 with SMTP id l6so232314394wiw.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 03 Jul 2015 10:09:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=11T3hZ8dYoPw3KOc2Za1wp5HlbLlgdPdSx26aXIUdP4=;
	b=a5naNOwbQpWEFOwWJ9sh9PenIYYUpez3npq9OZdxkdIKPe7Zwcbx34IP2XSe2kyJld
	chn69wQbCTxKzTsd+9VPG0I2hCySP87jA4l24nJUCuHjPMvuvQ2ZYBUx7dsYPzOWFdRy
	W2R3o7QKPfhIklza90t3vxisHP7177hKnDLXQv7E6e4yuJZ0Dt2TnNUmZvQ+k8eMGyTP
	+AfxXsdLlEsJHOxT7T/9izkjlVubCVF+LI/c5nNdXNOkUsOYtVTGPFLKHWTFk+F5b8ig
	rIp5UouS37wQJrGmACgR8syiLMrhulQGRG7ic15GAolS5lcQXBiSm6hwBYGZ9QW5pJy3
	CPPA==
X-Received: by 10.194.2.51 with SMTP id 19mr45930602wjr.40.1435943343642;
	Fri, 03 Jul 2015 10:09:03 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id um5sm14244465wjc.1.2015.07.03.10.09.02
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Fri, 03 Jul 2015 10:09:02 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <9EA1BC18-ECA8-4005-A33C-CD9C44636810@cam.ac.uk>
Date: Fri, 3 Jul 2015 18:09:01 +0100
Message-Id: <7EC4380F-4BEA-4010-8352-77DD06FFDDD2@gazagnaire.org>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
	<9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
	<9EA1BC18-ECA8-4005-A33C-CD9C44636810@cam.ac.uk>
To: Amir Chaudhry <amc79@cam.ac.uk>
X-Mailer: Apple Mail (2.2102)
Cc: "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>, Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> Good to know. I'm still curious about what the figures are currently for mirage-www. From other sites/info, it seems that machinery for (secure) static site comes to ~5MB -- so the rest would be content (assuming crunch and cohttp, I believe).

size of the latest website image:

$ du -h mir-mirage.io.xen.bz2
4.6M	mir-mirage.io.xen.bz2

Best,
Thomas


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 03 18:03:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 03 Jul 2015 18:03:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZB5JK-0006dL-13; Fri, 03 Jul 2015 18:03:38 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pierre.chambart@ocamlpro.com>) id 1ZB5JI-0006d1-JH
	for mirageos-devel@lists.xenproject.org; Fri, 03 Jul 2015 18:03:36 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	89/32-18947-77EC6955; Fri, 03 Jul 2015 18:03:35 +0000
X-Env-Sender: pierre.chambart@ocamlpro.com
X-Msg-Ref: server-4.tower-27.messagelabs.com!1435946614!28091861!1
X-Originating-IP: [138.231.136.39]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22089 invoked from network); 3 Jul 2015 18:03:34 -0000
Received: from redisdead.crans.org (HELO redisdead.crans.org) (138.231.136.39)
	by server-4.tower-27.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 3 Jul 2015 18:03:34 -0000
Received: from [192.168.1.120] (perens.inria.fr [128.93.60.79])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by redisdead.crans.org (Postfix) with ESMTPSA id 59D461438;
	Fri,  3 Jul 2015 20:03:34 +0200 (CEST)
Message-ID: <5596CE76.6030001@ocamlpro.com>
Date: Fri, 03 Jul 2015 20:03:34 +0200
From: Pierre Chambart <pierre.chambart@ocamlpro.com>
Organization: OcamlPro
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Icedove/31.7.0
MIME-Version: 1.0
To: Anil Madhavapeddy <anil@recoil.org>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>	<5595364C.5090402@mehnert.org>
	<9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
In-Reply-To: <9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
Content-Length: 3437
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMDIvMDcvMjAxNSAxNToyMCwgQW5pbCBNYWRoYXZhcGVkZHkgd3JvdGU6Cj4gT24gMiBKdWwg
MjAxNSwgYXQgMTQ6MDIsIEhhbm5lcyBNZWhuZXJ0IDxoYW5uZX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WRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZl
bEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJp
bi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 03 18:03:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 03 Jul 2015 18:03:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZB5JK-0006dL-13; Fri, 03 Jul 2015 18:03:38 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pierre.chambart@ocamlpro.com>) id 1ZB5JI-0006d1-JH
	for mirageos-devel@lists.xenproject.org; Fri, 03 Jul 2015 18:03:36 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	89/32-18947-77EC6955; Fri, 03 Jul 2015 18:03:35 +0000
X-Env-Sender: pierre.chambart@ocamlpro.com
X-Msg-Ref: server-4.tower-27.messagelabs.com!1435946614!28091861!1
X-Originating-IP: [138.231.136.39]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22089 invoked from network); 3 Jul 2015 18:03:34 -0000
Received: from redisdead.crans.org (HELO redisdead.crans.org) (138.231.136.39)
	by server-4.tower-27.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 3 Jul 2015 18:03:34 -0000
Received: from [192.168.1.120] (perens.inria.fr [128.93.60.79])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by redisdead.crans.org (Postfix) with ESMTPSA id 59D461438;
	Fri,  3 Jul 2015 20:03:34 +0200 (CEST)
Message-ID: <5596CE76.6030001@ocamlpro.com>
Date: Fri, 03 Jul 2015 20:03:34 +0200
From: Pierre Chambart <pierre.chambart@ocamlpro.com>
Organization: OcamlPro
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Icedove/31.7.0
MIME-Version: 1.0
To: Anil Madhavapeddy <anil@recoil.org>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>	<5595364C.5090402@mehnert.org>
	<9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
In-Reply-To: <9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
Content-Length: 3437
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gMDIvMDcvMjAxNSAxNToyMCwgQW5pbCBNYWRoYXZhcGVkZHkgd3JvdGU6Cj4gT24gMiBKdWwg
MjAxNSwgYXQgMTQ6MDIsIEhhbm5lcyBNZWhuZXJ0IDxoYW5uZXNAbWVobmVydC5vcmc+IHdyb3Rl
Ogo+P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PUy1kZXZl
bEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJp
bi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 04 11:37:19 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 04 Jul 2015 11:37:19 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBLkr-0007vm-PO; Sat, 04 Jul 2015 11:37:09 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pooka@iki.fi>) id 1ZBLkq-0007vh-Bs
	for mirageos-devel@lists.xenproject.org; Sat, 04 Jul 2015 11:37:08 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	59/B8-23096-365C7955; Sat, 04 Jul 2015 11:37:07 +0000
X-Env-Sender: pooka@iki.fi
X-Msg-Ref: server-5.tower-206.messagelabs.com!1436009826!18876156!1
X-Originating-IP: [130.233.192.7]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3679 invoked from network); 4 Jul 2015 11:37:07 -0000
Received: from mail.cs.hut.fi (HELO mail.cs.hut.fi) (130.233.192.7)
	by server-5.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 4 Jul 2015 11:37:07 -0000
Received: from [127.0.0.1] (mannerheim.cs.hut.fi [130.233.193.8])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.cs.hut.fi (Postfix) with ESMTPS id 5E8951A66E;
	Sat,  4 Jul 2015 14:37:05 +0300 (EEST)
Message-ID: <5597C560.9060301@iki.fi>
Date: Sat, 04 Jul 2015 11:37:04 +0000
From: Antti Kantee <pooka@iki.fi>
MIME-Version: 1.0
To: Thomas Leonard <talex5@gmail.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>, 
	rumpkernel-users@freelists.org, Richard Mortier <mort@cantab.net>, 
	Anil Madhavapeddy <avsm@recoil.org>
References: <20150612114938.GA12252@nodbug.lucina.net>
	<CAG4opy_fNz-aaaxxWUCUxd7DOAbXXhJ14mgD_x9exKKS6++P9g@mail.gmail.com>
	<20150615105643.GA13479@nodbug.lucina.net>
	<CAG4opy8qGqV8hAFkJqsdr0cFMCZ9R9=NxrLbkCgaq-zMLmE6Aw@mail.gmail.com>
	<20150703162542.GA7817@nodbug.lucina.net>
In-Reply-To: <20150703162542.GA7817@nodbug.lucina.net>
Subject: Re: [MirageOS-devel] MirageOS on rumprun now with networking and
 HTTP
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 03/07/15 16:25, Martin Lucina wrote:
> Wow, timekeeping is *complicated*. See the full discussion at
> http://www.freelists.org/post/rumpkernel-users/Implement-timekeeping-for-rumprunhw-x86
>
> Any testing will be much appreciated. You will need to pull the latest
> rumprun and opam-rumprun master and rebuild the ocaml-rumprun toolchain
> from scratch due to other changes in the rumprun toolchain.
>
> I will continue to improve the timekeeping code, especially with with
> better support for KVM (pvclock).

Thanks for sticking your hands into that pile of ... inspiration!  May 
you be even more inspired by the future work ;) ;)

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 04 11:37:19 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 04 Jul 2015 11:37:19 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBLkr-0007vm-PO; Sat, 04 Jul 2015 11:37:09 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pooka@iki.fi>) id 1ZBLkq-0007vh-Bs
	for mirageos-devel@lists.xenproject.org; Sat, 04 Jul 2015 11:37:08 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	59/B8-23096-365C7955; Sat, 04 Jul 2015 11:37:07 +0000
X-Env-Sender: pooka@iki.fi
X-Msg-Ref: server-5.tower-206.messagelabs.com!1436009826!18876156!1
X-Originating-IP: [130.233.192.7]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3679 invoked from network); 4 Jul 2015 11:37:07 -0000
Received: from mail.cs.hut.fi (HELO mail.cs.hut.fi) (130.233.192.7)
	by server-5.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 4 Jul 2015 11:37:07 -0000
Received: from [127.0.0.1] (mannerheim.cs.hut.fi [130.233.193.8])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.cs.hut.fi (Postfix) with ESMTPS id 5E8951A66E;
	Sat,  4 Jul 2015 14:37:05 +0300 (EEST)
Message-ID: <5597C560.9060301@iki.fi>
Date: Sat, 04 Jul 2015 11:37:04 +0000
From: Antti Kantee <pooka@iki.fi>
MIME-Version: 1.0
To: Thomas Leonard <talex5@gmail.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>, 
	rumpkernel-users@freelists.org, Richard Mortier <mort@cantab.net>, 
	Anil Madhavapeddy <avsm@recoil.org>
References: <20150612114938.GA12252@nodbug.lucina.net>
	<CAG4opy_fNz-aaaxxWUCUxd7DOAbXXhJ14mgD_x9exKKS6++P9g@mail.gmail.com>
	<20150615105643.GA13479@nodbug.lucina.net>
	<CAG4opy8qGqV8hAFkJqsdr0cFMCZ9R9=NxrLbkCgaq-zMLmE6Aw@mail.gmail.com>
	<20150703162542.GA7817@nodbug.lucina.net>
In-Reply-To: <20150703162542.GA7817@nodbug.lucina.net>
Subject: Re: [MirageOS-devel] MirageOS on rumprun now with networking and
 HTTP
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 03/07/15 16:25, Martin Lucina wrote:
> Wow, timekeeping is *complicated*. See the full discussion at
> http://www.freelists.org/post/rumpkernel-users/Implement-timekeeping-for-rumprunhw-x86
>
> Any testing will be much appreciated. You will need to pull the latest
> rumprun and opam-rumprun master and rebuild the ocaml-rumprun toolchain
> from scratch due to other changes in the rumprun toolchain.
>
> I will continue to improve the timekeeping code, especially with with
> better support for KVM (pvclock).

Thanks for sticking your hands into that pile of ... inspiration!  May 
you be even more inspired by the future work ;) ;)

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 04 13:27:12 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 04 Jul 2015 13:27:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBNTF-0008NU-UB; Sat, 04 Jul 2015 13:27:05 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZBNTD-0008NP-Ra
	for mirageos-devel@lists.xenproject.org; Sat, 04 Jul 2015 13:27:03 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	1B/CA-17050-72FD7955; Sat, 04 Jul 2015 13:27:03 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1436016421!18213210!1
X-Originating-IP: [209.85.216.53]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18761 invoked from network); 4 Jul 2015 13:27:02 -0000
Received: from mail-vn0-f53.google.com (HELO mail-vn0-f53.google.com)
	(209.85.216.53)
	by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	4 Jul 2015 13:27:02 -0000
Received: by vnbf1 with SMTP id f1so7643372vnb.10
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 04 Jul 2015 06:27:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=oP81Hzxxd3aa+DYtnGLFkp/IpANoPSD3esjYBEiWopU=;
	b=xBaqVFTZ1tRJxEQ/Mg3uJkj5RL4MXnuhDui4BxxD4eCYsD0TrHdp0jeAnfikzHkju/
	L7SGbwwDWSjE93kkGqgLo/CLGEA7l6u3ZwJsgo1LKxL6MOnSMA9+y5MO4ie+jiofB2w5
	h+PWNkzXo1aM2oaVBII4TP99RTx9CwAwdqNWedkmxF1r81BcaWCG3hRxIDtNsQsEhrNy
	ntBRnI3aHp2Qew2eUPhWDKTWVuJw8A57ptKIynEzaTA8JRzVgnm4GLBj0UUDMoMhWGbI
	O8aOCS/vDiNQ9EbajzzSTQ2Ux7Vy3YVQIqvVg2VauQtixPIEoqZuIO0Dig5boG0BFN9Q
	Db7g==
MIME-Version: 1.0
X-Received: by 10.53.2.228 with SMTP id br4mr28777855vdd.54.1436016421281;
	Sat, 04 Jul 2015 06:27:01 -0700 (PDT)
Received: by 10.31.65.132 with HTTP; Sat, 4 Jul 2015 06:27:01 -0700 (PDT)
In-Reply-To: <3F4F6E53-23A0-4E51-B800-520C808B343C@gazagnaire.org>
References: <CAG4opy_+GY7zB1Yy5Jb6N++dFudD3PTF8OaekZEE2tSN6G-Hhw@mail.gmail.com>
	<CAG4opy9mttDxvm+YM0K88abV0=ULojA6giRMtitsVGt5QwnQTA@mail.gmail.com>
	<5B731FB8-4704-4B68-AABC-C38D8F647CFD@gazagnaire.org>
	<953C6FDD-FD1E-43ED-AC40-E14DB8B9CBAD@gazagnaire.org>
	<CAG4opy9FTb6aYdHmmfkCKrEegRYN_C8fA-zivXfs6=7=NgoR7g@mail.gmail.com>
	<3F4F6E53-23A0-4E51-B800-520C808B343C@gazagnaire.org>
Date: Sat, 4 Jul 2015 14:27:01 +0100
Message-ID: <CAG4opy-uyNawg3dzphB1Hk48phvxK98+RkORSAiatn6saVRN4Q@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Binary Irmin slices
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 3 July 2015 at 18:07, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
>>> The binary serialisation of slices if now fixed in irmin master. Do you have anything else blocking the use of Irmin to javascript? could you update the related issue[3] if that's the case?
>>
>> I've updated CueKeeper to run against Irmin master, and it now works
>> without any hacks :-)
>
> fwy, I've just released 0.9.6 with the fix and few other things[1].
>
> Thomas
>
> [1]: https://github.com/mirage/irmin/releases/tag/0.9.6

Thanks - that seems to be working nicely!


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 04 13:27:12 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 04 Jul 2015 13:27:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBNTF-0008NU-UB; Sat, 04 Jul 2015 13:27:05 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZBNTD-0008NP-Ra
	for mirageos-devel@lists.xenproject.org; Sat, 04 Jul 2015 13:27:03 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	1B/CA-17050-72FD7955; Sat, 04 Jul 2015 13:27:03 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1436016421!18213210!1
X-Originating-IP: [209.85.216.53]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18761 invoked from network); 4 Jul 2015 13:27:02 -0000
Received: from mail-vn0-f53.google.com (HELO mail-vn0-f53.google.com)
	(209.85.216.53)
	by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	4 Jul 2015 13:27:02 -0000
Received: by vnbf1 with SMTP id f1so7643372vnb.10
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 04 Jul 2015 06:27:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=oP81Hzxxd3aa+DYtnGLFkp/IpANoPSD3esjYBEiWopU=;
	b=xBaqVFTZ1tRJxEQ/Mg3uJkj5RL4MXnuhDui4BxxD4eCYsD0TrHdp0jeAnfikzHkju/
	L7SGbwwDWSjE93kkGqgLo/CLGEA7l6u3ZwJsgo1LKxL6MOnSMA9+y5MO4ie+jiofB2w5
	h+PWNkzXo1aM2oaVBII4TP99RTx9CwAwdqNWedkmxF1r81BcaWCG3hRxIDtNsQsEhrNy
	ntBRnI3aHp2Qew2eUPhWDKTWVuJw8A57ptKIynEzaTA8JRzVgnm4GLBj0UUDMoMhWGbI
	O8aOCS/vDiNQ9EbajzzSTQ2Ux7Vy3YVQIqvVg2VauQtixPIEoqZuIO0Dig5boG0BFN9Q
	Db7g==
MIME-Version: 1.0
X-Received: by 10.53.2.228 with SMTP id br4mr28777855vdd.54.1436016421281;
	Sat, 04 Jul 2015 06:27:01 -0700 (PDT)
Received: by 10.31.65.132 with HTTP; Sat, 4 Jul 2015 06:27:01 -0700 (PDT)
In-Reply-To: <3F4F6E53-23A0-4E51-B800-520C808B343C@gazagnaire.org>
References: <CAG4opy_+GY7zB1Yy5Jb6N++dFudD3PTF8OaekZEE2tSN6G-Hhw@mail.gmail.com>
	<CAG4opy9mttDxvm+YM0K88abV0=ULojA6giRMtitsVGt5QwnQTA@mail.gmail.com>
	<5B731FB8-4704-4B68-AABC-C38D8F647CFD@gazagnaire.org>
	<953C6FDD-FD1E-43ED-AC40-E14DB8B9CBAD@gazagnaire.org>
	<CAG4opy9FTb6aYdHmmfkCKrEegRYN_C8fA-zivXfs6=7=NgoR7g@mail.gmail.com>
	<3F4F6E53-23A0-4E51-B800-520C808B343C@gazagnaire.org>
Date: Sat, 4 Jul 2015 14:27:01 +0100
Message-ID: <CAG4opy-uyNawg3dzphB1Hk48phvxK98+RkORSAiatn6saVRN4Q@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Binary Irmin slices
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 3 July 2015 at 18:07, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
>>> The binary serialisation of slices if now fixed in irmin master. Do you have anything else blocking the use of Irmin to javascript? could you update the related issue[3] if that's the case?
>>
>> I've updated CueKeeper to run against Irmin master, and it now works
>> without any hacks :-)
>
> fwy, I've just released 0.9.6 with the fix and few other things[1].
>
> Thomas
>
> [1]: https://github.com/mirage/irmin/releases/tag/0.9.6

Thanks - that seems to be working nicely!


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 05 09:15:10 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 05 Jul 2015 09:15:10 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBg0s-0001x5-HE; Sun, 05 Jul 2015 09:15:02 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZBg0q-0001x0-DQ
	for mirageos-devel@lists.xenproject.org; Sun, 05 Jul 2015 09:15:00 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	D5/29-18733-395F8955; Sun, 05 Jul 2015 09:14:59 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-27.messagelabs.com!1436087698!29292612!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31792 invoked from network); 5 Jul 2015 09:14:59 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 Jul 2015 09:14:59 -0000
Received: from [192.168.1.75] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id ad5e10fc;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 5 Jul 2015 10:14:57 +0100 (BST)
From: Anil Madhavapeddy <anil@recoil.org>
Message-Id: <61D79AA9-54C8-4DC4-B754-3BFDB03766E2@recoil.org>
Date: Sun, 5 Jul 2015 10:14:56 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] xenctrl.h now needed for opam xenstore?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Something broke recently with the new releases in the past day or so in the bulk builder; see

http://opam.ocaml.org/builds/97c4b05c1cbe4d45274cb6ffa25450ae664b675b/logs/local-ubuntu-14.04-ocaml-4.02.1/raw/vchan.html

It looks like xenctrl.h is now unconditionally needed for the xenstore bindings?  That's pretty bad, as it might take down OSX builds too.

Is there an open bug for this one?

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 05 09:15:10 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 05 Jul 2015 09:15:10 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBg0s-0001x5-HE; Sun, 05 Jul 2015 09:15:02 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZBg0q-0001x0-DQ
	for mirageos-devel@lists.xenproject.org; Sun, 05 Jul 2015 09:15:00 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	D5/29-18733-395F8955; Sun, 05 Jul 2015 09:14:59 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-10.tower-27.messagelabs.com!1436087698!29292612!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31792 invoked from network); 5 Jul 2015 09:14:59 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-10.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 Jul 2015 09:14:59 -0000
Received: from [192.168.1.75] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id ad5e10fc;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 5 Jul 2015 10:14:57 +0100 (BST)
From: Anil Madhavapeddy <anil@recoil.org>
Message-Id: <61D79AA9-54C8-4DC4-B754-3BFDB03766E2@recoil.org>
Date: Sun, 5 Jul 2015 10:14:56 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] xenctrl.h now needed for opam xenstore?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Something broke recently with the new releases in the past day or so in the bulk builder; see

http://opam.ocaml.org/builds/97c4b05c1cbe4d45274cb6ffa25450ae664b675b/logs/local-ubuntu-14.04-ocaml-4.02.1/raw/vchan.html

It looks like xenctrl.h is now unconditionally needed for the xenstore bindings?  That's pretty bad, as it might take down OSX builds too.

Is there an open bug for this one?

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 05 09:20:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 05 Jul 2015 09:20:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBg66-00020O-VP; Sun, 05 Jul 2015 09:20:26 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZBg66-00020J-5p
	for mirageos-devel@lists.xenproject.org; Sun, 05 Jul 2015 09:20:26 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	FA/6C-30151-9D6F8955; Sun, 05 Jul 2015 09:20:25 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-27.messagelabs.com!1436088024!29355793!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24068 invoked from network); 5 Jul 2015 09:20:24 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 Jul 2015 09:20:24 -0000
Received: from [192.168.1.75] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id d051a7c7;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 5 Jul 2015 10:20:24 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <61D79AA9-54C8-4DC4-B754-3BFDB03766E2@recoil.org>
Date: Sun, 5 Jul 2015 10:20:23 +0100
Message-Id: <A1AEFEF2-DA84-4FF3-ADCF-B5C1477E2372@recoil.org>
References: <61D79AA9-54C8-4DC4-B754-3BFDB03766E2@recoil.org>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
X-Mailer: Apple Mail (2.2098)
Subject: Re: [MirageOS-devel] xenctrl.h now needed for opam xenstore?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


> On 5 Jul 2015, at 10:14, Anil Madhavapeddy <anil@recoil.org> wrote:
> 
> Something broke recently with the new releases in the past day or so in the bulk builder; see
> 
> http://opam.ocaml.org/builds/97c4b05c1cbe4d45274cb6ffa25450ae664b675b/logs/local-ubuntu-14.04-ocaml-4.02.1/raw/vchan.html
> 
> It looks like xenctrl.h is now unconditionally needed for the xenstore bindings?  That's pretty bad, as it might take down OSX builds too.
> 
> Is there an open bug for this one?

False alarm; looks like it's a missing `ounit` dependency that's causing the build to fail, not the configure script recording that xenctrl.h isn't found.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 05 09:20:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 05 Jul 2015 09:20:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBg66-00020O-VP; Sun, 05 Jul 2015 09:20:26 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZBg66-00020J-5p
	for mirageos-devel@lists.xenproject.org; Sun, 05 Jul 2015 09:20:26 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	FA/6C-30151-9D6F8955; Sun, 05 Jul 2015 09:20:25 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-27.messagelabs.com!1436088024!29355793!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24068 invoked from network); 5 Jul 2015 09:20:24 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 5 Jul 2015 09:20:24 -0000
Received: from [192.168.1.75] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id d051a7c7;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 5 Jul 2015 10:20:24 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <61D79AA9-54C8-4DC4-B754-3BFDB03766E2@recoil.org>
Date: Sun, 5 Jul 2015 10:20:23 +0100
Message-Id: <A1AEFEF2-DA84-4FF3-ADCF-B5C1477E2372@recoil.org>
References: <61D79AA9-54C8-4DC4-B754-3BFDB03766E2@recoil.org>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
X-Mailer: Apple Mail (2.2098)
Subject: Re: [MirageOS-devel] xenctrl.h now needed for opam xenstore?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


> On 5 Jul 2015, at 10:14, Anil Madhavapeddy <anil@recoil.org> wrote:
> 
> Something broke recently with the new releases in the past day or so in the bulk builder; see
> 
> http://opam.ocaml.org/builds/97c4b05c1cbe4d45274cb6ffa25450ae664b675b/logs/local-ubuntu-14.04-ocaml-4.02.1/raw/vchan.html
> 
> It looks like xenctrl.h is now unconditionally needed for the xenstore bindings?  That's pretty bad, as it might take down OSX builds too.
> 
> Is there an open bug for this one?

False alarm; looks like it's a missing `ounit` dependency that's causing the build to fail, not the configure script recording that xenctrl.h isn't found.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 05 10:47:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 05 Jul 2015 10:47:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBhRx-0002LI-UE; Sun, 05 Jul 2015 10:47:05 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZBhRw-0002LD-QG
	for mirageos-devel@lists.xenproject.org; Sun, 05 Jul 2015 10:47:04 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	6C/30-06739-82B09955; Sun, 05 Jul 2015 10:47:04 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-13.tower-27.messagelabs.com!1436093223!29377795!1
X-Originating-IP: [209.85.212.171]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21571 invoked from network); 5 Jul 2015 10:47:03 -0000
Received: from mail-wi0-f171.google.com (HELO mail-wi0-f171.google.com)
	(209.85.212.171)
	by server-13.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	5 Jul 2015 10:47:03 -0000
Received: by wifm2 with SMTP id m2so6186924wif.1
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 05 Jul 2015 03:47:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=ME0O5enb2P1dkjVBRiv0kmOPqOSFgZO0Z5CGLIJjiTY=;
	b=CMLj1wnXZKbVWx2Gb3fvudEB4B52GhPlqdXZgpm4hIi9lPQmX3PzQ3/Md9PYDUausM
	s9j63Crc72CMhrK4bWdKnllP2UFoLqfvv28NNUqQJdNemNRuIs2Po8u7GOCWxus0zQt/
	00aN+pSafcnwe3wKzxviErn6IhkrTixsEzsEfhFsjKA+vKaOFCIfm3Enu0oc+47Z7eDb
	k3bJxWyStCZDJD5NiYh+PIeCZZS8gwK13qwdllOnQySm3qonOcJ+CNBcGdx1sIbWT+xn
	IPkzcsF/MfPmlt34aOFCihpdCb+w4nfS5h1btB9C94zUINrjQYwlLi4thFlEl04CWwdm
	A4+w==
X-Received: by 10.194.2.51 with SMTP id 19mr61757929wjr.40.1436093222881;
	Sun, 05 Jul 2015 03:47:02 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	x10sm22148663wjf.45.2015.07.05.03.47.01
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sun, 05 Jul 2015 03:47:01 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <A1AEFEF2-DA84-4FF3-ADCF-B5C1477E2372@recoil.org>
Date: Sun, 5 Jul 2015 11:47:00 +0100
Message-Id: <FBFE1F7A-1347-493E-891C-655CFDA1F7AC@gazagnaire.org>
References: <61D79AA9-54C8-4DC4-B754-3BFDB03766E2@recoil.org>
	<A1AEFEF2-DA84-4FF3-ADCF-B5C1477E2372@recoil.org>
To: Anil Madhavapeddy <anil@recoil.org>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] xenctrl.h now needed for opam xenstore?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> False alarm; looks like it's a missing `ounit` dependency that's causing the build to fail, not the configure script recording that xenctrl.h isn't found.

I've been trying to turn all the OUnit dependencies into test dependencies yesterday, so this should have made that problem appears. I'm fixing that now.

Thomas
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 05 10:47:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 05 Jul 2015 10:47:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBhRx-0002LI-UE; Sun, 05 Jul 2015 10:47:05 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZBhRw-0002LD-QG
	for mirageos-devel@lists.xenproject.org; Sun, 05 Jul 2015 10:47:04 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	6C/30-06739-82B09955; Sun, 05 Jul 2015 10:47:04 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-13.tower-27.messagelabs.com!1436093223!29377795!1
X-Originating-IP: [209.85.212.171]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21571 invoked from network); 5 Jul 2015 10:47:03 -0000
Received: from mail-wi0-f171.google.com (HELO mail-wi0-f171.google.com)
	(209.85.212.171)
	by server-13.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	5 Jul 2015 10:47:03 -0000
Received: by wifm2 with SMTP id m2so6186924wif.1
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 05 Jul 2015 03:47:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=ME0O5enb2P1dkjVBRiv0kmOPqOSFgZO0Z5CGLIJjiTY=;
	b=CMLj1wnXZKbVWx2Gb3fvudEB4B52GhPlqdXZgpm4hIi9lPQmX3PzQ3/Md9PYDUausM
	s9j63Crc72CMhrK4bWdKnllP2UFoLqfvv28NNUqQJdNemNRuIs2Po8u7GOCWxus0zQt/
	00aN+pSafcnwe3wKzxviErn6IhkrTixsEzsEfhFsjKA+vKaOFCIfm3Enu0oc+47Z7eDb
	k3bJxWyStCZDJD5NiYh+PIeCZZS8gwK13qwdllOnQySm3qonOcJ+CNBcGdx1sIbWT+xn
	IPkzcsF/MfPmlt34aOFCihpdCb+w4nfS5h1btB9C94zUINrjQYwlLi4thFlEl04CWwdm
	A4+w==
X-Received: by 10.194.2.51 with SMTP id 19mr61757929wjr.40.1436093222881;
	Sun, 05 Jul 2015 03:47:02 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	x10sm22148663wjf.45.2015.07.05.03.47.01
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sun, 05 Jul 2015 03:47:01 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <A1AEFEF2-DA84-4FF3-ADCF-B5C1477E2372@recoil.org>
Date: Sun, 5 Jul 2015 11:47:00 +0100
Message-Id: <FBFE1F7A-1347-493E-891C-655CFDA1F7AC@gazagnaire.org>
References: <61D79AA9-54C8-4DC4-B754-3BFDB03766E2@recoil.org>
	<A1AEFEF2-DA84-4FF3-ADCF-B5C1477E2372@recoil.org>
To: Anil Madhavapeddy <anil@recoil.org>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] xenctrl.h now needed for opam xenstore?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> False alarm; looks like it's a missing `ounit` dependency that's causing the build to fail, not the configure script recording that xenctrl.h isn't found.

I've been trying to turn all the OUnit dependencies into test dependencies yesterday, so this should have made that problem appears. I'm fixing that now.

Thomas
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 05 11:09:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 05 Jul 2015 11:09:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBhnW-0002Se-HI; Sun, 05 Jul 2015 11:09:22 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZBhnV-0002SZ-9P
	for mirageos-devel@lists.xenproject.org; Sun, 05 Jul 2015 11:09:21 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	2A/4D-21325-06019955; Sun, 05 Jul 2015 11:09:20 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-10.tower-206.messagelabs.com!1436094559!13691468!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15333 invoked from network); 5 Jul 2015 11:09:19 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-10.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	5 Jul 2015 11:09:19 -0000
Received: by wifm2 with SMTP id m2so6438239wif.1
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 05 Jul 2015 04:09:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=r2RT/1V23blvMJQSp4yRdsNongW2YkcoGqlPapCGZQ8=;
	b=BVZGQe1CxysdG8QNjOt8hetlGZ5ivwLrFXjFyySLXu1d9x0nGLKaaWrD6ldxNM3v7u
	9Ady+avSUvkPwqwIlf2MFXQENxjntIDKr60UY2x7ToL75VkedffVOOp3692AUy9Z6/4c
	7IbySfW8ZprtgD+9J8uja7KpvwA7oBLzxvLwuVyMkZjOwDXHmXU83Vpj+a4xMMBcSGKc
	ddP1jl3W6D0V3k4hhX1uiikVKfME6XigfffcTbSv0LmQNJoAm8Iq3BpjkkErSHoOY52I
	lD99Ch29ofjVk0aY/UWiMcOIcujOjEij+2d6pcTUq43cY7kXLByAtoEnGW5BDovMM94s
	nDdg==
X-Received: by 10.180.90.209 with SMTP id by17mr81178283wib.2.1436094559475;
	Sun, 05 Jul 2015 04:09:19 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id m4sm22235126wjb.37.2015.07.05.04.09.18
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sun, 05 Jul 2015 04:09:18 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <FBFE1F7A-1347-493E-891C-655CFDA1F7AC@gazagnaire.org>
Date: Sun, 5 Jul 2015 12:09:17 +0100
Message-Id: <51117A41-34FE-450E-845B-ED74DA3E87CC@gazagnaire.org>
References: <61D79AA9-54C8-4DC4-B754-3BFDB03766E2@recoil.org>
	<A1AEFEF2-DA84-4FF3-ADCF-B5C1477E2372@recoil.org>
	<FBFE1F7A-1347-493E-891C-655CFDA1F7AC@gazagnaire.org>
To: Anil Madhavapeddy <anil@recoil.org>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] xenctrl.h now needed for opam xenstore?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

>> False alarm; looks like it's a missing `ounit` dependency that's causing the build to fail, not the configure script recording that xenctrl.h isn't found.
> 
> I've been trying to turn all the OUnit dependencies into test dependencies yesterday, so this should have made that problem appears. I'm fixing that now.

See https://github.com/ocaml/opam-repository/pull/4382


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 05 11:09:25 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 05 Jul 2015 11:09:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBhnW-0002Se-HI; Sun, 05 Jul 2015 11:09:22 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZBhnV-0002SZ-9P
	for mirageos-devel@lists.xenproject.org; Sun, 05 Jul 2015 11:09:21 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	2A/4D-21325-06019955; Sun, 05 Jul 2015 11:09:20 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-10.tower-206.messagelabs.com!1436094559!13691468!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15333 invoked from network); 5 Jul 2015 11:09:19 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-10.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	5 Jul 2015 11:09:19 -0000
Received: by wifm2 with SMTP id m2so6438239wif.1
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 05 Jul 2015 04:09:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=r2RT/1V23blvMJQSp4yRdsNongW2YkcoGqlPapCGZQ8=;
	b=BVZGQe1CxysdG8QNjOt8hetlGZ5ivwLrFXjFyySLXu1d9x0nGLKaaWrD6ldxNM3v7u
	9Ady+avSUvkPwqwIlf2MFXQENxjntIDKr60UY2x7ToL75VkedffVOOp3692AUy9Z6/4c
	7IbySfW8ZprtgD+9J8uja7KpvwA7oBLzxvLwuVyMkZjOwDXHmXU83Vpj+a4xMMBcSGKc
	ddP1jl3W6D0V3k4hhX1uiikVKfME6XigfffcTbSv0LmQNJoAm8Iq3BpjkkErSHoOY52I
	lD99Ch29ofjVk0aY/UWiMcOIcujOjEij+2d6pcTUq43cY7kXLByAtoEnGW5BDovMM94s
	nDdg==
X-Received: by 10.180.90.209 with SMTP id by17mr81178283wib.2.1436094559475;
	Sun, 05 Jul 2015 04:09:19 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122])
	by mx.google.com with ESMTPSA id m4sm22235126wjb.37.2015.07.05.04.09.18
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sun, 05 Jul 2015 04:09:18 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <FBFE1F7A-1347-493E-891C-655CFDA1F7AC@gazagnaire.org>
Date: Sun, 5 Jul 2015 12:09:17 +0100
Message-Id: <51117A41-34FE-450E-845B-ED74DA3E87CC@gazagnaire.org>
References: <61D79AA9-54C8-4DC4-B754-3BFDB03766E2@recoil.org>
	<A1AEFEF2-DA84-4FF3-ADCF-B5C1477E2372@recoil.org>
	<FBFE1F7A-1347-493E-891C-655CFDA1F7AC@gazagnaire.org>
To: Anil Madhavapeddy <anil@recoil.org>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] xenctrl.h now needed for opam xenstore?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

>> False alarm; looks like it's a missing `ounit` dependency that's causing the build to fail, not the configure script recording that xenctrl.h isn't found.
> 
> I've been trying to turn all the OUnit dependencies into test dependencies yesterday, so this should have made that problem appears. I'm fixing that now.

See https://github.com/ocaml/opam-repository/pull/4382


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 05 13:32:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 05 Jul 2015 13:32:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBk1q-00079y-40; Sun, 05 Jul 2015 13:32:18 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZBk1o-00078j-CN
	for mirageos-devel@lists.xenproject.org; Sun, 05 Jul 2015 13:32:16 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	36/D9-27764-FD139955; Sun, 05 Jul 2015 13:32:15 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-11.tower-27.messagelabs.com!1436103134!23256439!1
X-Originating-IP: [74.125.82.52]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18482 invoked from network); 5 Jul 2015 13:32:14 -0000
Received: from mail-wg0-f52.google.com (HELO mail-wg0-f52.google.com)
	(74.125.82.52)
	by server-11.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	5 Jul 2015 13:32:14 -0000
Received: by wgqq4 with SMTP id q4so120114444wgq.1
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 05 Jul 2015 06:32:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=Q5Lxe6bxgSZ3cQJOewb1ngd7a+znNfqGsbcJwR/Yo+E=;
	b=hd1eJWwZt4R7yjzV423qmeteM6IsYu5POdAxs9ovLZ99cr7sN3PIjUPupls3Au0KQu
	6ykWPWaVc8WTW/+e6kSQFuaYqIM5aRs697PhqJ/8/z/inxoDGfKyn+ns9DvvIdBlG0kF
	N/sY5Sb7Aci2uZXvWBUNub513ZfKmgKcBBlPCEnYvNpf7LrPBh8cshtN1MNYl3S4dbfC
	gwANqYdcTzI0r93GxNcAcbXAYLlT9SO4bwnMsiCGlBnkE7/9xYOILcbNR5ZmzWI3rIA2
	pw9ycLDDO9TV1PlSy0P/pIa3hSnOPlu6jKrsh6K2DFXqaYbFiTwNQwss6UhTJSbRpBv4
	Jw3A==
X-Received: by 10.180.101.233 with SMTP id fj9mr81347239wib.45.1436103134188; 
	Sun, 05 Jul 2015 06:32:14 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	ef10sm22770719wjd.49.2015.07.05.06.32.12
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sun, 05 Jul 2015 06:32:13 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <5596CE76.6030001@ocamlpro.com>
Date: Sun, 5 Jul 2015 14:32:11 +0100
Message-Id: <91763927-2C91-48F6-BC81-A77A03B518A6@gazagnaire.org>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
	<9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
	<5596CE76.6030001@ocamlpro.com>
To: Pierre Chambart <pierre.chambart@ocamlpro.com>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel@lists.xenproject.org, Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> Someone pointed me to this discution.
> 
> I have some prototype to eliminate dead code at link time. This is far
> from ready yet (some segfault happens), but this already prove to
> provide interesting improvements.
> The prototype is there:
> https://github.com/chambart/ocaml-1/tree/flambda+function_section
> 
> With that I managed to get a hello world of ~40kB

That's seems great! I have created https://github.com/ocaml/opam-repository/pull/4383 to be able to test it a bit more easily. I suspect some libraries will not work fine with 4.03 so it will be difficult to test mirage-www with the compiler, but I'll try anyway.

Thanks!
Thomas
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 05 13:32:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 05 Jul 2015 13:32:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBk1q-00079y-40; Sun, 05 Jul 2015 13:32:18 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZBk1o-00078j-CN
	for mirageos-devel@lists.xenproject.org; Sun, 05 Jul 2015 13:32:16 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	36/D9-27764-FD139955; Sun, 05 Jul 2015 13:32:15 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-11.tower-27.messagelabs.com!1436103134!23256439!1
X-Originating-IP: [74.125.82.52]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18482 invoked from network); 5 Jul 2015 13:32:14 -0000
Received: from mail-wg0-f52.google.com (HELO mail-wg0-f52.google.com)
	(74.125.82.52)
	by server-11.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	5 Jul 2015 13:32:14 -0000
Received: by wgqq4 with SMTP id q4so120114444wgq.1
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 05 Jul 2015 06:32:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=Q5Lxe6bxgSZ3cQJOewb1ngd7a+znNfqGsbcJwR/Yo+E=;
	b=hd1eJWwZt4R7yjzV423qmeteM6IsYu5POdAxs9ovLZ99cr7sN3PIjUPupls3Au0KQu
	6ykWPWaVc8WTW/+e6kSQFuaYqIM5aRs697PhqJ/8/z/inxoDGfKyn+ns9DvvIdBlG0kF
	N/sY5Sb7Aci2uZXvWBUNub513ZfKmgKcBBlPCEnYvNpf7LrPBh8cshtN1MNYl3S4dbfC
	gwANqYdcTzI0r93GxNcAcbXAYLlT9SO4bwnMsiCGlBnkE7/9xYOILcbNR5ZmzWI3rIA2
	pw9ycLDDO9TV1PlSy0P/pIa3hSnOPlu6jKrsh6K2DFXqaYbFiTwNQwss6UhTJSbRpBv4
	Jw3A==
X-Received: by 10.180.101.233 with SMTP id fj9mr81347239wib.45.1436103134188; 
	Sun, 05 Jul 2015 06:32:14 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	ef10sm22770719wjd.49.2015.07.05.06.32.12
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sun, 05 Jul 2015 06:32:13 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <5596CE76.6030001@ocamlpro.com>
Date: Sun, 5 Jul 2015 14:32:11 +0100
Message-Id: <91763927-2C91-48F6-BC81-A77A03B518A6@gazagnaire.org>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
	<9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
	<5596CE76.6030001@ocamlpro.com>
To: Pierre Chambart <pierre.chambart@ocamlpro.com>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel@lists.xenproject.org, Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

> Someone pointed me to this discution.
> 
> I have some prototype to eliminate dead code at link time. This is far
> from ready yet (some segfault happens), but this already prove to
> provide interesting improvements.
> The prototype is there:
> https://github.com/chambart/ocaml-1/tree/flambda+function_section
> 
> With that I managed to get a hello world of ~40kB

That's seems great! I have created https://github.com/ocaml/opam-repository/pull/4383 to be able to test it a bit more easily. I suspect some libraries will not work fine with 4.03 so it will be difficult to test mirage-www with the compiler, but I'll try anyway.

Thanks!
Thomas
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 05 14:01:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 05 Jul 2015 14:01:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBkTY-0008Rn-MZ; Sun, 05 Jul 2015 14:00:56 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZBkTX-0008Ri-Na
	for mirageos-devel@lists.xenproject.org; Sun, 05 Jul 2015 14:00:55 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	16/31-11201-79839955; Sun, 05 Jul 2015 14:00:55 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-13.tower-206.messagelabs.com!1436104854!19018588!1
X-Originating-IP: [74.125.82.52]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23489 invoked from network); 5 Jul 2015 14:00:54 -0000
Received: from mail-wg0-f52.google.com (HELO mail-wg0-f52.google.com)
	(74.125.82.52)
	by server-13.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	5 Jul 2015 14:00:54 -0000
Received: by wguu7 with SMTP id u7so120384892wgu.3
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 05 Jul 2015 07:00:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=Q+0UgqKO+dZhxdwj+dGJMZ+0HBigxIQUXfRRzA8fyww=;
	b=Xn/x6jTjkM3rPhtWzRLU8jd06nuPCL5bL6CgfpIyzL5al4SwfKFXlImEXIjO7oDL5Z
	U2nqBKXbJtXMnRW3iRQ9MwvkoLwMXsBCn+7g0pcH3amvZ7cNtRkEpW8L2B/JXNALnr/5
	rd7bcu8cxk7kQVJQWaCddnHedDNApK8J2DH+9c/V4B2Eu6YFDV90fYDlUt8f0zDzfGJH
	xqKIaClpFMdbEqp+xJhXxLvzBi8Ur+gmzPysTYI4H80/c6JG07aA/DehowlQB2DzHYuh
	1Rw256oJn51V+hDcWuPRez6gSz0ilTtBM4r5InmE1dGqsRrj8tGv8J8k1H4SXsSnHnRp
	1cSw==
X-Received: by 10.180.11.174 with SMTP id r14mr45986872wib.72.1436104853854;
	Sun, 05 Jul 2015 07:00:53 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	lq14sm17386393wic.3.2015.07.05.07.00.52
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sun, 05 Jul 2015 07:00:53 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <91763927-2C91-48F6-BC81-A77A03B518A6@gazagnaire.org>
Date: Sun, 5 Jul 2015 15:00:51 +0100
Message-Id: <50267CAD-F9F2-465B-83DA-EAE893138E8F@gazagnaire.org>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
	<9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
	<5596CE76.6030001@ocamlpro.com>
	<91763927-2C91-48F6-BC81-A77A03B518A6@gazagnaire.org>
To: Pierre Chambart <pierre.chambart@ocamlpro.com>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel@lists.xenproject.org, Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

>> Someone pointed me to this discution.
>> 
>> I have some prototype to eliminate dead code at link time. This is far
>> from ready yet (some segfault happens), but this already prove to
>> provide interesting improvements.
>> The prototype is there:
>> https://github.com/chambart/ocaml-1/tree/flambda+function_section
>> 
>> With that I managed to get a hello world of ~40kB
> 
> That's seems great! I have created https://github.com/ocaml/opam-repository/pull/4383 to be able to test it a bit more easily. I suspect some libraries will not work fine with 4.03 so it will be difficult to test mirage-www with the compiler, but I'll try anyway.

Right, not a great success so far: the compilation is broken on OSX and I got segfaults when compiling camlp4, cmdliner and cppo on x86 :-) 

Is there anything more useful to report to help you fix the issues? and where should I report such issues? the bug tracker on your fork is not available.

Best,
Thomas
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 05 14:01:01 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 05 Jul 2015 14:01:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZBkTY-0008Rn-MZ; Sun, 05 Jul 2015 14:00:56 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZBkTX-0008Ri-Na
	for mirageos-devel@lists.xenproject.org; Sun, 05 Jul 2015 14:00:55 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	16/31-11201-79839955; Sun, 05 Jul 2015 14:00:55 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-13.tower-206.messagelabs.com!1436104854!19018588!1
X-Originating-IP: [74.125.82.52]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23489 invoked from network); 5 Jul 2015 14:00:54 -0000
Received: from mail-wg0-f52.google.com (HELO mail-wg0-f52.google.com)
	(74.125.82.52)
	by server-13.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	5 Jul 2015 14:00:54 -0000
Received: by wguu7 with SMTP id u7so120384892wgu.3
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 05 Jul 2015 07:00:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=Q+0UgqKO+dZhxdwj+dGJMZ+0HBigxIQUXfRRzA8fyww=;
	b=Xn/x6jTjkM3rPhtWzRLU8jd06nuPCL5bL6CgfpIyzL5al4SwfKFXlImEXIjO7oDL5Z
	U2nqBKXbJtXMnRW3iRQ9MwvkoLwMXsBCn+7g0pcH3amvZ7cNtRkEpW8L2B/JXNALnr/5
	rd7bcu8cxk7kQVJQWaCddnHedDNApK8J2DH+9c/V4B2Eu6YFDV90fYDlUt8f0zDzfGJH
	xqKIaClpFMdbEqp+xJhXxLvzBi8Ur+gmzPysTYI4H80/c6JG07aA/DehowlQB2DzHYuh
	1Rw256oJn51V+hDcWuPRez6gSz0ilTtBM4r5InmE1dGqsRrj8tGv8J8k1H4SXsSnHnRp
	1cSw==
X-Received: by 10.180.11.174 with SMTP id r14mr45986872wib.72.1436104853854;
	Sun, 05 Jul 2015 07:00:53 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by mx.google.com with ESMTPSA id
	lq14sm17386393wic.3.2015.07.05.07.00.52
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sun, 05 Jul 2015 07:00:53 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <91763927-2C91-48F6-BC81-A77A03B518A6@gazagnaire.org>
Date: Sun, 5 Jul 2015 15:00:51 +0100
Message-Id: <50267CAD-F9F2-465B-83DA-EAE893138E8F@gazagnaire.org>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
	<9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
	<5596CE76.6030001@ocamlpro.com>
	<91763927-2C91-48F6-BC81-A77A03B518A6@gazagnaire.org>
To: Pierre Chambart <pierre.chambart@ocamlpro.com>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel@lists.xenproject.org, Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] =?utf-8?q?Mirage_and_pi=C3=B1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

>> Someone pointed me to this discution.
>> 
>> I have some prototype to eliminate dead code at link time. This is far
>> from ready yet (some segfault happens), but this already prove to
>> provide interesting improvements.
>> The prototype is there:
>> https://github.com/chambart/ocaml-1/tree/flambda+function_section
>> 
>> With that I managed to get a hello world of ~40kB
> 
> That's seems great! I have created https://github.com/ocaml/opam-repository/pull/4383 to be able to test it a bit more easily. I suspect some libraries will not work fine with 4.03 so it will be difficult to test mirage-www with the compiler, but I'll try anyway.

Right, not a great success so far: the compilation is broken on OSX and I got segfaults when compiling camlp4, cmdliner and cppo on x86 :-) 

Is there anything more useful to report to help you fix the issues? and where should I report such issues? the bug tracker on your fork is not available.

Best,
Thomas
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 06 11:31:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 06 Jul 2015 11:31:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZC4co-00063n-BE; Mon, 06 Jul 2015 11:31:50 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZC4cn-00063i-5n
	for mirageos-devel@lists.xenproject.org; Mon, 06 Jul 2015 11:31:49 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	14/1C-25925-4276A955; Mon, 06 Jul 2015 11:31:48 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-10.tower-206.messagelabs.com!1436182307!13870431!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14210 invoked from network); 6 Jul 2015 11:31:47 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-10.tower-206.messagelabs.com with SMTP;
	6 Jul 2015 11:31:47 -0000
Received: from [10.1.87.203] (natedu.pem.cam.ac.uk [131.111.200.10])
	by smtp.webfaction.com (Postfix) with ESMTP id CA79820FC8CF;
	Mon,  6 Jul 2015 11:31:46 +0000 (UTC)
Date: Mon, 6 Jul 2015 12:31:44 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Hannes Mehnert <hannes@mehnert.org>
Message-ID: <8BD3D9C7BB9A4EE198564CB5EF7EDB2F@erratique.ch>
In-Reply-To: <1E8BA0D38937491C818B42245BA66163@erratique.ch>
References: <5587E431.7020001@mehnert.org>
	<F5EB24DD87874D4D82095158F6019645@erratique.ch>
	<5588323A.1080205@mehnert.org>
	<F49D58347FD14D448E7B0F631E763A2F@erratique.ch>
	<55885FFD.4090802@mehnert.org>
	<4F432D40B7FE4787A1CA1C5B60C74655@erratique.ch>
	<558D4A47.8000209@mehnert.org>
	<1E8BA0D38937491C818B42245BA66163@erratique.ch>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: "=?utf-8?Q?mirageos-devel=40lists.xenproject.org?="
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] [RFC] Ptime (was Re: Unix.tm,
 CLOCK: date handling in MirageOS)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

There's now an implementation available. See: 

  http://erratique.ch/software/ptime

Care was taken so that the module works correctly on 32-bit platforms on its precisely defined limits, code reviews (the logic is extensively commented) and testing are welcome. To install:

  opam pin add ptime http://erratique.ch/repos/ptime.git 

The interface and docs still changed quite a bit from last time (date-time support now uses local time to make it easier to translate from other time formats you may get), see: 

  http://erratique.ch/software/ptime/doc/Ptime.html

Best,

Daniel
 



_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 06 11:31:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 06 Jul 2015 11:31:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZC4co-00063n-BE; Mon, 06 Jul 2015 11:31:50 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZC4cn-00063i-5n
	for mirageos-devel@lists.xenproject.org; Mon, 06 Jul 2015 11:31:49 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	14/1C-25925-4276A955; Mon, 06 Jul 2015 11:31:48 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-10.tower-206.messagelabs.com!1436182307!13870431!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14210 invoked from network); 6 Jul 2015 11:31:47 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-10.tower-206.messagelabs.com with SMTP;
	6 Jul 2015 11:31:47 -0000
Received: from [10.1.87.203] (natedu.pem.cam.ac.uk [131.111.200.10])
	by smtp.webfaction.com (Postfix) with ESMTP id CA79820FC8CF;
	Mon,  6 Jul 2015 11:31:46 +0000 (UTC)
Date: Mon, 6 Jul 2015 12:31:44 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Hannes Mehnert <hannes@mehnert.org>
Message-ID: <8BD3D9C7BB9A4EE198564CB5EF7EDB2F@erratique.ch>
In-Reply-To: <1E8BA0D38937491C818B42245BA66163@erratique.ch>
References: <5587E431.7020001@mehnert.org>
	<F5EB24DD87874D4D82095158F6019645@erratique.ch>
	<5588323A.1080205@mehnert.org>
	<F49D58347FD14D448E7B0F631E763A2F@erratique.ch>
	<55885FFD.4090802@mehnert.org>
	<4F432D40B7FE4787A1CA1C5B60C74655@erratique.ch>
	<558D4A47.8000209@mehnert.org>
	<1E8BA0D38937491C818B42245BA66163@erratique.ch>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: "=?utf-8?Q?mirageos-devel=40lists.xenproject.org?="
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] [RFC] Ptime (was Re: Unix.tm,
 CLOCK: date handling in MirageOS)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

There's now an implementation available. See: 

  http://erratique.ch/software/ptime

Care was taken so that the module works correctly on 32-bit platforms on its precisely defined limits, code reviews (the logic is extensively commented) and testing are welcome. To install:

  opam pin add ptime http://erratique.ch/repos/ptime.git 

The interface and docs still changed quite a bit from last time (date-time support now uses local time to make it easier to translate from other time formats you may get), see: 

  http://erratique.ch/software/ptime/doc/Ptime.html

Best,

Daniel
 



_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 06 14:49:35 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 06 Jul 2015 14:49:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZC7i4-0007QQ-Cp; Mon, 06 Jul 2015 14:49:28 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pierre.chambart@ocamlpro.com>) id 1ZC7i3-0007QE-20
	for mirageos-devel@lists.xenproject.org; Mon, 06 Jul 2015 14:49:27 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	AD/6A-31880-6759A955; Mon, 06 Jul 2015 14:49:26 +0000
X-Env-Sender: pierre.chambart@ocamlpro.com
X-Msg-Ref: server-8.tower-206.messagelabs.com!1436194164!19197828!1
X-Originating-IP: [138.231.136.39]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31406 invoked from network); 6 Jul 2015 14:49:25 -0000
Received: from redisdead.crans.org (HELO redisdead.crans.org) (138.231.136.39)
	by server-8.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 6 Jul 2015 14:49:25 -0000
Received: from [192.168.1.120] (perens.inria.fr [128.93.60.79])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by redisdead.crans.org (Postfix) with ESMTPSA id C222413C;
	Mon,  6 Jul 2015 16:49:23 +0200 (CEST)
Message-ID: <559A9573.3000003@ocamlpro.com>
Date: Mon, 06 Jul 2015 16:49:23 +0200
From: Pierre Chambart <pierre.chambart@ocamlpro.com>
Organization: OcamlPro
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Icedove/31.7.0
MIME-Version: 1.0
To: Thomas Gazagnaire <thomas@gazagnaire.org>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
	<9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
	<5596CE76.6030001@ocamlpro.com>
	<91763927-2C91-48F6-BC81-A77A03B518A6@gazagnaire.org>
	<50267CAD-F9F2-465B-83DA-EAE893138E8F@gazagnaire.org>
In-Reply-To: <50267CAD-F9F2-465B-83DA-EAE893138E8F@gazagnaire.org>
Cc: mirageos-devel@lists.xenproject.org, Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] =?windows-1252?q?Mirage_and_pi=F1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 05/07/2015 16:00, Thomas Gazagnaire wrote:
>>> Someone pointed me to this discution.
>>>
>>> I have some prototype to eliminate dead code at link time. This is far
>>> from ready yet (some segfault happens), but this already prove to
>>> provide interesting improvements.
>>> The prototype is there:
>>> https://github.com/chambart/ocaml-1/tree/flambda+function_section
>>>
>>> With that I managed to get a hello world of ~40kB
>> That's seems great! I have created https://github.com/ocaml/opam-repository/pull/4383 to be able to test it a bit more easily. I suspect some libraries will not work fine with 4.03 so it will be difficult to test mirage-www with the compiler, but I'll try anyway.
> Right, not a great success so far: the compilation is broken on OSX and I got segfaults when compiling camlp4, cmdliner and cppo on x86 :-) 
>
> Is there anything more useful to report to help you fix the issues? and where should I report such issues? the bug tracker on your fork is not available.
>
> Best,
> Thomas
Don't bother reporting that yet. I have plenty of segfaulting examples.
I don't have time to work on that yet, so don't really consider it for
testing.
This was really a proof of concept to show that it is doable with OCaml
(which
was far from obvious when I started hacking). Currently this rely on
gnu-(as/ld)
specific behaviours and wasn't tested at all on anything else than my debian
laptop. If you want to spend some time to track the bug. It is probably
related
to the change in the frame-descriptors representation or to the changes of
https://github.com/ocaml/ocaml/pull/177 (also included in the branch).

By the way if you are interested, one of the remaining questions is how
to do
that in a compatible way. The main difficulty being the representation
of frame
descriptors: to be able to reference them, yet not force them alive in
the binary
and have them alive if and only if the function they reference is alive.
to do that
I use a combination of trick: every frame descriptor and function is in
its own
section, the functions and associated frame descriptors sections are in
the same
section group and I add a symbol before the frame descriptor sections and
another one after (that are not in the same sections as the frame
descriptors).

The part that is probably not portable are:
* section groups is probably a (almost undocumented...) feature of
gnu-(as/ld)
  (I didn't verify that it exists elsewhere).
* -gc-sections option may be a gnu-ld only feature
* I rely on the order in which section ends up in the binary. There is a
way to
  enforce that with gnu-ld (per object file linker scripts), but i'm not
certain it
  exists elsewhere (and gnu-ld seems not to handle it on windows either).

If you happen to know how this works outside the gnu world this would
simplify
my (future) search.

-- 
Pierre

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 06 14:49:35 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 06 Jul 2015 14:49:35 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZC7i4-0007QQ-Cp; Mon, 06 Jul 2015 14:49:28 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <pierre.chambart@ocamlpro.com>) id 1ZC7i3-0007QE-20
	for mirageos-devel@lists.xenproject.org; Mon, 06 Jul 2015 14:49:27 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	AD/6A-31880-6759A955; Mon, 06 Jul 2015 14:49:26 +0000
X-Env-Sender: pierre.chambart@ocamlpro.com
X-Msg-Ref: server-8.tower-206.messagelabs.com!1436194164!19197828!1
X-Originating-IP: [138.231.136.39]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31406 invoked from network); 6 Jul 2015 14:49:25 -0000
Received: from redisdead.crans.org (HELO redisdead.crans.org) (138.231.136.39)
	by server-8.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 6 Jul 2015 14:49:25 -0000
Received: from [192.168.1.120] (perens.inria.fr [128.93.60.79])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by redisdead.crans.org (Postfix) with ESMTPSA id C222413C;
	Mon,  6 Jul 2015 16:49:23 +0200 (CEST)
Message-ID: <559A9573.3000003@ocamlpro.com>
Date: Mon, 06 Jul 2015 16:49:23 +0200
From: Pierre Chambart <pierre.chambart@ocamlpro.com>
Organization: OcamlPro
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Icedove/31.7.0
MIME-Version: 1.0
To: Thomas Gazagnaire <thomas@gazagnaire.org>
References: <8AB0B900-51E7-4E30-BB78-3250C26DA40A@cam.ac.uk>
	<5595364C.5090402@mehnert.org>
	<9D234CD1-256C-4CF1-8498-3EA026DBA402@recoil.org>
	<5596CE76.6030001@ocamlpro.com>
	<91763927-2C91-48F6-BC81-A77A03B518A6@gazagnaire.org>
	<50267CAD-F9F2-465B-83DA-EAE893138E8F@gazagnaire.org>
In-Reply-To: <50267CAD-F9F2-465B-83DA-EAE893138E8F@gazagnaire.org>
Cc: mirageos-devel@lists.xenproject.org, Anil Madhavapeddy <anil@recoil.org>
Subject: Re: [MirageOS-devel] =?windows-1252?q?Mirage_and_pi=F1ata_numbers?=
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 05/07/2015 16:00, Thomas Gazagnaire wrote:
>>> Someone pointed me to this discution.
>>>
>>> I have some prototype to eliminate dead code at link time. This is far
>>> from ready yet (some segfault happens), but this already prove to
>>> provide interesting improvements.
>>> The prototype is there:
>>> https://github.com/chambart/ocaml-1/tree/flambda+function_section
>>>
>>> With that I managed to get a hello world of ~40kB
>> That's seems great! I have created https://github.com/ocaml/opam-repository/pull/4383 to be able to test it a bit more easily. I suspect some libraries will not work fine with 4.03 so it will be difficult to test mirage-www with the compiler, but I'll try anyway.
> Right, not a great success so far: the compilation is broken on OSX and I got segfaults when compiling camlp4, cmdliner and cppo on x86 :-) 
>
> Is there anything more useful to report to help you fix the issues? and where should I report such issues? the bug tracker on your fork is not available.
>
> Best,
> Thomas
Don't bother reporting that yet. I have plenty of segfaulting examples.
I don't have time to work on that yet, so don't really consider it for
testing.
This was really a proof of concept to show that it is doable with OCaml
(which
was far from obvious when I started hacking). Currently this rely on
gnu-(as/ld)
specific behaviours and wasn't tested at all on anything else than my debian
laptop. If you want to spend some time to track the bug. It is probably
related
to the change in the frame-descriptors representation or to the changes of
https://github.com/ocaml/ocaml/pull/177 (also included in the branch).

By the way if you are interested, one of the remaining questions is how
to do
that in a compatible way. The main difficulty being the representation
of frame
descriptors: to be able to reference them, yet not force them alive in
the binary
and have them alive if and only if the function they reference is alive.
to do that
I use a combination of trick: every frame descriptor and function is in
its own
section, the functions and associated frame descriptors sections are in
the same
section group and I add a symbol before the frame descriptor sections and
another one after (that are not in the same sections as the frame
descriptors).

The part that is probably not portable are:
* section groups is probably a (almost undocumented...) feature of
gnu-(as/ld)
  (I didn't verify that it exists elsewhere).
* -gc-sections option may be a gnu-ld only feature
* I rely on the order in which section ends up in the binary. There is a
way to
  enforce that with gnu-ld (per object file linker scripts), but i'm not
certain it
  exists elsewhere (and gnu-ld seems not to handle it on windows either).

If you happen to know how this works outside the gnu world this would
simplify
my (future) search.

-- 
Pierre

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 06 16:06:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 06 Jul 2015 16:06:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZC8ul-0006tJ-NE; Mon, 06 Jul 2015 16:06:39 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZC8uk-0006si-8D
	for mirageos-devel@lists.xenproject.org; Mon, 06 Jul 2015 16:06:38 +0000
Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id
	70/A7-02952-887AA955; Mon, 06 Jul 2015 16:06:32 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-31.messagelabs.com!1436198790!23007677!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=MAILTO_TO_SPAM_ADDR,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5756 invoked from network); 6 Jul 2015 16:06:30 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 6 Jul 2015 16:06:30 -0000
Received: from [172.20.1.102] (89-24-97-6.tmcz.cz [89.24.97.6]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 5b25bb72;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 6 Jul 2015 17:06:29 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
Date: Mon, 6 Jul 2015 18:06:27 +0200
Message-Id: <D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
References: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>
	<43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
X-Mailer: Apple Mail (2.2098)
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 1st at
	4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

VGhlIGNhbGwgbm90ZXMgYXJlIGJlbG93LCBhbmQgc2hvdWxkIGJlIG9uIHRoZSB3ZWJzaXRlIGlu
IDMwIG1pbnV0ZXMgb3Igc28uCkkgYWxz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fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRl
dmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRw
Oi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9z
LWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 06 16:06:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 06 Jul 2015 16:06:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZC8ul-0006tJ-NE; Mon, 06 Jul 2015 16:06:39 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZC8uk-0006si-8D
	for mirageos-devel@lists.xenproject.org; Mon, 06 Jul 2015 16:06:38 +0000
Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id
	70/A7-02952-887AA955; Mon, 06 Jul 2015 16:06:32 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-31.messagelabs.com!1436198790!23007677!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=MAILTO_TO_SPAM_ADDR,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5756 invoked from network); 6 Jul 2015 16:06:30 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 6 Jul 2015 16:06:30 -0000
Received: from [172.20.1.102] (89-24-97-6.tmcz.cz [89.24.97.6]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 5b25bb72;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 6 Jul 2015 17:06:29 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
Date: Mon, 6 Jul 2015 18:06:27 +0200
Message-Id: <D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
References: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>
	<43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
X-Mailer: Apple Mail (2.2098)
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 1st at
	4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

VGhlIGNhbGwgbm90ZXMgYXJlIGJlbG93LCBhbmQgc2hvdWxkIGJlIG9uIHRoZSB3ZWJzaXRlIGlu
IDMwIG1pbnV0ZXMgb3Igc28uCkkgYWxzbyB0b29rIHRoZSBv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fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRl
dmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRw
Oi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9z
LWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 06 19:26:26 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 06 Jul 2015 19:26:26 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCC1w-0002pA-D6; Mon, 06 Jul 2015 19:26:16 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZCC1u-0002p5-8X
	for mirageos-devel@lists.xenproject.org; Mon, 06 Jul 2015 19:26:14 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	DA/04-32406-556DA955; Mon, 06 Jul 2015 19:26:13 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1436210772!20743415!1
X-Originating-IP: [74.125.82.42]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3758 invoked from network); 6 Jul 2015 19:26:12 -0000
Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com)
	(74.125.82.42)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	6 Jul 2015 19:26:12 -0000
Received: by wgqq4 with SMTP id q4so149160952wgq.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 06 Jul 2015 12:26:12 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=1n2bHZTgHRTqH/2IF/s2DeVEa8tHMD77m5KITE6lc6Y=;
	b=BwTVyAvofx1U7YyI5yYcTEu/BoyyDwScbIWtb4RyPvvfDFIgugB1gecJQUnS+5r4Am
	yHxonAX2daqrVjup9Ynfxz/aoCRWzQSpVUHe2dlb6BVH++A4L5LzmqBOqnMZQafsGAA1
	t4n6W3h4MZfi4QoVB4uLYXMbzVY85qpVW74Uw5hopsJi07Pqx/9oyPG49vLCBfpJM4JB
	znA1lmX8Vu7gsImfLZmQNBXWwe9d5PkrxJSalQTtG5bErQUQC2qhx/3CJPskqD98ZJbJ
	147L68VlMFIS8HWQ4yvy+tgqoP2Wglcw3L+sK5POHqVS5i2vwchYawu435kZnqmWClXH
	SJ6A==
X-Received: by 10.180.73.145 with SMTP id l17mr58018728wiv.39.1436210772511;
	Mon, 06 Jul 2015 12:26:12 -0700 (PDT)
Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com.
	[209.85.212.169])
	by mx.google.com with ESMTPSA id ha4sm48743393wib.0.2015.07.06.12.26.10
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Mon, 06 Jul 2015 12:26:12 -0700 (PDT)
Received: by wifm2 with SMTP id m2so39156060wif.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 06 Jul 2015 12:26:10 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.178.225 with SMTP id db1mr804123wjc.153.1436210770766;
	Mon, 06 Jul 2015 12:26:10 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Mon, 6 Jul 2015 12:26:10 -0700 (PDT)
In-Reply-To: <D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
References: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>
	<43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
	<D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
Date: Mon, 6 Jul 2015 20:26:10 +0100
Message-ID: <CAN2Hq04rj=+f6h+kYupcL2aSJCS61BZiDFzKgqjNOui77suA_w@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 1st at
	4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 6 July 2015 at 17:06, Anil Madhavapeddy <anil@recoil.org> wrote:
> The call notes are below, and should be on the website in 30 minutes or so.
> I also took the opportunity to write up Dave Scott's email notes about
> how to use coveralls.io -- I'll be trying them shortly myself for some of
> the webstack.
...
> #### Mirage 2.5 release
>
...
> - Do not release on a Friday afternoon and then go to the pub (or in the case of
>   ThomasG, a wedding)

(Though it is traditional SRG behaviour to do just that, preferably
going on holiday for several weeks, back at least to Nemesis days ;)

...
> *ThomasG:* Mirage is a set of libraries that work together and a frontend tool that glues
> them together.  Its fine to release libraries as a batch since we have OPAM, but what we
> didnt manage well is evolving the API of the Mirage DSL itself which glues it all together
> (Anil: this is referring to the `config.ml` API).
> *Mort:* the Mirage DSL eis an implicit collation of a bunch of library versions and it is
> hard to track since its not captured in OPAM.
> *ThomasG:* we can fix this by adding conflicts in the OPAM metadata.

DIdn't we agree that adding piles of upper-bound constraints wasn't
desirable though?

> *ThomasL:* a number of Mirage packages have gone upstream into the OPAM package
> repository and their unit tests fails. More testing on OPAM import is needed to
> prevent dependent packages from breaking their unit tests due to an import of a
> dependency.  *DavidS:* we only test the package version we are importing and so
> we only test for one solution. Further changes will break upstream. We dont do
> reverse dependencies for OPAM dependency tests.
> *Anil*: The OPAM maintainers (several of whom are on this call) are aware of the
> issue and are working on improving testing reverse dependencies on new package import.
>
> *Mort/DavidS*: the Mirage libraries should use the [ocaml-travis-ci-skeleton](https://github.com/ocaml/ocaml-travisci-skeleton) so that they take advantage of the improvements in reverse depenedency testing.
> *Mort*: we need to figure out how to get around the Travis 50 minute limit.

Specifically -- I was proposing that CI testing should be CI testing
(not simply "does it still build" testing), by building some of the
depends-on packages against the newly built library in question.
DavidS noted that REVDEPS (IIRC) is already a supported variable for
the ocaml-travisci-skeleton scripts and needn't be set to "*" as it
often currently is, but could be set to a few chosen reverse
dependencies to at least try and avoid (or detect anyway) major
downstream breakage.

Ie., I think that with a few minor additions to relevant .travis.yml
files, this bit of the situation can probably be improved immediately.
(I have the impression that many Mirage libraries already use the
skeleton scripts.)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 06 19:26:26 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 06 Jul 2015 19:26:26 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCC1w-0002pA-D6; Mon, 06 Jul 2015 19:26:16 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZCC1u-0002p5-8X
	for mirageos-devel@lists.xenproject.org; Mon, 06 Jul 2015 19:26:14 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	DA/04-32406-556DA955; Mon, 06 Jul 2015 19:26:13 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1436210772!20743415!1
X-Originating-IP: [74.125.82.42]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3758 invoked from network); 6 Jul 2015 19:26:12 -0000
Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com)
	(74.125.82.42)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	6 Jul 2015 19:26:12 -0000
Received: by wgqq4 with SMTP id q4so149160952wgq.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 06 Jul 2015 12:26:12 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=1n2bHZTgHRTqH/2IF/s2DeVEa8tHMD77m5KITE6lc6Y=;
	b=BwTVyAvofx1U7YyI5yYcTEu/BoyyDwScbIWtb4RyPvvfDFIgugB1gecJQUnS+5r4Am
	yHxonAX2daqrVjup9Ynfxz/aoCRWzQSpVUHe2dlb6BVH++A4L5LzmqBOqnMZQafsGAA1
	t4n6W3h4MZfi4QoVB4uLYXMbzVY85qpVW74Uw5hopsJi07Pqx/9oyPG49vLCBfpJM4JB
	znA1lmX8Vu7gsImfLZmQNBXWwe9d5PkrxJSalQTtG5bErQUQC2qhx/3CJPskqD98ZJbJ
	147L68VlMFIS8HWQ4yvy+tgqoP2Wglcw3L+sK5POHqVS5i2vwchYawu435kZnqmWClXH
	SJ6A==
X-Received: by 10.180.73.145 with SMTP id l17mr58018728wiv.39.1436210772511;
	Mon, 06 Jul 2015 12:26:12 -0700 (PDT)
Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com.
	[209.85.212.169])
	by mx.google.com with ESMTPSA id ha4sm48743393wib.0.2015.07.06.12.26.10
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Mon, 06 Jul 2015 12:26:12 -0700 (PDT)
Received: by wifm2 with SMTP id m2so39156060wif.1
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 06 Jul 2015 12:26:10 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.178.225 with SMTP id db1mr804123wjc.153.1436210770766;
	Mon, 06 Jul 2015 12:26:10 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Mon, 6 Jul 2015 12:26:10 -0700 (PDT)
In-Reply-To: <D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
References: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>
	<43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
	<D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
Date: Mon, 6 Jul 2015 20:26:10 +0100
Message-ID: <CAN2Hq04rj=+f6h+kYupcL2aSJCS61BZiDFzKgqjNOui77suA_w@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 1st at
	4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 6 July 2015 at 17:06, Anil Madhavapeddy <anil@recoil.org> wrote:
> The call notes are below, and should be on the website in 30 minutes or so.
> I also took the opportunity to write up Dave Scott's email notes about
> how to use coveralls.io -- I'll be trying them shortly myself for some of
> the webstack.
...
> #### Mirage 2.5 release
>
...
> - Do not release on a Friday afternoon and then go to the pub (or in the case of
>   ThomasG, a wedding)

(Though it is traditional SRG behaviour to do just that, preferably
going on holiday for several weeks, back at least to Nemesis days ;)

...
> *ThomasG:* Mirage is a set of libraries that work together and a frontend tool that glues
> them together.  Its fine to release libraries as a batch since we have OPAM, but what we
> didnt manage well is evolving the API of the Mirage DSL itself which glues it all together
> (Anil: this is referring to the `config.ml` API).
> *Mort:* the Mirage DSL eis an implicit collation of a bunch of library versions and it is
> hard to track since its not captured in OPAM.
> *ThomasG:* we can fix this by adding conflicts in the OPAM metadata.

DIdn't we agree that adding piles of upper-bound constraints wasn't
desirable though?

> *ThomasL:* a number of Mirage packages have gone upstream into the OPAM package
> repository and their unit tests fails. More testing on OPAM import is needed to
> prevent dependent packages from breaking their unit tests due to an import of a
> dependency.  *DavidS:* we only test the package version we are importing and so
> we only test for one solution. Further changes will break upstream. We dont do
> reverse dependencies for OPAM dependency tests.
> *Anil*: The OPAM maintainers (several of whom are on this call) are aware of the
> issue and are working on improving testing reverse dependencies on new package import.
>
> *Mort/DavidS*: the Mirage libraries should use the [ocaml-travis-ci-skeleton](https://github.com/ocaml/ocaml-travisci-skeleton) so that they take advantage of the improvements in reverse depenedency testing.
> *Mort*: we need to figure out how to get around the Travis 50 minute limit.

Specifically -- I was proposing that CI testing should be CI testing
(not simply "does it still build" testing), by building some of the
depends-on packages against the newly built library in question.
DavidS noted that REVDEPS (IIRC) is already a supported variable for
the ocaml-travisci-skeleton scripts and needn't be set to "*" as it
often currently is, but could be set to a few chosen reverse
dependencies to at least try and avoid (or detect anyway) major
downstream breakage.

Ie., I think that with a few minor additions to relevant .travis.yml
files, this bit of the situation can probably be improved immediately.
(I have the impression that many Mirage libraries already use the
skeleton scripts.)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 07 10:26:49 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 07 Jul 2015 10:26:49 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCQ5K-0001hR-Cs; Tue, 07 Jul 2015 10:26:42 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1ZCQ5J-0001hC-43
	for mirageos-devel@lists.xenproject.org; Tue, 07 Jul 2015 10:26:41 +0000
Received: from [85.158.139.211] by server-13.bemta-5.messagelabs.com id
	46/65-19853-069AB955; Tue, 07 Jul 2015 10:26:40 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-13.tower-206.messagelabs.com!1436264799!19452903!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=SUBJECT_RANDOMQ
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22542 invoked from network); 7 Jul 2015 10:26:40 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-13.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 7 Jul 2015 10:26:40 -0000
Received: from [128.232.110.147] (c147.al.cl.cam.ac.uk [128.232.110.147])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id 7A2AE3E8E
	for <mirageos-devel@lists.xenproject.org>;
	Tue,  7 Jul 2015 12:26:38 +0200 (CEST)
Message-ID: <559BA93E.2010004@mehnert.org>
Date: Tue, 07 Jul 2015 11:26:06 +0100
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Content-Length: 2063
Subject: [MirageOS-devel] nqsb-TLS
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQpIYXNoOiBTSEEzODQKCkhlbGxvLAoK
aW4gYWRkaXRpb24gdG8gdmFyaW91cyBibG9nIGVudHJpZXMgb24gaHR0cHM6Ly9taXJhZ2UuaW8s
IHdlJ3ZlIGJlZW4KZmluaXNoaW5nIHVwIHRoZSBjYW1lcmEtcmVhZHkgdmVyc2lvbiBvZiBvdXIg
VXNlbml4IFNlY3VyaXR5IDIwMTUgcGFwZXI6CgpOb3QtcXVpdGUtc28tYnJva2VuIFRMUzogbGVz
c29ucyBpbiByZS1lbmdpbmVlcmluZyBhIHNlY3VyaXR5IHByb3RvY29sCnNwZWNpZmljYXRpb24g
YW5kIGltcGxlbWVudGF0aW9uIChEYXZpZCBLYWxvcGVyLU1lcsWhaW5qYWskLCBIYW5uZXMKTWVo
bmVydCwgQW5pbCBNYWRoYXZhcGVkZHkgYW5kIFBldGVyIFNld2VsbCkKCkl0IGlzIGF2YWlsYWJs
ZSBmcm9tIGh0dHBzOi8vbnFzYi5pbyAoZ3Vlc3Mgd2hhdCAtLSB1c2luZyBhIE1pcmFnZU9TCnVu
aWtlcm5lbCBhbmQgb3VyIFRMUyBzdGFjaykKCgpmZWVkYmFjayBhbmQgcXVlc3Rpb25zIHdlbGNv
bWUsCgpoYW5uZXMKLS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcg
djIKCmlRSWNCQUVCQ1FBR0JRSlZtNmsrQUFvSkVMeUpaWWpmZkNqdThIUVFBTEJIWlB5L3ByS0RV
L0g1YmhONXFSNUsKaFp2WjlBVTFxZktmRmhtWG5OaXBxSHMxR0VyTFdOSVJZQ1pJdzk3d2N4UkF4
ckkzUi9NbDZyN1RmSDNVL3BGeApodmR0TlZyeWZNazlxNG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FuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 07 10:26:49 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 07 Jul 2015 10:26:49 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCQ5K-0001hR-Cs; Tue, 07 Jul 2015 10:26:42 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1ZCQ5J-0001hC-43
	for mirageos-devel@lists.xenproject.org; Tue, 07 Jul 2015 10:26:41 +0000
Received: from [85.158.139.211] by server-13.bemta-5.messagelabs.com id
	46/65-19853-069AB955; Tue, 07 Jul 2015 10:26:40 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-13.tower-206.messagelabs.com!1436264799!19452903!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=SUBJECT_RANDOMQ
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22542 invoked from network); 7 Jul 2015 10:26:40 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-13.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 7 Jul 2015 10:26:40 -0000
Received: from [128.232.110.147] (c147.al.cl.cam.ac.uk [128.232.110.147])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id 7A2AE3E8E
	for <mirageos-devel@lists.xenproject.org>;
	Tue,  7 Jul 2015 12:26:38 +0200 (CEST)
Message-ID: <559BA93E.2010004@mehnert.org>
Date: Tue, 07 Jul 2015 11:26:06 +0100
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Content-Length: 2063
Subject: [MirageOS-devel] nqsb-TLS
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQpIYXNoOiBTSEEzODQKCkhlbGxvLAoK
aW4gYWRkaXRpb24gdG8gdmFyaW91cyBibG9nIGVudHJpZXMgb24gaHR0cHM6Ly9taXJhZ2UuaW8s
IHdlJ3ZlIGJlZW4KZmluaXNoaW5nIHVwIHRoZSBjYW1lcmEtcmVhZHkgdmVyc2lvbiBvZiBvdXIg
VXNlbml4IFNlY3VyaXR5IDIwMTUgcGFwZXI6CgpOb3QtcXVpdGUtc28tYnJva2VuIFRMUzogbGVz
c29ucyBpbiByZS1lbmdpbmVlcmluZyBhIHNlY3VyaXR5IHByb3RvY29sCnNwZWNpZmljYXRpb24g
YW5kIGltcGxlbWVudGF0a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KZWRROGkxVk1G
VnNmNk8zWHBXSQpBSTBzYnQrOVZLMDZUdERWU0RtdXhtQ0VmRFIwYU5QL3RTNDNOcFR6V1VQaUpQ
cW93WktNYTlYc0xINEdMMVhoClZBSnFQRHRNMTZSdG9YMlU0akVEQkZtMEVuY2p5ZVIyYjFtQmpw
VnRKRXZGK3M4ZjJkRkhsNEVIOGVrZmZlVkMKNFlIaUxCZDhmaTFxQ3V4MDVsdUZjbFNDSjhSVU1W
NnkvYkN5YzJSVXhJdi92S2ZYZGd2Zjc1aU9sd3VEdkozYQo1KzBNMnpEM1NRQUpsM1p4OTFVSQo9
Z2JUbwotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0KCl9fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJh
Z2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5v
cmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 07 12:57:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 07 Jul 2015 12:57:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCSRL-00046a-1O; Tue, 07 Jul 2015 12:57:35 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZCSRJ-00046H-60
	for mirageos-devel@lists.xenproject.org; Tue, 07 Jul 2015 12:57:33 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	82/CA-23832-CBCCB955; Tue, 07 Jul 2015 12:57:32 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-15.tower-31.messagelabs.com!1436273851!23328395!1
X-Originating-IP: [131.111.8.151]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE1MSA9PiAxNDE4OTU=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6747 invoked from network); 7 Jul 2015 12:57:31 -0000
Received: from ppsw-51.csi.cam.ac.uk (HELO ppsw-51.csi.cam.ac.uk)
	(131.111.8.151)
	by server-15.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 7 Jul 2015 12:57:31 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from cpc17-cmbg14-2-0-cust360.5-4.cable.virginm.net
	([86.6.155.105]:55918 helo=[192.168.0.8])
	by ppsw-51.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:25)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZCSRH-0007HZ-XN (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Tue, 07 Jul 2015 13:57:31 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <48F6716D-0AE4-466F-814D-293DCDA10577@cam.ac.uk>
Date: Tue, 7 Jul 2015 13:57:30 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Easy HTTPS Unikernels with mirage-seal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8303877812071780972=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============8303877812071780972==
Content-Type: multipart/alternative; boundary="Apple-Mail=_9BBEC53A-A4B6-43FD-8127-08F0D4ABDB9D"


--Apple-Mail=_9BBEC53A-A4B6-43FD-8127-08F0D4ABDB9D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi folks,

We=E2=80=99ve just pushed a new post live that describes how to create =
secure unikernels using mirage-seal.  It also includes instructions for =
how to get (and sign) certificates, which is typically one of the more =
laborious tasks.

Please do try it out and let us know how you get on!

https://mirage.io/blog/mirage-seal <https://mirage.io/blog/mirage-seal>

Best wishes,
Amir=

--Apple-Mail=_9BBEC53A-A4B6-43FD-8127-08F0D4ABDB9D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div class=3D"">Hi folks,</div><div class=3D""><br =
class=3D""></div><div class=3D"">We=E2=80=99ve just pushed a new post =
live that describes how to create secure unikernels using mirage-seal. =
&nbsp;It also includes instructions for how to get (and sign) =
certificates, which is typically one of the more laborious =
tasks.</div><div class=3D""><br class=3D""></div><div class=3D"">Please =
do try it out and let us know how you get on!</div><div class=3D""><br =
class=3D""></div><div class=3D""><a =
href=3D"https://mirage.io/blog/mirage-seal" =
class=3D"">https://mirage.io/blog/mirage-seal</a><br class=3D""><br =
class=3D"">Best wishes,<div class=3D"">Amir</div></div></body></html>=

--Apple-Mail=_9BBEC53A-A4B6-43FD-8127-08F0D4ABDB9D--


--===============8303877812071780972==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8303877812071780972==--


From mirageos-devel-bounces@lists.xenproject.org Tue Jul 07 12:57:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 07 Jul 2015 12:57:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCSRL-00046a-1O; Tue, 07 Jul 2015 12:57:35 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZCSRJ-00046H-60
	for mirageos-devel@lists.xenproject.org; Tue, 07 Jul 2015 12:57:33 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	82/CA-23832-CBCCB955; Tue, 07 Jul 2015 12:57:32 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-15.tower-31.messagelabs.com!1436273851!23328395!1
X-Originating-IP: [131.111.8.151]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE1MSA9PiAxNDE4OTU=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6747 invoked from network); 7 Jul 2015 12:57:31 -0000
Received: from ppsw-51.csi.cam.ac.uk (HELO ppsw-51.csi.cam.ac.uk)
	(131.111.8.151)
	by server-15.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 7 Jul 2015 12:57:31 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from cpc17-cmbg14-2-0-cust360.5-4.cable.virginm.net
	([86.6.155.105]:55918 helo=[192.168.0.8])
	by ppsw-51.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:25)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZCSRH-0007HZ-XN (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Tue, 07 Jul 2015 13:57:31 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <48F6716D-0AE4-466F-814D-293DCDA10577@cam.ac.uk>
Date: Tue, 7 Jul 2015 13:57:30 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] Easy HTTPS Unikernels with mirage-seal
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8303877812071780972=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============8303877812071780972==
Content-Type: multipart/alternative; boundary="Apple-Mail=_9BBEC53A-A4B6-43FD-8127-08F0D4ABDB9D"


--Apple-Mail=_9BBEC53A-A4B6-43FD-8127-08F0D4ABDB9D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi folks,

We=E2=80=99ve just pushed a new post live that describes how to create =
secure unikernels using mirage-seal.  It also includes instructions for =
how to get (and sign) certificates, which is typically one of the more =
laborious tasks.

Please do try it out and let us know how you get on!

https://mirage.io/blog/mirage-seal <https://mirage.io/blog/mirage-seal>

Best wishes,
Amir=

--Apple-Mail=_9BBEC53A-A4B6-43FD-8127-08F0D4ABDB9D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div class=3D"">Hi folks,</div><div class=3D""><br =
class=3D""></div><div class=3D"">We=E2=80=99ve just pushed a new post =
live that describes how to create secure unikernels using mirage-seal. =
&nbsp;It also includes instructions for how to get (and sign) =
certificates, which is typically one of the more laborious =
tasks.</div><div class=3D""><br class=3D""></div><div class=3D"">Please =
do try it out and let us know how you get on!</div><div class=3D""><br =
class=3D""></div><div class=3D""><a =
href=3D"https://mirage.io/blog/mirage-seal" =
class=3D"">https://mirage.io/blog/mirage-seal</a><br class=3D""><br =
class=3D"">Best wishes,<div class=3D"">Amir</div></div></body></html>=

--Apple-Mail=_9BBEC53A-A4B6-43FD-8127-08F0D4ABDB9D--


--===============8303877812071780972==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8303877812071780972==--


From mirageos-devel-bounces@lists.xenproject.org Tue Jul 07 16:03:39 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 07 Jul 2015 16:03:39 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCVLH-00031y-DV; Tue, 07 Jul 2015 16:03:31 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZCVLG-00031W-9q
	for mirageos-devel@lists.xenproject.org; Tue, 07 Jul 2015 16:03:30 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	9F/D4-32406-158FB955; Tue, 07 Jul 2015 16:03:29 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-7.tower-31.messagelabs.com!1436285008!23536876!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP, SUBJECT_RANDOMQ
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24145 invoked from network); 7 Jul 2015 16:03:28 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-7.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 7 Jul 2015 16:03:28 -0000
Received: from [192.168.1.75] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 00963063;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 7 Jul 2015 17:03:27 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <559BA93E.2010004@mehnert.org>
Date: Tue, 7 Jul 2015 18:03:20 +0200
Message-Id: <7157C719-F062-4096-9260-B13971464584@recoil.org>
References: <559BA93E.2010004@mehnert.org>
To: Hannes Mehnert <hannes@mehnert.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] nqsb-TLS
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gNyBKdWwgMjAxNSwgYXQgMTI6MjYsIEhhbm5lcyBNZWhuZXJ0IDxoYW5uZXNAbWVobmVydC5v
cmc+IHdyb3RlOgo+IAo+IC0tLS0tQkVHSU4gUEdQIFNJR05FRCBNRVNTQUdFLS0tLS0KPiBIYXNo
OiBTSEEzODQKPiAKPiBIZWxsbywKPiAKPiBpbiBhZGRpdGlvbiB0byB2YXJpb3VzIGJsb2cgZW50
cmllcyBvbiBodHRwczovL21pcmFnZS5pbywgd2UndmUgYmVlbgo+IGZpbmlzaGluZyB1cCB0aGUg
Y2FtZXJhLXJlYWR5IHZlcnNpb24gb2Ygb3VyIFVzZW5peCBTZWN1cml0eSAyMDE1IHBhcGVyOgo+
IAo+IE5vdC1xdWl0ZS1zby1icm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:03:39 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 07 Jul 2015 16:03:39 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCVLH-00031y-DV; Tue, 07 Jul 2015 16:03:31 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZCVLG-00031W-9q
	for mirageos-devel@lists.xenproject.org; Tue, 07 Jul 2015 16:03:30 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	9F/D4-32406-158FB955; Tue, 07 Jul 2015 16:03:29 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-7.tower-31.messagelabs.com!1436285008!23536876!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP, SUBJECT_RANDOMQ
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24145 invoked from network); 7 Jul 2015 16:03:28 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-7.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 7 Jul 2015 16:03:28 -0000
Received: from [192.168.1.75] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 00963063;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 7 Jul 2015 17:03:27 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <559BA93E.2010004@mehnert.org>
Date: Tue, 7 Jul 2015 18:03:20 +0200
Message-Id: <7157C719-F062-4096-9260-B13971464584@recoil.org>
References: <559BA93E.2010004@mehnert.org>
To: Hannes Mehnert <hannes@mehnert.org>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] nqsb-TLS
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gNyBKdWwgMjAxNSwgYXQgMTI6MjYsIEhhbm5lcyBNZWhuZXJ0IDxoYW5uZXNAbWVobmVydC5v
cmc+IHdyb3RlOgo+IAo+IC0tLS0tQkVHSU4gUEdQIFNJR05FRCBNRVNTQUdFLS0tLS0KPiBIYXNo
OiBTSEEzODQKPiAKPiBIZWxsbywKPiAKPiBpbiBhZGRpdGlvbiB0byB2YXJpb3VzIGJsb2cgZW50
cmllcyBvbiBodHRwczovL21pcmFnZS5pbywgd2UndmUgYmVlbgo+IGZpbmlzaGluZyB1cCB0aGUg
Y2FtZXJhLXJlYWR5IHZlcnNpb24gb2Ygb3VyIFVzZW5peCBTZWN1cml0eSAyMDE1IHBhcGVyOgo+
IAo+IE5vdC1xdWl0ZS1zby1icm9rZW4gVExTOiBsZXNzb25zIGluIHJlLWVuZ2luZWVyaW5nIGEg
c2VjdXJpdHkgcHJvdG9jb2wKPiBzcGVjaWZpY2F0aW9uIGFuZCBpbXBsZW1lbnRhdGlvbiAoRGF2
aWQgS2Fsb3Blci1NZXLFoWluamFrJCwgSGFubmVzCj4gTWVobmVydCwgQW5pbCBNYWRoYXZhcGVk
ZHkgYW5kIFBldGVyIFNld2VsbCkKPiAKPiBJdCBpcyBhdmFpbGFibGUgZnJvbSBodHRwczovL25x
c2IuaW8gKGd1ZXNzIHdoYXQgLS0gdXNpbmcgYSBNaXJhZ2VPUwo+IHVuaWtlcm5lbCBhbmQgb3Vy
IFRMUyBzdGFjaykKCkkgaG9wZSBJJ20gbm90IHN0ZWFsaW5nIEx1a2UncyB0aHVuZGVyLCBidXQg
aGlzICJyZXF0cmFjZSIgdG9vbCBsb29rcwpleHRyZW1lbHkgY29vbCBmb3IgbWFwcGluZyB0aGUg
dmFyaW91cyBUTFMgUkZDcyB0byB0aGUgbnFzYiBzb3VyY2UKY29kZToKCiAgICBodHRwczovL2dp
dGh1Yi5jb20vaW5maWRlbC9yZXF0cmFjZQoKSXQgdXNlcyBzb3VyY2UgYXR0cmlidXRlcyB0byBt
YXAgY29kZSB0byBSRkMgbG9jYXRpb25zLCBzdWNoIGFzOgoKICAgIGxldCBfID0KICAgICAgaGVs
bG8gKHNvbWV0aGluZyAxKSBbQHJlZiAocmZjIDk5OTkpICJzMTgiXQoKLWFuaWwKX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFp
bGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0
cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 07 18:23:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 07 Jul 2015 18:23:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCXW7-0004SX-BW; Tue, 07 Jul 2015 18:22:51 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZCXW6-0004SJ-7c
	for mirageos-devel@lists.xenproject.org; Tue, 07 Jul 2015 18:22:50 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	3D/F4-18947-9F81C955; Tue, 07 Jul 2015 18:22:49 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-27.messagelabs.com!1436293368!30104459!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG, RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16060 invoked from network); 7 Jul 2015 18:22:48 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 7 Jul 2015 18:22:48 -0000
Received: from [192.168.1.75] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 7ff9056b;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 7 Jul 2015 19:22:48 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAN2Hq04rj=+f6h+kYupcL2aSJCS61BZiDFzKgqjNOui77suA_w@mail.gmail.com>
Date: Tue, 7 Jul 2015 19:22:46 +0100
Message-Id: <20A84A35-44E9-448F-9004-78B259EFB0AB@recoil.org>
References: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>
	<43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
	<D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
	<CAN2Hq04rj=+f6h+kYupcL2aSJCS61BZiDFzKgqjNOui77suA_w@mail.gmail.com>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 1st at
	4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 6 Jul 2015, at 20:26, Richard Mortier <richard.mortier@cl.cam.ac.uk> wrote:
>> *ThomasG:* Mirage is a set of libraries that work together and a frontend tool that glues
>> them together.  Its fine to release libraries as a batch since we have OPAM, but what we
>> didnt manage well is evolving the API of the Mirage DSL itself which glues it all together
>> (Anil: this is referring to the `config.ml` API).
>> *Mort:* the Mirage DSL eis an implicit collation of a bunch of library versions and it is
>> hard to track since its not captured in OPAM.
>> *ThomasG:* we can fix this by adding conflicts in the OPAM metadata.
> 
> DIdn't we agree that adding piles of upper-bound constraints wasn't
> desirable though?

Piles of upper bounds constraints are fine when a new version of a
package is released, since it's then a valid upper bound.  The issue
was to do with having upper bounds by default, which make it very
hard to pin development versions of packages.  Default upper bounds
are also pessimal: right now, the common case is that a new package
release doesn't break the interface (and we add an upper bound when it
does break).

> 
> Specifically -- I was proposing that CI testing should be CI testing
> (not simply "does it still build" testing), by building some of the
> depends-on packages against the newly built library in question.
> DavidS noted that REVDEPS (IIRC) is already a supported variable for
> the ocaml-travisci-skeleton scripts and needn't be set to "*" as it
> often currently is, but could be set to a few chosen reverse
> dependencies to at least try and avoid (or detect anyway) major
> downstream breakage.
> 
> Ie., I think that with a few minor additions to relevant .travis.yml
> files, this bit of the situation can probably be improved immediately.
> (I have the impression that many Mirage libraries already use the
> skeleton scripts.)

What specific additions do you have in mind?  Please do file issues
on the ocaml-travis-ci-skeleton repo with any ideas.

More importantly, it's worth sweeping through older libraries that
haven't been updated in a while and making sure they all use the
skeleton scripts.  I've done this for around 20 or so libraries
in recent months, so it's generally better.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 07 18:23:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 07 Jul 2015 18:23:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCXW7-0004SX-BW; Tue, 07 Jul 2015 18:22:51 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZCXW6-0004SJ-7c
	for mirageos-devel@lists.xenproject.org; Tue, 07 Jul 2015 18:22:50 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	3D/F4-18947-9F81C955; Tue, 07 Jul 2015 18:22:49 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-27.messagelabs.com!1436293368!30104459!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_RANDOM_LONG, RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16060 invoked from network); 7 Jul 2015 18:22:48 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 7 Jul 2015 18:22:48 -0000
Received: from [192.168.1.75] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 7ff9056b;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Tue, 7 Jul 2015 19:22:48 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAN2Hq04rj=+f6h+kYupcL2aSJCS61BZiDFzKgqjNOui77suA_w@mail.gmail.com>
Date: Tue, 7 Jul 2015 19:22:46 +0100
Message-Id: <20A84A35-44E9-448F-9004-78B259EFB0AB@recoil.org>
References: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>
	<43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
	<D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
	<CAN2Hq04rj=+f6h+kYupcL2aSJCS61BZiDFzKgqjNOui77suA_w@mail.gmail.com>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 1st at
	4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 6 Jul 2015, at 20:26, Richard Mortier <richard.mortier@cl.cam.ac.uk> wrote:
>> *ThomasG:* Mirage is a set of libraries that work together and a frontend tool that glues
>> them together.  Its fine to release libraries as a batch since we have OPAM, but what we
>> didnt manage well is evolving the API of the Mirage DSL itself which glues it all together
>> (Anil: this is referring to the `config.ml` API).
>> *Mort:* the Mirage DSL eis an implicit collation of a bunch of library versions and it is
>> hard to track since its not captured in OPAM.
>> *ThomasG:* we can fix this by adding conflicts in the OPAM metadata.
> 
> DIdn't we agree that adding piles of upper-bound constraints wasn't
> desirable though?

Piles of upper bounds constraints are fine when a new version of a
package is released, since it's then a valid upper bound.  The issue
was to do with having upper bounds by default, which make it very
hard to pin development versions of packages.  Default upper bounds
are also pessimal: right now, the common case is that a new package
release doesn't break the interface (and we add an upper bound when it
does break).

> 
> Specifically -- I was proposing that CI testing should be CI testing
> (not simply "does it still build" testing), by building some of the
> depends-on packages against the newly built library in question.
> DavidS noted that REVDEPS (IIRC) is already a supported variable for
> the ocaml-travisci-skeleton scripts and needn't be set to "*" as it
> often currently is, but could be set to a few chosen reverse
> dependencies to at least try and avoid (or detect anyway) major
> downstream breakage.
> 
> Ie., I think that with a few minor additions to relevant .travis.yml
> files, this bit of the situation can probably be improved immediately.
> (I have the impression that many Mirage libraries already use the
> skeleton scripts.)

What specific additions do you have in mind?  Please do file issues
on the ocaml-travis-ci-skeleton repo with any ideas.

More importantly, it's worth sweeping through older libraries that
haven't been updated in a while and making sure they all use the
skeleton scripts.  I've done this for around 20 or so libraries
in recent months, so it's generally better.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 08 02:52:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Jul 2015 02:52:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCfSp-0003nq-Md; Wed, 08 Jul 2015 02:51:59 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <k.vanstee@gmail.com>) id 1ZCfSp-0003nl-5F
	for mirageos-devel@lists.xenproject.org; Wed, 08 Jul 2015 02:51:59 +0000
Received: from [85.158.137.68] by server-11.bemta-3.messagelabs.com id
	A9/5C-16518-E409C955; Wed, 08 Jul 2015 02:51:58 +0000
X-Env-Sender: k.vanstee@gmail.com
X-Msg-Ref: server-3.tower-31.messagelabs.com!1436323916!23702138!1
X-Originating-IP: [209.85.214.178]
X-SpamReason: No, hits=1.2 required=7.0 tests=HTML_20_30,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7761 invoked from network); 8 Jul 2015 02:51:57 -0000
Received: from mail-ob0-f178.google.com (HELO mail-ob0-f178.google.com)
	(209.85.214.178)
	by server-3.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	8 Jul 2015 02:51:57 -0000
Received: by obdbs4 with SMTP id bs4so141948219obd.3
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 07 Jul 2015 19:51:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=9c0hHYabJkq13hN+jRhqb3smiEMjU/SycXqwlWUsh7Y=;
	b=jtH6/MJH6LYXo0106LudnDnrxwgYiY0QdDBgWbsM21DmFf/7JPK38zck+I7lAfKWam
	QZ2lk+p4EHwNTw5F33ux3EOtsPgRV6YMXetFhd41DM9Ql+i5IPAGRLYHgXL+OEjUBc7E
	GW9JTrbpYi580LCCJqrPeiF0ZhKvpZribm7RacE3lABGPyMjttR5H/+PDfbW8O4BvcGu
	OR0J3zpRbarEYQxOCZKM/prN7DjMYlPWeyh/XZgDu1eA2SKoy1k4GsW1NULzFICMxLNg
	HE1edZ7G6wSre5VYoQWVkXqoM3FPiJxtLyiqUDXutRNoXpoSjzg/lESdJN1oZPINL66J
	gxDg==
MIME-Version: 1.0
X-Received: by 10.182.43.133 with SMTP id w5mr7148917obl.65.1436323916517;
	Tue, 07 Jul 2015 19:51:56 -0700 (PDT)
Received: by 10.76.152.131 with HTTP; Tue, 7 Jul 2015 19:51:56 -0700 (PDT)
Date: Wed, 8 Jul 2015 12:51:56 +1000
Message-ID: <CAEd8AT7X2X1YRbnnU+Cq9PiT0kLkrj5wPEi3yRZEnJvqHwo-qA@mail.gmail.com>
From: Kees van steenwyk <k.vanstee@gmail.com>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] sshtunnel
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8263693327116897410=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============8263693327116897410==
Content-Type: multipart/alternative; boundary=001a11c2f698d397e7051a543823

--001a11c2f698d397e7051a543823
Content-Type: text/plain; charset=UTF-8

Hi,

I have been trying to build a unikernel that will serve  the "ssh -D ..."
command. Can you give me a plan of attack? Presumably I start with the
stackV4 unikernel but how do I apply the ssh libraries to flow?

cheers,
Kees.

--001a11c2f698d397e7051a543823
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,=C2=A0<div><br></div><div>I have been trying to build a=
 unikernel that will serve =C2=A0the &quot;ssh -D ...&quot; command. Can yo=
u give me a plan of attack? Presumably I start with the stackV4 unikernel b=
ut how do I apply the ssh libraries to flow?</div><div><br></div><div>cheer=
s,</div><div>Kees.</div></div>

--001a11c2f698d397e7051a543823--


--===============8263693327116897410==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8263693327116897410==--


From mirageos-devel-bounces@lists.xenproject.org Wed Jul 08 02:52:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Jul 2015 02:52:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCfSp-0003nq-Md; Wed, 08 Jul 2015 02:51:59 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <k.vanstee@gmail.com>) id 1ZCfSp-0003nl-5F
	for mirageos-devel@lists.xenproject.org; Wed, 08 Jul 2015 02:51:59 +0000
Received: from [85.158.137.68] by server-11.bemta-3.messagelabs.com id
	A9/5C-16518-E409C955; Wed, 08 Jul 2015 02:51:58 +0000
X-Env-Sender: k.vanstee@gmail.com
X-Msg-Ref: server-3.tower-31.messagelabs.com!1436323916!23702138!1
X-Originating-IP: [209.85.214.178]
X-SpamReason: No, hits=1.2 required=7.0 tests=HTML_20_30,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7761 invoked from network); 8 Jul 2015 02:51:57 -0000
Received: from mail-ob0-f178.google.com (HELO mail-ob0-f178.google.com)
	(209.85.214.178)
	by server-3.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	8 Jul 2015 02:51:57 -0000
Received: by obdbs4 with SMTP id bs4so141948219obd.3
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 07 Jul 2015 19:51:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=9c0hHYabJkq13hN+jRhqb3smiEMjU/SycXqwlWUsh7Y=;
	b=jtH6/MJH6LYXo0106LudnDnrxwgYiY0QdDBgWbsM21DmFf/7JPK38zck+I7lAfKWam
	QZ2lk+p4EHwNTw5F33ux3EOtsPgRV6YMXetFhd41DM9Ql+i5IPAGRLYHgXL+OEjUBc7E
	GW9JTrbpYi580LCCJqrPeiF0ZhKvpZribm7RacE3lABGPyMjttR5H/+PDfbW8O4BvcGu
	OR0J3zpRbarEYQxOCZKM/prN7DjMYlPWeyh/XZgDu1eA2SKoy1k4GsW1NULzFICMxLNg
	HE1edZ7G6wSre5VYoQWVkXqoM3FPiJxtLyiqUDXutRNoXpoSjzg/lESdJN1oZPINL66J
	gxDg==
MIME-Version: 1.0
X-Received: by 10.182.43.133 with SMTP id w5mr7148917obl.65.1436323916517;
	Tue, 07 Jul 2015 19:51:56 -0700 (PDT)
Received: by 10.76.152.131 with HTTP; Tue, 7 Jul 2015 19:51:56 -0700 (PDT)
Date: Wed, 8 Jul 2015 12:51:56 +1000
Message-ID: <CAEd8AT7X2X1YRbnnU+Cq9PiT0kLkrj5wPEi3yRZEnJvqHwo-qA@mail.gmail.com>
From: Kees van steenwyk <k.vanstee@gmail.com>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] sshtunnel
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8263693327116897410=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============8263693327116897410==
Content-Type: multipart/alternative; boundary=001a11c2f698d397e7051a543823

--001a11c2f698d397e7051a543823
Content-Type: text/plain; charset=UTF-8

Hi,

I have been trying to build a unikernel that will serve  the "ssh -D ..."
command. Can you give me a plan of attack? Presumably I start with the
stackV4 unikernel but how do I apply the ssh libraries to flow?

cheers,
Kees.

--001a11c2f698d397e7051a543823
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,=C2=A0<div><br></div><div>I have been trying to build a=
 unikernel that will serve =C2=A0the &quot;ssh -D ...&quot; command. Can yo=
u give me a plan of attack? Presumably I start with the stackV4 unikernel b=
ut how do I apply the ssh libraries to flow?</div><div><br></div><div>cheer=
s,</div><div>Kees.</div></div>

--001a11c2f698d397e7051a543823--


--===============8263693327116897410==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8263693327116897410==--


From mirageos-devel-bounces@lists.xenproject.org Wed Jul 08 09:30:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Jul 2015 09:30:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZClgP-000732-Dr; Wed, 08 Jul 2015 09:30:25 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZClgP-00072x-2y
	for mirageos-devel@lists.xenproject.org; Wed, 08 Jul 2015 09:30:25 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	CF/FC-25925-0BDEC955; Wed, 08 Jul 2015 09:30:24 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-4.tower-206.messagelabs.com!1436347823!19712744!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9927 invoked from network); 8 Jul 2015 09:30:24 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-4.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	8 Jul 2015 09:30:24 -0000
Received: by wiga1 with SMTP id a1so279439448wig.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 08 Jul 2015 02:30:23 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=R0Rc/iRJJjeQAjj+ehikXXQEcTvZbZVRv826mcsyp+Y=;
	b=Nboz0IQju8hhG/6u0mTHYq83x+JV3bCdmLr+3llsjJ6TfDq1RPrdjbrfl6z7olGCfC
	nqxilAQvqpHeHAvFhn/HJSGheTxaeBQl7kvmmsSfCD0WBcAes1AEASx5K7dhw9sADJZt
	J+Rhjvu13u7UZrz7y9vJZ+2RcSHPz4E6QYPuo0LzU712DB22g+o5MB9291X6eX/bGr4M
	vHqvQc7P2La0MiOd4ETxWbC4XwiUgX8C4P6vGoEORd2WfoFrIi3kfDr/8cMgdrD4q9aD
	tBEt2LSduImJStbhESSGQ4Iex3+72Rliaxe6OIwlDt+BT5gESY3dShyzKbqIwM9hz/vO
	vzaA==
X-Received: by 10.194.23.36 with SMTP id j4mr17617323wjf.105.1436347823500;
	Wed, 08 Jul 2015 02:30:23 -0700 (PDT)
Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com.
	[74.125.82.42])
	by smtp.gmail.com with ESMTPSA id q2sm2446348wjz.15.2015.07.08.02.30.22
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 08 Jul 2015 02:30:23 -0700 (PDT)
Received: by wgov12 with SMTP id v12so5614210wgo.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 08 Jul 2015 02:30:22 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.89.72 with SMTP id bm8mr17951309wjb.116.1436347822107;
	Wed, 08 Jul 2015 02:30:22 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Wed, 8 Jul 2015 02:30:22 -0700 (PDT)
In-Reply-To: <20A84A35-44E9-448F-9004-78B259EFB0AB@recoil.org>
References: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>
	<43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
	<D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
	<CAN2Hq04rj=+f6h+kYupcL2aSJCS61BZiDFzKgqjNOui77suA_w@mail.gmail.com>
	<20A84A35-44E9-448F-9004-78B259EFB0AB@recoil.org>
Date: Wed, 8 Jul 2015 10:30:22 +0100
Message-ID: <CAN2Hq04C_u1u=kk7Q_t_tei9UNFD+aozPNPvSLT77ZQK7YqM6Q@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 1st at
	4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 7 July 2015 at 19:22, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 6 Jul 2015, at 20:26, Richard Mortier <richard.mortier@cl.cam.ac.uk> wrote:
>>
>> Ie., I think that with a few minor additions to relevant .travis.yml
>> files, this bit of the situation can probably be improved immediately.
>> (I have the impression that many Mirage libraries already use the
>> skeleton scripts.)
>
> What specific additions do you have in mind?  Please do file issues
> on the ocaml-travis-ci-skeleton repo with any ideas.

I believe these would simply be updates to `.travis.yml` files in
repos adding REVDEPS="package1 package2" etc to force a few choice
dependent packages to be built (and removing any POST_INSTALL_HOOKs
that simply do `opam install ...`). I've put a trial PR in for
ocaml-cohttp to see how it goes.

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 08 09:30:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Jul 2015 09:30:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZClgP-000732-Dr; Wed, 08 Jul 2015 09:30:25 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZClgP-00072x-2y
	for mirageos-devel@lists.xenproject.org; Wed, 08 Jul 2015 09:30:25 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	CF/FC-25925-0BDEC955; Wed, 08 Jul 2015 09:30:24 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-4.tower-206.messagelabs.com!1436347823!19712744!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9927 invoked from network); 8 Jul 2015 09:30:24 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-4.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	8 Jul 2015 09:30:24 -0000
Received: by wiga1 with SMTP id a1so279439448wig.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 08 Jul 2015 02:30:23 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=R0Rc/iRJJjeQAjj+ehikXXQEcTvZbZVRv826mcsyp+Y=;
	b=Nboz0IQju8hhG/6u0mTHYq83x+JV3bCdmLr+3llsjJ6TfDq1RPrdjbrfl6z7olGCfC
	nqxilAQvqpHeHAvFhn/HJSGheTxaeBQl7kvmmsSfCD0WBcAes1AEASx5K7dhw9sADJZt
	J+Rhjvu13u7UZrz7y9vJZ+2RcSHPz4E6QYPuo0LzU712DB22g+o5MB9291X6eX/bGr4M
	vHqvQc7P2La0MiOd4ETxWbC4XwiUgX8C4P6vGoEORd2WfoFrIi3kfDr/8cMgdrD4q9aD
	tBEt2LSduImJStbhESSGQ4Iex3+72Rliaxe6OIwlDt+BT5gESY3dShyzKbqIwM9hz/vO
	vzaA==
X-Received: by 10.194.23.36 with SMTP id j4mr17617323wjf.105.1436347823500;
	Wed, 08 Jul 2015 02:30:23 -0700 (PDT)
Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com.
	[74.125.82.42])
	by smtp.gmail.com with ESMTPSA id q2sm2446348wjz.15.2015.07.08.02.30.22
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 08 Jul 2015 02:30:23 -0700 (PDT)
Received: by wgov12 with SMTP id v12so5614210wgo.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 08 Jul 2015 02:30:22 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.89.72 with SMTP id bm8mr17951309wjb.116.1436347822107;
	Wed, 08 Jul 2015 02:30:22 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Wed, 8 Jul 2015 02:30:22 -0700 (PDT)
In-Reply-To: <20A84A35-44E9-448F-9004-78B259EFB0AB@recoil.org>
References: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>
	<43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
	<D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
	<CAN2Hq04rj=+f6h+kYupcL2aSJCS61BZiDFzKgqjNOui77suA_w@mail.gmail.com>
	<20A84A35-44E9-448F-9004-78B259EFB0AB@recoil.org>
Date: Wed, 8 Jul 2015 10:30:22 +0100
Message-ID: <CAN2Hq04C_u1u=kk7Q_t_tei9UNFD+aozPNPvSLT77ZQK7YqM6Q@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 1st at
	4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 7 July 2015 at 19:22, Anil Madhavapeddy <anil@recoil.org> wrote:
> On 6 Jul 2015, at 20:26, Richard Mortier <richard.mortier@cl.cam.ac.uk> wrote:
>>
>> Ie., I think that with a few minor additions to relevant .travis.yml
>> files, this bit of the situation can probably be improved immediately.
>> (I have the impression that many Mirage libraries already use the
>> skeleton scripts.)
>
> What specific additions do you have in mind?  Please do file issues
> on the ocaml-travis-ci-skeleton repo with any ideas.

I believe these would simply be updates to `.travis.yml` files in
repos adding REVDEPS="package1 package2" etc to force a few choice
dependent packages to be built (and removing any POST_INSTALL_HOOKs
that simply do `opam install ...`). I've put a trial PR in for
ocaml-cohttp to see how it goes.

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 08 10:57:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Jul 2015 10:57:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCn2L-0006e5-EQ; Wed, 08 Jul 2015 10:57:09 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZCn2K-0006di-3m
	for mirageos-devel@lists.xenproject.org; Wed, 08 Jul 2015 10:57:08 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	EF/EF-25925-3020D955; Wed, 08 Jul 2015 10:57:07 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-16.tower-206.messagelabs.com!1436353026!16846321!1
X-Originating-IP: [209.85.216.52]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20833 invoked from network); 8 Jul 2015 10:57:06 -0000
Received: from mail-vn0-f52.google.com (HELO mail-vn0-f52.google.com)
	(209.85.216.52)
	by server-16.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	8 Jul 2015 10:57:06 -0000
Received: by vnbf62 with SMTP id f62so14618592vnb.8
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 08 Jul 2015 03:57:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=+CHL/9OmFaESut3weMVwTi4FRKr0fA9yXCR1Jzl2U1I=;
	b=m0B7kV/gJmgpZaC5rde96kqD0vllajnF/VJASw01Kn/jH3wXrGBiOR8KR5Qn7Y4L7Z
	/Wgg6NFx0cPoUs6+hGl5mwUQRD28AsHOrtAGATDaGkFgg6MMH4f2j4HK8meXDP/4m3y1
	6Y3kswnOOB11ZdhxF/0fWLl9p5x++AIBLgGWt947slaLBy4j1BXsjVao8rwP31aaaekL
	A7pjcw6m3dMuIFPEzPJ6OmYVJGpQfNwIMVxC8tTRHj38kakbqh/cQn6tLT7gFCIdtrx+
	K8V4YY2SuCEkWACS0RGlSSiIr+5iCc2AGIHBs1uoLv3MVWZGA22uUk9vfNOEOSRRlEv+
	vW5Q==
MIME-Version: 1.0
X-Received: by 10.52.52.114 with SMTP id s18mr9770493vdo.9.1436353025833; Wed,
	08 Jul 2015 03:57:05 -0700 (PDT)
Received: by 10.31.65.132 with HTTP; Wed, 8 Jul 2015 03:57:05 -0700 (PDT)
In-Reply-To: <CAEd8AT7X2X1YRbnnU+Cq9PiT0kLkrj5wPEi3yRZEnJvqHwo-qA@mail.gmail.com>
References: <CAEd8AT7X2X1YRbnnU+Cq9PiT0kLkrj5wPEi3yRZEnJvqHwo-qA@mail.gmail.com>
Date: Wed, 8 Jul 2015 11:57:05 +0100
Message-ID: <CAG4opy9nV-qWxOQD-hUoWsp0CPLp7BkKqNCjfDdUCo3DBmvz1w@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Kees van steenwyk <k.vanstee@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] sshtunnel
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 8 July 2015 at 03:51, Kees van steenwyk <k.vanstee@gmail.com> wrote:
> Hi,
>
> I have been trying to build a unikernel that will serve  the "ssh -D ..."
> command. Can you give me a plan of attack? Presumably I start with the
> stackV4 unikernel but how do I apply the ssh libraries to flow?

I haven't checked, but you might be able to use the ocaml-ssh library
as a starting point:

  https://github.com/avsm/ocaml-ssh/

If you want to use the C implementation instead, you'll need to find
out how it sends the data. If it provides a flexible API then you can
just call into the C libraries as external functions and pass the data
to the network stack from your OCaml code (see e.g. nocrypto for an
example of calling C code from Mirage).

If the C code needs a POSIX interface then you might be better off
using a rumpkernel, though you could implement the necessary stubs in
Mirage too.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 08 10:57:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Jul 2015 10:57:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCn2L-0006e5-EQ; Wed, 08 Jul 2015 10:57:09 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZCn2K-0006di-3m
	for mirageos-devel@lists.xenproject.org; Wed, 08 Jul 2015 10:57:08 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	EF/EF-25925-3020D955; Wed, 08 Jul 2015 10:57:07 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-16.tower-206.messagelabs.com!1436353026!16846321!1
X-Originating-IP: [209.85.216.52]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20833 invoked from network); 8 Jul 2015 10:57:06 -0000
Received: from mail-vn0-f52.google.com (HELO mail-vn0-f52.google.com)
	(209.85.216.52)
	by server-16.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	8 Jul 2015 10:57:06 -0000
Received: by vnbf62 with SMTP id f62so14618592vnb.8
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 08 Jul 2015 03:57:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=+CHL/9OmFaESut3weMVwTi4FRKr0fA9yXCR1Jzl2U1I=;
	b=m0B7kV/gJmgpZaC5rde96kqD0vllajnF/VJASw01Kn/jH3wXrGBiOR8KR5Qn7Y4L7Z
	/Wgg6NFx0cPoUs6+hGl5mwUQRD28AsHOrtAGATDaGkFgg6MMH4f2j4HK8meXDP/4m3y1
	6Y3kswnOOB11ZdhxF/0fWLl9p5x++AIBLgGWt947slaLBy4j1BXsjVao8rwP31aaaekL
	A7pjcw6m3dMuIFPEzPJ6OmYVJGpQfNwIMVxC8tTRHj38kakbqh/cQn6tLT7gFCIdtrx+
	K8V4YY2SuCEkWACS0RGlSSiIr+5iCc2AGIHBs1uoLv3MVWZGA22uUk9vfNOEOSRRlEv+
	vW5Q==
MIME-Version: 1.0
X-Received: by 10.52.52.114 with SMTP id s18mr9770493vdo.9.1436353025833; Wed,
	08 Jul 2015 03:57:05 -0700 (PDT)
Received: by 10.31.65.132 with HTTP; Wed, 8 Jul 2015 03:57:05 -0700 (PDT)
In-Reply-To: <CAEd8AT7X2X1YRbnnU+Cq9PiT0kLkrj5wPEi3yRZEnJvqHwo-qA@mail.gmail.com>
References: <CAEd8AT7X2X1YRbnnU+Cq9PiT0kLkrj5wPEi3yRZEnJvqHwo-qA@mail.gmail.com>
Date: Wed, 8 Jul 2015 11:57:05 +0100
Message-ID: <CAG4opy9nV-qWxOQD-hUoWsp0CPLp7BkKqNCjfDdUCo3DBmvz1w@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Kees van steenwyk <k.vanstee@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] sshtunnel
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 8 July 2015 at 03:51, Kees van steenwyk <k.vanstee@gmail.com> wrote:
> Hi,
>
> I have been trying to build a unikernel that will serve  the "ssh -D ..."
> command. Can you give me a plan of attack? Presumably I start with the
> stackV4 unikernel but how do I apply the ssh libraries to flow?

I haven't checked, but you might be able to use the ocaml-ssh library
as a starting point:

  https://github.com/avsm/ocaml-ssh/

If you want to use the C implementation instead, you'll need to find
out how it sends the data. If it provides a flexible API then you can
just call into the C libraries as external functions and pass the data
to the network stack from your OCaml code (see e.g. nocrypto for an
example of calling C code from Mirage).

If the C code needs a POSIX interface then you might be better off
using a rumpkernel, though you could implement the necessary stubs in
Mirage too.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 08 11:31:24 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Jul 2015 11:31:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCnZL-0000bY-Kq; Wed, 08 Jul 2015 11:31:15 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1ZCnZK-0000bT-9O
	for mirageos-devel@lists.xenproject.org; Wed, 08 Jul 2015 11:31:14 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	1B/67-21074-10A0D955; Wed, 08 Jul 2015 11:31:13 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-2.tower-206.messagelabs.com!1436355071!19726429!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2351 invoked from network); 8 Jul 2015 11:31:11 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-2.tower-206.messagelabs.com with SMTP;
	8 Jul 2015 11:31:11 -0000
Received: from [192.168.1.100] (CPE-124-189-108-248.gziz1.win.bigpond.net.au
	[124.189.108.248])
	by mail.supercoders.com.au (Postfix) with ESMTPS id A71A560512;
	Wed,  8 Jul 2015 11:31:10 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAEd8AT7X2X1YRbnnU+Cq9PiT0kLkrj5wPEi3yRZEnJvqHwo-qA@mail.gmail.com>
Date: Wed, 8 Jul 2015 21:31:08 +1000
Message-Id: <C7767B7A-5979-4862-9409-51D00C86A282@supercoders.com.au>
References: <CAEd8AT7X2X1YRbnnU+Cq9PiT0kLkrj5wPEi3yRZEnJvqHwo-qA@mail.gmail.com>
To: Kees van steenwyk <k.vanstee@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] sshtunnel
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SXTigJlzIGFuIGludGVyZXN0aW5nIHJlcXVlc3QsIG1heSBJIGFzayB3aHkgeW91IHdvdWxkIHdh
bnQgdG8sIHdoYXQgaXMgeW91ciB1bHRpbWF0ZSBnb2FsPwoKCk9uIDggSnVsIDIwMTUsIGF0IDEy
OjUxIHBtLCBLZWVzIHZhbiBzdGVlbnd5ayA8ay52YW5zdGVlQGdtYWlsLmNvbT4gd3JvdGU6CgpI
aSwgCgpJIGhhdmUgYmVlbiB0cnlpbmcgdG8gYnVpbGQgYSB1bmlrZXJuZWwgdGhhdCB3aWxsIHNl
cnZlICB0aGUgInNzaCAtRCAuLi4iIGNvbW1hbmQuIENhbiB5b3UgZ2l2ZSBtZSBhIHBsYW4gb2Yg
YXR0YWNrPyBQcmVzdW1hYmx5IEkgc3RhcnQgd2l0aCB0aGUgc3RhY2tWNCB1bmlrZXJuZWwgYnV0
IGhvdyBkbyBJIGFwcGx5IHRoZSBzc2ggbGlicmFyaWVzIHRvIGZsb3c/CgpjaGVlcnMsCktlZXMu
Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9T
LWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpo
dHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFn
ZW9zLWRldmVsCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnBy
b2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlz
dGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 08 11:31:24 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 08 Jul 2015 11:31:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZCnZL-0000bY-Kq; Wed, 08 Jul 2015 11:31:15 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrew.stuart@supercoders.com.au>)
	id 1ZCnZK-0000bT-9O
	for mirageos-devel@lists.xenproject.org; Wed, 08 Jul 2015 11:31:14 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	1B/67-21074-10A0D955; Wed, 08 Jul 2015 11:31:13 +0000
X-Env-Sender: andrew.stuart@supercoders.com.au
X-Msg-Ref: server-2.tower-206.messagelabs.com!1436355071!19726429!1
X-Originating-IP: [54.215.13.78]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2351 invoked from network); 8 Jul 2015 11:31:11 -0000
Received: from mail.supercoders.com.au (HELO mail.supercoders.com.au)
	(54.215.13.78) by server-2.tower-206.messagelabs.com with SMTP;
	8 Jul 2015 11:31:11 -0000
Received: from [192.168.1.100] (CPE-124-189-108-248.gziz1.win.bigpond.net.au
	[124.189.108.248])
	by mail.supercoders.com.au (Postfix) with ESMTPS id A71A560512;
	Wed,  8 Jul 2015 11:31:10 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Andrew Stuart <andrew.stuart@supercoders.com.au>
In-Reply-To: <CAEd8AT7X2X1YRbnnU+Cq9PiT0kLkrj5wPEi3yRZEnJvqHwo-qA@mail.gmail.com>
Date: Wed, 8 Jul 2015 21:31:08 +1000
Message-Id: <C7767B7A-5979-4862-9409-51D00C86A282@supercoders.com.au>
References: <CAEd8AT7X2X1YRbnnU+Cq9PiT0kLkrj5wPEi3yRZEnJvqHwo-qA@mail.gmail.com>
To: Kees van steenwyk <k.vanstee@gmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] sshtunnel
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SXTigJlzIGFuIGludGVyZXN0aW5nIHJlcXVlc3QsIG1heSBJIGFzayB3aHkgeW91IHdvdWxkIHdh
bnQgdG8sIHdoYXQgaXMgeW91ciB1bHRpbWF0ZSBnb2FsPwoKCk9uIDggSnVsIDIwMTUsIGF0IDEy
OjUxIHBtLCBLZWVzIHZhbiBzdGVlbnd5ayA8ay52YW5zdGVlQGdtYWlsLmNvbT4gd3JvdGU6CgpI
aSwgCgpJIGhhdmUgYmVlbiB0cnlpbmcgdG8gYnVpbGQgYSB1bmlrZXJuZWwgdGhhdCB3aWxsIHNl
cnZlICB0aGUgInNzaCAtRCAuLi4iIGNvbW1hbmQuIENhbiB5b3UgZ2l2ZSBtZSBhIHBsYW4gb2Yg
YXR0YWNrPyBQcmVzdW1hYmx5IEkgc3RhcnQgd2l0aCB0aGUgc3RhY2tWNCB1bmlrZXJuZWwgYnV0
IGhvdyBkbyBJIGFwcGx5IHRoZSBzc2ggbGlicmFyaWVzIHRvIGZsb3c/CgpjaGVlcnMsCktlZXMu
Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9T
LWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpo
dHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFn
ZW9zLWRldmVsCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnBy
b2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlz
dGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 08:40:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 08:40:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZD7NX-00077t-4a; Thu, 09 Jul 2015 08:40:23 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZD7NV-00077c-SA
	for MirageOS-devel@lists.xenproject.org; Thu, 09 Jul 2015 08:40:21 +0000
Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id
	43/2B-05081-5733E955; Thu, 09 Jul 2015 08:40:21 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-2.tower-206.messagelabs.com!1436431213!19957147!1
X-Originating-IP: [209.85.212.177]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8348 invoked from network); 9 Jul 2015 08:40:13 -0000
Received: from mail-wi0-f177.google.com (HELO mail-wi0-f177.google.com)
	(209.85.212.177)
	by server-2.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 08:40:13 -0000
Received: by wiclp1 with SMTP id lp1so102761252wic.0
	for <MirageOS-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 01:40:13 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=3kHiYFrWhP1pfWb92mLsYT4AwXwPzgZXYGC1ctga3LY=;
	b=XW7lJK50GrmgJm0XvhDR0S7W2PJXGG1oqXkB4KClf5JfdOFhHlAiFrXkemT/G+MyNC
	E76DBr1+bz0IpX/qfuDHzk1V65/HiwNZU+dBGQuvFb+vkhyt20NX8g+QxHeSU+M42d2N
	Pq0JRNId8oB0/d7viqUz4XBRp4GX7AZPSyIWTgZPa2Aj46q+90e9S4CN169HSgeuANCs
	MBqk/sk4pxZwd9WOgv3nGxBd3fLg03YgmJUZRKAMoF6Sx5NXxAOXxDFjZorPirNIKAvl
	gNduh/k1123xZtrrkb8TocmEwhA2YHim0jqFRlbcK6ocGvqOCHVgRT+Je1v0l6o7ecC/
	p3PA==
X-Received: by 10.180.82.230 with SMTP id l6mr115814963wiy.61.1436431213006;
	Thu, 09 Jul 2015 01:40:13 -0700 (PDT)
Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com.
	[209.85.212.172])
	by smtp.gmail.com with ESMTPSA id i5sm7043360wic.10.2015.07.09.01.40.12
	for <MirageOS-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 09 Jul 2015 01:40:12 -0700 (PDT)
Received: by wiwl6 with SMTP id l6so11529658wiw.0
	for <MirageOS-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 01:40:11 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.89.72 with SMTP id bm8mr28627195wjb.116.1436431211917;
	Thu, 09 Jul 2015 01:40:11 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Thu, 9 Jul 2015 01:40:11 -0700 (PDT)
Date: Thu, 9 Jul 2015 09:40:11 +0100
Message-ID: <CAN2Hq06=obtUaxY38=Xwym-t7yWp2gkJ-YeK=86y-6X9_BxDjg@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: [MirageOS-devel] TFTP, Oasis, OPAM, Structuring modules, and Docs
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi; I recently took some time out to write some code -- specifically a
TFTP (server) library and unikernel (result at
https://github.com/mor1/ocaml-tftp/ and docs at
http://mor1.github.io/ocaml-tftp/ FWIW, hopefully coming to OPAM Real
Soon Now(tm)). I've a few questions as a result :)

1. Where's the best place to look for examples of how to setup a
project to use Oasis and publish through OAPM?  I hacked something
together from examination of some recent projects, primarily due to
@samoht and @dsheets, but the documentation generally seemed sparse
and rather out-of-date. (If it really is that bad, I'm happy to start
filing issues if someone points me appropriately :)

2. Is there a recommended way to structure an OCaml library for use by
ocamlfind and Mirage that's fairly lightweight (ie., not
ocaml-cohttp's functorise all the things approach)? In this case I
wanted to pack S and Wire under Tftp, but still expose two separate
ocamlfind packages, tftp and tftp.wire. The packing seems to work, but
I end up with #require "tftp.wire";; exposing just Wire, which doesn't
seem entirely satisfactory.  I'm happy to tie to recent compiler
releases (4.02 and above) if it will make things significantly better.

3. Where's the code that generates / aggregates the package docs at
http://mirage.github.io ?  It's pretty useful as-is but it would be
even more useful if the front page index was sorted alphabetically
(or, indeed, at all.. :)

Finally, of course, any other commentary on the code in that repo is
welcome-- whether as issues or just comments on style (or lack of it!)
:)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 08:40:31 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 08:40:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZD7NX-00077t-4a; Thu, 09 Jul 2015 08:40:23 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZD7NV-00077c-SA
	for MirageOS-devel@lists.xenproject.org; Thu, 09 Jul 2015 08:40:21 +0000
Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id
	43/2B-05081-5733E955; Thu, 09 Jul 2015 08:40:21 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-2.tower-206.messagelabs.com!1436431213!19957147!1
X-Originating-IP: [209.85.212.177]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8348 invoked from network); 9 Jul 2015 08:40:13 -0000
Received: from mail-wi0-f177.google.com (HELO mail-wi0-f177.google.com)
	(209.85.212.177)
	by server-2.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 08:40:13 -0000
Received: by wiclp1 with SMTP id lp1so102761252wic.0
	for <MirageOS-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 01:40:13 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=3kHiYFrWhP1pfWb92mLsYT4AwXwPzgZXYGC1ctga3LY=;
	b=XW7lJK50GrmgJm0XvhDR0S7W2PJXGG1oqXkB4KClf5JfdOFhHlAiFrXkemT/G+MyNC
	E76DBr1+bz0IpX/qfuDHzk1V65/HiwNZU+dBGQuvFb+vkhyt20NX8g+QxHeSU+M42d2N
	Pq0JRNId8oB0/d7viqUz4XBRp4GX7AZPSyIWTgZPa2Aj46q+90e9S4CN169HSgeuANCs
	MBqk/sk4pxZwd9WOgv3nGxBd3fLg03YgmJUZRKAMoF6Sx5NXxAOXxDFjZorPirNIKAvl
	gNduh/k1123xZtrrkb8TocmEwhA2YHim0jqFRlbcK6ocGvqOCHVgRT+Je1v0l6o7ecC/
	p3PA==
X-Received: by 10.180.82.230 with SMTP id l6mr115814963wiy.61.1436431213006;
	Thu, 09 Jul 2015 01:40:13 -0700 (PDT)
Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com.
	[209.85.212.172])
	by smtp.gmail.com with ESMTPSA id i5sm7043360wic.10.2015.07.09.01.40.12
	for <MirageOS-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 09 Jul 2015 01:40:12 -0700 (PDT)
Received: by wiwl6 with SMTP id l6so11529658wiw.0
	for <MirageOS-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 01:40:11 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.89.72 with SMTP id bm8mr28627195wjb.116.1436431211917;
	Thu, 09 Jul 2015 01:40:11 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Thu, 9 Jul 2015 01:40:11 -0700 (PDT)
Date: Thu, 9 Jul 2015 09:40:11 +0100
Message-ID: <CAN2Hq06=obtUaxY38=Xwym-t7yWp2gkJ-YeK=86y-6X9_BxDjg@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: [MirageOS-devel] TFTP, Oasis, OPAM, Structuring modules, and Docs
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi; I recently took some time out to write some code -- specifically a
TFTP (server) library and unikernel (result at
https://github.com/mor1/ocaml-tftp/ and docs at
http://mor1.github.io/ocaml-tftp/ FWIW, hopefully coming to OPAM Real
Soon Now(tm)). I've a few questions as a result :)

1. Where's the best place to look for examples of how to setup a
project to use Oasis and publish through OAPM?  I hacked something
together from examination of some recent projects, primarily due to
@samoht and @dsheets, but the documentation generally seemed sparse
and rather out-of-date. (If it really is that bad, I'm happy to start
filing issues if someone points me appropriately :)

2. Is there a recommended way to structure an OCaml library for use by
ocamlfind and Mirage that's fairly lightweight (ie., not
ocaml-cohttp's functorise all the things approach)? In this case I
wanted to pack S and Wire under Tftp, but still expose two separate
ocamlfind packages, tftp and tftp.wire. The packing seems to work, but
I end up with #require "tftp.wire";; exposing just Wire, which doesn't
seem entirely satisfactory.  I'm happy to tie to recent compiler
releases (4.02 and above) if it will make things significantly better.

3. Where's the code that generates / aggregates the package docs at
http://mirage.github.io ?  It's pretty useful as-is but it would be
even more useful if the front page index was sorted alphabetically
(or, indeed, at all.. :)

Finally, of course, any other commentary on the code in that repo is
welcome-- whether as issues or just comments on style (or lack of it!)
:)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 11:01:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 11:01:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZD9aD-0000hJ-OX; Thu, 09 Jul 2015 11:01:37 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZD9aC-0000gw-NJ
	for MirageOS-devel@lists.xenproject.org; Thu, 09 Jul 2015 11:01:36 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	87/30-10437-0945E955; Thu, 09 Jul 2015 11:01:36 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-5.tower-31.messagelabs.com!1436439690!24246747!1
X-Originating-IP: [209.85.212.181]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5414 invoked from network); 9 Jul 2015 11:01:30 -0000
Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com)
	(209.85.212.181)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 11:01:30 -0000
Received: by wiclp1 with SMTP id lp1so106262429wic.0
	for <MirageOS-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 04:01:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=vBQZaD5ZEH5bvPE/u4W0KDnnfnX7ihaBYvNSQ87/dM4=;
	b=Ox7DWTPbR1kpWP/wcHxNSi66PJ5uyqISyR+8vs/QlUHWahj1q2LOzAgs0suqvE3CpK
	54UmehLcpWYA2/ZXH4B8BGgkHXb+aF02351+w/yi4GYVzUAC1KGzsPwkNRh/1NwjR5tn
	dUCHxRLasJKwO0Vvs9yg2PfXupbPehh5LFJ/P5l+GxaGJnUvfUGWiGta36FuwUIFuDan
	ME7MXbtx4qiyXW89+DGMeTFGm0qxzHu/Xx6wW1QkC/cK4CxsOt0UrxwwxLplR7lfyf6U
	3D12WF7CKcaL5MNqncgXWHi7X/cgGv0Du0SfY3/8sSjrT8wDOIFkAXsr9dfKg3Z4tl43
	dtZA==
X-Received: by 10.180.103.194 with SMTP id fy2mr87855603wib.55.1436439689956; 
	Thu, 09 Jul 2015 04:01:29 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by smtp.gmail.com with ESMTPSA id c3sm8230326wja.3.2015.07.09.04.01.27
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Thu, 09 Jul 2015 04:01:28 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAN2Hq06=obtUaxY38=Xwym-t7yWp2gkJ-YeK=86y-6X9_BxDjg@mail.gmail.com>
Date: Thu, 9 Jul 2015 12:01:35 +0100
Message-Id: <D5CDF885-71DB-4A1C-9812-FE88FADEDA48@gazagnaire.org>
References: <CAN2Hq06=obtUaxY38=Xwym-t7yWp2gkJ-YeK=86y-6X9_BxDjg@mail.gmail.com>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] TFTP, Oasis, OPAM, Structuring modules,
	and Docs
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

hey,

> 1. Where's the best place to look for examples of how to setup a
> project to use Oasis and publish through OAPM?  I hacked something
> together from examination of some recent projects, primarily due to
> @samoht and @dsheets, but the documentation generally seemed sparse
> and rather out-of-date. (If it really is that bad, I'm happy to start
> filing issues if someone points me appropriately :)

there is no complete and up-to-date doc on that - below are very rought notes of my workflow (which appears to be very different from other people). Since a couple of weeks I'm also using [1] to help release and it's quite useful (when it works). I was maybe planning to write something similar to publish docs (or adapt[2] to run as a script) but it is not done yet.

[1]: https://github.com/samoht/opam-release
[2]: https://github.com/simonjbeaumont/ocaml-travisci-skeleton/blob/docgen/.travis-docgen.sh

> 2. Is there a recommended way to structure an OCaml library for use by
> ocamlfind and Mirage that's fairly lightweight (ie., not
> ocaml-cohttp's functorise all the things approach)? In this case I
> wanted to pack S and Wire under Tftp, but still expose two separate
> ocamlfind packages, tftp and tftp.wire. The packing seems to work, but
> I end up with #require "tftp.wire";; exposing just Wire, which doesn't
> seem entirely satisfactory.  I'm happy to tie to recent compiler
> releases (4.02 and above) if it will make things significantly better.

if you pack things, they have to be in the same ocamlfind library. A possible workaround is to add prefix to the module names (Tftp_wirte and Tftp) and keep the two ocamlfind packages. If you have unix dependencies, one common scheme is to have Tftp_unix and tftp.unix. Same for mirage: Tftp_mirage and tftp.mirage.

> 3. Where's the code that generates / aggregates the package docs at
> http://mirage.github.io ?  It's pretty useful as-is but it would be
> even more useful if the front page index was sorted alphabetically
> (or, indeed, at all.. :)

this is an outdated page, which have been generated (at least) a year ago. We are still waiting for the new OCaml doc generator to improve that :-) A popular ocamldoc' style is Daniel's one. Could be enable by putting [3] in your doc directory and [4] in your myocamlbuild.ml.

[3]: https://github.com/samoht/assemblage/blob/master/doc/style.css
[4]: https://github.com/mirage/irmin/blob/master/myocamlbuild.ml#L643-646

> Finally, of course, any other commentary on the code in that repo is
> welcome-- whether as issues or just comments on style (or lack of it!)
> :)

It's usually better (for the doc outputs) to define separate module types. So instead of:

module Make(C:V1_LWT.CONSOLE)(FS:V1_LWT.KV_RO)(S:V1_LWT.STACKV4) : sig
  [blabla]
end

you could write:

module type S = sig
  [blabla + some abstract types]
end
module Make(C:V1_LWT.CONSOLE)(FS:V1_LWT.KV_RO)(S:V1_LWT.STACKV4): S with type [type constraints]

Sometimes the gain is not totally clear (as you have to define abstract types) but it usually makes the documentation is bit clearer.

Thomas
---

Here are a rough description of my workflow and random thoughts associated to it:

### Setup

Starting from scratch on a new machine, I need:

- `opam install ocp-indent tuareg merlin`
- Set-up `.emacs` manually (by copying my [dotfiles](https://github.com/samoht/dotfiles)]

What could be (or is) improving:
- `opam install user-setup` ? [need to test]
- `opam install opam-tools`   [todo]

### Create a new project

- copy _oasis from somewhere else
- copy basic alcotest skeleton from another project
- start writing code (first `.mli` and then `.ml`)
- generate _oasis autogen (Makefile, _tags, setup.ml, ...)
- create a repo on Github
- create an opam file
- copy ocaml-travisci-skeletons
- activate testing on TravisCI website
- edit Makefile to add version.ml generation
- edit Makefile to add gh-pages generation
- edit _tags to add nicer ocamldoc options
- init gh-pages manually, copy Daniel's css from somewhere else
- edit Makefile to add release scripts

What can be or is improving:

- `opam-publish` helps (but not fully)
- need more tool
- coverall (seems to work fine, but didn't try yet)

### Testing

- create a branch for new commits, open a PR to run TracisCI
- add tests

### Releasing

- bump version number
- regen `_oasis` auto-gen crap
- `make release` (when the project is well configured)
- look at TravisCI results on opam-repository
  - slow to get feedback (often 2h+ because of slow OSX workers on other builds)
  - usually fine, but sometime errors are not displayed properly (ex.
     cyclic dependency in my last PR)

What can be or is improving:

- need more precise feedback
- need faster feedback

### Maintenance

- online docs: `make gh-pages`, hosted on gh-pages

What can be or is improving:

- usual ocamldoc flows:
  - no cross-project references
  - missing module expansion

- need better integration with the workflow.
  - could be a post-hook script on TravisCI scripts (as for deployment of unikernels)
  - could also be a crawler bot who creates PR on projects
  - could also be centralized on opam docs website

> -- 
> Richard Mortier
> richard.mortier@cl.cam.ac.uk
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 11:01:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 11:01:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZD9aD-0000hJ-OX; Thu, 09 Jul 2015 11:01:37 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZD9aC-0000gw-NJ
	for MirageOS-devel@lists.xenproject.org; Thu, 09 Jul 2015 11:01:36 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	87/30-10437-0945E955; Thu, 09 Jul 2015 11:01:36 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-5.tower-31.messagelabs.com!1436439690!24246747!1
X-Originating-IP: [209.85.212.181]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5414 invoked from network); 9 Jul 2015 11:01:30 -0000
Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com)
	(209.85.212.181)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 11:01:30 -0000
Received: by wiclp1 with SMTP id lp1so106262429wic.0
	for <MirageOS-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 04:01:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=vBQZaD5ZEH5bvPE/u4W0KDnnfnX7ihaBYvNSQ87/dM4=;
	b=Ox7DWTPbR1kpWP/wcHxNSi66PJ5uyqISyR+8vs/QlUHWahj1q2LOzAgs0suqvE3CpK
	54UmehLcpWYA2/ZXH4B8BGgkHXb+aF02351+w/yi4GYVzUAC1KGzsPwkNRh/1NwjR5tn
	dUCHxRLasJKwO0Vvs9yg2PfXupbPehh5LFJ/P5l+GxaGJnUvfUGWiGta36FuwUIFuDan
	ME7MXbtx4qiyXW89+DGMeTFGm0qxzHu/Xx6wW1QkC/cK4CxsOt0UrxwwxLplR7lfyf6U
	3D12WF7CKcaL5MNqncgXWHi7X/cgGv0Du0SfY3/8sSjrT8wDOIFkAXsr9dfKg3Z4tl43
	dtZA==
X-Received: by 10.180.103.194 with SMTP id fy2mr87855603wib.55.1436439689956; 
	Thu, 09 Jul 2015 04:01:29 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by smtp.gmail.com with ESMTPSA id c3sm8230326wja.3.2015.07.09.04.01.27
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Thu, 09 Jul 2015 04:01:28 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAN2Hq06=obtUaxY38=Xwym-t7yWp2gkJ-YeK=86y-6X9_BxDjg@mail.gmail.com>
Date: Thu, 9 Jul 2015 12:01:35 +0100
Message-Id: <D5CDF885-71DB-4A1C-9812-FE88FADEDA48@gazagnaire.org>
References: <CAN2Hq06=obtUaxY38=Xwym-t7yWp2gkJ-YeK=86y-6X9_BxDjg@mail.gmail.com>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel <MirageOS-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] TFTP, Oasis, OPAM, Structuring modules,
	and Docs
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

hey,

> 1. Where's the best place to look for examples of how to setup a
> project to use Oasis and publish through OAPM?  I hacked something
> together from examination of some recent projects, primarily due to
> @samoht and @dsheets, but the documentation generally seemed sparse
> and rather out-of-date. (If it really is that bad, I'm happy to start
> filing issues if someone points me appropriately :)

there is no complete and up-to-date doc on that - below are very rought notes of my workflow (which appears to be very different from other people). Since a couple of weeks I'm also using [1] to help release and it's quite useful (when it works). I was maybe planning to write something similar to publish docs (or adapt[2] to run as a script) but it is not done yet.

[1]: https://github.com/samoht/opam-release
[2]: https://github.com/simonjbeaumont/ocaml-travisci-skeleton/blob/docgen/.travis-docgen.sh

> 2. Is there a recommended way to structure an OCaml library for use by
> ocamlfind and Mirage that's fairly lightweight (ie., not
> ocaml-cohttp's functorise all the things approach)? In this case I
> wanted to pack S and Wire under Tftp, but still expose two separate
> ocamlfind packages, tftp and tftp.wire. The packing seems to work, but
> I end up with #require "tftp.wire";; exposing just Wire, which doesn't
> seem entirely satisfactory.  I'm happy to tie to recent compiler
> releases (4.02 and above) if it will make things significantly better.

if you pack things, they have to be in the same ocamlfind library. A possible workaround is to add prefix to the module names (Tftp_wirte and Tftp) and keep the two ocamlfind packages. If you have unix dependencies, one common scheme is to have Tftp_unix and tftp.unix. Same for mirage: Tftp_mirage and tftp.mirage.

> 3. Where's the code that generates / aggregates the package docs at
> http://mirage.github.io ?  It's pretty useful as-is but it would be
> even more useful if the front page index was sorted alphabetically
> (or, indeed, at all.. :)

this is an outdated page, which have been generated (at least) a year ago. We are still waiting for the new OCaml doc generator to improve that :-) A popular ocamldoc' style is Daniel's one. Could be enable by putting [3] in your doc directory and [4] in your myocamlbuild.ml.

[3]: https://github.com/samoht/assemblage/blob/master/doc/style.css
[4]: https://github.com/mirage/irmin/blob/master/myocamlbuild.ml#L643-646

> Finally, of course, any other commentary on the code in that repo is
> welcome-- whether as issues or just comments on style (or lack of it!)
> :)

It's usually better (for the doc outputs) to define separate module types. So instead of:

module Make(C:V1_LWT.CONSOLE)(FS:V1_LWT.KV_RO)(S:V1_LWT.STACKV4) : sig
  [blabla]
end

you could write:

module type S = sig
  [blabla + some abstract types]
end
module Make(C:V1_LWT.CONSOLE)(FS:V1_LWT.KV_RO)(S:V1_LWT.STACKV4): S with type [type constraints]

Sometimes the gain is not totally clear (as you have to define abstract types) but it usually makes the documentation is bit clearer.

Thomas
---

Here are a rough description of my workflow and random thoughts associated to it:

### Setup

Starting from scratch on a new machine, I need:

- `opam install ocp-indent tuareg merlin`
- Set-up `.emacs` manually (by copying my [dotfiles](https://github.com/samoht/dotfiles)]

What could be (or is) improving:
- `opam install user-setup` ? [need to test]
- `opam install opam-tools`   [todo]

### Create a new project

- copy _oasis from somewhere else
- copy basic alcotest skeleton from another project
- start writing code (first `.mli` and then `.ml`)
- generate _oasis autogen (Makefile, _tags, setup.ml, ...)
- create a repo on Github
- create an opam file
- copy ocaml-travisci-skeletons
- activate testing on TravisCI website
- edit Makefile to add version.ml generation
- edit Makefile to add gh-pages generation
- edit _tags to add nicer ocamldoc options
- init gh-pages manually, copy Daniel's css from somewhere else
- edit Makefile to add release scripts

What can be or is improving:

- `opam-publish` helps (but not fully)
- need more tool
- coverall (seems to work fine, but didn't try yet)

### Testing

- create a branch for new commits, open a PR to run TracisCI
- add tests

### Releasing

- bump version number
- regen `_oasis` auto-gen crap
- `make release` (when the project is well configured)
- look at TravisCI results on opam-repository
  - slow to get feedback (often 2h+ because of slow OSX workers on other builds)
  - usually fine, but sometime errors are not displayed properly (ex.
     cyclic dependency in my last PR)

What can be or is improving:

- need more precise feedback
- need faster feedback

### Maintenance

- online docs: `make gh-pages`, hosted on gh-pages

What can be or is improving:

- usual ocamldoc flows:
  - no cross-project references
  - missing module expansion

- need better integration with the workflow.
  - could be a post-hook script on TravisCI scripts (as for deployment of unikernels)
  - could also be a crawler bot who creates PR on projects
  - could also be centralized on opam docs website

> -- 
> Richard Mortier
> richard.mortier@cl.cam.ac.uk
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 12:24:37 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 12:24:37 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDAsQ-0006PB-9e; Thu, 09 Jul 2015 12:24:30 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1ZDAsP-0006P6-Mi
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 12:24:29 +0000
Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id
	ED/1A-02952-DF76E955; Thu, 09 Jul 2015 12:24:29 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-10.tower-31.messagelabs.com!1436444667!24210806!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6142 invoked from network); 9 Jul 2015 12:24:28 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 9 Jul 2015 12:24:28 -0000
Received: from [128.232.110.147] (c147.al.cl.cam.ac.uk [128.232.110.147])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id B54DC3CFD
	for <mirageos-devel@lists.xenproject.org>;
	Thu,  9 Jul 2015 14:24:26 +0200 (CEST)
Message-ID: <559E67D4.4080905@mehnert.org>
Date: Thu, 09 Jul 2015 13:23:48 +0100
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
References: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>	<43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
	<D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
In-Reply-To: <D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 1st at
 4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384

On 07/06/2015 17:06, Anil Madhavapeddy wrote:
> #### Networking stack
> 
> There were various issues around duplicate acks and TCP
> retransmission which were exposed due to the TLS stack integration.
> Many of these were just regressions or lurking issues due to Lwt
> mvars, and are now fixed.
> 
> To stop them from coming back, we now have tests that run per PR
> within Travis.  This uses vnetif to create virtual interfaces that
> directly short circuit the need for a real `tuntap` device, and so
> happily work great inside a container.  Coverage is patchy at the
> moment but is steadily improving (see 
> [mirage/mirage-tcpip#160](https://github.com/mirage/mirage-tcpip/issues/160)
>
> 
for coverage instructions).
> 
> ThomasG/L have put in [debug
> logging](https://github.com/mirage/mirage-tcpip/pull/152) so we now
> have full trace viewer capability.  When ThomasL looked at it,
> every connection ends with an exception being thrown, that noone
> had noticed before!  (The stack resolved a thread in RST processing
> and then looped again).  That issue is now fixed, but everyone is
> encouraged to use the browser profiler and find other lurking 
> issues.
> 
> Hannes has a TCP/IP test harness and will generate traces based on
> Peter Sewells [Netsem](http://www.cl.cam.ac.uk/~pes20/Netsem/).
> This has not been used much since 2005, but is being modernised for
> testing against Mirage TCP/IP.
> 
> Magnus and Mindy have written some iperf tests using the virtual
> vnetif interface.  Travis is timing out all the time due to very
> variable performance within their infrastructure, so its hard to
> figure out how much to test.  Anil suggested that we run them from
> cron against a repo like 
> [mirage/is-mirage-broken](https://github.com/mirage/is-mirage-broken).
>
>  The next feature that we are aiming for is to get IPv6 working
> with the stack. Nicolas Ojeda Bar has implemented everything
> needed, but the only thing blocking it is the configuration
> interface (which should be the easiest bit). Hannes, Justin and
> many others are keen on this...

btw, just online - some friends over at teclo do functional testing of
their TCP/IP stack:
http://www.snellman.net/blog/archive/2015-07-09-unit-testing-a-tcp-stack/

hannes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCQAGBQJVnmfUAAoJELyJZYjffCjuv6YP/Rn8ymqtqLpMcu0/H7yk9dpO
LLYWN7LInZsR1ZcW6n/eR5qmv1uErojx2WrBNjBXaL5BypajaihjwASBOvHfCBip
F4FWjPuOxX1A05YPzNEedNHcKP/Nr02reKnGYvTq2PLhDlhRHNbt+F/ZDBHwFrNv
9Pm28JxseuXo7MsMGO2aB7qruN5oo1SZ4AQUq3+FtmZF5NpIqCI5q1VN6+sDjH8f
9jUol6E39TYhMnCeTb2itvDPdU1E0S6kb0IqEXigDlgdSjkjicPT0p9JXPyNh/wT
TODwTcA1vooONqUC+ZO5Mlid9L/UeG0GqP6fjd3/WaAYLCgVxNZTpkvaBEWs4fM5
m+a/LhpH0e1/mHAddx35B6qjQCgbc3nbHgHxUG+AVW2PhC3a3u7LEb4yXW1R84YL
93XdVXxvdj9tDXpaL3pi0MeHlwpp1tLx2AEHfbAdL8FLvmcigv8nYGQtMhbaY+wu
GyqxO1K+mgeC6BU/Yvvm75ht3KDTnhfvueqpiFEYe3dneXaN8oJbtHxZVv4FF+9V
r85zLJmOq8ZpTyW2RhZLcMpqUKD5ylCVxMq92gSd3iuJkAkQoS5pDpR3dAt0gDJv
e0rBvtzzoYaNnxsf96GeoW0xgD65ivb36FhhK59AnTpHl2N4tq6Wr/2aak/GEpwK
Bl5CMswyMxZfW3tbHo2g
=1mf3
-----END PGP SIGNATURE-----

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 12:24:37 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 12:24:37 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDAsQ-0006PB-9e; Thu, 09 Jul 2015 12:24:30 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1ZDAsP-0006P6-Mi
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 12:24:29 +0000
Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id
	ED/1A-02952-DF76E955; Thu, 09 Jul 2015 12:24:29 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-10.tower-31.messagelabs.com!1436444667!24210806!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6142 invoked from network); 9 Jul 2015 12:24:28 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 9 Jul 2015 12:24:28 -0000
Received: from [128.232.110.147] (c147.al.cl.cam.ac.uk [128.232.110.147])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id B54DC3CFD
	for <mirageos-devel@lists.xenproject.org>;
	Thu,  9 Jul 2015 14:24:26 +0200 (CEST)
Message-ID: <559E67D4.4080905@mehnert.org>
Date: Thu, 09 Jul 2015 13:23:48 +0100
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
References: <C888DAC6-D68D-48F5-B461-D0CFC5B1BA3D@cam.ac.uk>	<43C2553A-7EB8-4227-9317-BB0D657F2BFE@recoil.org>
	<D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
In-Reply-To: <D46B7D45-27D9-4BA3-AB85-137CDEC52458@recoil.org>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 1st at
 4pm BST
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384

On 07/06/2015 17:06, Anil Madhavapeddy wrote:
> #### Networking stack
> 
> There were various issues around duplicate acks and TCP
> retransmission which were exposed due to the TLS stack integration.
> Many of these were just regressions or lurking issues due to Lwt
> mvars, and are now fixed.
> 
> To stop them from coming back, we now have tests that run per PR
> within Travis.  This uses vnetif to create virtual interfaces that
> directly short circuit the need for a real `tuntap` device, and so
> happily work great inside a container.  Coverage is patchy at the
> moment but is steadily improving (see 
> [mirage/mirage-tcpip#160](https://github.com/mirage/mirage-tcpip/issues/160)
>
> 
for coverage instructions).
> 
> ThomasG/L have put in [debug
> logging](https://github.com/mirage/mirage-tcpip/pull/152) so we now
> have full trace viewer capability.  When ThomasL looked at it,
> every connection ends with an exception being thrown, that noone
> had noticed before!  (The stack resolved a thread in RST processing
> and then looped again).  That issue is now fixed, but everyone is
> encouraged to use the browser profiler and find other lurking 
> issues.
> 
> Hannes has a TCP/IP test harness and will generate traces based on
> Peter Sewells [Netsem](http://www.cl.cam.ac.uk/~pes20/Netsem/).
> This has not been used much since 2005, but is being modernised for
> testing against Mirage TCP/IP.
> 
> Magnus and Mindy have written some iperf tests using the virtual
> vnetif interface.  Travis is timing out all the time due to very
> variable performance within their infrastructure, so its hard to
> figure out how much to test.  Anil suggested that we run them from
> cron against a repo like 
> [mirage/is-mirage-broken](https://github.com/mirage/is-mirage-broken).
>
>  The next feature that we are aiming for is to get IPv6 working
> with the stack. Nicolas Ojeda Bar has implemented everything
> needed, but the only thing blocking it is the configuration
> interface (which should be the easiest bit). Hannes, Justin and
> many others are keen on this...

btw, just online - some friends over at teclo do functional testing of
their TCP/IP stack:
http://www.snellman.net/blog/archive/2015-07-09-unit-testing-a-tcp-stack/

hannes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCQAGBQJVnmfUAAoJELyJZYjffCjuv6YP/Rn8ymqtqLpMcu0/H7yk9dpO
LLYWN7LInZsR1ZcW6n/eR5qmv1uErojx2WrBNjBXaL5BypajaihjwASBOvHfCBip
F4FWjPuOxX1A05YPzNEedNHcKP/Nr02reKnGYvTq2PLhDlhRHNbt+F/ZDBHwFrNv
9Pm28JxseuXo7MsMGO2aB7qruN5oo1SZ4AQUq3+FtmZF5NpIqCI5q1VN6+sDjH8f
9jUol6E39TYhMnCeTb2itvDPdU1E0S6kb0IqEXigDlgdSjkjicPT0p9JXPyNh/wT
TODwTcA1vooONqUC+ZO5Mlid9L/UeG0GqP6fjd3/WaAYLCgVxNZTpkvaBEWs4fM5
m+a/LhpH0e1/mHAddx35B6qjQCgbc3nbHgHxUG+AVW2PhC3a3u7LEb4yXW1R84YL
93XdVXxvdj9tDXpaL3pi0MeHlwpp1tLx2AEHfbAdL8FLvmcigv8nYGQtMhbaY+wu
GyqxO1K+mgeC6BU/Yvvm75ht3KDTnhfvueqpiFEYe3dneXaN8oJbtHxZVv4FF+9V
r85zLJmOq8ZpTyW2RhZLcMpqUKD5ylCVxMq92gSd3iuJkAkQoS5pDpR3dAt0gDJv
e0rBvtzzoYaNnxsf96GeoW0xgD65ivb36FhhK59AnTpHl2N4tq6Wr/2aak/GEpwK
Bl5CMswyMxZfW3tbHo2g
=1mf3
-----END PGP SIGNATURE-----

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 13:48:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 13:48:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDCB9-0005fe-R8; Thu, 09 Jul 2015 13:47:55 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDCB8-0005f4-GG
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 13:47:54 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	4A/CA-18947-98B7E955; Thu, 09 Jul 2015 13:47:53 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-16.tower-27.messagelabs.com!1436449672!23109963!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9070 invoked from network); 9 Jul 2015 13:47:52 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-16.tower-27.messagelabs.com with SMTP;
	9 Jul 2015 13:47:52 -0000
Received: from [172.17.156.240] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26])
	by smtp.webfaction.com (Postfix) with ESMTP id DCE442142C5C
	for <mirageos-devel@lists.xenproject.org>;
	Thu,  9 Jul 2015 13:47:51 +0000 (UTC)
Date: Thu, 9 Jul 2015 14:47:50 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Message-ID: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Subject: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hello,  

While working on ptime David Sheets suggested me that moving away from OCaml's usual representation for POSIX timestamps, namely an OCaml float representing seconds from the epoch, might be a good idea as it is nowadays possible to get nanosecond precision timestamps and those cannot be represented exactly in this representation (he also mentioned hardware not having FP support as an argument). 

I'm now quite convinced that this should be done and would like to support this both at the API level and internally in ptime (which currently only has millisecond precision). I propose that the canonical representation should be the following one which is basically what a POSIX timespec definition [1] gives us and is OCaml 32-bit clean: 

  type posix_t = int64 * int

Understood as a signed, second precision, time span paired with a non-negative number of nano seconds ranging from 0 to 999'999'999. Formally a tuple `(s, ns)` represents the time that happens at `s + 1e-9 * ns` from the epoch.  

It also seems that there is consensus that the current CLOCK interface [2] is absurd, forcing any clock source implementer to come up with calendar field decomposition functions (gmtime). I think that the following interface would be sufficient: 

module type CLOCK = sig
  
  val now_s : unit -> int64 * int
  (** [now_s ()] is [(s, ns)] the operating system's POSIX timestamp
      for the current time understood as the number of seconds [s] +
      1e-9 * [ns] from the epoch 1970-01-01 00:00:00 UTC. [ns] ranges
      from [0] to [999_999_999]. *)

  val current_tz_offset_s : unit -> int
  (** [current_tz_offset_s ()] is the operating system's current local
      time zone offset to UTC in seconds. *)
end


Would people agree on such an API and change for the next major release of mirage ? If so, I'd be willing to actually delve into the various repos to make that happen. 

Best,

Daniel

[1] http://pubs.opengroup.org/onlinepubs/009695399/basedefs/time.h.html
[2] https://github.com/mirage/mirage/blob/04f3ed8d983f73d59ca1dd560fc9c03f99faf331/types/V1.mli#L79-L105



_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 13:48:00 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 13:48:00 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDCB9-0005fe-R8; Thu, 09 Jul 2015 13:47:55 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDCB8-0005f4-GG
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 13:47:54 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	4A/CA-18947-98B7E955; Thu, 09 Jul 2015 13:47:53 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-16.tower-27.messagelabs.com!1436449672!23109963!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9070 invoked from network); 9 Jul 2015 13:47:52 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-16.tower-27.messagelabs.com with SMTP;
	9 Jul 2015 13:47:52 -0000
Received: from [172.17.156.240] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26])
	by smtp.webfaction.com (Postfix) with ESMTP id DCE442142C5C
	for <mirageos-devel@lists.xenproject.org>;
	Thu,  9 Jul 2015 13:47:51 +0000 (UTC)
Date: Thu, 9 Jul 2015 14:47:50 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Message-ID: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Subject: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hello,  

While working on ptime David Sheets suggested me that moving away from OCaml's usual representation for POSIX timestamps, namely an OCaml float representing seconds from the epoch, might be a good idea as it is nowadays possible to get nanosecond precision timestamps and those cannot be represented exactly in this representation (he also mentioned hardware not having FP support as an argument). 

I'm now quite convinced that this should be done and would like to support this both at the API level and internally in ptime (which currently only has millisecond precision). I propose that the canonical representation should be the following one which is basically what a POSIX timespec definition [1] gives us and is OCaml 32-bit clean: 

  type posix_t = int64 * int

Understood as a signed, second precision, time span paired with a non-negative number of nano seconds ranging from 0 to 999'999'999. Formally a tuple `(s, ns)` represents the time that happens at `s + 1e-9 * ns` from the epoch.  

It also seems that there is consensus that the current CLOCK interface [2] is absurd, forcing any clock source implementer to come up with calendar field decomposition functions (gmtime). I think that the following interface would be sufficient: 

module type CLOCK = sig
  
  val now_s : unit -> int64 * int
  (** [now_s ()] is [(s, ns)] the operating system's POSIX timestamp
      for the current time understood as the number of seconds [s] +
      1e-9 * [ns] from the epoch 1970-01-01 00:00:00 UTC. [ns] ranges
      from [0] to [999_999_999]. *)

  val current_tz_offset_s : unit -> int
  (** [current_tz_offset_s ()] is the operating system's current local
      time zone offset to UTC in seconds. *)
end


Would people agree on such an API and change for the next major release of mirage ? If so, I'd be willing to actually delve into the various repos to make that happen. 

Best,

Daniel

[1] http://pubs.opengroup.org/onlinepubs/009695399/basedefs/time.h.html
[2] https://github.com/mirage/mirage/blob/04f3ed8d983f73d59ca1dd560fc9c03f99faf331/types/V1.mli#L79-L105



_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 14:05:05 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 14:05:05 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDCRh-00075E-Ul; Thu, 09 Jul 2015 14:05:01 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <kosmo.zb@gmail.com>) id 1ZDCRf-000759-Vw
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 14:05:00 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	59/18-11201-B8F7E955; Thu, 09 Jul 2015 14:04:59 +0000
X-Env-Sender: kosmo.zb@gmail.com
X-Msg-Ref: server-15.tower-206.messagelabs.com!1436450697!16724777!1
X-Originating-IP: [209.85.160.170]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30209 invoked from network); 9 Jul 2015 14:04:58 -0000
Received: from mail-yk0-f170.google.com (HELO mail-yk0-f170.google.com)
	(209.85.160.170)
	by server-15.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 14:04:58 -0000
Received: by ykee186 with SMTP id e186so36827569yke.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 07:04:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=EtTIfp3VIw1Gpr0gcasvBstoOd30yz/DISeaEFSomTw=;
	b=e8PoMo59fdl1H6Q66Qp91AVgLhWgii6KsSuk3vfYFNe6FT3Wi1WwolO0b8j/WfYe1k
	M1wjnt1FLIJHzj8fhB6YrY1frWIl+xOa5qsx66BGx2y1wYVYgpuT1+g2RjPadKOBDUlt
	KKSTXDwCRcOqZdgjWSFPC/aUxvgiIoY9hRQ8OXa8R3mWwFsloXpiYm+yCwaitHmaLhMk
	tV6NDgJVpZFJCz5d8MwTj3rqxs3sB1WSg5d7LxIznOWrvQtUyrxRnepIeOrZcgJ5CeU9
	izQR6iQZdNWt0ecbNHjqgYICUi0P4gNMEBWmh9iSfrr/ke1XiJ8T8/l+G/J1ZgufspvG
	kSMw==
MIME-Version: 1.0
X-Received: by 10.170.150.7 with SMTP id r7mr17725926ykc.48.1436450697525;
	Thu, 09 Jul 2015 07:04:57 -0700 (PDT)
Received: by 10.13.236.5 with HTTP; Thu, 9 Jul 2015 07:04:57 -0700 (PDT)
In-Reply-To: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
Date: Thu, 9 Jul 2015 15:04:57 +0100
X-Google-Sender-Auth: c5MeGPts9xy5ZUbAVYETwOTdqJc
Message-ID: <CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
From: David Sheets <sheets@alum.mit.edu>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gVGh1LCBKdWwgOSwgMjAxNSBhdCAyOjQ3IFBNLCBEYW5pZWwgQsO8bnpsaQo8ZGFuaWVsLmJ1
ZW56bGlAZXJyYXRpcXVlLmNoPiB3cm90ZToKPiBIZWxsbywKPgo+IFdoaWxlIHdvcmtpbmcgb24g
cHRpbWUgRGF2aWQgU2hlZXRzIHN1Z2dlc3RlZCBtZSB0aGF0IG1vdmluZyBhd2F5IGZyb20gT0Nh
bWwncyB1c3VhbCByZXByZXNlbnRhdGlvbiBmb3IgUE9TSVggdGltZXN0YW1wcywgbmFtZWx5IGFu
IE9DYW1sIGZsb2F0IHJlcHJlc2VudGluZyBzZWNvbmRzIGZyb20gdGhlIGVwb2NoLCBtaWdodCBi
ZSBhIGdvb2QgaWRlYSBhcyBpdCBpcyBub3dhZGF5cyBwb3NzaWJsZSB0byBnZXQgbmFub3NlY29u
ZCBwcmVjaXNpb24gdGltZXN0YW1wcy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HA6Ly9wdWJzLm9wZW5n
cm91cC5vcmcvb25saW5lcHVicy8wMDk2OTUzOTkvYmFzZWRlZnMvdGltZS5oLmh0bWwKPiBbMl0g
aHR0cHM6Ly9naXRodWIuY29tL21pcmFnZS9taXJhZ2UvYmxvYi8wNGYzZWQ4ZDk4M2Y3M2Q1OWNh
MWRkNTYwZmM5YzAzZjk5ZmFmMzMxL3R5cGVzL1YxLm1saSNMNzktTDEwNQo+Cj4KPgo+IF9fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCj4gTWlyYWdlT1MtZGV2
ZWwgbWFpbGluZyBsaXN0Cj4gTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKPiBo
dHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFn
ZW9zLWRldmVsCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
XwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJv
amVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0
aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 14:05:05 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 14:05:05 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDCRh-00075E-Ul; Thu, 09 Jul 2015 14:05:01 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <kosmo.zb@gmail.com>) id 1ZDCRf-000759-Vw
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 14:05:00 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	59/18-11201-B8F7E955; Thu, 09 Jul 2015 14:04:59 +0000
X-Env-Sender: kosmo.zb@gmail.com
X-Msg-Ref: server-15.tower-206.messagelabs.com!1436450697!16724777!1
X-Originating-IP: [209.85.160.170]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30209 invoked from network); 9 Jul 2015 14:04:58 -0000
Received: from mail-yk0-f170.google.com (HELO mail-yk0-f170.google.com)
	(209.85.160.170)
	by server-15.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 14:04:58 -0000
Received: by ykee186 with SMTP id e186so36827569yke.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 07:04:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=EtTIfp3VIw1Gpr0gcasvBstoOd30yz/DISeaEFSomTw=;
	b=e8PoMo59fdl1H6Q66Qp91AVgLhWgii6KsSuk3vfYFNe6FT3Wi1WwolO0b8j/WfYe1k
	M1wjnt1FLIJHzj8fhB6YrY1frWIl+xOa5qsx66BGx2y1wYVYgpuT1+g2RjPadKOBDUlt
	KKSTXDwCRcOqZdgjWSFPC/aUxvgiIoY9hRQ8OXa8R3mWwFsloXpiYm+yCwaitHmaLhMk
	tV6NDgJVpZFJCz5d8MwTj3rqxs3sB1WSg5d7LxIznOWrvQtUyrxRnepIeOrZcgJ5CeU9
	izQR6iQZdNWt0ecbNHjqgYICUi0P4gNMEBWmh9iSfrr/ke1XiJ8T8/l+G/J1ZgufspvG
	kSMw==
MIME-Version: 1.0
X-Received: by 10.170.150.7 with SMTP id r7mr17725926ykc.48.1436450697525;
	Thu, 09 Jul 2015 07:04:57 -0700 (PDT)
Received: by 10.13.236.5 with HTTP; Thu, 9 Jul 2015 07:04:57 -0700 (PDT)
In-Reply-To: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
Date: Thu, 9 Jul 2015 15:04:57 +0100
X-Google-Sender-Auth: c5MeGPts9xy5ZUbAVYETwOTdqJc
Message-ID: <CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
From: David Sheets <sheets@alum.mit.edu>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gVGh1LCBKdWwgOSwgMjAxNSBhdCAyOjQ3IFBNLCBEYW5pZWwgQsO8bnpsaQo8ZGFuaWVsLmJ1
ZW56bGlAZXJyYXRpcXVlLmNoPiB3cm90ZToKPiBIZWxsbywKPgo+IFdoaWxlIHdvcmtpb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lbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 14:26:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 14:26:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDCmg-0000nc-OV; Thu, 09 Jul 2015 14:26:42 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZDCmg-0000nO-22
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 14:26:42 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	99/98-23096-1A48E955; Thu, 09 Jul 2015 14:26:41 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-206.messagelabs.com!1436451999!16731279!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1788 invoked from network); 9 Jul 2015 14:26:39 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 9 Jul 2015 14:26:39 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id a7cc70e9;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 9 Jul 2015 15:27:06 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
Date: Thu, 9 Jul 2015 15:26:38 +0100
Message-Id: <B12688FD-FFD9-4E17-8E57-2CA396E5B552@recoil.org>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
To: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
X-Mailer: Apple Mail (2.2098)
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Cj4gT24gOSBKdWwgMjAxNSwgYXQgMTQ6NDcsIERhbmllbCBCw7xuemxpIDxkYW5pZWwuYnVlbnps
aUBlcnJhdGlxdWUuY2g+IHdyb3RlOgo+IAo+IAo+IG1vZHVsZSB0eXBlIENMT0NLID0gc2lnCj4g
Cj4gIHZhbCBub3dfcyA6IHVuaXQgLT4gaW50NjQgKiBpbnQKPiAgKCoqIFtub3dfcyAoKV0gaXMg
WyhzLCBucyldIHRoZSBvcGVyYXRpbmcgc3lzdGVtJ3MgUE9TSVggdGltZXN0YW1wCj4gICAgICBm
b3IgdGhlIGN1cnJlbnQgdGltZSB1bmRlcnN0b29kIGFzIHRoZSBudW1iZXIgb2Ygc2Vjb25kcyBb
c10gKwo+ICAgICAg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20gWGVu
c3RvcmUgYXQgYWxsIHZpYSB0aGUKWGVuIHRvb2xzIGF0IHRoZSBtb21lbnQsIG9yIGlzIGl0IHNl
dCBpbmRlcGVuZGVudGx5IHBlciBWTSAod2l0aCBqdXN0IHRoZQp3YWxsY2xvY2sgdGltZSBzaGFy
ZWQpPwoKLWFuaWwKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVu
cHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9s
aXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 14:26:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 14:26:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDCmg-0000nc-OV; Thu, 09 Jul 2015 14:26:42 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZDCmg-0000nO-22
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 14:26:42 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	99/98-23096-1A48E955; Thu, 09 Jul 2015 14:26:41 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-15.tower-206.messagelabs.com!1436451999!16731279!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1788 invoked from network); 9 Jul 2015 14:26:39 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-15.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 9 Jul 2015 14:26:39 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id a7cc70e9;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 9 Jul 2015 15:27:06 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
Date: Thu, 9 Jul 2015 15:26:38 +0100
Message-Id: <B12688FD-FFD9-4E17-8E57-2CA396E5B552@recoil.org>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
To: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
X-Mailer: Apple Mail (2.2098)
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-boun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2lkZSBmcm9tIHRoZSBlZmZpY2ll
bmN5IHF1ZXJpZXMgdGhhdApEYXZpZCBTaGVldHMgcmFpc2VkKS4gIFRoZSBsYWNrIG9mIGBmbG9h
dGAgaW4gdGhlIHR5cGUgaXMgYSBodWdlIHdpbiBmb3IKZW1iZWRkaW5nIHRoaXMgYXMgYSBrZXJu
ZWwgbW9kdWxlIG9yIG90aGVyIGNvbnN0cmFpbmVkIGVudmlyb25tZW50LgoKSSdtIGp1c3Qgd29u
ZGVyaW5nIHdoZXRoZXIgYGN1cnJlbnRfdHpfb2Zmc2V0X3NgIG5lZWRzIHRvIGJlIHBvdGVudGlh
bGx5CmJsb2NraW5nIG9yIG5vdC4gIERhdmUsIGlzIHRoZSB0aW1lem9uZSByZWFkIGZyb20gWGVu
c3RvcmUgYXQgYWxsIHZpYSB0aGUKWGVuIHRvb2xzIGF0IHRoZSBtb21lbnQsIG9yIGlzIGl0IHNl
dCBpbmRlcGVuZGVudGx5IHBlciBWTSAod2l0aCBqdXN0IHRoZQp3YWxsY2xvY2sgdGltZSBzaGFy
ZWQpPwoKLWFuaWwKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVu
cHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9s
aXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 14:43:33 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 14:43:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDD2x-0002Wl-20; Thu, 09 Jul 2015 14:43:31 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <scott.dj@gmail.com>) id 1ZDD2v-0002Wg-U1
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 14:43:30 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	9E/A7-13517-1988E955; Thu, 09 Jul 2015 14:43:29 +0000
X-Env-Sender: scott.dj@gmail.com
X-Msg-Ref: server-2.tower-31.messagelabs.com!1436453008!24278730!1
X-Originating-IP: [74.125.82.47]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28903 invoked from network); 9 Jul 2015 14:43:28 -0000
Received: from mail-wg0-f47.google.com (HELO mail-wg0-f47.google.com)
	(74.125.82.47)
	by server-2.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 14:43:28 -0000
Received: by wgjx7 with SMTP id x7so225385297wgj.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 07:43:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=QEV9gpVQzyL746NyDlxVukc2znJOTyKCvHvELzfc1/0=;
	b=cwQSP3z+h3gI9jwPUaaJ6nAXzOKRMK7EUWONPsLoV78WOFPfFEAtGadIpkTOXUlRb+
	9lCWycHZ5miHzi9glLRrkte4c92Nny4f8HRcwSN+XaqH5FsUzcWQMFLRp+G9MkelH71w
	IYR1gJLmX8CUuxSHFGliAxyjlmqPDR+KweJy8CttRubDkuz6nExHpNv66Hvgq3f96jv7
	9RyVsf2DBIlXS37b/NFQA00TrHL+3M6D8NJGiWAee9XyYQfss9Wg1rtcdLFaTRlpKRZ7
	KU55gx1KpiiEmOzzH9jBE5BArCXwuynlFMuoT6104F6F/5wJFPEB0YFhgQ1mC0SCVMuu
	ecTQ==
MIME-Version: 1.0
X-Received: by 10.194.52.105 with SMTP id s9mr31531038wjo.53.1436453008028;
	Thu, 09 Jul 2015 07:43:28 -0700 (PDT)
Received: by 10.194.142.147 with HTTP; Thu, 9 Jul 2015 07:43:27 -0700 (PDT)
In-Reply-To: <B12688FD-FFD9-4E17-8E57-2CA396E5B552@recoil.org>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<B12688FD-FFD9-4E17-8E57-2CA396E5B552@recoil.org>
Date: Thu, 9 Jul 2015 15:43:27 +0100
Message-ID: <CAG_esB0WeyUatxKNjE__Dwr960kj8VdfLmnQZ4teRSBy3oiSsA@mail.gmail.com>
From: David Scott <scott.dj@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3650327383299759209=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============3650327383299759209==
Content-Type: multipart/alternative; boundary=047d7ba97a0e47bba9051a724708

--047d7ba97a0e47bba9051a724708
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 9, 2015 at 3:26 PM, Anil Madhavapeddy <anil@recoil.org> wrote:

>
> > On 9 Jul 2015, at 14:47, Daniel B=C3=BCnzli <daniel.buenzli@erratique.c=
h>
> wrote:
> >
> >
> > module type CLOCK =3D sig
> >
> >  val now_s : unit -> int64 * int
> >  (** [now_s ()] is [(s, ns)] the operating system's POSIX timestamp
> >      for the current time understood as the number of seconds [s] +
> >      1e-9 * [ns] from the epoch 1970-01-01 00:00:00 UTC. [ns] ranges
> >      from [0] to [999_999_999]. *)
> >
> >  val current_tz_offset_s : unit -> int
> >  (** [current_tz_offset_s ()] is the operating system's current local
> >      time zone offset to UTC in seconds. *)
> > end
> >
> >
> > Would people agree on such an API and change for the next major release
> of mirage ? If so, I'd be willing to actually delve into the various repo=
s
> to make that happen.
>
> I think such an API would work (aside from the efficiency queries that
> David Sheets raised).  The lack of `float` in the type is a huge win for
> embedding this as a kernel module or other constrained environment.
>
> I'm just wondering whether `current_tz_offset_s` needs to be potentially
> blocking or not.  Dave, is the timezone read from Xenstore at all via the
> Xen tools at the moment, or is it set independently per VM (with just the
> wallclock time shared)?
>

I don't think Xen shares any timezone information with VMs -- the VMs (and
dom0) can be in any timezones they like. Considering that VMs can be
migrated across timezones while they're running, it's probably easier for
the VM admin to choose one timezone (the timezone of the admin?) rather
than the timezone of the current hardware.

Cheers,
Dave


>
> -anil
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>



--=20
Dave Scott

--047d7ba97a0e47bba9051a724708
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Jul 9, 2015 at 3:26 PM, Anil Madhavapeddy <span dir=3D"ltr">&lt=
;<a href=3D"mailto:anil@recoil.org" target=3D"_blank">anil@recoil.org</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""><br>
&gt; On 9 Jul 2015, at 14:47, Daniel B=C3=BCnzli &lt;<a href=3D"mailto:dani=
el.buenzli@erratique.ch">daniel.buenzli@erratique.ch</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; module type CLOCK =3D sig<br>
&gt;<br>
&gt;=C2=A0 val now_s : unit -&gt; int64 * int<br>
&gt;=C2=A0 (** [now_s ()] is [(s, ns)] the operating system&#39;s POSIX tim=
estamp<br>
&gt;=C2=A0 =C2=A0 =C2=A0 for the current time understood as the number of s=
econds [s] +<br>
&gt;=C2=A0 =C2=A0 =C2=A0 1e-9 * [ns] from the epoch 1970-01-01 00:00:00 UTC=
. [ns] ranges<br>
&gt;=C2=A0 =C2=A0 =C2=A0 from [0] to [999_999_999]. *)<br>
&gt;<br>
&gt;=C2=A0 val current_tz_offset_s : unit -&gt; int<br>
&gt;=C2=A0 (** [current_tz_offset_s ()] is the operating system&#39;s curre=
nt local<br>
&gt;=C2=A0 =C2=A0 =C2=A0 time zone offset to UTC in seconds. *)<br>
&gt; end<br>
&gt;<br>
&gt;<br>
&gt; Would people agree on such an API and change for the next major releas=
e of mirage ? If so, I&#39;d be willing to actually delve into the various =
repos to make that happen.<br>
<br>
</span>I think such an API would work (aside from the efficiency queries th=
at<br>
David Sheets raised).=C2=A0 The lack of `float` in the type is a huge win f=
or<br>
embedding this as a kernel module or other constrained environment.<br>
<br>
I&#39;m just wondering whether `current_tz_offset_s` needs to be potentiall=
y<br>
blocking or not.=C2=A0 Dave, is the timezone read from Xenstore at all via =
the<br>
Xen tools at the moment, or is it set independently per VM (with just the<b=
r>
wallclock time shared)?<br></blockquote><div><br></div><div>I don&#39;t thi=
nk Xen shares any timezone information with VMs -- the VMs (and dom0) can b=
e in any timezones they like. Considering that VMs can be migrated across t=
imezones while they&#39;re running, it&#39;s probably easier for the VM adm=
in to choose one timezone (the timezone of the admin?) rather than the time=
zone of the current hardware.</div><div><br></div><div>Cheers,</div><div>Da=
ve</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
-anil<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" rel=3D"noreferrer" target=3D"_blank">http://lists.xenproject.org/cgi-b=
in/mailman/listinfo/mirageos-devel</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div class=3D"gmail_signature">Dave Scott</div>
</div></div>

--047d7ba97a0e47bba9051a724708--


--===============3650327383299759209==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3650327383299759209==--


From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 14:43:33 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 14:43:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDD2x-0002Wl-20; Thu, 09 Jul 2015 14:43:31 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <scott.dj@gmail.com>) id 1ZDD2v-0002Wg-U1
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 14:43:30 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	9E/A7-13517-1988E955; Thu, 09 Jul 2015 14:43:29 +0000
X-Env-Sender: scott.dj@gmail.com
X-Msg-Ref: server-2.tower-31.messagelabs.com!1436453008!24278730!1
X-Originating-IP: [74.125.82.47]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28903 invoked from network); 9 Jul 2015 14:43:28 -0000
Received: from mail-wg0-f47.google.com (HELO mail-wg0-f47.google.com)
	(74.125.82.47)
	by server-2.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 14:43:28 -0000
Received: by wgjx7 with SMTP id x7so225385297wgj.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 07:43:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=QEV9gpVQzyL746NyDlxVukc2znJOTyKCvHvELzfc1/0=;
	b=cwQSP3z+h3gI9jwPUaaJ6nAXzOKRMK7EUWONPsLoV78WOFPfFEAtGadIpkTOXUlRb+
	9lCWycHZ5miHzi9glLRrkte4c92Nny4f8HRcwSN+XaqH5FsUzcWQMFLRp+G9MkelH71w
	IYR1gJLmX8CUuxSHFGliAxyjlmqPDR+KweJy8CttRubDkuz6nExHpNv66Hvgq3f96jv7
	9RyVsf2DBIlXS37b/NFQA00TrHL+3M6D8NJGiWAee9XyYQfss9Wg1rtcdLFaTRlpKRZ7
	KU55gx1KpiiEmOzzH9jBE5BArCXwuynlFMuoT6104F6F/5wJFPEB0YFhgQ1mC0SCVMuu
	ecTQ==
MIME-Version: 1.0
X-Received: by 10.194.52.105 with SMTP id s9mr31531038wjo.53.1436453008028;
	Thu, 09 Jul 2015 07:43:28 -0700 (PDT)
Received: by 10.194.142.147 with HTTP; Thu, 9 Jul 2015 07:43:27 -0700 (PDT)
In-Reply-To: <B12688FD-FFD9-4E17-8E57-2CA396E5B552@recoil.org>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<B12688FD-FFD9-4E17-8E57-2CA396E5B552@recoil.org>
Date: Thu, 9 Jul 2015 15:43:27 +0100
Message-ID: <CAG_esB0WeyUatxKNjE__Dwr960kj8VdfLmnQZ4teRSBy3oiSsA@mail.gmail.com>
From: David Scott <scott.dj@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3650327383299759209=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============3650327383299759209==
Content-Type: multipart/alternative; boundary=047d7ba97a0e47bba9051a724708

--047d7ba97a0e47bba9051a724708
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 9, 2015 at 3:26 PM, Anil Madhavapeddy <anil@recoil.org> wrote:

>
> > On 9 Jul 2015, at 14:47, Daniel B=C3=BCnzli <daniel.buenzli@erratique.c=
h>
> wrote:
> >
> >
> > module type CLOCK =3D sig
> >
> >  val now_s : unit -> int64 * int
> >  (** [now_s ()] is [(s, ns)] the operating system's POSIX timestamp
> >      for the current time understood as the number of seconds [s] +
> >      1e-9 * [ns] from the epoch 1970-01-01 00:00:00 UTC. [ns] ranges
> >      from [0] to [999_999_999]. *)
> >
> >  val current_tz_offset_s : unit -> int
> >  (** [current_tz_offset_s ()] is the operating system's current local
> >      time zone offset to UTC in seconds. *)
> > end
> >
> >
> > Would people agree on such an API and change for the next major release
> of mirage ? If so, I'd be willing to actually delve into the various repo=
s
> to make that happen.
>
> I think such an API would work (aside from the efficiency queries that
> David Sheets raised).  The lack of `float` in the type is a huge win for
> embedding this as a kernel module or other constrained environment.
>
> I'm just wondering whether `current_tz_offset_s` needs to be potentially
> blocking or not.  Dave, is the timezone read from Xenstore at all via the
> Xen tools at the moment, or is it set independently per VM (with just the
> wallclock time shared)?
>

I don't think Xen shares any timezone information with VMs -- the VMs (and
dom0) can be in any timezones they like. Considering that VMs can be
migrated across timezones while they're running, it's probably easier for
the VM admin to choose one timezone (the timezone of the admin?) rather
than the timezone of the current hardware.

Cheers,
Dave


>
> -anil
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>



--=20
Dave Scott

--047d7ba97a0e47bba9051a724708
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Jul 9, 2015 at 3:26 PM, Anil Madhavapeddy <span dir=3D"ltr">&lt=
;<a href=3D"mailto:anil@recoil.org" target=3D"_blank">anil@recoil.org</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""><br>
&gt; On 9 Jul 2015, at 14:47, Daniel B=C3=BCnzli &lt;<a href=3D"mailto:dani=
el.buenzli@erratique.ch">daniel.buenzli@erratique.ch</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; module type CLOCK =3D sig<br>
&gt;<br>
&gt;=C2=A0 val now_s : unit -&gt; int64 * int<br>
&gt;=C2=A0 (** [now_s ()] is [(s, ns)] the operating system&#39;s POSIX tim=
estamp<br>
&gt;=C2=A0 =C2=A0 =C2=A0 for the current time understood as the number of s=
econds [s] +<br>
&gt;=C2=A0 =C2=A0 =C2=A0 1e-9 * [ns] from the epoch 1970-01-01 00:00:00 UTC=
. [ns] ranges<br>
&gt;=C2=A0 =C2=A0 =C2=A0 from [0] to [999_999_999]. *)<br>
&gt;<br>
&gt;=C2=A0 val current_tz_offset_s : unit -&gt; int<br>
&gt;=C2=A0 (** [current_tz_offset_s ()] is the operating system&#39;s curre=
nt local<br>
&gt;=C2=A0 =C2=A0 =C2=A0 time zone offset to UTC in seconds. *)<br>
&gt; end<br>
&gt;<br>
&gt;<br>
&gt; Would people agree on such an API and change for the next major releas=
e of mirage ? If so, I&#39;d be willing to actually delve into the various =
repos to make that happen.<br>
<br>
</span>I think such an API would work (aside from the efficiency queries th=
at<br>
David Sheets raised).=C2=A0 The lack of `float` in the type is a huge win f=
or<br>
embedding this as a kernel module or other constrained environment.<br>
<br>
I&#39;m just wondering whether `current_tz_offset_s` needs to be potentiall=
y<br>
blocking or not.=C2=A0 Dave, is the timezone read from Xenstore at all via =
the<br>
Xen tools at the moment, or is it set independently per VM (with just the<b=
r>
wallclock time shared)?<br></blockquote><div><br></div><div>I don&#39;t thi=
nk Xen shares any timezone information with VMs -- the VMs (and dom0) can b=
e in any timezones they like. Considering that VMs can be migrated across t=
imezones while they&#39;re running, it&#39;s probably easier for the VM adm=
in to choose one timezone (the timezone of the admin?) rather than the time=
zone of the current hardware.</div><div><br></div><div>Cheers,</div><div>Da=
ve</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
-anil<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" rel=3D"noreferrer" target=3D"_blank">http://lists.xenproject.org/cgi-b=
in/mailman/listinfo/mirageos-devel</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div class=3D"gmail_signature">Dave Scott</div>
</div></div>

--047d7ba97a0e47bba9051a724708--


--===============3650327383299759209==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3650327383299759209==--


From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 14:43:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 14:43:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDD3O-0002YL-5o; Thu, 09 Jul 2015 14:43:58 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZDD3N-0002Y9-5V
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 14:43:57 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	E4/C7-18947-CA88E955; Thu, 09 Jul 2015 14:43:56 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1436453035!23129944!1
X-Originating-IP: [209.85.212.178]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10001 invoked from network); 9 Jul 2015 14:43:55 -0000
Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com)
	(209.85.212.178)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 14:43:55 -0000
Received: by wiwl6 with SMTP id l6so20945671wiw.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 07:43:55 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=LIvxWL7Mn1kzn23eLrGee9PsZ2D1FnwPJ9gc68RTRfM=;
	b=mOIRTBfRQkC2Uyaq8WseZJUxF8EHLa//17Omy56mmxJ01L3o7DUEbkuVD62wxkE2PF
	ecFkQpliYySiq9U2UkWOAFToJFwxgZiTnXfcOuAkybX0GN604nivzno/fcULYoeACab6
	cp8bcJhS/a69imTnh/LaueeUusntPp7kKmmEb/Wwd9XbTI4+xEJ4/65/2RDT/EL8eyX+
	kITygie+xkV6za8KX5ujJAL9l7tKIMn54Nvfmv8qA2Qw1LTPAnIObkctIIdZm/apsxaM
	qW0Y2zuK1vHMeCbY4OiV+bO8m8vr2iONJ4EtwToEaA2/9x6OdwYnSVxhXIgR+chtySzG
	pa0Q==
X-Received: by 10.180.99.39 with SMTP id en7mr125071700wib.31.1436453035031;
	Thu, 09 Jul 2015 07:43:55 -0700 (PDT)
Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com.
	[209.85.212.181]) by smtp.gmail.com with ESMTPSA id
	y19sm8632097wia.15.2015.07.09.07.43.53
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 09 Jul 2015 07:43:54 -0700 (PDT)
Received: by wiga1 with SMTP id a1so315067712wig.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 07:43:53 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.89.72 with SMTP id bm8mr31844394wjb.116.1436453033680;
	Thu, 09 Jul 2015 07:43:53 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Thu, 9 Jul 2015 07:43:53 -0700 (PDT)
In-Reply-To: <CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
Date: Thu, 9 Jul 2015 15:43:53 +0100
Message-ID: <CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: David Sheets <sheets@alum.mit.edu>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

(General agreement to the various proposals :)

On 9 July 2015 at 15:04, David Sheets <sheets@alum.mit.edu> wrote:
>
> 1. The int64 and tuple representations make a timestamp use 2*word +
> 12 bytes if I count correctly. That is 20 bytes on a 32-bit machine
> and 28 bytes on a 64-bit machine to represent 12 bytes of data. :-( If
> we represent a timestamp as int * int * int, we only use word + 12
> bytes, again hoping I can count. This would save some space but would
> make implementations significantly more complex. Maybe there is an
> even better representation?

One "standard" (used by a class of network monitoring hardware,
supported by wireshark etc, with some accessor functions implemented
-- albeit probably quite poorly and with terrible taste -- in my
branch of pcap-format,
https://github.com/mor1/ocaml-pcap/blob/master/lib/erf.ml) is the ERF
timestamp. Single int64 representation, accurate to 233 ps.

https://wiki.wireshark.org/ERF

"The time of arrival of the cell, a ERF 64-bit timestamp. Single
little-endian 64-bit fixed point number. The high 32-bits contain the
integer number of seconds since the start of time (unix epoch time).
The lower 32-bits contain the binary fraction of the second allowing
an ultimate resolution of approximately 233 picoseconds."

Not clear this is really what we'd want but something along those
lines (fixed point, binary fractions) might work out sensibly if the
accessors can be efficient.

What range and precision do we want?

(I don't have any real intuition about space or time costs in OCaml at
this level unfortunately, so hard for me to say.)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 14:43:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 14:43:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDD3O-0002YL-5o; Thu, 09 Jul 2015 14:43:58 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZDD3N-0002Y9-5V
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 14:43:57 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	E4/C7-18947-CA88E955; Thu, 09 Jul 2015 14:43:56 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1436453035!23129944!1
X-Originating-IP: [209.85.212.178]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10001 invoked from network); 9 Jul 2015 14:43:55 -0000
Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com)
	(209.85.212.178)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 14:43:55 -0000
Received: by wiwl6 with SMTP id l6so20945671wiw.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 07:43:55 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=LIvxWL7Mn1kzn23eLrGee9PsZ2D1FnwPJ9gc68RTRfM=;
	b=mOIRTBfRQkC2Uyaq8WseZJUxF8EHLa//17Omy56mmxJ01L3o7DUEbkuVD62wxkE2PF
	ecFkQpliYySiq9U2UkWOAFToJFwxgZiTnXfcOuAkybX0GN604nivzno/fcULYoeACab6
	cp8bcJhS/a69imTnh/LaueeUusntPp7kKmmEb/Wwd9XbTI4+xEJ4/65/2RDT/EL8eyX+
	kITygie+xkV6za8KX5ujJAL9l7tKIMn54Nvfmv8qA2Qw1LTPAnIObkctIIdZm/apsxaM
	qW0Y2zuK1vHMeCbY4OiV+bO8m8vr2iONJ4EtwToEaA2/9x6OdwYnSVxhXIgR+chtySzG
	pa0Q==
X-Received: by 10.180.99.39 with SMTP id en7mr125071700wib.31.1436453035031;
	Thu, 09 Jul 2015 07:43:55 -0700 (PDT)
Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com.
	[209.85.212.181]) by smtp.gmail.com with ESMTPSA id
	y19sm8632097wia.15.2015.07.09.07.43.53
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 09 Jul 2015 07:43:54 -0700 (PDT)
Received: by wiga1 with SMTP id a1so315067712wig.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 07:43:53 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.89.72 with SMTP id bm8mr31844394wjb.116.1436453033680;
	Thu, 09 Jul 2015 07:43:53 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Thu, 9 Jul 2015 07:43:53 -0700 (PDT)
In-Reply-To: <CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
Date: Thu, 9 Jul 2015 15:43:53 +0100
Message-ID: <CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: David Sheets <sheets@alum.mit.edu>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

(General agreement to the various proposals :)

On 9 July 2015 at 15:04, David Sheets <sheets@alum.mit.edu> wrote:
>
> 1. The int64 and tuple representations make a timestamp use 2*word +
> 12 bytes if I count correctly. That is 20 bytes on a 32-bit machine
> and 28 bytes on a 64-bit machine to represent 12 bytes of data. :-( If
> we represent a timestamp as int * int * int, we only use word + 12
> bytes, again hoping I can count. This would save some space but would
> make implementations significantly more complex. Maybe there is an
> even better representation?

One "standard" (used by a class of network monitoring hardware,
supported by wireshark etc, with some accessor functions implemented
-- albeit probably quite poorly and with terrible taste -- in my
branch of pcap-format,
https://github.com/mor1/ocaml-pcap/blob/master/lib/erf.ml) is the ERF
timestamp. Single int64 representation, accurate to 233 ps.

https://wiki.wireshark.org/ERF

"The time of arrival of the cell, a ERF 64-bit timestamp. Single
little-endian 64-bit fixed point number. The high 32-bits contain the
integer number of seconds since the start of time (unix epoch time).
The lower 32-bits contain the binary fraction of the second allowing
an ultimate resolution of approximately 233 picoseconds."

Not clear this is really what we'd want but something along those
lines (fixed point, binary fractions) might work out sensibly if the
accessors can be efficient.

What range and precision do we want?

(I don't have any real intuition about space or time costs in OCaml at
this level unfortunately, so hard for me to say.)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 15:11:49 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 15:11:49 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDDUD-0004hP-UH; Thu, 09 Jul 2015 15:11:41 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDDUD-0004hJ-2v
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 15:11:41 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	38/52-13517-C2F8E955; Thu, 09 Jul 2015 15:11:40 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-10.tower-31.messagelabs.com!1436454698!24280193!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20472 invoked from network); 9 Jul 2015 15:11:40 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-10.tower-31.messagelabs.com with SMTP;
	9 Jul 2015 15:11:40 -0000
Received: from [172.17.156.240] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26])
	by smtp.webfaction.com (Postfix) with ESMTP id 92B6321501C3;
	Thu,  9 Jul 2015 15:11:37 +0000 (UTC)
Date: Thu, 9 Jul 2015 16:11:35 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
Message-ID: <E84D4987B648443C83BB590E32F6EEEB@erratique.ch>
In-Reply-To: <CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgamV1ZGksIDkganVpbGxldCAyMDE1IMOgIDE1OjQzLCBSaWNoYXJkIE1vcnRpZXIgYSDDqWNy
aXQgOgo+IFdoYXQgcmFuZ2UgYW5kIHByZWNpc2lvbiBkbyB3ZSB3YW50PwoKSW4gcHRpbWUgSSBh
cmJpdHJhcmlseSBjaG9zZSB0byByZXByZXNlbnQgVVRDIHRpbWVsaW5lIG9mIFJGQyAzMzM5IGNh
biByZXByZXNlbnQgKGkuZS4gMDAwMC0wMS0wMSAwMDowMDowMCBVVEMgdG8gOTk5OS0xMi0zMSAy
Mzo1OTo1OSBVVEMpLiBJIGRvbid0IGhhdmUgYSBwYXJ0aWN1bGFyIHN0cm9uZyBvcGluaW9uIGFi
b3V0IHRoZSBwcmVjaXNpb24uICAKCkl0IGRvZXNuJ3QgbWVhbiB0aGF0IHdlIG5lZWQgdG8gaGF2
ZSB0aGUgc2FtZSByZXByZXNlbnRhdGlvbiBjYXBhYmlsaXRpZXMgYXMgcHRpbWUgZm9yIHRoZSBy
ZXN1bHRzIGdpdmVuIGJ5IENMT0NLLCBidXQgaXQgc2VlbXMgdG8gbWUgdGhhdCB0aGlzIEVSUCA2
NC1iaXQgaXMgYSBiaXQgdG9vIGNvbnN0cmFpbmVkIGFzIGl0IG9ubHkgYWxsb3dzIHRvIHJlcHJl
c2VudCB0aW1lIGZyb20gdGhlIGVwb2NoIDE5NzAgdW50aWwgYXJvdW5kIDIxMDYgQ0UgKGVwb2No
ICsgMl4zMiAvIDg2XzQwMCAvIDM2NSkuCgpCZXN0LAoKRGFuaWVsCgoKCl9fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcg
bGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVu
cHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 15:11:49 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 15:11:49 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDDUD-0004hP-UH; Thu, 09 Jul 2015 15:11:41 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDDUD-0004hJ-2v
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 15:11:41 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	38/52-13517-C2F8E955; Thu, 09 Jul 2015 15:11:40 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-10.tower-31.messagelabs.com!1436454698!24280193!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20472 invoked from network); 9 Jul 2015 15:11:40 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-10.tower-31.messagelabs.com with SMTP;
	9 Jul 2015 15:11:40 -0000
Received: from [172.17.156.240] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26])
	by smtp.webfaction.com (Postfix) with ESMTP id 92B6321501C3;
	Thu,  9 Jul 2015 15:11:37 +0000 (UTC)
Date: Thu, 9 Jul 2015 16:11:35 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
Message-ID: <E84D4987B648443C83BB590E32F6EEEB@erratique.ch>
In-Reply-To: <CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgamV1ZGksIDkganVpbGxldCAyMDE1IMOgIDE1OjQzLCBSaWNoYXJkIE1vcnRpZXIgYSDDqWNy
aXQgOgo+IFdoYXQgcmFuZ2UgYW5kIHByZWNpc2lvbiBkbyB3ZSB3YW50PwoKSW4gcHRpbWUgSSBh
cmJpdHJhcmlseSBjaG9zZSB0byByZXByZXNlbnQgVVRDIHRpbWVsaW5lIG9mIFJGQyAzMzM5IGNh
biByZXByZXNlbnQgKGkuZS4gMDAwMC0wMS0wMSAwMDowMDowMCBVVEMgdG8gOTk5OS0xMi0zMSAy
Mzo1OTo1OSBVVEMpLiBJIGRvbid0IGhhdmUgYSBwYXJ0aWN1bGFyIHN0cm9uZyBvcGluaW9uIGFi
b3V0IHRoZSBwcmVjaXNpb24uICAKCkl0IGRvZXNuJ3QgbWVhbiB0aGF0IHdlIG5lZWQgdG8gaGF2
ZSB0aGUgc2FtZSByZXByZXNlbnRhdGlvbiBjYXBhYmlsaXRpZXMgYXMgcHRpbWUgZm9yIHRoZSBy
ZXN1bHRzIGdpdmVuIGJ5IENMT0NLLCBidXQgaXQgc2VlbXMgdG8gbWUgdGhhdCB0aGlzIEVSUCA2
NC1iaXQgaXMgYSBiaXQgdG9vIGNvbnN0cmFpbmVkIGFzIGl0IG9ubHkgYWxsb3dzIHRvIHJlcHJl
c2VudCB0aW1lIGZyb20gdGhlIGVwb2NoIDE5NzAgdW50aWwgYXJvdW5kIDIxMDYgQ0UgKGVwb2No
ICsgMl4zMiAvIDg2XzQwMCAvIDM2NSkuCgpCZXN0LAoKRGFuaWVsCgoKCl9fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcg
bGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVu
cHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 15:20:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 15:20:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDDcN-0005KM-B3; Thu, 09 Jul 2015 15:20:07 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDDcL-0005K5-Kg
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 15:20:05 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	4F/7C-21074-4219E955; Thu, 09 Jul 2015 15:20:04 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-4.tower-206.messagelabs.com!1436455204!20115781!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14703 invoked from network); 9 Jul 2015 15:20:04 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-4.tower-206.messagelabs.com with SMTP;
	9 Jul 2015 15:20:04 -0000
Received: from [172.17.156.240] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26])
	by smtp.webfaction.com (Postfix) with ESMTP id 33BD92152F6E;
	Thu,  9 Jul 2015 15:20:02 +0000 (UTC)
Date: Thu, 9 Jul 2015 16:20:02 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
Message-ID: <F6EB378DDFE3441082CB974AD1FA01B3@erratique.ch>
In-Reply-To: <CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgamV1ZGksIDkganVpbGxldCAyMDE1IMOgIDE1OjQzLCBSaWNoYXJkIE1vcnRpZXIgYSDDqWNy
aXQgOgo+IFdoYXQgcmFuZ2UgYW5kIHByZWNpc2lvbiBkbyB3ZSB3YW50PwoKQnR3LiBpZiBwZW9w
bGUgYXJlIGludGVyZXN0ZWQgaW4gYSBsaXR0bGUgcmV2aWV3IG9uIHdoYXQgaGFzIGJlZW4gZG9u
ZSBpbiBhIHZhcmlldHkgb2Ygc3lzdGVtcyB0aGVyZSdzIGEgbGlzdCBoZXJlOgoKaHR0cDovL3Vz
ZXJndWlkZS5pY3UtcHJvamVjdC5vcmcvZGF0ZXRpbWUvdW5pdmVyc2FsdGltZXNjYWxlCgpEYW5p
ZWwKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWly
YWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qu
b3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8v
bWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 15:20:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 15:20:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDDcN-0005KM-B3; Thu, 09 Jul 2015 15:20:07 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDDcL-0005K5-Kg
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 15:20:05 +0000
Received: from [85.158.139.211] by server-4.bemta-5.messagelabs.com id
	4F/7C-21074-4219E955; Thu, 09 Jul 2015 15:20:04 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-4.tower-206.messagelabs.com!1436455204!20115781!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14703 invoked from network); 9 Jul 2015 15:20:04 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-4.tower-206.messagelabs.com with SMTP;
	9 Jul 2015 15:20:04 -0000
Received: from [172.17.156.240] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26])
	by smtp.webfaction.com (Postfix) with ESMTP id 33BD92152F6E;
	Thu,  9 Jul 2015 15:20:02 +0000 (UTC)
Date: Thu, 9 Jul 2015 16:20:02 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
Message-ID: <F6EB378DDFE3441082CB974AD1FA01B3@erratique.ch>
In-Reply-To: <CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgamV1ZGksIDkganVpbGxldCAyMDE1IMOgIDE1OjQzLCBSaWNoYXJkIE1vcnRpZXIgYSDDqWNy
aXQgOgo+IFdoYXQgcmFuZ2UgYW5kIHByZWNpc2lvbiBkbyB3ZSB3YW50PwoKQnR3LiBpZiBwZW9w
bGUgYXJlIGludGVyZXN0ZWQgaW4gYSBsaXR0bGUgcmV2aWV3IG9uIHdoYXQgaGFzIGJlZW4gZG9u
ZSBpbiBhIHZhcmlldHkgb2Ygc3lzdGVtcyB0aGVyZSdzIGEgbGlzdCBoZXJlOgoKaHR0cDovL3Vz
ZXJndWlkZS5pY3UtcHJvamVjdC5vcmcvZGF0ZXRpbWUvdW5pdmVyc2FsdGltZXNjYWxlCgpEYW5p
ZWwKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWly
YWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qu
b3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8v
bWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 16:07:41 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 16:07:41 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDEMH-0000tj-4l; Thu, 09 Jul 2015 16:07:33 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZDEMF-0000tV-Gg
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 16:07:31 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	6F/BC-30151-24C9E955; Thu, 09 Jul 2015 16:07:30 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-9.tower-27.messagelabs.com!1436458050!30738076!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7554 invoked from network); 9 Jul 2015 16:07:30 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-9.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 16:07:30 -0000
Received: by wicmv11 with SMTP id mv11so5158031wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 09:07:29 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=A5N6G+7LMvFgZ5Nrm37gB61ZCjmHZQOVnbfOsYR/3to=;
	b=R3XS38jwial3COYcGP2g8PGwzGePcWvyTA+6NCp705CXhBGGS1QOp/r1vJDw9kTGF0
	6LGmZgAQxW5rNHLCgn4Qbkc8hmgb9lONmqoVqEuHCC1LE6fMkSorA1OiUq8B59CakRjb
	bfsT9Sz4F8u+ZWqKB7aL7Xhv9OXg9s+wrIUbjpz0i13JJSYXCxVcRAwTnXA3sC8skO6K
	x7lzRXCn2eB8XDELnMY9MNLXFoZ2KbQVaKE8ITXB59BSOGwMkfIq/fkDHMai4RKSCcmF
	CMTCt5+sSLVyCgMvUk5tkml5n9bBC7zez//46pxatdpqFaxXzJbMjD00oSd5CI3GQ2We
	HkgA==
X-Received: by 10.180.10.163 with SMTP id j3mr50323647wib.34.1436458049732;
	Thu, 09 Jul 2015 09:07:29 -0700 (PDT)
Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com.
	[74.125.82.46])
	by smtp.gmail.com with ESMTPSA id jy6sm9534864wjc.4.2015.07.09.09.07.28
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 09 Jul 2015 09:07:29 -0700 (PDT)
Received: by wgjx7 with SMTP id x7so227488837wgj.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 09:07:28 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.76.193 with SMTP id m1mr46534701wiw.11.1436458048473;
	Thu, 09 Jul 2015 09:07:28 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Thu, 9 Jul 2015 09:07:28 -0700 (PDT)
In-Reply-To: <E84D4987B648443C83BB590E32F6EEEB@erratique.ch>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
	<E84D4987B648443C83BB590E32F6EEEB@erratique.ch>
Date: Thu, 9 Jul 2015 17:07:28 +0100
Message-ID: <CAN2Hq06SYjK2BmGgpUjj2TOSFe26aqnaQ20sRcWqs6O5Jm6Gng@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gOSBKdWx5IDIwMTUgYXQgMTY6MTEsIERhbmllbCBCw7xuemxpIDxkYW5pZWwuYnVlbnpsaUBl
cnJhdGlxdWUuY2g+IHdyb3RlOgo+IExlIGpldWRpLCA5IGp1aWxsZXQgMjAxNSDDoCAxNTo0Mywg
UmljaG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W5pdHMgc2luY2UgdGhl
IHN0YXJ0IG9mIEphbnVhcnkgMSwgMTYwMS4gKEhvdyBmYXIgYmFjawpkbyB3ZSB3YW50IHRvIGdv
PykKCk9yLCBnaXZlbiB0aGlzIGlzIGFsbCBpbi11bmlrZXJuZWwgKGlzbid0IGl0PykgaG93IGFi
b3V0IHRoZSB1bmlrZXJuZWwKc3BlY2lmaWVzIGl0J3Mgb3duIGVwb2NoIGFuZCByYW5nZSAoYW5k
L29yIHByZWNpc2lvbikgYXQgY29tcGlsZSB0aW1lPwoKLS0gClJpY2hhcmQgTW9ydGllcgpyaWNo
YXJkLm1vcnRpZXJAY2wuY2FtLmFjLnVrCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2
ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1i
aW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 16:07:41 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 16:07:41 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDEMH-0000tj-4l; Thu, 09 Jul 2015 16:07:33 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZDEMF-0000tV-Gg
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 16:07:31 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	6F/BC-30151-24C9E955; Thu, 09 Jul 2015 16:07:30 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-9.tower-27.messagelabs.com!1436458050!30738076!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7554 invoked from network); 9 Jul 2015 16:07:30 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-9.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 16:07:30 -0000
Received: by wicmv11 with SMTP id mv11so5158031wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 09:07:29 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=A5N6G+7LMvFgZ5Nrm37gB61ZCjmHZQOVnbfOsYR/3to=;
	b=R3XS38jwial3COYcGP2g8PGwzGePcWvyTA+6NCp705CXhBGGS1QOp/r1vJDw9kTGF0
	6LGmZgAQxW5rNHLCgn4Qbkc8hmgb9lONmqoVqEuHCC1LE6fMkSorA1OiUq8B59CakRjb
	bfsT9Sz4F8u+ZWqKB7aL7Xhv9OXg9s+wrIUbjpz0i13JJSYXCxVcRAwTnXA3sC8skO6K
	x7lzRXCn2eB8XDELnMY9MNLXFoZ2KbQVaKE8ITXB59BSOGwMkfIq/fkDHMai4RKSCcmF
	CMTCt5+sSLVyCgMvUk5tkml5n9bBC7zez//46pxatdpqFaxXzJbMjD00oSd5CI3GQ2We
	HkgA==
X-Received: by 10.180.10.163 with SMTP id j3mr50323647wib.34.1436458049732;
	Thu, 09 Jul 2015 09:07:29 -0700 (PDT)
Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com.
	[74.125.82.46])
	by smtp.gmail.com with ESMTPSA id jy6sm9534864wjc.4.2015.07.09.09.07.28
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 09 Jul 2015 09:07:29 -0700 (PDT)
Received: by wgjx7 with SMTP id x7so227488837wgj.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 09:07:28 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.76.193 with SMTP id m1mr46534701wiw.11.1436458048473;
	Thu, 09 Jul 2015 09:07:28 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Thu, 9 Jul 2015 09:07:28 -0700 (PDT)
In-Reply-To: <E84D4987B648443C83BB590E32F6EEEB@erratique.ch>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
	<E84D4987B648443C83BB590E32F6EEEB@erratique.ch>
Date: Thu, 9 Jul 2015 17:07:28 +0100
Message-ID: <CAN2Hq06SYjK2BmGgpUjj2TOSFe26aqnaQ20sRcWqs6O5Jm6Gng@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gOSBKdWx5IDIwMTUgYXQgMTY6MTEsIERhbmllbCBCw7xuemxpIDxkYW5pZWwuYnVlbnpsaUBl
cnJhdGlxdWUuY2g+IHdyb3RlOgo+IExlIGpldWRpLCA5IGp1aWxsZXQgMjAxNSDDoCAxNTo0Mywg
UmljaGFyZCBNb3J0aWVyIGEgw6ljcml0IDoKPj4gV2hhdCByYW5nZSBhbmQgcHJlY2lzaW9uIGRv
IHdlIHdhbnQ/Cj4KPiBJbiBwdGltZSBJIGFyYml0cmFyaWx5IGNob3NlIHRvIHJlcHJlc2VudCBV
VEMgdGltZWxpbmUgb2YgUkZDIDMzMzkgY2FuIHJlcHJlc2VudCAoaS5lLiAwMDAwLTAxLTAxIDAw
OjAwOjAwIFVUQyB0byA5OTk5LTEyLTMxIDIzOjU5OjU5IFVUQykuIEkgZG9uJ3QgaGF2ZSBhIHBh
cnRpY3VsYXIgc3Ryb25nIG9waW5pb24gYWJvdXQgdGhlIHByZWNpc2lvbi4KPgo+IEl0IGRvZXNu
J3QgbWVhbiB0aGF0IHdlIG5lZWQgdG8gaGF2ZSB0aGUgc2FtZSByZXByZXNlbnRhdGlvbiBjYXBh
YmlsaXRpZXMgYXMgcHRpbWUgZm9yIHRoZSByZXN1bHRzIGdpdmVuIGJ5IENMT0NLLCBidXQgaXQg
c2VlbXMgdG8gbWUgdGhhdCB0aGlzIEVSUCA2NC1iaXQgaXMgYSBiaXQgdG9vIGNvbnN0cmFpbmVk
IGFzIGl0IG9ubHkgYWxsb3dzIHRvIHJlcHJlc2VudCB0aW1lIGZyb20gdGhlIGVwb2NoIDE5NzAg
dW50aWwgYXJvdW5kIDIxMDYgQ0UgKGVwb2NoICsgMl4zMiAvIDg2XzQwMCAvIDM2NSkuCj4KClRo
ZSAxMDAgeWVhciBvbGQgdW5pa2VybmVsLi4uIDopCgpTbwogZXBvY2grMl4zMyBzZWNzIHdpdGgg
cHJlY2lzaW9uIHRvIDQ2NnBzID0+IDIyNDJDRQogZXBvY2grMl4zNCBzZWNzIHdpdGggcHJlY2lz
aW9uIHRvIDFucyA9PiAyNTE0Q0UKCk9yLCBNaWNyb3NvZnQncyBGSUxFVElNRSBpcyB1aW50NjQg
cmVwcmVzZW50aW5nIHRoZSBudW1iZXIgb2YKMTAwLW5hbm9zZWNvbmQgdW5pdHMgc2luY2UgdGhl
IHN0YXJ0IG9mIEphbnVhcnkgMSwgMTYwMS4gKEhvdyBmYXIgYmFjawpkbyB3ZSB3YW50IHRvIGdv
PykKCk9yLCBnaXZlbiB0aGlzIGlzIGFsbCBpbi11bmlrZXJuZWwgKGlzbid0IGl0PykgaG93IGFi
b3V0IHRoZSB1bmlrZXJuZWwKc3BlY2lmaWVzIGl0J3Mgb3duIGVwb2NoIGFuZCByYW5nZSAoYW5k
L29yIHByZWNpc2lvbikgYXQgY29tcGlsZSB0aW1lPwoKLS0gClJpY2hhcmQgTW9ydGllcgpyaWNo
YXJkLm1vcnRpZXJAY2wuY2FtLmFjLnVrCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2
ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1i
aW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 16:29:42 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 16:29:42 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDEhb-00049F-0y; Thu, 09 Jul 2015 16:29:35 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <kosmo.zb@gmail.com>) id 1ZDEha-000498-4W
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 16:29:34 +0000
Received: from [85.158.137.68] by server-3.bemta-3.messagelabs.com id
	2B/63-03035-D61AE955; Thu, 09 Jul 2015 16:29:33 +0000
X-Env-Sender: kosmo.zb@gmail.com
X-Msg-Ref: server-10.tower-31.messagelabs.com!1436459371!24305229!1
X-Originating-IP: [209.85.160.179]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13019 invoked from network); 9 Jul 2015 16:29:32 -0000
Received: from mail-yk0-f179.google.com (HELO mail-yk0-f179.google.com)
	(209.85.160.179)
	by server-10.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 16:29:32 -0000
Received: by ykee186 with SMTP id e186so40701257yke.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 09:29:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=4kwLsG7joEXC5qkPplrdF0l8D7VdbSgZuJBmj13/Qdk=;
	b=aHG9Ll3rp1QzDyFyA6gAWFoaAWvoddrjQoN7czfWekzg54+JV4YIahrLLVDg+gA1Cp
	Fij08pfEzwQLHJSUlJp4ALI9KML1yVS2XP1IfF0uQTHWBWHbx+uQDx33dxa7Os5pashA
	J9O4/63uihV2aIfnrQJ4FAOFdr5RevrUZFhtxXj6fMi9FFpPajSHiMayS1xL6XMV/wnA
	oYoA3a6q2S0L0ntEI2jvUTl7cR/kotIF0CgOAjW2Yl0Ax3vYIPpdeQeLAWL1Num4fG2P
	O9c0pz11jXywV9aUYpB0eZ98xCukNshzA1pOR15BiQnkVXeA5+w6tw0VOxYAiW07f4SA
	7N6A==
MIME-Version: 1.0
X-Received: by 10.129.60.12 with SMTP id j12mr18618903ywa.90.1436459371533;
	Thu, 09 Jul 2015 09:29:31 -0700 (PDT)
Received: by 10.13.236.5 with HTTP; Thu, 9 Jul 2015 09:29:31 -0700 (PDT)
In-Reply-To: <CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
Date: Thu, 9 Jul 2015 17:29:31 +0100
X-Google-Sender-Auth: wqzrrArMPH6vMO26muSyCGtVVP0
Message-ID: <CAAWM5TwT29vDG8Ds7cL8K+6p-hAggzdCYwuHXAd7Q+D06uYWhg@mail.gmail.com>
From: David Sheets <sheets@alum.mit.edu>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gVGh1LCBKdWwgOSwgMjAxNSBhdCAzOjA0IFBNLCBEYXZpZCBTaGVldHMgPHNoZWV0c0BhbHVt
Lm1pdC5lZHU+IHdyb3RlOgo+IE9uIFRodSwgSnVsIDksIDIwMTUgYXQgMjo0NyBQTSwgRGFuaWVs
IELDvG56bGkKPiA8ZGFuaWVsLmJ1ZW56bGlAZXJyYXRpcXVlLmNoPiB3cm90ZToKPj4gSGVsbG8s
Cj4+Cj4+IFdoaWxlIHdvcmtpbmcgb24gcHRpbWUgRGF2aWQgU2hlZXRzIHN1Z2dlc3RlZCBtZSB0
aGF0IG1vdmluZyBhd2F5IGZyb20gT0NhbWwncyB1c3VhbCByZXByZXNlbnRhdGlvbiBmb3IgUE9T
SVggdGltZXN0YW1wcywgbmFtZWx5IGFuIE9DYW1sIGZsb2F0IHJlcHJlc2VudGluZyBzZWNvbmRz
IGZyb20gdGhlIGVwb2NoLCBtaWdodCBiZSBhIGdvb2QgaWRlYSBhcyBpdCBpcyBub3dhZGF5cyBw
b3NzaWJsZSB0byBnZXQgbmFub3NlY29uZCBwcmVjaXNpb24gdGltZXN0YW1wcyBhbmQgdGhvc2Ug
Y2Fubm90IGJlIHJlcHJlc2VudGVkIGV4YWN0bHkgaW4gdGhpcyByZXByZXNlbnRhdGlvbiAoaGUg
YWxzbyBtZW50aW9uZWQgaGFyZHdhcmUgbm90IGhhdmluZyBGUCBzdXBwb3J0IGFzIGFuIGFyZ3Vt
ZW50KS4KPj4KPj4gSSdtIG5vdyBxdWl0ZSBjb252aW5jZWQgdGhhdCB0aGlzIHNob3VsZCBiZSBk
b25lIGFuZCB3b3VsZCBsaWtlIHRvIHN1cHBvc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org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 16:29:42 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDEhb-00049F-0y; Thu, 09 Jul 2015 16:29:35 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <kosmo.zb@gmail.com>) id 1ZDEha-000498-4W
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 16:29:34 +0000
Received: from [85.158.137.68] by server-3.bemta-3.messagelabs.com id
	2B/63-03035-D61AE955; Thu, 09 Jul 2015 16:29:33 +0000
X-Env-Sender: kosmo.zb@gmail.com
X-Msg-Ref: server-10.tower-31.messagelabs.com!1436459371!24305229!1
X-Originating-IP: [209.85.160.179]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13019 invoked from network); 9 Jul 2015 16:29:32 -0000
Received: from mail-yk0-f179.google.com (HELO mail-yk0-f179.google.com)
	(209.85.160.179)
	by server-10.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	9 Jul 2015 16:29:32 -0000
Received: by ykee186 with SMTP id e186so40701257yke.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 09 Jul 2015 09:29:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=4kwLsG7joEXC5qkPplrdF0l8D7VdbSgZuJBmj13/Qdk=;
	b=aHG9Ll3rp1QzDyFyA6gAWFoaAWvoddrjQoN7czfWekzg54+JV4YIahrLLVDg+gA1Cp
	Fij08pfEzwQLHJSUlJp4ALI9KML1yVS2XP1IfF0uQTHWBWHbx+uQDx33dxa7Os5pashA
	J9O4/63uihV2aIfnrQJ4FAOFdr5RevrUZFhtxXj6fMi9FFpPajSHiMayS1xL6XMV/wnA
	oYoA3a6q2S0L0ntEI2jvUTl7cR/kotIF0CgOAjW2Yl0Ax3vYIPpdeQeLAWL1Num4fG2P
	O9c0pz11jXywV9aUYpB0eZ98xCukNshzA1pOR15BiQnkVXeA5+w6tw0VOxYAiW07f4SA
	7N6A==
MIME-Version: 1.0
X-Received: by 10.129.60.12 with SMTP id j12mr18618903ywa.90.1436459371533;
	Thu, 09 Jul 2015 09:29:31 -0700 (PDT)
Received: by 10.13.236.5 with HTTP; Thu, 9 Jul 2015 09:29:31 -0700 (PDT)
In-Reply-To: <CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
Date: Thu, 9 Jul 2015 17:29:31 +0100
X-Google-Sender-Auth: wqzrrArMPH6vMO26muSyCGtVVP0
Message-ID: <CAAWM5TwT29vDG8Ds7cL8K+6p-hAggzdCYwuHXAd7Q+D06uYWhg@mail.gmail.com>
From: David Sheets <sheets@alum.mit.edu>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gVGh1LCBKdWwgOSwgMjAxNSBhdCAzOjA0IFBNLCBEYXZpZCBTaGVldHMgPHNoZWV0c0BhbHVt
Lm1pdC5lZHU+IHdyb3RlOgo+IE9uIFRodSwgSnVsIDksIDIwMTUgYXQgMjo0NyBQTSwgRGFuaWVs
IELDvG56bGkKPiA8ZGFuaWVsLmJ1ZW56bGlAZXJyYXRpcXVlLmNoPiB3cm90ZToKPj4gSGVsbG8s
Cj4+Cj4+IFdoaWxlIHdvcmtpbmcgb24gcHRpbWUgRGF2aWQgU2hlZXRzIHN1Z2dlc3RlZCBtZSB0
aGF0IG1vdmluZyBhd2F5IGZyb20gT0NhbWwncyB1c3VhbCByZXByZXNlbnRhdGlvbiBmb3IgUE9T
SVggdGltZXN0YW1wcywgbmFtZWx5IGFuIE9DYW1sIGZsb2F0IHJlcHJlc2VudGluZyBzZWNvbmRz
IGZyb20gdGhlIGVwb2NoLCBtaWdodCBiZSBhIGdvb2QgaWRlYSBhcyBpdCBpcyBub3dhZGF5cyBw
b3NzaWJsZSB0byBnZXQgbmFub3NlY29uZCBwcmVjaXNpb24gdGltZXN0YW1wcyBhbmQgdGhvc2Ug
Y2Fubm90IGJlIHJlcHJlc2VudGVkIGV4YWN0bHkgaW4gdGhpcyByZXByZXNlbnRhdGlvbiAoaGUg
YWxzbyBtZW50aW9uZWQgaGFyZHdhcmUgbm90IGhhdmluZyBGUCBzdXBwb3J0IGFzIGFuIGFyZ3Vt
ZW50KS4KPj4KPj4gSSdtIG5vdyBxdWl0ZSBjb252aW5jZWQgdGhhdCB0aGlzIHNob3VsZCBiZSBk
b25lIGFuZ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015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 16:37:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDEpU-0004nG-Ue; Thu, 09 Jul 2015 16:37:44 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDEpT-0004my-Rd
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 16:37:43 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	E9/5F-16813-753AE955; Thu, 09 Jul 2015 16:37:43 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-4.tower-27.messagelabs.com!1436459862!29650449!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18077 invoked from network); 9 Jul 2015 16:37:42 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-4.tower-27.messagelabs.com with SMTP;
	9 Jul 2015 16:37:42 -0000
Received: from [172.17.156.240] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26])
	by smtp.webfaction.com (Postfix) with ESMTP id 185542101856;
	Thu,  9 Jul 2015 16:37:40 +0000 (UTC)
Date: Thu, 9 Jul 2015 17:37:38 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
Message-ID: <72774988D8684B39A67B92D029082641@erratique.ch>
In-Reply-To: <CAN2Hq06SYjK2BmGgpUjj2TOSFe26aqnaQ20sRcWqs6O5Jm6Gng@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
	<E84D4987B648443C83BB590E32F6EEEB@erratique.ch>
	<CAN2Hq06SYjK2BmGgpUjj2TOSFe26aqnaQ20sRcWqs6O5Jm6Gng@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgamV1ZGksIDkganVpbGxldCAyMDE1IMOgIDE3OjA3LCBSaWNoYXJkIE1vcnRpZXIgYSDDqWNy
aXQgOgo+IE9yLCBnaXZlbiB0aGlzIGlzIGFsbCBpbi11bmlrZXJuZWwgKGlzbid0IGl0PykgaG93
IGFib3V0IHRoZSB1bmlrZXJuZWwKPiBzcGVjaWZpZXMgaXQncyBvd24gZXBvY2ggYW5kIHJhbmdl
IChhbmQvb3IgcHJlY2lzaW9uKSBhdCBjb21waWxlIHRpbWU/CgpUaGF0IHNlZW1zIGxpa2UgYSBy
ZWNpcGUgZm9yIGRpc2FzdGVyIChhbmQgaXQgd291bGQgYmUgaGFyZCB0byBzdXBwb3J0IGF0IHRo
ZSBsaWJyYXJ5IGxldmVsKS4gIAoKRGFuaWVsCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VP
Uy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcv
Y2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 16:37:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 16:37:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDEpU-0004nG-Ue; Thu, 09 Jul 2015 16:37:44 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDEpT-0004my-Rd
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 16:37:43 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	E9/5F-16813-753AE955; Thu, 09 Jul 2015 16:37:43 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-4.tower-27.messagelabs.com!1436459862!29650449!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18077 invoked from network); 9 Jul 2015 16:37:42 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-4.tower-27.messagelabs.com with SMTP;
	9 Jul 2015 16:37:42 -0000
Received: from [172.17.156.240] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26])
	by smtp.webfaction.com (Postfix) with ESMTP id 185542101856;
	Thu,  9 Jul 2015 16:37:40 +0000 (UTC)
Date: Thu, 9 Jul 2015 17:37:38 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
Message-ID: <72774988D8684B39A67B92D029082641@erratique.ch>
In-Reply-To: <CAN2Hq06SYjK2BmGgpUjj2TOSFe26aqnaQ20sRcWqs6O5Jm6Gng@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
	<E84D4987B648443C83BB590E32F6EEEB@erratique.ch>
	<CAN2Hq06SYjK2BmGgpUjj2TOSFe26aqnaQ20sRcWqs6O5Jm6Gng@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgamV1ZGksIDkganVpbGxldCAyMDE1IMOgIDE3OjA3LCBSaWNoYXJkIE1vcnRpZXIgYSDDqWNy
aXQgOgo+IE9yLCBnaXZlbiB0aGlzIGlzIGFsbCBpbi11bmlrZXJuZWwgKGlzbid0IGl0PykgaG93
IGFib3V0IHRoZSB1bmlrZXJuZWwKPiBzcGVjaWZpZXMgaXQncyBvd24gZXBvY2ggYW5kIHJhbmdl
IChhbmQvb3IgcHJlY2lzaW9uKSBhdCBjb21waWxlIHRpbWU/CgpUaGF0IHNlZW1zIGxpa2UgYSBy
ZWNpcGUgZm9yIGRpc2FzdGVyIChhbmQgaXQgd291bGQgYmUgaGFyZCB0byBzdXBwb3J0IGF0IHRo
ZSBsaWJyYXJ5IGxldmVsKS4gIAoKRGFuaWVsCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VP
Uy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcv
Y2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 16:53:38 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 16:53:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDF4p-0005iW-1g; Thu, 09 Jul 2015 16:53:35 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDF4n-0005iR-SJ
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 16:53:33 +0000
Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id
	86/2C-06457-D07AE955; Thu, 09 Jul 2015 16:53:33 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-15.tower-31.messagelabs.com!1436460812!24206756!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30581 invoked from network); 9 Jul 2015 16:53:32 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-15.tower-31.messagelabs.com with SMTP;
	9 Jul 2015 16:53:32 -0000
Received: from [172.17.156.240] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26])
	by smtp.webfaction.com (Postfix) with ESMTP id 45183210197C;
	Thu,  9 Jul 2015 16:53:30 +0000 (UTC)
Date: Thu, 9 Jul 2015 17:53:30 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: David Sheets <sheets@alum.mit.edu>
Message-ID: <0FBDF5027AD34C7BB1F11A69824D073E@erratique.ch>
In-Reply-To: <CAAWM5TwT29vDG8Ds7cL8K+6p-hAggzdCYwuHXAd7Q+D06uYWhg@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAAWM5TwT29vDG8Ds7cL8K+6p-hAggzdCYwuHXAd7Q+D06uYWhg@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgamV1ZGksIDkganVpbGxldCAyMDE1IMOgIDE3OjI5LCBEYXZpZCBTaGVldHMgYSDDqWNyaXQg
Ogo+IFRoaXMgZ2l2ZXMgMSB3b3JkIGZvciB0dXBsZSwgMSB3b3JkIGZvciBpbnQ2NCBwb2ludGVy
LCAxIHdvcmQgZm9yCj4gaW50NjQgaGVhZGVyLCAxIHdvcmQgZm9yIGludCwgOCBieXRlcyBmb3Ig
aW50NjQgZGF0YSA9IDQqd29yZCArIDgKPiBieXRlcyA9IDI0IGJ5dGVzIG9uIDMyLWJpdCA9IDQw
IGJ5dGVzIG9uIDY0LWJpdAo+ICAKPiA6LSggOi0oCiAgClN0aWxsIGRlc2lnbmluZyB3aXRoIG5h
bm9zZWNvbmQgcHJlY2lzaW9uIGJldHdlZW4gcHRpbWUncyBib3VuZGFyaWVzIGluIG1pbmQgKHNp
bmNlIEkgd2lsbCBzdXBwb3J0IHRoYXQgYW55d2F5IG9uIG15IHNpZGUgdGhlcmUpIG9uZSBjb3Vs
ZCBhY3R1YWxseSBpbnRlcnByZXQgaW50ICogaW50ICogaW50IGFzIGJlaW5nIGEgUE9TSVggZGF5
IGNvdW50IGZyb20gdGhlIGVwb2NoLCBhIHNlY29uZCBpbiB0aGF0IGRheSwgYW5kIGEgbmFub3Nl
Y29uZCBpbiB0aGF0IHNlY29uZC4gVGhhdCB3b3VsZCBtYWtlIGl0IDQgd29yZHMgcGVyIHRpbWVz
dGFtcCwgaS5lLiAxNiBieXRlcyBvbiAzMi1iaXQgYW5kIDMyIGJ5dGVzIG9uIDY0LWJpdC4gSXQn
cyBqdXN0IGEgbGl0dGxlIGJpdCBwYWluZnVsIHRvIHdvcmsgd2l0aC4KCklmIHBlb3BsZSBvbmx5
IGNhcmUgYWJvdXQgMTAwbnMgcHJlY2lzaW9uIHRoZW4gYSBzaW5nbGUgaW50NjQgd2lsbCBkbyB3
aGljaCB3b3VsZCBiZSAxMiBieXRlcyBvbiAzMi1iaXQgYW5kIDE2IGJ5dGVzIG9uIDY0LWJpdC4g
IAoKRGFuaWVsCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5w
cm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xp
c3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 09 16:53:38 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 09 Jul 2015 16:53:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDF4p-0005iW-1g; Thu, 09 Jul 2015 16:53:35 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDF4n-0005iR-SJ
	for mirageos-devel@lists.xenproject.org; Thu, 09 Jul 2015 16:53:33 +0000
Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id
	86/2C-06457-D07AE955; Thu, 09 Jul 2015 16:53:33 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-15.tower-31.messagelabs.com!1436460812!24206756!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30581 invoked from network); 9 Jul 2015 16:53:32 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-15.tower-31.messagelabs.com with SMTP;
	9 Jul 2015 16:53:32 -0000
Received: from [172.17.156.240] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26])
	by smtp.webfaction.com (Postfix) with ESMTP id 45183210197C;
	Thu,  9 Jul 2015 16:53:30 +0000 (UTC)
Date: Thu, 9 Jul 2015 17:53:30 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: David Sheets <sheets@alum.mit.edu>
Message-ID: <0FBDF5027AD34C7BB1F11A69824D073E@erratique.ch>
In-Reply-To: <CAAWM5TwT29vDG8Ds7cL8K+6p-hAggzdCYwuHXAd7Q+D06uYWhg@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAAWM5TwT29vDG8Ds7cL8K+6p-hAggzdCYwuHXAd7Q+D06uYWhg@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgamV1ZGksIDkganVpbGxldCAyMDE1IMOgIDE3OjI5LCBEYXZpZCBTaGVldHMgYSDDqWNyaXQg
Ogo+IFRoaXMgZ2l2ZXMgMSB3b3JkIGZvciB0dXBsZSwgMSB3b3JkIGZvciBpbnQ2NCBwb2ludGVy
LCAxIHdvcmQgZm9yCj4gaW50NjQgaGVhZGVyLCAxIHdvcmQgZm9yIGludCwgOCBieXRlcyBmb3Ig
aW50NjQgZGF0YSA9IDQqd29yZCArIDgKPiBieXRlcyA9IDI0IGJ5dGVzIG9uIDMyLWJpdCA9IDQw
IGJ5dGVzIG9uIDY0LWJpdAo+ICAKPiA6LSggOi0oCiAgClN0aWxsIGRlc2lnbmluZyB3aXRoIG5h
bm9zZWNvbmQgcHJlY2lzaW9uIGJldHdlZW4gcHRpbWUncyBib3VuZGFyaWVzIGluIG1pbmQgKHNp
bmNlIEkgd2lsbCBzdXBwb3J0IHRoYXQgYW55d2F5IG9uIG15IHNpZGUgdGhlcmUpIG9uZSBjb3Vs
ZCBhY3R1YWxseSBpbnRlcnByZXQgaW50ICogaW50ICogaW50IGFzIGJlaW5nIGEgUE9TSVggZGF5
IGNvdW50IGZyb20gdGhlIGVwb2NoLCBhIHNlY29uZCBpbiB0aGF0IGRheSwgYW5kIGEgbmFub3Nl
Y29uZCBpbiB0aGF0IHNlY29uZC4gVGhhdCB3b3VsZCBtYWtlIGl0IDQgd29yZHMgcGVyIHRpbWVz
dGFtcCwgaS5lLiAxNiBieXRlcyBvbiAzMi1iaXQgYW5kIDMyIGJ5dGVzIG9uIDY0LWJpdC4gSXQn
cyBqdXN0IGEgbGl0dGxlIGJpdCBwYWluZnVsIHRvIHdvcmsgd2l0aC4KCklmIHBlb3BsZSBvbmx5
IGNhcmUgYWJvdXQgMTAwbnMgcHJlY2lzaW9uIHRoZW4gYSBzaW5nbGUgaW50NjQgd2lsbCBkbyB3
aGljaCB3b3VsZCBiZSAxMiBieXRlcyBvbiAzMi1iaXQgYW5kIDE2IGJ5dGVzIG9uIDY0LWJpdC4g
IAoKRGFuaWVsCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VPUy1kZXZlbEBsaXN0cy54ZW5w
cm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xp
c3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 10 09:50:20 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 10 Jul 2015 09:50:20 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDUwe-00062Q-PR; Fri, 10 Jul 2015 09:50:12 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZDUwd-000627-9y
	for mirageos-devel@lists.xenproject.org; Fri, 10 Jul 2015 09:50:11 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	A8/7D-18676-2559F955; Fri, 10 Jul 2015 09:50:10 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1436521809!30950210!1
X-Originating-IP: [74.125.82.41]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7623 invoked from network); 10 Jul 2015 09:50:09 -0000
Received: from mail-wg0-f41.google.com (HELO mail-wg0-f41.google.com)
	(74.125.82.41)
	by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	10 Jul 2015 09:50:09 -0000
Received: by wgov12 with SMTP id v12so60214510wgo.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 10 Jul 2015 02:50:09 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=KsT5PMbytzJ6/EW+Uk0c38PDFE6yGmeyjZLZxKAVVxg=;
	b=IyRqt2paC7IiixZWtRLF9j4B26EgAJGSc0km7JovZNKO3qFTjDOeMrHcPPsUWgmiZ3
	yd3pL6TnPLV/uAD81cjfKZNlAePljaV4+Fmex/ssoBKGn1wX225l5KviGatYDBWSlwHA
	+PyHzwl651srT6D3nw0BlxQcIWMIdHnyf9k9bqp/wDkCELxkYiK4N0R6ciW6dobg1a5c
	hkfyUckL02sTKCyJRJkRB0qezEsUyf2SU1ZTcTEXt9YVVnuzpGrm2/T7mNrDZpzFVT0d
	0p3jVqlUcj4k2E8WmzA6ET9zvGP2/nMXT0RMniXOgfg85u16HMeD28qlAdP+OSvUiY33
	i9dA==
X-Received: by 10.180.206.229 with SMTP id lr5mr4531296wic.86.1436521809423;
	Fri, 10 Jul 2015 02:50:09 -0700 (PDT)
Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com.
	[209.85.212.180]) by smtp.gmail.com with ESMTPSA id
	lv8sm12772819wjb.41.2015.07.10.02.50.08
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 10 Jul 2015 02:50:09 -0700 (PDT)
Received: by wifm2 with SMTP id m2so41512620wif.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 10 Jul 2015 02:50:07 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.181.25.234 with SMTP id it10mr4491132wid.41.1436521807943;
	Fri, 10 Jul 2015 02:50:07 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Fri, 10 Jul 2015 02:50:07 -0700 (PDT)
In-Reply-To: <72774988D8684B39A67B92D029082641@erratique.ch>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
	<E84D4987B648443C83BB590E32F6EEEB@erratique.ch>
	<CAN2Hq06SYjK2BmGgpUjj2TOSFe26aqnaQ20sRcWqs6O5Jm6Gng@mail.gmail.com>
	<72774988D8684B39A67B92D029082641@erratique.ch>
Date: Fri, 10 Jul 2015 10:50:07 +0100
Message-ID: <CAN2Hq04aqE8LZ+K+14=mDic1psQ3EU3DuuUmPmKoWxzS=LabeA@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gOSBKdWx5IDIwMTUgYXQgMTc6MzcsIERhbmllbCBCw7xuemxpIDxkYW5pZWwuYnVlbnpsaUBl
cnJhdGlxdWUuY2g+IHdyb3RlOgo+IExlIGpldWRpLCA5IGp1aWxsZXQgMjAxNSDDoCAxNzowNywg
UmljaGFyZCBNb3J0aWVyIGEgw6ljcml0IDoKPj4gT3IsIGdpdmVuIHRoaXMgaXMgYWxsIGluLXVu
aWtlcm5lbCAoaXNuJ3QgaXQ/KSBob3cgYWJvdXQgdGhlIHVuaWtlcm5lbAo+PiBzcGVjaWZpZXMg
aXQncyBvd24gZXBvY2ggYW5kIHJhbmdlIChhbmQvb3IgcHJlY2lzaW9uKSBhdCBjb21waWxlIHRp
bWU/Cj4KPiBUaGF0IHNlZW1zIGxpa2UgYSByZWNpcGUgZm9yIGRpc2FzdGVyIChhbmQgaXQgd291
bGQgYmUgaGFyZCB0byBzdXBwb3J0IGF0IHRoZSBsaWJyYXJ5IGxldmVsKS4KCldhcyB0aGlua2lu
ZyBzaW1wbHkgaW4gdGVybXMgb2YgdXNpbmcgYW4gaW50NjQgYW5kIHRoZW4gcGlja2luZyB0aGUK
cG9zaXRpb24gb2YgdGhlIGZpeGVkIHBvaW50IGF0IGNvbXBpbGUgdGltZSBzbyB0aGUgdW5pa2Vy
bmVsIGNvdWxkCnRyYWRlIHByZWNpc2lvbiBmb3IgcmFuZ2UuIE5vdCBzdXJlIHdoeSBpdCB3b3Vs
ZCBuZWNlc3NhcmlseSBsZWFkIHRvCmRpc2FzdGVyLCB0aG91Z2ggSSBhZ3JlZSBpdCB3b3VsZCBi
ZSBtb3JlIGNvbXBsZXggdG8gc3VwcG9ydC4KCi0tIApSaWNoYXJkIE1vcnRpZXIKcmljaGFyZC5t
b3J0aWVyQGNsLmNhbS5hYy51awoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxp
c3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21h
aWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 10 09:50:20 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 10 Jul 2015 09:50:20 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDUwe-00062Q-PR; Fri, 10 Jul 2015 09:50:12 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZDUwd-000627-9y
	for mirageos-devel@lists.xenproject.org; Fri, 10 Jul 2015 09:50:11 +0000
Received: from [193.109.254.147] by server-3.bemta-14.messagelabs.com id
	A8/7D-18676-2559F955; Fri, 10 Jul 2015 09:50:10 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1436521809!30950210!1
X-Originating-IP: [74.125.82.41]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7623 invoked from network); 10 Jul 2015 09:50:09 -0000
Received: from mail-wg0-f41.google.com (HELO mail-wg0-f41.google.com)
	(74.125.82.41)
	by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	10 Jul 2015 09:50:09 -0000
Received: by wgov12 with SMTP id v12so60214510wgo.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 10 Jul 2015 02:50:09 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=KsT5PMbytzJ6/EW+Uk0c38PDFE6yGmeyjZLZxKAVVxg=;
	b=IyRqt2paC7IiixZWtRLF9j4B26EgAJGSc0km7JovZNKO3qFTjDOeMrHcPPsUWgmiZ3
	yd3pL6TnPLV/uAD81cjfKZNlAePljaV4+Fmex/ssoBKGn1wX225l5KviGatYDBWSlwHA
	+PyHzwl651srT6D3nw0BlxQcIWMIdHnyf9k9bqp/wDkCELxkYiK4N0R6ciW6dobg1a5c
	hkfyUckL02sTKCyJRJkRB0qezEsUyf2SU1ZTcTEXt9YVVnuzpGrm2/T7mNrDZpzFVT0d
	0p3jVqlUcj4k2E8WmzA6ET9zvGP2/nMXT0RMniXOgfg85u16HMeD28qlAdP+OSvUiY33
	i9dA==
X-Received: by 10.180.206.229 with SMTP id lr5mr4531296wic.86.1436521809423;
	Fri, 10 Jul 2015 02:50:09 -0700 (PDT)
Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com.
	[209.85.212.180]) by smtp.gmail.com with ESMTPSA id
	lv8sm12772819wjb.41.2015.07.10.02.50.08
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 10 Jul 2015 02:50:09 -0700 (PDT)
Received: by wifm2 with SMTP id m2so41512620wif.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 10 Jul 2015 02:50:07 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.181.25.234 with SMTP id it10mr4491132wid.41.1436521807943;
	Fri, 10 Jul 2015 02:50:07 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Fri, 10 Jul 2015 02:50:07 -0700 (PDT)
In-Reply-To: <72774988D8684B39A67B92D029082641@erratique.ch>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
	<E84D4987B648443C83BB590E32F6EEEB@erratique.ch>
	<CAN2Hq06SYjK2BmGgpUjj2TOSFe26aqnaQ20sRcWqs6O5Jm6Gng@mail.gmail.com>
	<72774988D8684B39A67B92D029082641@erratique.ch>
Date: Fri, 10 Jul 2015 10:50:07 +0100
Message-ID: <CAN2Hq04aqE8LZ+K+14=mDic1psQ3EU3DuuUmPmKoWxzS=LabeA@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gOSBKdWx5IDIwMTUgYXQgMTc6MzcsIERhbmllbCBCw7xuemxpIDxkYW5pZWwuYnVlbnpsaUBl
cnJhdGlxdWUuY2g+IHdyb3RlOgo+IExlIGpldWRpLCA5IGp1aWxsZXQgMjAxNSDDoCAxNzowNywg
UmljaGFyZCBNb3J0aWVyIGEgw6ljcml0IDoKPj4gT3IsIGdpdmVuIHRoaXMgaXMgYWxsIGluLXVu
aWtlcm5lbCAoaXNuJ3QgaXQ/KSBob3cgYWJvdXQgdGhlIHVuaWtlcm5lbAo+PiBzcGVjaWZpZXMg
aXQncyBvd24gZXBvY2ggYW5kIHJhbmdlIChhbmQvb3IgcHJlY2lzaW9uKSBhdCBjb21waWxlIHRp
bWU/Cj4KPiBUaGF0IHNlZW1zIGxpa2UgYSByZWNpcGUgZm9yIGRpc2FzdGVyIChhbmQgaXQgd291
bGQgYmUgaGFyZCB0byBzdXBwb3J0IGF0IHRoZSBsaWJyYXJ5IGxldmVsKS4KCldhcyB0aGlua2lu
ZyBzaW1wbHkgaW4gdGVybXMgb2YgdXNpbmcgYW4gaW50NjQgYW5kIHRoZW4gcGlja2luZyB0aGUK
cG9zaXRpb24gb2YgdGhlIGZpeGVkIHBvaW50IGF0IGNvbXBpbGUgdGltZSBzbyB0aGUgdW5pa2Vy
bmVsIGNvdWxkCnRyYWRlIHByZWNpc2lvbiBmb3IgcmFuZ2UuIE5vdCBzdXJlIHdoeSBpdCB3b3Vs
ZCBuZWNlc3NhcmlseSBsZWFkIHRvCmRpc2FzdGVyLCB0aG91Z2ggSSBhZ3JlZSBpdCB3b3VsZCBi
ZSBtb3JlIGNvbXBsZXggdG8gc3VwcG9ydC4KCi0tIApSaWNoYXJkIE1vcnRpZXIKcmljaGFyZC5t
b3J0aWVyQGNsLmNhbS5hYy51awoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxp
c3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21h
aWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 10 11:05:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 10 Jul 2015 11:05:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDW7O-00047T-2z; Fri, 10 Jul 2015 11:05:22 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDW7N-00047H-69
	for mirageos-devel@lists.xenproject.org; Fri, 10 Jul 2015 11:05:21 +0000
Received: from [85.158.137.68] by server-10.bemta-3.messagelabs.com id
	4E/AF-03895-0F6AF955; Fri, 10 Jul 2015 11:05:20 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-6.tower-31.messagelabs.com!1436526319!20146652!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28949 invoked from network); 10 Jul 2015 11:05:19 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-6.tower-31.messagelabs.com with SMTP;
	10 Jul 2015 11:05:19 -0000
Received: from [192.168.2.7] (cpc16-cmbg14-2-0-cust300.5-4.cable.virginm.net
	[86.6.157.45])
	by smtp.webfaction.com (Postfix) with ESMTP id 88E782162640;
	Fri, 10 Jul 2015 11:05:18 +0000 (UTC)
Date: Fri, 10 Jul 2015 12:05:14 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
Message-ID: <EEFD7F67B6D444CD8BA8B2EE458B67BD@erratique.ch>
In-Reply-To: <CAN2Hq04aqE8LZ+K+14=mDic1psQ3EU3DuuUmPmKoWxzS=LabeA@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
	<E84D4987B648443C83BB590E32F6EEEB@erratique.ch>
	<CAN2Hq06SYjK2BmGgpUjj2TOSFe26aqnaQ20sRcWqs6O5Jm6Gng@mail.gmail.com>
	<72774988D8684B39A67B92D029082641@erratique.ch>
	<CAN2Hq04aqE8LZ+K+14=mDic1psQ3EU3DuuUmPmKoWxzS=LabeA@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgdmVuZHJlZGksIDEwIGp1aWxsZXQgMjAxNSDDoCAxMDo1MCwgUmljaGFyZCBNb3J0aWVyIGEg
w6ljcml0IDoKPiBOb3Qgc3VyZSB3aHkgaXQgd291bGQgbmVjZXNzYXJpbHkgbGVhZCB0byBkaXNh
c3RlcgoKV2VsbCB0aGF0IHNlZW1zIHF1aXRlIGV2aWRlbnQgdG8gbWU6CgoxKSBXZSBhbHJlYWR5
IHNhdyBlbm91Z2gg4oCUIHNvbWUgc3RpbGwgd2FpdGluZyB0byBoYXBwZW4g4oCUIGNsb2NrIHJv
bGxvdmVycyBpbiB0aGUgc2hvcnQgaGlzdG9yeSBvZiBjb21wdXRpbmcuIFRpbWUgYnVncyBjYW4g
YmUgcmVhbGx5IGRpc2FzdHJvdXMsIHlvdSBkb24ndCB3YW50IHRoZXNlIGV4cGlyZWQgY2VydGlm
aWNhdGVzIHRvIG5vIGxvbmdlciBiZS4K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jZWQgbm9pc2UsIGNvbmZ1c2lvbiBhbmQgbmV3IHBvdGVudGlhbCBzb3VyY2VzIG9m
IGJ1Z3MgaW4gdGhlIHN5c3RlbS4KCkZvciB0aGVzZSByZWFzb25zIGl0J3MgYmV0dGVyIHRvIGFj
dHVhbGx5IG1ha2UgYSBzaW5nbGUgZGVjaXNpb24gYWJvdXQgaG93IHRoaXMgc2hvdWxkIGJlIHJl
cHJlc2VudGVkIHRvIGVyciBvbiB0aGUgc2FmZSBzaWRlIGJ5ICpkZXNpZ24qLiBJdCdzIGludGVy
ZXN0aW5nIHRvIGZpbmQgb3V0IHdoZXRoZXIgd2UgY2FuIGZpbmQgYSBnb29kIGNvbXBhY3QgZW5j
b2RpbmcsIGJ1dCBmb2N1c2luZyB0byBtdWNoIG9uIHRoZSBhY3R1YWwgbWVtb3J5IGZvb3Rwcmlu
dCBvZiB0aGUgdGhlIHJlcHJlc2VudGF0aW9uIGZvY3VzZXMgb24gdGhlIHdyb25nIHByb2JsZW0g
aW4gbXkgb3Bpbmlvbi4KCkJlc3QsCgpEYW5pZWwKCl9fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJhZ2VP
Uy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5vcmcv
Y2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 10 11:05:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 10 Jul 2015 11:05:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDW7O-00047T-2z; Fri, 10 Jul 2015 11:05:22 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDW7N-00047H-69
	for mirageos-devel@lists.xenproject.org; Fri, 10 Jul 2015 11:05:21 +0000
Received: from [85.158.137.68] by server-10.bemta-3.messagelabs.com id
	4E/AF-03895-0F6AF955; Fri, 10 Jul 2015 11:05:20 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-6.tower-31.messagelabs.com!1436526319!20146652!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28949 invoked from network); 10 Jul 2015 11:05:19 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-6.tower-31.messagelabs.com with SMTP;
	10 Jul 2015 11:05:19 -0000
Received: from [192.168.2.7] (cpc16-cmbg14-2-0-cust300.5-4.cable.virginm.net
	[86.6.157.45])
	by smtp.webfaction.com (Postfix) with ESMTP id 88E782162640;
	Fri, 10 Jul 2015 11:05:18 +0000 (UTC)
Date: Fri, 10 Jul 2015 12:05:14 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
Message-ID: <EEFD7F67B6D444CD8BA8B2EE458B67BD@erratique.ch>
In-Reply-To: <CAN2Hq04aqE8LZ+K+14=mDic1psQ3EU3DuuUmPmKoWxzS=LabeA@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAN2Hq05A0kLrsXtU3b1Wv_-rW3JrQNJDBJhuXZkmsOfukc=Dbw@mail.gmail.com>
	<E84D4987B648443C83BB590E32F6EEEB@erratique.ch>
	<CAN2Hq06SYjK2BmGgpUjj2TOSFe26aqnaQ20sRcWqs6O5Jm6Gng@mail.gmail.com>
	<72774988D8684B39A67B92D029082641@erratique.ch>
	<CAN2Hq04aqE8LZ+K+14=mDic1psQ3EU3DuuUmPmKoWxzS=LabeA@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgdmVuZHJlZGksIDEwIGp1aWxsZXQgMjAxNSDDoCAxMDo1MCwgUmljaGFyZCBNb3J0aWVyIGEg
w6ljcml0IDoKPiBOb3Qgc3VyZSB3aHkgaXQgd291bGQgbmVjZXNzYXJpbHkgbGVhZCB0byBkaXNh
c3RlcgoKV2VsbCB0aGF0IHNlZW1zIHF1aXRlIGV2aWRlbnQgdG8gbWU6CgoxKSBXZSBhbHJlYWR5
IHNhdyBlbm91Z2gg4oCUIHNvbWUgc3RpbGwgd2FpdGluZyB0byBoYXBwZW4g4o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: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 10 Jul 2015 13:41:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDYXx-0005Nd-VY; Fri, 10 Jul 2015 13:40:57 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <justin@specialbusservice.com>) id 1ZDYXx-0005NX-FN
	for mirageos-devel@lists.xenproject.org; Fri, 10 Jul 2015 13:40:57 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	B9/0E-00727-86BCF955; Fri, 10 Jul 2015 13:40:56 +0000
X-Env-Sender: justin@specialbusservice.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1436535656!22190038!1
X-Originating-IP: [74.125.82.46]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18888 invoked from network); 10 Jul 2015 13:40:56 -0000
Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com)
	(74.125.82.46)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	10 Jul 2015 13:40:56 -0000
Received: by wgov12 with SMTP id v12so65164756wgo.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 10 Jul 2015 06:40:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=specialbusservice.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=Oo4fUbsaku4ozxlImnmqXYzcV/DVeL79Ge2PDDaso5I=;
	b=AKlO1ZtR9g83RlC/SmGdPYpDBVO8+X0RNmUPktdc0h20bFKaFGQbz6NYD+xYvb2584
	O4zdi2FaHhpXvpTSmMYsvqbz5B/BXRCxhZbAqhFkGycp1eVx2yn3PEvDdYJpoYx+thln
	SprQ0+BGA4Zaz4hml3yFPEgs3lY7P9tdQHLLY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=Oo4fUbsaku4ozxlImnmqXYzcV/DVeL79Ge2PDDaso5I=;
	b=HWOh7TDaGONk9rRz66i7lPTqgarnngHo4LHnBE5SRKWrKUXuQaMWIbVhmXxPJd/Keg
	Xu3kRdsp/B5uyzvye6y2AUTToShfOLkBgQlHNRv82/qDPAtNkCxtEuzu8/Hwg2HysWdG
	F/kat+bN6cJdZWoCQCNeOlX2fYX/eZj1hnNAJqxgNEvMBe6qkU94i4DMm+MBWy6SNjdJ
	ROPmYXBtDtbuqce3pSheDMvrapU8EOt8BddIH2ypzqg9EV0WKfZyL42VPyA4PYwiMN/U
	jOZKqnVYLVm+EZt9MJ1CRwVlq6/jMUAsmfm89b+LtZBbsL4e4d7MJkVgjtg6S170Yi2G
	Vpug==
X-Gm-Message-State: ALoCoQmVpOLFIpUCXok9UhCtPX1S3LCTxMbqQIBZ1DxDnfI+ESTCcNz7Ybk7/QT9KmjTH6biNtsp
MIME-Version: 1.0
X-Received: by 10.180.72.145 with SMTP id d17mr6389790wiv.69.1436535655814;
	Fri, 10 Jul 2015 06:40:55 -0700 (PDT)
Received: by 10.28.13.138 with HTTP; Fri, 10 Jul 2015 06:40:55 -0700 (PDT)
In-Reply-To: <CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
Date: Fri, 10 Jul 2015 14:40:55 +0100
Message-ID: <CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
From: Justin Cormack <justin@specialbusservice.com>
To: David Sheets <sheets@alum.mit.edu>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 9 July 2015 at 15:04, David Sheets <sheets@alum.mit.edu> wrote:
> Off the top of my head I notice two things:
>
> 1. The int64 and tuple representations make a timestamp use 2*word +
> 12 bytes if I count correctly. That is 20 bytes on a 32-bit machine
> and 28 bytes on a 64-bit machine to represent 12 bytes of data. :-( If
> we represent a timestamp as int * int * int, we only use word + 12
> bytes, again hoping I can count. This would save some space but would
> make implementations significantly more complex. Maybe there is an
> even better representation

Any program that is storing a very large number of timestamps can
always use its own packed representation based on its own range and
precision requirements. The base representation should be fast and at
least support nanosecond precision (for eg profiling use cases), but I
think size is less important.

> 2. What about a function on every CLOCK which tells you what precision
> it can guarantee? It seems like it would be a potentially useful value
> that only the CLOCK implementer knows.

yes this is important eg see clock_gettime(), clock_getres() in posix.

Justin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 10 13:41:02 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 10 Jul 2015 13:41:02 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDYXx-0005Nd-VY; Fri, 10 Jul 2015 13:40:57 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <justin@specialbusservice.com>) id 1ZDYXx-0005NX-FN
	for mirageos-devel@lists.xenproject.org; Fri, 10 Jul 2015 13:40:57 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	B9/0E-00727-86BCF955; Fri, 10 Jul 2015 13:40:56 +0000
X-Env-Sender: justin@specialbusservice.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1436535656!22190038!1
X-Originating-IP: [74.125.82.46]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18888 invoked from network); 10 Jul 2015 13:40:56 -0000
Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com)
	(74.125.82.46)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	10 Jul 2015 13:40:56 -0000
Received: by wgov12 with SMTP id v12so65164756wgo.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 10 Jul 2015 06:40:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=specialbusservice.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=Oo4fUbsaku4ozxlImnmqXYzcV/DVeL79Ge2PDDaso5I=;
	b=AKlO1ZtR9g83RlC/SmGdPYpDBVO8+X0RNmUPktdc0h20bFKaFGQbz6NYD+xYvb2584
	O4zdi2FaHhpXvpTSmMYsvqbz5B/BXRCxhZbAqhFkGycp1eVx2yn3PEvDdYJpoYx+thln
	SprQ0+BGA4Zaz4hml3yFPEgs3lY7P9tdQHLLY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=Oo4fUbsaku4ozxlImnmqXYzcV/DVeL79Ge2PDDaso5I=;
	b=HWOh7TDaGONk9rRz66i7lPTqgarnngHo4LHnBE5SRKWrKUXuQaMWIbVhmXxPJd/Keg
	Xu3kRdsp/B5uyzvye6y2AUTToShfOLkBgQlHNRv82/qDPAtNkCxtEuzu8/Hwg2HysWdG
	F/kat+bN6cJdZWoCQCNeOlX2fYX/eZj1hnNAJqxgNEvMBe6qkU94i4DMm+MBWy6SNjdJ
	ROPmYXBtDtbuqce3pSheDMvrapU8EOt8BddIH2ypzqg9EV0WKfZyL42VPyA4PYwiMN/U
	jOZKqnVYLVm+EZt9MJ1CRwVlq6/jMUAsmfm89b+LtZBbsL4e4d7MJkVgjtg6S170Yi2G
	Vpug==
X-Gm-Message-State: ALoCoQmVpOLFIpUCXok9UhCtPX1S3LCTxMbqQIBZ1DxDnfI+ESTCcNz7Ybk7/QT9KmjTH6biNtsp
MIME-Version: 1.0
X-Received: by 10.180.72.145 with SMTP id d17mr6389790wiv.69.1436535655814;
	Fri, 10 Jul 2015 06:40:55 -0700 (PDT)
Received: by 10.28.13.138 with HTTP; Fri, 10 Jul 2015 06:40:55 -0700 (PDT)
In-Reply-To: <CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
Date: Fri, 10 Jul 2015 14:40:55 +0100
Message-ID: <CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
From: Justin Cormack <justin@specialbusservice.com>
To: David Sheets <sheets@alum.mit.edu>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 9 July 2015 at 15:04, David Sheets <sheets@alum.mit.edu> wrote:
> Off the top of my head I notice two things:
>
> 1. The int64 and tuple representations make a timestamp use 2*word +
> 12 bytes if I count correctly. That is 20 bytes on a 32-bit machine
> and 28 bytes on a 64-bit machine to represent 12 bytes of data. :-( If
> we represent a timestamp as int * int * int, we only use word + 12
> bytes, again hoping I can count. This would save some space but would
> make implementations significantly more complex. Maybe there is an
> even better representation

Any program that is storing a very large number of timestamps can
always use its own packed representation based on its own range and
precision requirements. The base representation should be fast and at
least support nanosecond precision (for eg profiling use cases), but I
think size is less important.

> 2. What about a function on every CLOCK which tells you what precision
> it can guarantee? It seems like it would be a potentially useful value
> that only the CLOCK implementer knows.

yes this is important eg see clock_gettime(), clock_getres() in posix.

Justin

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 10 15:10:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 10 Jul 2015 15:10:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDZwI-0002bh-8A; Fri, 10 Jul 2015 15:10:10 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDZwH-0002bW-Bu
	for mirageos-devel@lists.xenproject.org; Fri, 10 Jul 2015 15:10:09 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	2A/55-18947-050EF955; Fri, 10 Jul 2015 15:10:08 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-12.tower-27.messagelabs.com!1436541007!31073864!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23735 invoked from network); 10 Jul 2015 15:10:08 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-12.tower-27.messagelabs.com with SMTP;
	10 Jul 2015 15:10:08 -0000
Received: from [172.17.153.172] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26])
	by smtp.webfaction.com (Postfix) with ESMTP id AF0D121419D7;
	Fri, 10 Jul 2015 15:10:06 +0000 (UTC)
Date: Fri, 10 Jul 2015 16:10:04 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Justin Cormack <justin@specialbusservice.com>
Message-ID: <4E89C7DA6FDA46739CE93B06E743AAF5@erratique.ch>
In-Reply-To: <CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgdmVuZHJlZGksIDEwIGp1aWxsZXQgMjAxNSDDoCAxNDo0MCwgSnVzdGluIENvcm1hY2sgYSDD
qWNyaXQgOgo+IFRoZSBiYXNlIHJlcHJlc2VudGF0aW9uIHNob3VsZCBiZSBmYXN0IGFuZCBhdCBs
ZWFzdCBzdXBwb3J0IG5hbm9zZWNvbmQgcHJlY2lzaW9uIChmb3IgZWcgcHJvZmlsaW5nIHVzZSBj
YXNlcyksICAKCllvdSBzaG91bGQgbm90IHVzZSBhbnkgZm9ybSBvZiBjYWxlbmRhciB0aW1lIChQ
T1NJWCB0aW1lIGJlaW5nIG9uZSkgZm9yIHByb2ZpbGluZywgdGhlc2UgdGltZXN0YW1wIGNhbiBn
byBiYWNrIGluIHRpbWUuIFVzZSBhIG1vbm90b25pYyB0aW1lIHNvdXJjZSBmb3IgcHJvZmlsaW5n
LiAgCgpEYW5pZWwKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhl
bnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4v
bGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 10 15:10:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 10 Jul 2015 15:10:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDZwI-0002bh-8A; Fri, 10 Jul 2015 15:10:10 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZDZwH-0002bW-Bu
	for mirageos-devel@lists.xenproject.org; Fri, 10 Jul 2015 15:10:09 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	2A/55-18947-050EF955; Fri, 10 Jul 2015 15:10:08 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-12.tower-27.messagelabs.com!1436541007!31073864!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23735 invoked from network); 10 Jul 2015 15:10:08 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-12.tower-27.messagelabs.com with SMTP;
	10 Jul 2015 15:10:08 -0000
Received: from [172.17.153.172] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26])
	by smtp.webfaction.com (Postfix) with ESMTP id AF0D121419D7;
	Fri, 10 Jul 2015 15:10:06 +0000 (UTC)
Date: Fri, 10 Jul 2015 16:10:04 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Justin Cormack <justin@specialbusservice.com>
Message-ID: <4E89C7DA6FDA46739CE93B06E743AAF5@erratique.ch>
In-Reply-To: <CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgdmVuZHJlZGksIDEwIGp1aWxsZXQgMjAxNSDDoCAxNDo0MCwgSnVzdGluIENvcm1hY2sgYSDD
qWNyaXQgOgo+IFRoZSBiYXNlIHJlcHJlc2VudGF0aW9uIHNob3VsZCBiZSBmYXN0IGFuZCBhdCBs
ZWFzdCBzdXBwb3J0IG5hbm9zZWNvbmQgcHJlY2lzaW9uIChmb3IgZWcgcHJvZmlsaW5nIHVzZSBj
YXNlcyksICAKCllvdSBzaG91bGQgbm90IHVzZSBhbnkgZm9ybSBvZiBjYWxlbmRhciB0aW1lIChQ
T1NJWCB0aW1lIGJlaW5nIG9uZSkgZm9yIHByb2ZpbGluZywgdGhlc2UgdGltZXN0YW1wIGNhbiBn
byBiYWNrIGluIHRpbWUuIFVzZSBhIG1vbm90b25pYyB0aW1lIHNvdXJjZSBmb3IgcHJvZmlsaW5n
LiAgCgpEYW5pZWwKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhl
bnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4v
bGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 17:47:12 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 17:47:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDyrS-0004i1-GU; Sat, 11 Jul 2015 17:46:50 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dongcarl@fastmail.com>) id 1ZDyrQ-0004hw-TZ
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 17:46:49 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	0B/18-00727-88651A55; Sat, 11 Jul 2015 17:46:48 +0000
X-Env-Sender: dongcarl@fastmail.com
X-Msg-Ref: server-10.tower-31.messagelabs.com!1436636806!24840419!1
X-Originating-IP: [66.111.4.29]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjkgPT4gNjQ0MA==\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8869 invoked from network); 11 Jul 2015 17:46:47 -0000
Received: from out5-smtp.messagingengine.com (HELO
	out5-smtp.messagingengine.com) (66.111.4.29)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 Jul 2015 17:46:47 -0000
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
	by mailout.nyi.internal (Postfix) with ESMTP id B465F20D57
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 13:46:46 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute2.internal (MEProxy); Sat, 11 Jul 2015 13:46:46 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=
	content-transfer-encoding:content-type:date:from:message-id
	:mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=9RQ
	fEdu9kw/rCDjalGz6b8uBjx8=; b=e/kVPvlP57Zc9oPCTyOY9bdAvC6crExRaKi
	76CCwhO1d9Cxm7+KqX/b0dSyMhOwp55c2Mfg5K+CnnEzaKJwEwhmU1DrA8kCkMky
	GlhAFdhaPcDJPwn2R+xg+NT0eFhinw5FPrG0bT5ffmW8Ex9u34uhyUvLE/jgqwCB
	bwv+jik4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=content-transfer-encoding:content-type
	:date:from:message-id:mime-version:subject:to:x-sasl-enc
	:x-sasl-enc; s=smtpout; bh=9RQfEdu9kw/rCDjalGz6b8uBjx8=; b=JA3ye
	xa9+/6i3LOoZAA1avSzI05g9/dwpIUkGPmBLv9i+X37AcE4JPgFiGr+quReXO497
	1t0FvvoWrUxEemHDPjXBVxXCy3+NZA7BU+by5H1Cwxfsmeh1q2FHeDmdiDm6KzG9
	y11C4X7R7T3vS7OXwALNoojDs8D1do2DTmG9Ok=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id 8D20A1111AA; Sat, 11 Jul 2015 13:46:46 -0400 (EDT)
Message-Id: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
X-Sasl-Enc: Z/jJgtd+/jVTWfNmPuqBwWdQnQ1Ev1XlYtgBe9l3w8bQ 1436636806
From: Carl Dong <dongcarl@fastmail.com>
To: mirageos-devel@lists.xenproject.org
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-bfc056ae
Date: Sat, 11 Jul 2015 10:46:46 -0700
Subject: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

A big fan of your work trying to get started learning.

I was following along https://mirage.io/wiki/hello-world
With a fresh install of Ubuntu 14.04 and only mirage installed under
opam
On step four of the tutorial (the one on stackv4), after I ran `sudo
./mir-stackv4`, I got http://pastebin.com/svi5sZSt
`telnet localhost 8080` gives me:
```
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
```
I've also tried the telnet command with localhost replaced with 10.0.0.1
and 10.0.0.2, and they just hang forever.
Here's my ifconfig if that helps:
http://pastebin.com/P76uYZCP

Cheers,
Carl Dong
dongcarl@fastmail.com
"I fight for the users"

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 17:47:12 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 17:47:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDyrS-0004i1-GU; Sat, 11 Jul 2015 17:46:50 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dongcarl@fastmail.com>) id 1ZDyrQ-0004hw-TZ
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 17:46:49 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	0B/18-00727-88651A55; Sat, 11 Jul 2015 17:46:48 +0000
X-Env-Sender: dongcarl@fastmail.com
X-Msg-Ref: server-10.tower-31.messagelabs.com!1436636806!24840419!1
X-Originating-IP: [66.111.4.29]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjkgPT4gNjQ0MA==\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8869 invoked from network); 11 Jul 2015 17:46:47 -0000
Received: from out5-smtp.messagingengine.com (HELO
	out5-smtp.messagingengine.com) (66.111.4.29)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 Jul 2015 17:46:47 -0000
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
	by mailout.nyi.internal (Postfix) with ESMTP id B465F20D57
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 13:46:46 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute2.internal (MEProxy); Sat, 11 Jul 2015 13:46:46 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=
	content-transfer-encoding:content-type:date:from:message-id
	:mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=9RQ
	fEdu9kw/rCDjalGz6b8uBjx8=; b=e/kVPvlP57Zc9oPCTyOY9bdAvC6crExRaKi
	76CCwhO1d9Cxm7+KqX/b0dSyMhOwp55c2Mfg5K+CnnEzaKJwEwhmU1DrA8kCkMky
	GlhAFdhaPcDJPwn2R+xg+NT0eFhinw5FPrG0bT5ffmW8Ex9u34uhyUvLE/jgqwCB
	bwv+jik4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=content-transfer-encoding:content-type
	:date:from:message-id:mime-version:subject:to:x-sasl-enc
	:x-sasl-enc; s=smtpout; bh=9RQfEdu9kw/rCDjalGz6b8uBjx8=; b=JA3ye
	xa9+/6i3LOoZAA1avSzI05g9/dwpIUkGPmBLv9i+X37AcE4JPgFiGr+quReXO497
	1t0FvvoWrUxEemHDPjXBVxXCy3+NZA7BU+by5H1Cwxfsmeh1q2FHeDmdiDm6KzG9
	y11C4X7R7T3vS7OXwALNoojDs8D1do2DTmG9Ok=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id 8D20A1111AA; Sat, 11 Jul 2015 13:46:46 -0400 (EDT)
Message-Id: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
X-Sasl-Enc: Z/jJgtd+/jVTWfNmPuqBwWdQnQ1Ev1XlYtgBe9l3w8bQ 1436636806
From: Carl Dong <dongcarl@fastmail.com>
To: mirageos-devel@lists.xenproject.org
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-bfc056ae
Date: Sat, 11 Jul 2015 10:46:46 -0700
Subject: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

A big fan of your work trying to get started learning.

I was following along https://mirage.io/wiki/hello-world
With a fresh install of Ubuntu 14.04 and only mirage installed under
opam
On step four of the tutorial (the one on stackv4), after I ran `sudo
./mir-stackv4`, I got http://pastebin.com/svi5sZSt
`telnet localhost 8080` gives me:
```
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
```
I've also tried the telnet command with localhost replaced with 10.0.0.1
and 10.0.0.2, and they just hang forever.
Here's my ifconfig if that helps:
http://pastebin.com/P76uYZCP

Cheers,
Carl Dong
dongcarl@fastmail.com
"I fight for the users"

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 18:06:39 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 18:06:39 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDzAZ-0004yQ-TT; Sat, 11 Jul 2015 18:06:35 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZDzAY-0004yL-6R
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 18:06:34 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	35/84-27764-92B51A55; Sat, 11 Jul 2015 18:06:33 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-15.tower-27.messagelabs.com!1436637991!31260620!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_DONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3878 invoked from network); 11 Jul 2015 18:06:32 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-15.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	11 Jul 2015 18:06:32 -0000
Received: by widjy10 with SMTP id jy10so38010333wid.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 11:06:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=xxoyn4khU3a/yKVZgoLF5VzpcQHZZAwGB7mqXwgL3X4=;
	b=sQIwnM/cwTWwuKhorgkDSNt1WHyaGyyZ4p/p6371L4YOeQqReXyqOrX0Aj71rTVEvv
	QR/3qMCfw0LJAnG1/iudDfuV7jKSln3JG0laNrgXJT2GmGXK3XQwgnwgzHzgotIjh28I
	5ntACCts9l9wiL1nbS6H5Gi0yX41vihcT7W6a0VFYdomouHZix0bmlLaHFie2Yed2S+n
	XMjRKCsnRS6hvu10DGFLMbPZmOH+YPLCYyAgx2H+NTdqUjDCP1fEHo/hD2JpO7byMslM
	iuT/QgTbwMlxZOHpcXGZvQr3k5nl14NmexPdA2YjjW6NFqj5bPdNEDwvVD0a+NpYyCkr
	sTpQ==
X-Received: by 10.180.91.76 with SMTP id cc12mr8541790wib.67.1436637991692;
	Sat, 11 Jul 2015 11:06:31 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by smtp.gmail.com with ESMTPSA id
	jz4sm19097892wjb.16.2015.07.11.11.06.30
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sat, 11 Jul 2015 11:06:30 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
Date: Sat, 11 Jul 2015 19:06:49 +0100
Message-Id: <470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
References: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
To: Carl Dong <dongcarl@fastmail.com>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Carl,

Not sure if that helps, but you need to run the `ifconfig`[1] command every time you run the `./mir-stackv4` command. 

Best,
Thomas

[1]:  sudo ifconfig tap0 10.0.0.1 netmask 255.255.255.0

> On 11 Jul 2015, at 18:46, Carl Dong <dongcarl@fastmail.com> wrote:
> 
> Hi all,
> 
> A big fan of your work trying to get started learning.
> 
> I was following along https://mirage.io/wiki/hello-world
> With a fresh install of Ubuntu 14.04 and only mirage installed under
> opam
> On step four of the tutorial (the one on stackv4), after I ran `sudo
> ./mir-stackv4`, I got http://pastebin.com/svi5sZSt
> `telnet localhost 8080` gives me:
> ```
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused
> ```
> I've also tried the telnet command with localhost replaced with 10.0.0.1
> and 10.0.0.2, and they just hang forever.
> Here's my ifconfig if that helps:
> http://pastebin.com/P76uYZCP
> 
> Cheers,
> Carl Dong
> dongcarl@fastmail.com
> "I fight for the users"
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 18:06:39 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 18:06:39 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZDzAZ-0004yQ-TT; Sat, 11 Jul 2015 18:06:35 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZDzAY-0004yL-6R
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 18:06:34 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	35/84-27764-92B51A55; Sat, 11 Jul 2015 18:06:33 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-15.tower-27.messagelabs.com!1436637991!31260620!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_DONG
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3878 invoked from network); 11 Jul 2015 18:06:32 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-15.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	11 Jul 2015 18:06:32 -0000
Received: by widjy10 with SMTP id jy10so38010333wid.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 11:06:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=xxoyn4khU3a/yKVZgoLF5VzpcQHZZAwGB7mqXwgL3X4=;
	b=sQIwnM/cwTWwuKhorgkDSNt1WHyaGyyZ4p/p6371L4YOeQqReXyqOrX0Aj71rTVEvv
	QR/3qMCfw0LJAnG1/iudDfuV7jKSln3JG0laNrgXJT2GmGXK3XQwgnwgzHzgotIjh28I
	5ntACCts9l9wiL1nbS6H5Gi0yX41vihcT7W6a0VFYdomouHZix0bmlLaHFie2Yed2S+n
	XMjRKCsnRS6hvu10DGFLMbPZmOH+YPLCYyAgx2H+NTdqUjDCP1fEHo/hD2JpO7byMslM
	iuT/QgTbwMlxZOHpcXGZvQr3k5nl14NmexPdA2YjjW6NFqj5bPdNEDwvVD0a+NpYyCkr
	sTpQ==
X-Received: by 10.180.91.76 with SMTP id cc12mr8541790wib.67.1436637991692;
	Sat, 11 Jul 2015 11:06:31 -0700 (PDT)
Received: from [192.168.0.2] (cpc25-cmbg14-2-0-cust121.5-4.cable.virginm.net.
	[213.106.112.122]) by smtp.gmail.com with ESMTPSA id
	jz4sm19097892wjb.16.2015.07.11.11.06.30
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sat, 11 Jul 2015 11:06:30 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
Date: Sat, 11 Jul 2015 19:06:49 +0100
Message-Id: <470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
References: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
To: Carl Dong <dongcarl@fastmail.com>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Carl,

Not sure if that helps, but you need to run the `ifconfig`[1] command every time you run the `./mir-stackv4` command. 

Best,
Thomas

[1]:  sudo ifconfig tap0 10.0.0.1 netmask 255.255.255.0

> On 11 Jul 2015, at 18:46, Carl Dong <dongcarl@fastmail.com> wrote:
> 
> Hi all,
> 
> A big fan of your work trying to get started learning.
> 
> I was following along https://mirage.io/wiki/hello-world
> With a fresh install of Ubuntu 14.04 and only mirage installed under
> opam
> On step four of the tutorial (the one on stackv4), after I ran `sudo
> ./mir-stackv4`, I got http://pastebin.com/svi5sZSt
> `telnet localhost 8080` gives me:
> ```
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused
> ```
> I've also tried the telnet command with localhost replaced with 10.0.0.1
> and 10.0.0.2, and they just hang forever.
> Here's my ifconfig if that helps:
> http://pastebin.com/P76uYZCP
> 
> Cheers,
> Carl Dong
> dongcarl@fastmail.com
> "I fight for the users"
> 
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:12:55 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:12:55 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE18X-0006fL-9m; Sat, 11 Jul 2015 20:12:37 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZE18V-0006fG-Ub
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:12:36 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	65/FE-13517-3B871A55; Sat, 11 Jul 2015 20:12:35 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-7.tower-31.messagelabs.com!1436645554!24883744!1
X-Originating-IP: [74.125.82.42]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31710 invoked from network); 11 Jul 2015 20:12:34 -0000
Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com)
	(74.125.82.42)
	by server-7.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	11 Jul 2015 20:12:34 -0000
Received: by wgxm20 with SMTP id m20so87810038wgx.3
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 13:12:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=G0ax1+ySHvjckX4VQW9aPMPpXwDQIIP3Oa8+neNVsuY=;
	b=CSvmanr7A+nbJWCIOwSa3Pf134t83XX1eO1DYHeOi+hRviUFelZvmJ6+eS4aKmNPqJ
	h2tg2Z1KQrUBFqo3rcel/QpDqw9nN7G0em4pw5evJiFtpu0iVmPRUcNdVJHiCIYzzr6+
	B0z6Qj5YAC1JgK9jbGRIToUUGZ4nqYKbGdZf9HghK4C6lAf2tW5rwiLlG8NRlKvMgR3l
	0LvFKMpwPlJQUh1qCY/Otifcco7BlTxdDPcRSzYY/zEEcMaAXAOMIt/duPkuI5EJqYZn
	Miuejjo3SB4FfR6rFTh4XNM6bhITQvHjXceUvaUWEWcDF46vlYIF1/uXX3Qd2Tov6aT2
	bNiA==
X-Received: by 10.194.109.97 with SMTP id hr1mr51272828wjb.95.1436645554387;
	Sat, 11 Jul 2015 13:12:34 -0700 (PDT)
Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com.
	[209.85.212.178]) by smtp.gmail.com with ESMTPSA id
	a6sm19493382wjy.33.2015.07.11.13.12.33
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Sat, 11 Jul 2015 13:12:34 -0700 (PDT)
Received: by wibud3 with SMTP id ud3so659884wib.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 13:12:32 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.181.25.234 with SMTP id it10mr8730032wid.41.1436645552947;
	Sat, 11 Jul 2015 13:12:32 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Sat, 11 Jul 2015 13:12:32 -0700 (PDT)
In-Reply-To: <470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
References: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
	<470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
Date: Sat, 11 Jul 2015 21:12:32 +0100
Message-ID: <CAN2Hq07ps+uidN9CqbgJm3RtPURYOzmX3hcgrwDypSOv+f6Vgg@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 11 July 2015 at 19:06, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
>
> Not sure if that helps, but you need to run the `ifconfig`[1] command every time you run the `./mir-stackv4` command.
>

(For completeness: only if you're using the Mirage "direct" network
stack on UNIX, rather than the "socket" stack.)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:12:55 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:12:55 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE18X-0006fL-9m; Sat, 11 Jul 2015 20:12:37 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZE18V-0006fG-Ub
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:12:36 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	65/FE-13517-3B871A55; Sat, 11 Jul 2015 20:12:35 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-7.tower-31.messagelabs.com!1436645554!24883744!1
X-Originating-IP: [74.125.82.42]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31710 invoked from network); 11 Jul 2015 20:12:34 -0000
Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com)
	(74.125.82.42)
	by server-7.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	11 Jul 2015 20:12:34 -0000
Received: by wgxm20 with SMTP id m20so87810038wgx.3
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 13:12:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=G0ax1+ySHvjckX4VQW9aPMPpXwDQIIP3Oa8+neNVsuY=;
	b=CSvmanr7A+nbJWCIOwSa3Pf134t83XX1eO1DYHeOi+hRviUFelZvmJ6+eS4aKmNPqJ
	h2tg2Z1KQrUBFqo3rcel/QpDqw9nN7G0em4pw5evJiFtpu0iVmPRUcNdVJHiCIYzzr6+
	B0z6Qj5YAC1JgK9jbGRIToUUGZ4nqYKbGdZf9HghK4C6lAf2tW5rwiLlG8NRlKvMgR3l
	0LvFKMpwPlJQUh1qCY/Otifcco7BlTxdDPcRSzYY/zEEcMaAXAOMIt/duPkuI5EJqYZn
	Miuejjo3SB4FfR6rFTh4XNM6bhITQvHjXceUvaUWEWcDF46vlYIF1/uXX3Qd2Tov6aT2
	bNiA==
X-Received: by 10.194.109.97 with SMTP id hr1mr51272828wjb.95.1436645554387;
	Sat, 11 Jul 2015 13:12:34 -0700 (PDT)
Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com.
	[209.85.212.178]) by smtp.gmail.com with ESMTPSA id
	a6sm19493382wjy.33.2015.07.11.13.12.33
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Sat, 11 Jul 2015 13:12:34 -0700 (PDT)
Received: by wibud3 with SMTP id ud3so659884wib.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 13:12:32 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.181.25.234 with SMTP id it10mr8730032wid.41.1436645552947;
	Sat, 11 Jul 2015 13:12:32 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Sat, 11 Jul 2015 13:12:32 -0700 (PDT)
In-Reply-To: <470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
References: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
	<470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
Date: Sat, 11 Jul 2015 21:12:32 +0100
Message-ID: <CAN2Hq07ps+uidN9CqbgJm3RtPURYOzmX3hcgrwDypSOv+f6Vgg@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 11 July 2015 at 19:06, Thomas Gazagnaire <thomas@gazagnaire.org> wrote:
>
> Not sure if that helps, but you need to run the `ifconfig`[1] command every time you run the `./mir-stackv4` command.
>

(For completeness: only if you're using the Mirage "direct" network
stack on UNIX, rather than the "socket" stack.)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:13:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:13:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE18x-0006gN-DM; Sat, 11 Jul 2015 20:13:03 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dongcarl@fastmail.com>) id 1ZE18v-0006gD-HP
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:13:01 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	FD/2F-27764-CC871A55; Sat, 11 Jul 2015 20:13:00 +0000
X-Env-Sender: dongcarl@fastmail.com
X-Msg-Ref: server-8.tower-27.messagelabs.com!1436645579!31280331!1
X-Originating-IP: [66.111.4.29]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjkgPT4gNjQ0MA==\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9283 invoked from network); 11 Jul 2015 20:13:00 -0000
Received: from out5-smtp.messagingengine.com (HELO
	out5-smtp.messagingengine.com) (66.111.4.29)
	by server-8.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 Jul 2015 20:13:00 -0000
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
	by mailout.nyi.internal (Postfix) with ESMTP id 223442074F
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 16:12:59 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute1.internal (MEProxy); Sat, 11 Jul 2015 16:12:59 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc
	:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to:x-sasl-enc
	:x-sasl-enc; s=mesmtp; bh=4p47ga83OaGh5U/2E+4ptijRO98=; b=mCJXWx
	jkJDI3uXmxvMTmdklEityPuKv+n6yNyGO/W331GPwh8AEPmX/z1C2JXwkwX5z8iI
	IM2Ee6EEdKDAm7gM9C/vdoDG4rcKufpF/H75kHxvnWRavGEFkNbULtcSm8ELLfcc
	uYoMvHXxdQlRZMbd9Aqkm3mMa5j+lgF+oMTnQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=cc:content-transfer-encoding:content-type
	:date:from:in-reply-to:message-id:mime-version:references
	:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=4p47ga83OaGh5U/
	2E+4ptijRO98=; b=MC8NREFP3mvseCABuzbjD+2B3Vg5yL1ZZh3pSM+R3kZG1Z1
	JxCGHH+RPviGjOBD4OTkugATxokxLe4qL53zdLJc/Dwz/ZMJU3C5sUaokSU8OAy4
	ptie31SexAPra3SuvZJntzSjj4JruExDPMN95YlAcRzYnsPTbRz198vyGKCE=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id EAAEA11150D; Sat, 11 Jul 2015 16:12:58 -0400 (EDT)
Message-Id: <1436645578.1417653.321251969.625FE512@webmail.messagingengine.com>
X-Sasl-Enc: KYC+oa2AFCvvK64JLcFGCZaOaiVImo7ONkfJH3zTs8h6 1436645578
From: Carl Dong <dongcarl@fastmail.com>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-bfc056ae
In-Reply-To: <470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
References: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
	<470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
Date: Sat, 11 Jul 2015 13:12:58 -0700
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Tried. Does not help :-(

Carl Dong
dongcarl@fastmail.com
"I fight for the users"

On Sat, Jul 11, 2015, at 11:06 AM, Thomas Gazagnaire wrote:
> Hi Carl,
> 
> Not sure if that helps, but you need to run the `ifconfig`[1] command
> every time you run the `./mir-stackv4` command. 
> 
> Best,
> Thomas
> 
> [1]:  sudo ifconfig tap0 10.0.0.1 netmask 255.255.255.0
> 
> > On 11 Jul 2015, at 18:46, Carl Dong <dongcarl@fastmail.com> wrote:
> > 
> > Hi all,
> > 
> > A big fan of your work trying to get started learning.
> > 
> > I was following along https://mirage.io/wiki/hello-world
> > With a fresh install of Ubuntu 14.04 and only mirage installed under
> > opam
> > On step four of the tutorial (the one on stackv4), after I ran `sudo
> > ./mir-stackv4`, I got http://pastebin.com/svi5sZSt
> > `telnet localhost 8080` gives me:
> > ```
> > Trying 127.0.0.1...
> > telnet: Unable to connect to remote host: Connection refused
> > ```
> > I've also tried the telnet command with localhost replaced with 10.0.0.1
> > and 10.0.0.2, and they just hang forever.
> > Here's my ifconfig if that helps:
> > http://pastebin.com/P76uYZCP
> > 
> > Cheers,
> > Carl Dong
> > dongcarl@fastmail.com
> > "I fight for the users"
> > 
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:13:06 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:13:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE18x-0006gN-DM; Sat, 11 Jul 2015 20:13:03 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dongcarl@fastmail.com>) id 1ZE18v-0006gD-HP
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:13:01 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	FD/2F-27764-CC871A55; Sat, 11 Jul 2015 20:13:00 +0000
X-Env-Sender: dongcarl@fastmail.com
X-Msg-Ref: server-8.tower-27.messagelabs.com!1436645579!31280331!1
X-Originating-IP: [66.111.4.29]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjkgPT4gNjQ0MA==\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9283 invoked from network); 11 Jul 2015 20:13:00 -0000
Received: from out5-smtp.messagingengine.com (HELO
	out5-smtp.messagingengine.com) (66.111.4.29)
	by server-8.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 Jul 2015 20:13:00 -0000
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
	by mailout.nyi.internal (Postfix) with ESMTP id 223442074F
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 16:12:59 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute1.internal (MEProxy); Sat, 11 Jul 2015 16:12:59 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc
	:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to:x-sasl-enc
	:x-sasl-enc; s=mesmtp; bh=4p47ga83OaGh5U/2E+4ptijRO98=; b=mCJXWx
	jkJDI3uXmxvMTmdklEityPuKv+n6yNyGO/W331GPwh8AEPmX/z1C2JXwkwX5z8iI
	IM2Ee6EEdKDAm7gM9C/vdoDG4rcKufpF/H75kHxvnWRavGEFkNbULtcSm8ELLfcc
	uYoMvHXxdQlRZMbd9Aqkm3mMa5j+lgF+oMTnQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=cc:content-transfer-encoding:content-type
	:date:from:in-reply-to:message-id:mime-version:references
	:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=4p47ga83OaGh5U/
	2E+4ptijRO98=; b=MC8NREFP3mvseCABuzbjD+2B3Vg5yL1ZZh3pSM+R3kZG1Z1
	JxCGHH+RPviGjOBD4OTkugATxokxLe4qL53zdLJc/Dwz/ZMJU3C5sUaokSU8OAy4
	ptie31SexAPra3SuvZJntzSjj4JruExDPMN95YlAcRzYnsPTbRz198vyGKCE=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id EAAEA11150D; Sat, 11 Jul 2015 16:12:58 -0400 (EDT)
Message-Id: <1436645578.1417653.321251969.625FE512@webmail.messagingengine.com>
X-Sasl-Enc: KYC+oa2AFCvvK64JLcFGCZaOaiVImo7ONkfJH3zTs8h6 1436645578
From: Carl Dong <dongcarl@fastmail.com>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-bfc056ae
In-Reply-To: <470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
References: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
	<470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
Date: Sat, 11 Jul 2015 13:12:58 -0700
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Tried. Does not help :-(

Carl Dong
dongcarl@fastmail.com
"I fight for the users"

On Sat, Jul 11, 2015, at 11:06 AM, Thomas Gazagnaire wrote:
> Hi Carl,
> 
> Not sure if that helps, but you need to run the `ifconfig`[1] command
> every time you run the `./mir-stackv4` command. 
> 
> Best,
> Thomas
> 
> [1]:  sudo ifconfig tap0 10.0.0.1 netmask 255.255.255.0
> 
> > On 11 Jul 2015, at 18:46, Carl Dong <dongcarl@fastmail.com> wrote:
> > 
> > Hi all,
> > 
> > A big fan of your work trying to get started learning.
> > 
> > I was following along https://mirage.io/wiki/hello-world
> > With a fresh install of Ubuntu 14.04 and only mirage installed under
> > opam
> > On step four of the tutorial (the one on stackv4), after I ran `sudo
> > ./mir-stackv4`, I got http://pastebin.com/svi5sZSt
> > `telnet localhost 8080` gives me:
> > ```
> > Trying 127.0.0.1...
> > telnet: Unable to connect to remote host: Connection refused
> > ```
> > I've also tried the telnet command with localhost replaced with 10.0.0.1
> > and 10.0.0.2, and they just hang forever.
> > Here's my ifconfig if that helps:
> > http://pastebin.com/P76uYZCP
> > 
> > Cheers,
> > Carl Dong
> > dongcarl@fastmail.com
> > "I fight for the users"
> > 
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:18:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:18:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1ER-0006ol-SY; Sat, 11 Jul 2015 20:18:43 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dongcarl@fastmail.com>) id 1ZE1EQ-0006og-SJ
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:18:42 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	D6/BA-21325-22A71A55; Sat, 11 Jul 2015 20:18:42 +0000
X-Env-Sender: dongcarl@fastmail.com
X-Msg-Ref: server-6.tower-206.messagelabs.com!1436645921!20495328!1
X-Originating-IP: [66.111.4.29]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjkgPT4gNjQ0MA==\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10014 invoked from network); 11 Jul 2015 20:18:41 -0000
Received: from out5-smtp.messagingengine.com (HELO
	out5-smtp.messagingengine.com) (66.111.4.29)
	by server-6.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 Jul 2015 20:18:41 -0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
	by mailout.nyi.internal (Postfix) with ESMTP id F0EDA2061B
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 16:18:39 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute3.internal (MEProxy); Sat, 11 Jul 2015 16:18:39 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=
	content-transfer-encoding:content-type:date:from:message-id
	:mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=+ct
	M+1/2Gotsij0jPBLmRkRCBBU=; b=dA+Ce6l6JhvcvPAHv89soVNa/Sp+/+GszPN
	xEka0QSf9QYl3YFBA4g03gssTqti3BTRdiguy6583szu0PJRWcdtn/1udr5X6DGb
	2t5ewaBznmPFNvZ6ymVXbf2VU+ePKrcUi1b7EZvBpBIwaG2tqjZBc4sLaevral1v
	KPqDTpGA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=content-transfer-encoding:content-type
	:date:from:message-id:mime-version:subject:to:x-sasl-enc
	:x-sasl-enc; s=smtpout; bh=+ctM+1/2Gotsij0jPBLmRkRCBBU=; b=sTsrI
	hcLfCHV+y86zB4hMG1t0SXaWqAgWRPTBKmncmpiehJ+FtsQm572fe4OGQr2SDrHj
	/UfzCtGtNasjiu0VGLYme1eJJV51Xdembtd5x0r3iP16aVCn85G0pn6beZtPBdam
	ooGwKx6VZcr3qGFCNnPxVCUe/fcdmRPl/McFPk=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id CBC5C111532; Sat, 11 Jul 2015 16:18:39 -0400 (EDT)
Message-Id: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
X-Sasl-Enc: zhcp/gdqHmhqEBQyP9JhTs32WWrh/Km50gk3R3wvMFsy 1436645919
From: Carl Dong <dongcarl@fastmail.com>
To: mirageos-devel@lists.xenproject.org
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-bfc056ae
Date: Sat, 11 Jul 2015 13:18:39 -0700
Subject: [MirageOS-devel] Problem installing mirage on FreeBSD
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

I started with a fresh install of FreeBSD 10.1 Release and installed
opam from FreeBSD's ports collection. I did `opam init` and ran `eval
(opam config env)` (I'm on fish shell). Then I ran `opam install mirage`
which resulted in the following log: http://pastebin.com/Zn5mQkvv
Any clue? Should I be asking in another mailing list?

Cheers,
Carl Dong
dongcarl@fastmail.com
"I fight for the users"

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:18:45 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:18:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1ER-0006ol-SY; Sat, 11 Jul 2015 20:18:43 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dongcarl@fastmail.com>) id 1ZE1EQ-0006og-SJ
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:18:42 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	D6/BA-21325-22A71A55; Sat, 11 Jul 2015 20:18:42 +0000
X-Env-Sender: dongcarl@fastmail.com
X-Msg-Ref: server-6.tower-206.messagelabs.com!1436645921!20495328!1
X-Originating-IP: [66.111.4.29]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjkgPT4gNjQ0MA==\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10014 invoked from network); 11 Jul 2015 20:18:41 -0000
Received: from out5-smtp.messagingengine.com (HELO
	out5-smtp.messagingengine.com) (66.111.4.29)
	by server-6.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 Jul 2015 20:18:41 -0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
	by mailout.nyi.internal (Postfix) with ESMTP id F0EDA2061B
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 16:18:39 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute3.internal (MEProxy); Sat, 11 Jul 2015 16:18:39 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=
	content-transfer-encoding:content-type:date:from:message-id
	:mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=+ct
	M+1/2Gotsij0jPBLmRkRCBBU=; b=dA+Ce6l6JhvcvPAHv89soVNa/Sp+/+GszPN
	xEka0QSf9QYl3YFBA4g03gssTqti3BTRdiguy6583szu0PJRWcdtn/1udr5X6DGb
	2t5ewaBznmPFNvZ6ymVXbf2VU+ePKrcUi1b7EZvBpBIwaG2tqjZBc4sLaevral1v
	KPqDTpGA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=content-transfer-encoding:content-type
	:date:from:message-id:mime-version:subject:to:x-sasl-enc
	:x-sasl-enc; s=smtpout; bh=+ctM+1/2Gotsij0jPBLmRkRCBBU=; b=sTsrI
	hcLfCHV+y86zB4hMG1t0SXaWqAgWRPTBKmncmpiehJ+FtsQm572fe4OGQr2SDrHj
	/UfzCtGtNasjiu0VGLYme1eJJV51Xdembtd5x0r3iP16aVCn85G0pn6beZtPBdam
	ooGwKx6VZcr3qGFCNnPxVCUe/fcdmRPl/McFPk=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id CBC5C111532; Sat, 11 Jul 2015 16:18:39 -0400 (EDT)
Message-Id: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
X-Sasl-Enc: zhcp/gdqHmhqEBQyP9JhTs32WWrh/Km50gk3R3wvMFsy 1436645919
From: Carl Dong <dongcarl@fastmail.com>
To: mirageos-devel@lists.xenproject.org
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-bfc056ae
Date: Sat, 11 Jul 2015 13:18:39 -0700
Subject: [MirageOS-devel] Problem installing mirage on FreeBSD
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi all,

I started with a fresh install of FreeBSD 10.1 Release and installed
opam from FreeBSD's ports collection. I did `opam init` and ran `eval
(opam config env)` (I'm on fish shell). Then I ran `opam install mirage`
which resulted in the following log: http://pastebin.com/Zn5mQkvv
Any clue? Should I be asking in another mailing list?

Cheers,
Carl Dong
dongcarl@fastmail.com
"I fight for the users"

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:18:54 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:18:54 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1Eb-0006ph-Va; Sat, 11 Jul 2015 20:18:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZE1Eb-0006pX-0S
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:18:53 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	D8/00-18947-C2A71A55; Sat, 11 Jul 2015 20:18:52 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1436645931!31274137!1
X-Originating-IP: [74.125.82.47]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_DONG,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12800 invoked from network); 11 Jul 2015 20:18:51 -0000
Received: from mail-wg0-f47.google.com (HELO mail-wg0-f47.google.com)
	(74.125.82.47)
	by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	11 Jul 2015 20:18:51 -0000
Received: by wgkl9 with SMTP id l9so893516wgk.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 13:18:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=MoMKWLFofcGKuG4zloAyvOxRlX4Cqhg/isV0Pg2C7PQ=;
	b=rqkTsQDVc0vQRMZ8EKETc44LqpXZwtr9Fr2vsLXzJvSrTzPhTxs1cbpgg3E5/COunm
	edYn0Khbj2mj4gaRNSUUmwVTFjVCgoOkqelraoCcNJ55aep9a/5As+Inqh5+O05KMYaP
	kBvknOEvwp30PzqaK6Buh3Od2EYH42UTt3+2TuzbFl1iE+Mht9RdvzVMx/XLsjP45DWH
	sRX8cxXNqI+W0CLblOZr2FMT8BMaGX/m1zpXg0/rHsHV4+fah+N8ZC/zdfNTAAUbN9T+
	7jX/IrrnFv3mm+Z7DkGil2pcJs2YFIsF8ukePdAEJQZZaqIoHFnyN7bGLOezNgrT2t5D
	7H1A==
MIME-Version: 1.0
X-Received: by 10.180.85.194 with SMTP id j2mr8850323wiz.11.1436645930877;
	Sat, 11 Jul 2015 13:18:50 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Sat, 11 Jul 2015 13:18:50 -0700 (PDT)
In-Reply-To: <1436645578.1417653.321251969.625FE512@webmail.messagingengine.com>
References: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
	<470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
	<1436645578.1417653.321251969.625FE512@webmail.messagingengine.com>
Date: Sat, 11 Jul 2015 21:18:50 +0100
X-Google-Sender-Auth: W_cnJre_S-8bCPNl1ZzYSCibyrg
Message-ID: <CAN2Hq06iKO0eF2f=oLZgG_dvQ3vGAenwZrYO5DJDnhL1wDON1A@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Carl Dong <dongcarl@fastmail.com>
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Oops :( I don't have an Ubuntu box to hand right now unfortunately.

Does the "ping" command suggested on the instructions page show anything?
Usual way to start debugging this is to look at the output of
`ifconfig` and `route` to see how the interface has been named, what
address it has, and whether there're appropriate routes setup. Then
try `tcpdump` on the interfaces in question to see what packets are
actually flowing, if any.

If no-one else picks this up in the meantime, ping me again tomorrow
and I'll try and get a VM setup to test.

On 11 July 2015 at 21:12, Carl Dong <dongcarl@fastmail.com> wrote:
> Tried. Does not help :-(
>
> Carl Dong
> dongcarl@fastmail.com
> "I fight for the users"
>
> On Sat, Jul 11, 2015, at 11:06 AM, Thomas Gazagnaire wrote:
>> Hi Carl,
>>
>> Not sure if that helps, but you need to run the `ifconfig`[1] command
>> every time you run the `./mir-stackv4` command.
>>
>> Best,
>> Thomas
>>
>> [1]:  sudo ifconfig tap0 10.0.0.1 netmask 255.255.255.0
>>
>> > On 11 Jul 2015, at 18:46, Carl Dong <dongcarl@fastmail.com> wrote:
>> >
>> > Hi all,
>> >
>> > A big fan of your work trying to get started learning.
>> >
>> > I was following along https://mirage.io/wiki/hello-world
>> > With a fresh install of Ubuntu 14.04 and only mirage installed under
>> > opam
>> > On step four of the tutorial (the one on stackv4), after I ran `sudo
>> > ./mir-stackv4`, I got http://pastebin.com/svi5sZSt
>> > `telnet localhost 8080` gives me:
>> > ```
>> > Trying 127.0.0.1...
>> > telnet: Unable to connect to remote host: Connection refused
>> > ```
>> > I've also tried the telnet command with localhost replaced with 10.0.0.1
>> > and 10.0.0.2, and they just hang forever.
>> > Here's my ifconfig if that helps:
>> > http://pastebin.com/P76uYZCP
>> >
>> > Cheers,
>> > Carl Dong
>> > dongcarl@fastmail.com
>> > "I fight for the users"
>> >
>> > _______________________________________________
>> > MirageOS-devel mailing list
>> > MirageOS-devel@lists.xenproject.org
>> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:18:54 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:18:54 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1Eb-0006ph-Va; Sat, 11 Jul 2015 20:18:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZE1Eb-0006pX-0S
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:18:53 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	D8/00-18947-C2A71A55; Sat, 11 Jul 2015 20:18:52 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1436645931!31274137!1
X-Originating-IP: [74.125.82.47]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_DONG,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12800 invoked from network); 11 Jul 2015 20:18:51 -0000
Received: from mail-wg0-f47.google.com (HELO mail-wg0-f47.google.com)
	(74.125.82.47)
	by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	11 Jul 2015 20:18:51 -0000
Received: by wgkl9 with SMTP id l9so893516wgk.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 13:18:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=MoMKWLFofcGKuG4zloAyvOxRlX4Cqhg/isV0Pg2C7PQ=;
	b=rqkTsQDVc0vQRMZ8EKETc44LqpXZwtr9Fr2vsLXzJvSrTzPhTxs1cbpgg3E5/COunm
	edYn0Khbj2mj4gaRNSUUmwVTFjVCgoOkqelraoCcNJ55aep9a/5As+Inqh5+O05KMYaP
	kBvknOEvwp30PzqaK6Buh3Od2EYH42UTt3+2TuzbFl1iE+Mht9RdvzVMx/XLsjP45DWH
	sRX8cxXNqI+W0CLblOZr2FMT8BMaGX/m1zpXg0/rHsHV4+fah+N8ZC/zdfNTAAUbN9T+
	7jX/IrrnFv3mm+Z7DkGil2pcJs2YFIsF8ukePdAEJQZZaqIoHFnyN7bGLOezNgrT2t5D
	7H1A==
MIME-Version: 1.0
X-Received: by 10.180.85.194 with SMTP id j2mr8850323wiz.11.1436645930877;
	Sat, 11 Jul 2015 13:18:50 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Sat, 11 Jul 2015 13:18:50 -0700 (PDT)
In-Reply-To: <1436645578.1417653.321251969.625FE512@webmail.messagingengine.com>
References: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
	<470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
	<1436645578.1417653.321251969.625FE512@webmail.messagingengine.com>
Date: Sat, 11 Jul 2015 21:18:50 +0100
X-Google-Sender-Auth: W_cnJre_S-8bCPNl1ZzYSCibyrg
Message-ID: <CAN2Hq06iKO0eF2f=oLZgG_dvQ3vGAenwZrYO5DJDnhL1wDON1A@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Carl Dong <dongcarl@fastmail.com>
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Oops :( I don't have an Ubuntu box to hand right now unfortunately.

Does the "ping" command suggested on the instructions page show anything?
Usual way to start debugging this is to look at the output of
`ifconfig` and `route` to see how the interface has been named, what
address it has, and whether there're appropriate routes setup. Then
try `tcpdump` on the interfaces in question to see what packets are
actually flowing, if any.

If no-one else picks this up in the meantime, ping me again tomorrow
and I'll try and get a VM setup to test.

On 11 July 2015 at 21:12, Carl Dong <dongcarl@fastmail.com> wrote:
> Tried. Does not help :-(
>
> Carl Dong
> dongcarl@fastmail.com
> "I fight for the users"
>
> On Sat, Jul 11, 2015, at 11:06 AM, Thomas Gazagnaire wrote:
>> Hi Carl,
>>
>> Not sure if that helps, but you need to run the `ifconfig`[1] command
>> every time you run the `./mir-stackv4` command.
>>
>> Best,
>> Thomas
>>
>> [1]:  sudo ifconfig tap0 10.0.0.1 netmask 255.255.255.0
>>
>> > On 11 Jul 2015, at 18:46, Carl Dong <dongcarl@fastmail.com> wrote:
>> >
>> > Hi all,
>> >
>> > A big fan of your work trying to get started learning.
>> >
>> > I was following along https://mirage.io/wiki/hello-world
>> > With a fresh install of Ubuntu 14.04 and only mirage installed under
>> > opam
>> > On step four of the tutorial (the one on stackv4), after I ran `sudo
>> > ./mir-stackv4`, I got http://pastebin.com/svi5sZSt
>> > `telnet localhost 8080` gives me:
>> > ```
>> > Trying 127.0.0.1...
>> > telnet: Unable to connect to remote host: Connection refused
>> > ```
>> > I've also tried the telnet command with localhost replaced with 10.0.0.1
>> > and 10.0.0.2, and they just hang forever.
>> > Here's my ifconfig if that helps:
>> > http://pastebin.com/P76uYZCP
>> >
>> > Cheers,
>> > Carl Dong
>> > dongcarl@fastmail.com
>> > "I fight for the users"
>> >
>> > _______________________________________________
>> > MirageOS-devel mailing list
>> > MirageOS-devel@lists.xenproject.org
>> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:24:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:24:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1KP-00070a-Qk; Sat, 11 Jul 2015 20:24:53 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZE1KO-00070V-Re
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:24:52 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	C6/15-23096-49B71A55; Sat, 11 Jul 2015 20:24:52 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1436646291!12918128!1
X-Originating-IP: [74.125.82.53]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_DONG,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29089 invoked from network); 11 Jul 2015 20:24:51 -0000
Received: from mail-wg0-f53.google.com (HELO mail-wg0-f53.google.com)
	(74.125.82.53)
	by server-3.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	11 Jul 2015 20:24:51 -0000
Received: by wgkl9 with SMTP id l9so935336wgk.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 13:24:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=2UHUGCAX0TRA3/b3Psp1iOSkoFb1D5K0HkzhfH4j8mU=;
	b=wbtCOH0EeRllp19fH4502Ob3haTktYb1Djhb1uQerT8Ep6fWYp56tNzpTGiC6qmvnq
	mEcV3zr8Wv0md1wTEQia53Xqugk1icHSZt0aCTz2cm0bsz1p/EE/n/UnSVNFrB1F2aBw
	aJeB5miGAE3l956kcqpx20cLWI5chEUYBojWq3kMb3vdFljX1PRzNiH4qGZXW5chZfer
	oHkg4TXFHYnbhW3WXEPCNlGoEW6dJAMCrqXKCDcahP4t0+k/zWmvUuUWbCa4CdfpCAbu
	CSU3c5XrLeQ1eiPcHRojeuX9iwUq/xfw7xuaE+ImI3IGGjUINq1U4hgjL3Sr6RaD8WTy
	BCoQ==
MIME-Version: 1.0
X-Received: by 10.180.76.193 with SMTP id m1mr8872066wiw.11.1436646291049;
	Sat, 11 Jul 2015 13:24:51 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Sat, 11 Jul 2015 13:24:50 -0700 (PDT)
In-Reply-To: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
References: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
Date: Sat, 11 Jul 2015 21:24:50 +0100
X-Google-Sender-Auth: cSzMWDt_4tCHTkFyb25A0D6TwVA
Message-ID: <CAN2Hq07CHig9UgeBk319m75O0q+khnFdA6Tta8RCr3NoWorHvA@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Carl Dong <dongcarl@fastmail.com>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problem installing mirage on FreeBSD
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

That looks like installation of the camlp4 preprocessor failed. I've
generally installed this via the system package manager in the past
(though I'm not a BSD user so can't speak for that platform) rather
than OPAM. Might be worth investigating whether there's a BSD port for
camlp4 specifically?

Others on the list will be able to answer more canonically though...

On 11 July 2015 at 21:18, Carl Dong <dongcarl@fastmail.com> wrote:
> Hi all,
>
> I started with a fresh install of FreeBSD 10.1 Release and installed
> opam from FreeBSD's ports collection. I did `opam init` and ran `eval
> (opam config env)` (I'm on fish shell). Then I ran `opam install mirage`
> which resulted in the following log: http://pastebin.com/Zn5mQkvv
> Any clue? Should I be asking in another mailing list?
>
> Cheers,
> Carl Dong
> dongcarl@fastmail.com
> "I fight for the users"
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:24:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:24:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1KP-00070a-Qk; Sat, 11 Jul 2015 20:24:53 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZE1KO-00070V-Re
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:24:52 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	C6/15-23096-49B71A55; Sat, 11 Jul 2015 20:24:52 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1436646291!12918128!1
X-Originating-IP: [74.125.82.53]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_DONG,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29089 invoked from network); 11 Jul 2015 20:24:51 -0000
Received: from mail-wg0-f53.google.com (HELO mail-wg0-f53.google.com)
	(74.125.82.53)
	by server-3.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	11 Jul 2015 20:24:51 -0000
Received: by wgkl9 with SMTP id l9so935336wgk.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 13:24:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=2UHUGCAX0TRA3/b3Psp1iOSkoFb1D5K0HkzhfH4j8mU=;
	b=wbtCOH0EeRllp19fH4502Ob3haTktYb1Djhb1uQerT8Ep6fWYp56tNzpTGiC6qmvnq
	mEcV3zr8Wv0md1wTEQia53Xqugk1icHSZt0aCTz2cm0bsz1p/EE/n/UnSVNFrB1F2aBw
	aJeB5miGAE3l956kcqpx20cLWI5chEUYBojWq3kMb3vdFljX1PRzNiH4qGZXW5chZfer
	oHkg4TXFHYnbhW3WXEPCNlGoEW6dJAMCrqXKCDcahP4t0+k/zWmvUuUWbCa4CdfpCAbu
	CSU3c5XrLeQ1eiPcHRojeuX9iwUq/xfw7xuaE+ImI3IGGjUINq1U4hgjL3Sr6RaD8WTy
	BCoQ==
MIME-Version: 1.0
X-Received: by 10.180.76.193 with SMTP id m1mr8872066wiw.11.1436646291049;
	Sat, 11 Jul 2015 13:24:51 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Sat, 11 Jul 2015 13:24:50 -0700 (PDT)
In-Reply-To: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
References: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
Date: Sat, 11 Jul 2015 21:24:50 +0100
X-Google-Sender-Auth: cSzMWDt_4tCHTkFyb25A0D6TwVA
Message-ID: <CAN2Hq07CHig9UgeBk319m75O0q+khnFdA6Tta8RCr3NoWorHvA@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Carl Dong <dongcarl@fastmail.com>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problem installing mirage on FreeBSD
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

That looks like installation of the camlp4 preprocessor failed. I've
generally installed this via the system package manager in the past
(though I'm not a BSD user so can't speak for that platform) rather
than OPAM. Might be worth investigating whether there's a BSD port for
camlp4 specifically?

Others on the list will be able to answer more canonically though...

On 11 July 2015 at 21:18, Carl Dong <dongcarl@fastmail.com> wrote:
> Hi all,
>
> I started with a fresh install of FreeBSD 10.1 Release and installed
> opam from FreeBSD's ports collection. I did `opam init` and ran `eval
> (opam config env)` (I'm on fish shell). Then I ran `opam install mirage`
> which resulted in the following log: http://pastebin.com/Zn5mQkvv
> Any clue? Should I be asking in another mailing list?
>
> Cheers,
> Carl Dong
> dongcarl@fastmail.com
> "I fight for the users"
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:27:53 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:27:53 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1NI-00078S-5d; Sat, 11 Jul 2015 20:27:52 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dongcarl@fastmail.com>) id 1ZE1NG-00078N-Lm
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:27:50 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	5E/DE-11060-54C71A55; Sat, 11 Jul 2015 20:27:49 +0000
X-Env-Sender: dongcarl@fastmail.com
X-Msg-Ref: server-10.tower-31.messagelabs.com!1436646468!24856133!1
X-Originating-IP: [66.111.4.29]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjkgPT4gNjQ0MA==\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26819 invoked from network); 11 Jul 2015 20:27:48 -0000
Received: from out5-smtp.messagingengine.com (HELO
	out5-smtp.messagingengine.com) (66.111.4.29)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 Jul 2015 20:27:48 -0000
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
	by mailout.nyi.internal (Postfix) with ESMTP id 33B4720342
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 16:27:48 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute2.internal (MEProxy); Sat, 11 Jul 2015 16:27:48 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc
	:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to:x-sasl-enc
	:x-sasl-enc; s=mesmtp; bh=OouOtrQJWkkgrgZ7yTB6Fcal5j8=; b=tjdp+Y
	NE1Qch+QjpG6RZAJuLE4Zd+6H9m1YSqYj25HrN9x67G+f7JHzjf1xFCK3/TCwRVu
	VCMnURrVeqs7vYm3CLuw0yGRgzkRm9jmp9Ons2cFAsnOCyMM2Ejz7RcdANNUvl+N
	vAtk4tapzBOIJWLvaEkkZjJ5Ac7nn1ewlthwo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=cc:content-transfer-encoding:content-type
	:date:from:in-reply-to:message-id:mime-version:references
	:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=OouOtrQJWkkgrgZ
	7yTB6Fcal5j8=; b=qgV38V0ARGdsMUZ9l1CC8gpYApcQsdLGpdF6FvfJ9fFyVfU
	N0MA82HrFqr2ifqrh8aO3aVA4UWE31QNQRvXt7wIhfyH6d25VuEPeB44f/XhoxNn
	Xd3u8sdSLkiDcq6yFgYPImuWilGaAZY3JwnPLGpas+ODADyVbDHwlWBl7eXk=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id ED4E81115A5; Sat, 11 Jul 2015 16:27:47 -0400 (EDT)
Message-Id: <1436646467.1420614.321256017.4214C256@webmail.messagingengine.com>
X-Sasl-Enc: cXj73M7ssSJHnKWjCG3djIRJIEzwWwWUhQmxkKLe/FIQ 1436646467
From: Carl Dong <dongcarl@fastmail.com>
To: Richard Mortier <mort@cantab.net>
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-bfc056ae
In-Reply-To: <CAN2Hq06iKO0eF2f=oLZgG_dvQ3vGAenwZrYO5DJDnhL1wDON1A@mail.gmail.com>
References: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
	<470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
	<1436645578.1417653.321251969.625FE512@webmail.messagingengine.com>
	<CAN2Hq06iKO0eF2f=oLZgG_dvQ3vGAenwZrYO5DJDnhL1wDON1A@mail.gmail.com>
Date: Sat, 11 Jul 2015 13:27:47 -0700
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

So... I've managed to get some things working... Just to summarize, with
no ifconfigs, after I do `sudo ./mir-stackv4`, `telnet localhost 8080`
does not give me "hello!" as described in the docs, it says "Unable to
connect to remote host: Connection refused". If I then do `sudo ifconfig
tap0 10.0.0.1 netmask 255.255.255.0`, pinging workings, and telnet
connects, but doesn't give me "hello!", instead it gives me
```
Trying 10.0.0.2...
Connected to 10.0.0.2.
Escape character is '^]'.
```
and on the terminal with the ./mir-stackv4 open, it says
```
new tcp from 10.0.0.1 48670
```

is this what's supposed to happen? If so, then a lot of changes need to
be made on the docs.

Cheers,
Carl Dong
dongcarl@fastmail.com
"I fight for the users"

On Sat, Jul 11, 2015, at 01:18 PM, Richard Mortier wrote:
> Oops :( I don't have an Ubuntu box to hand right now unfortunately.
> 
> Does the "ping" command suggested on the instructions page show anything?
> Usual way to start debugging this is to look at the output of
> `ifconfig` and `route` to see how the interface has been named, what
> address it has, and whether there're appropriate routes setup. Then
> try `tcpdump` on the interfaces in question to see what packets are
> actually flowing, if any.
> 
> If no-one else picks this up in the meantime, ping me again tomorrow
> and I'll try and get a VM setup to test.
> 
> On 11 July 2015 at 21:12, Carl Dong <dongcarl@fastmail.com> wrote:
> > Tried. Does not help :-(
> >
> > Carl Dong
> > dongcarl@fastmail.com
> > "I fight for the users"
> >
> > On Sat, Jul 11, 2015, at 11:06 AM, Thomas Gazagnaire wrote:
> >> Hi Carl,
> >>
> >> Not sure if that helps, but you need to run the `ifconfig`[1] command
> >> every time you run the `./mir-stackv4` command.
> >>
> >> Best,
> >> Thomas
> >>
> >> [1]:  sudo ifconfig tap0 10.0.0.1 netmask 255.255.255.0
> >>
> >> > On 11 Jul 2015, at 18:46, Carl Dong <dongcarl@fastmail.com> wrote:
> >> >
> >> > Hi all,
> >> >
> >> > A big fan of your work trying to get started learning.
> >> >
> >> > I was following along https://mirage.io/wiki/hello-world
> >> > With a fresh install of Ubuntu 14.04 and only mirage installed under
> >> > opam
> >> > On step four of the tutorial (the one on stackv4), after I ran `sudo
> >> > ./mir-stackv4`, I got http://pastebin.com/svi5sZSt
> >> > `telnet localhost 8080` gives me:
> >> > ```
> >> > Trying 127.0.0.1...
> >> > telnet: Unable to connect to remote host: Connection refused
> >> > ```
> >> > I've also tried the telnet command with localhost replaced with 10.0.0.1
> >> > and 10.0.0.2, and they just hang forever.
> >> > Here's my ifconfig if that helps:
> >> > http://pastebin.com/P76uYZCP
> >> >
> >> > Cheers,
> >> > Carl Dong
> >> > dongcarl@fastmail.com
> >> > "I fight for the users"
> >> >
> >> > _______________________________________________
> >> > MirageOS-devel mailing list
> >> > MirageOS-devel@lists.xenproject.org
> >> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >>
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 
> 
> 
> -- 
> Richard Mortier
> mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:27:53 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:27:53 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1NI-00078S-5d; Sat, 11 Jul 2015 20:27:52 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dongcarl@fastmail.com>) id 1ZE1NG-00078N-Lm
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:27:50 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	5E/DE-11060-54C71A55; Sat, 11 Jul 2015 20:27:49 +0000
X-Env-Sender: dongcarl@fastmail.com
X-Msg-Ref: server-10.tower-31.messagelabs.com!1436646468!24856133!1
X-Originating-IP: [66.111.4.29]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjkgPT4gNjQ0MA==\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26819 invoked from network); 11 Jul 2015 20:27:48 -0000
Received: from out5-smtp.messagingengine.com (HELO
	out5-smtp.messagingengine.com) (66.111.4.29)
	by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 Jul 2015 20:27:48 -0000
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
	by mailout.nyi.internal (Postfix) with ESMTP id 33B4720342
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 16:27:48 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute2.internal (MEProxy); Sat, 11 Jul 2015 16:27:48 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc
	:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to:x-sasl-enc
	:x-sasl-enc; s=mesmtp; bh=OouOtrQJWkkgrgZ7yTB6Fcal5j8=; b=tjdp+Y
	NE1Qch+QjpG6RZAJuLE4Zd+6H9m1YSqYj25HrN9x67G+f7JHzjf1xFCK3/TCwRVu
	VCMnURrVeqs7vYm3CLuw0yGRgzkRm9jmp9Ons2cFAsnOCyMM2Ejz7RcdANNUvl+N
	vAtk4tapzBOIJWLvaEkkZjJ5Ac7nn1ewlthwo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=cc:content-transfer-encoding:content-type
	:date:from:in-reply-to:message-id:mime-version:references
	:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=OouOtrQJWkkgrgZ
	7yTB6Fcal5j8=; b=qgV38V0ARGdsMUZ9l1CC8gpYApcQsdLGpdF6FvfJ9fFyVfU
	N0MA82HrFqr2ifqrh8aO3aVA4UWE31QNQRvXt7wIhfyH6d25VuEPeB44f/XhoxNn
	Xd3u8sdSLkiDcq6yFgYPImuWilGaAZY3JwnPLGpas+ODADyVbDHwlWBl7eXk=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id ED4E81115A5; Sat, 11 Jul 2015 16:27:47 -0400 (EDT)
Message-Id: <1436646467.1420614.321256017.4214C256@webmail.messagingengine.com>
X-Sasl-Enc: cXj73M7ssSJHnKWjCG3djIRJIEzwWwWUhQmxkKLe/FIQ 1436646467
From: Carl Dong <dongcarl@fastmail.com>
To: Richard Mortier <mort@cantab.net>
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-bfc056ae
In-Reply-To: <CAN2Hq06iKO0eF2f=oLZgG_dvQ3vGAenwZrYO5DJDnhL1wDON1A@mail.gmail.com>
References: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
	<470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
	<1436645578.1417653.321251969.625FE512@webmail.messagingengine.com>
	<CAN2Hq06iKO0eF2f=oLZgG_dvQ3vGAenwZrYO5DJDnhL1wDON1A@mail.gmail.com>
Date: Sat, 11 Jul 2015 13:27:47 -0700
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

So... I've managed to get some things working... Just to summarize, with
no ifconfigs, after I do `sudo ./mir-stackv4`, `telnet localhost 8080`
does not give me "hello!" as described in the docs, it says "Unable to
connect to remote host: Connection refused". If I then do `sudo ifconfig
tap0 10.0.0.1 netmask 255.255.255.0`, pinging workings, and telnet
connects, but doesn't give me "hello!", instead it gives me
```
Trying 10.0.0.2...
Connected to 10.0.0.2.
Escape character is '^]'.
```
and on the terminal with the ./mir-stackv4 open, it says
```
new tcp from 10.0.0.1 48670
```

is this what's supposed to happen? If so, then a lot of changes need to
be made on the docs.

Cheers,
Carl Dong
dongcarl@fastmail.com
"I fight for the users"

On Sat, Jul 11, 2015, at 01:18 PM, Richard Mortier wrote:
> Oops :( I don't have an Ubuntu box to hand right now unfortunately.
> 
> Does the "ping" command suggested on the instructions page show anything?
> Usual way to start debugging this is to look at the output of
> `ifconfig` and `route` to see how the interface has been named, what
> address it has, and whether there're appropriate routes setup. Then
> try `tcpdump` on the interfaces in question to see what packets are
> actually flowing, if any.
> 
> If no-one else picks this up in the meantime, ping me again tomorrow
> and I'll try and get a VM setup to test.
> 
> On 11 July 2015 at 21:12, Carl Dong <dongcarl@fastmail.com> wrote:
> > Tried. Does not help :-(
> >
> > Carl Dong
> > dongcarl@fastmail.com
> > "I fight for the users"
> >
> > On Sat, Jul 11, 2015, at 11:06 AM, Thomas Gazagnaire wrote:
> >> Hi Carl,
> >>
> >> Not sure if that helps, but you need to run the `ifconfig`[1] command
> >> every time you run the `./mir-stackv4` command.
> >>
> >> Best,
> >> Thomas
> >>
> >> [1]:  sudo ifconfig tap0 10.0.0.1 netmask 255.255.255.0
> >>
> >> > On 11 Jul 2015, at 18:46, Carl Dong <dongcarl@fastmail.com> wrote:
> >> >
> >> > Hi all,
> >> >
> >> > A big fan of your work trying to get started learning.
> >> >
> >> > I was following along https://mirage.io/wiki/hello-world
> >> > With a fresh install of Ubuntu 14.04 and only mirage installed under
> >> > opam
> >> > On step four of the tutorial (the one on stackv4), after I ran `sudo
> >> > ./mir-stackv4`, I got http://pastebin.com/svi5sZSt
> >> > `telnet localhost 8080` gives me:
> >> > ```
> >> > Trying 127.0.0.1...
> >> > telnet: Unable to connect to remote host: Connection refused
> >> > ```
> >> > I've also tried the telnet command with localhost replaced with 10.0.0.1
> >> > and 10.0.0.2, and they just hang forever.
> >> > Here's my ifconfig if that helps:
> >> > http://pastebin.com/P76uYZCP
> >> >
> >> > Cheers,
> >> > Carl Dong
> >> > dongcarl@fastmail.com
> >> > "I fight for the users"
> >> >
> >> > _______________________________________________
> >> > MirageOS-devel mailing list
> >> > MirageOS-devel@lists.xenproject.org
> >> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> >>
> >
> > _______________________________________________
> > MirageOS-devel mailing list
> > MirageOS-devel@lists.xenproject.org
> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
> 
> 
> 
> -- 
> Richard Mortier
> mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:29:37 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:29:37 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1Oz-0007AV-CM; Sat, 11 Jul 2015 20:29:37 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZE1Ox-0007AQ-Jw
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:29:35 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	28/E5-11201-EAC71A55; Sat, 11 Jul 2015 20:29:34 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-11.tower-206.messagelabs.com!1436646574!16370494!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_DONG,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18487 invoked from network); 11 Jul 2015 20:29:34 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-11.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 11 Jul 2015 20:29:34 -0000
Received: from [192.168.0.15] (91.84.189.80.dyn.plus.net [80.189.84.91]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 56a38ae5;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sat, 11 Jul 2015 21:29:33 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
Date: Sat, 11 Jul 2015 21:29:30 +0100
Message-Id: <F6B488B6-3129-4717-9344-9654E9322CC9@recoil.org>
References: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
To: Carl Dong <dongcarl@fastmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Problem installing mirage on FreeBSD
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 11 Jul 2015, at 21:18, Carl Dong <dongcarl@fastmail.com> wrote:
> 
> Hi all,
> 
> I started with a fresh install of FreeBSD 10.1 Release and installed
> opam from FreeBSD's ports collection. I did `opam init` and ran `eval
> (opam config env)` (I'm on fish shell). Then I ran `opam install mirage`
> which resulted in the following log: http://pastebin.com/Zn5mQkvv
> Any clue? Should I be asking in another mailing list?

Looks like a bug in the FreeBSD port of OPAM -- it should also depend
on the "ocaml-camlp4" port as well as OCaml.  Try pkg_add'ing the
ocaml-camlp4 package and retrying the installation.

Alternatively, you can workaround this by "opam switch 4.02.2" and
it will compile a local version of camlp4 and let you continue.

-anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:29:37 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:29:37 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1Oz-0007AV-CM; Sat, 11 Jul 2015 20:29:37 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZE1Ox-0007AQ-Jw
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:29:35 +0000
Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id
	28/E5-11201-EAC71A55; Sat, 11 Jul 2015 20:29:34 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-11.tower-206.messagelabs.com!1436646574!16370494!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.7 required=7.0 tests=BODY_DONG,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18487 invoked from network); 11 Jul 2015 20:29:34 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-11.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 11 Jul 2015 20:29:34 -0000
Received: from [192.168.0.15] (91.84.189.80.dyn.plus.net [80.189.84.91]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 56a38ae5;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Sat, 11 Jul 2015 21:29:33 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
Date: Sat, 11 Jul 2015 21:29:30 +0100
Message-Id: <F6B488B6-3129-4717-9344-9654E9322CC9@recoil.org>
References: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
To: Carl Dong <dongcarl@fastmail.com>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Problem installing mirage on FreeBSD
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 11 Jul 2015, at 21:18, Carl Dong <dongcarl@fastmail.com> wrote:
> 
> Hi all,
> 
> I started with a fresh install of FreeBSD 10.1 Release and installed
> opam from FreeBSD's ports collection. I did `opam init` and ran `eval
> (opam config env)` (I'm on fish shell). Then I ran `opam install mirage`
> which resulted in the following log: http://pastebin.com/Zn5mQkvv
> Any clue? Should I be asking in another mailing list?

Looks like a bug in the FreeBSD port of OPAM -- it should also depend
on the "ocaml-camlp4" port as well as OCaml.  Try pkg_add'ing the
ocaml-camlp4 package and retrying the installation.

Alternatively, you can workaround this by "opam switch 4.02.2" and
it will compile a local version of camlp4 and let you continue.

-anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:40:22 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:40:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1ZM-0007Hx-6k; Sat, 11 Jul 2015 20:40:20 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dongcarl@fastmail.com>) id 1ZE1ZL-0007Hs-24
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:40:19 +0000
Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id
	E6/47-05081-23F71A55; Sat, 11 Jul 2015 20:40:18 +0000
X-Env-Sender: dongcarl@fastmail.com
X-Msg-Ref: server-4.tower-206.messagelabs.com!1436647217!20514730!1
X-Originating-IP: [66.111.4.29]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjkgPT4gNjQ0MA==\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3183 invoked from network); 11 Jul 2015 20:40:17 -0000
Received: from out5-smtp.messagingengine.com (HELO
	out5-smtp.messagingengine.com) (66.111.4.29)
	by server-4.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 Jul 2015 20:40:17 -0000
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
	by mailout.nyi.internal (Postfix) with ESMTP id 96F5920CBE
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 16:40:16 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute1.internal (MEProxy); Sat, 11 Jul 2015 16:40:16 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc
	:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to:x-sasl-enc
	:x-sasl-enc; s=mesmtp; bh=36il+VjBrEGNWy1rkLFmPPwdY/Y=; b=CUyiGE
	bhNAAoM15bDeqdWf9Ph8VKEjA6d8vR5vlWj7J+Dp4Xzo0XNFJXW9ZV1urBrGexLX
	7kkke+C9p6Sk0v+dcMAHOYJ88ftuL1Jhge+Zh+RYfJQVfHW69HF5Z+hzK2yMxbA2
	E9LNvCxVJNfL5fbTbzOMHlcPT3RZmT6Fawk4I=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=cc:content-transfer-encoding:content-type
	:date:from:in-reply-to:message-id:mime-version:references
	:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=36il+VjBrEGNWy1
	rkLFmPPwdY/Y=; b=Gs4f7NDlreZtEiCs8qgSd4rovf1QHhDfap4Wp3OSd7xlZZZ
	RD1Cd77cyciL8unQemARmk57oyJuo+7MLHdnjvTgw7aT/q3HfKto49RwtQUDUnQ6
	KD0XtCXc+6n/mfEOotfDeWIKhvEn5/36+8phBq+UL38dpbDRtjzHJhbg2PHI=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id 6C5AE111602; Sat, 11 Jul 2015 16:40:16 -0400 (EDT)
Message-Id: <1436647216.1422147.321261209.0DBAEA5A@webmail.messagingengine.com>
X-Sasl-Enc: jVn47GxxPt2gT+5Tp5xYpoGzrtQFbh6SwEGiftez0pwa 1436647216
From: Carl Dong <dongcarl@fastmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-bfc056ae
Date: Sat, 11 Jul 2015 13:40:16 -0700
In-Reply-To: <F6B488B6-3129-4717-9344-9654E9322CC9@recoil.org>
References: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
	<F6B488B6-3129-4717-9344-9654E9322CC9@recoil.org>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Problem installing mirage on FreeBSD
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Okay so here's my journey...

camlp4 errors in opam
install ocaml-camlp4 in ports
try opam install mirage again
lwt and type_conv errors in opam
install ocaml-lwt in ports
errors with:
```
E: Cannot find findlib package camlp4
E: Cannot find findlib package camlp4.extend
E: Cannot find findlib package camlp4.quotations.o
E: Cannot find findlib package pcre
E: Failure("4 configuration errors")
```
install ocaml-typeconv in ports
errors with:
```
E: Cannot find findlib package camlp4.extend
E: Cannot find findlib package camlp4.quotations
E: Failure("2 configuration errors")
```

I'm guessing I should find the maintainers?

Cheers,
Carl Dong
dongcarl@fastmail.com
"I fight for the users"

On Sat, Jul 11, 2015, at 01:29 PM, Anil Madhavapeddy wrote:
> On 11 Jul 2015, at 21:18, Carl Dong <dongcarl@fastmail.com> wrote:
> > 
> > Hi all,
> > 
> > I started with a fresh install of FreeBSD 10.1 Release and installed
> > opam from FreeBSD's ports collection. I did `opam init` and ran `eval
> > (opam config env)` (I'm on fish shell). Then I ran `opam install mirage`
> > which resulted in the following log: http://pastebin.com/Zn5mQkvv
> > Any clue? Should I be asking in another mailing list?
> 
> Looks like a bug in the FreeBSD port of OPAM -- it should also depend
> on the "ocaml-camlp4" port as well as OCaml.  Try pkg_add'ing the
> ocaml-camlp4 package and retrying the installation.
> 
> Alternatively, you can workaround this by "opam switch 4.02.2" and
> it will compile a local version of camlp4 and let you continue.
> 
> -anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:40:22 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:40:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1ZM-0007Hx-6k; Sat, 11 Jul 2015 20:40:20 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dongcarl@fastmail.com>) id 1ZE1ZL-0007Hs-24
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:40:19 +0000
Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id
	E6/47-05081-23F71A55; Sat, 11 Jul 2015 20:40:18 +0000
X-Env-Sender: dongcarl@fastmail.com
X-Msg-Ref: server-4.tower-206.messagelabs.com!1436647217!20514730!1
X-Originating-IP: [66.111.4.29]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjkgPT4gNjQ0MA==\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3183 invoked from network); 11 Jul 2015 20:40:17 -0000
Received: from out5-smtp.messagingengine.com (HELO
	out5-smtp.messagingengine.com) (66.111.4.29)
	by server-4.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 Jul 2015 20:40:17 -0000
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
	by mailout.nyi.internal (Postfix) with ESMTP id 96F5920CBE
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 16:40:16 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute1.internal (MEProxy); Sat, 11 Jul 2015 16:40:16 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc
	:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to:x-sasl-enc
	:x-sasl-enc; s=mesmtp; bh=36il+VjBrEGNWy1rkLFmPPwdY/Y=; b=CUyiGE
	bhNAAoM15bDeqdWf9Ph8VKEjA6d8vR5vlWj7J+Dp4Xzo0XNFJXW9ZV1urBrGexLX
	7kkke+C9p6Sk0v+dcMAHOYJ88ftuL1Jhge+Zh+RYfJQVfHW69HF5Z+hzK2yMxbA2
	E9LNvCxVJNfL5fbTbzOMHlcPT3RZmT6Fawk4I=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=cc:content-transfer-encoding:content-type
	:date:from:in-reply-to:message-id:mime-version:references
	:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=36il+VjBrEGNWy1
	rkLFmPPwdY/Y=; b=Gs4f7NDlreZtEiCs8qgSd4rovf1QHhDfap4Wp3OSd7xlZZZ
	RD1Cd77cyciL8unQemARmk57oyJuo+7MLHdnjvTgw7aT/q3HfKto49RwtQUDUnQ6
	KD0XtCXc+6n/mfEOotfDeWIKhvEn5/36+8phBq+UL38dpbDRtjzHJhbg2PHI=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id 6C5AE111602; Sat, 11 Jul 2015 16:40:16 -0400 (EDT)
Message-Id: <1436647216.1422147.321261209.0DBAEA5A@webmail.messagingengine.com>
X-Sasl-Enc: jVn47GxxPt2gT+5Tp5xYpoGzrtQFbh6SwEGiftez0pwa 1436647216
From: Carl Dong <dongcarl@fastmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-bfc056ae
Date: Sat, 11 Jul 2015 13:40:16 -0700
In-Reply-To: <F6B488B6-3129-4717-9344-9654E9322CC9@recoil.org>
References: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
	<F6B488B6-3129-4717-9344-9654E9322CC9@recoil.org>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Problem installing mirage on FreeBSD
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Okay so here's my journey...

camlp4 errors in opam
install ocaml-camlp4 in ports
try opam install mirage again
lwt and type_conv errors in opam
install ocaml-lwt in ports
errors with:
```
E: Cannot find findlib package camlp4
E: Cannot find findlib package camlp4.extend
E: Cannot find findlib package camlp4.quotations.o
E: Cannot find findlib package pcre
E: Failure("4 configuration errors")
```
install ocaml-typeconv in ports
errors with:
```
E: Cannot find findlib package camlp4.extend
E: Cannot find findlib package camlp4.quotations
E: Failure("2 configuration errors")
```

I'm guessing I should find the maintainers?

Cheers,
Carl Dong
dongcarl@fastmail.com
"I fight for the users"

On Sat, Jul 11, 2015, at 01:29 PM, Anil Madhavapeddy wrote:
> On 11 Jul 2015, at 21:18, Carl Dong <dongcarl@fastmail.com> wrote:
> > 
> > Hi all,
> > 
> > I started with a fresh install of FreeBSD 10.1 Release and installed
> > opam from FreeBSD's ports collection. I did `opam init` and ran `eval
> > (opam config env)` (I'm on fish shell). Then I ran `opam install mirage`
> > which resulted in the following log: http://pastebin.com/Zn5mQkvv
> > Any clue? Should I be asking in another mailing list?
> 
> Looks like a bug in the FreeBSD port of OPAM -- it should also depend
> on the "ocaml-camlp4" port as well as OCaml.  Try pkg_add'ing the
> ocaml-camlp4 package and retrying the installation.
> 
> Alternatively, you can workaround this by "opam switch 4.02.2" and
> it will compile a local version of camlp4 and let you continue.
> 
> -anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:44:48 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:44:48 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1df-0007K1-J3; Sat, 11 Jul 2015 20:44:47 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZE1dd-0007Jw-Hs
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:44:45 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	07/A7-01068-C3081A55; Sat, 11 Jul 2015 20:44:44 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-3.tower-31.messagelabs.com!1436647483!24936998!1
X-Originating-IP: [209.85.212.171]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_DONG,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4917 invoked from network); 11 Jul 2015 20:44:43 -0000
Received: from mail-wi0-f171.google.com (HELO mail-wi0-f171.google.com)
	(209.85.212.171)
	by server-3.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	11 Jul 2015 20:44:43 -0000
Received: by wibud3 with SMTP id ud3so929621wib.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 13:44:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=sTH+SiJqmsUeQbVqX3SEB6GT/0bOh2Yvr/6LqySwBZQ=;
	b=yP6uhDYTs2JppoHVDEtczIDtdbYCSTPknACjP4y0QW3Hcu2VYAq8h7URc8MNzxs18Z
	DtbbAXx3InxYSvD5K35/saj+0lTIIO4y68fkL1PqrS7tFiY9Y2XGkFd8eknDAWs0W3PN
	eRrbNHWKkE320pCh16C8Y4mqjvL0ImBY80UNfFaQn5ixgeukU799Oi30Kr7W8AAqKGiU
	F5CEpfqw0OZcdTNPE4ea/ECECrIgqNQoTIWkG09NgFsDtZkulA15c1pVsllEwGRi0i3K
	U9rYVWwU7l9q0bn38MmXtq2VwDxVzgiad1yPVbxxjSqSy0daxLYW5zu8/QEDDm+9vW5P
	i/mA==
MIME-Version: 1.0
X-Received: by 10.180.88.196 with SMTP id bi4mr9287428wib.70.1436647483364;
	Sat, 11 Jul 2015 13:44:43 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Sat, 11 Jul 2015 13:44:43 -0700 (PDT)
In-Reply-To: <1436646467.1420614.321256017.4214C256@webmail.messagingengine.com>
References: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
	<470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
	<1436645578.1417653.321251969.625FE512@webmail.messagingengine.com>
	<CAN2Hq06iKO0eF2f=oLZgG_dvQ3vGAenwZrYO5DJDnhL1wDON1A@mail.gmail.com>
	<1436646467.1420614.321256017.4214C256@webmail.messagingengine.com>
Date: Sat, 11 Jul 2015 21:44:43 +0100
X-Google-Sender-Auth: rrEljJgeXUNTfkJsdyZXrzp-J8U
Message-ID: <CAN2Hq05gB44X72kQ_HRiMKiT38k0Vpn2FZp-S-LyexWZxAhrxw@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Carl Dong <dongcarl@fastmail.com>
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I think updates need to be made to those docs, at least for stackv4.

It seems that when conduit came in, and HTTP was supported
differently, the "hello" part of that example was removed, leaving
only the console echo service. At present, if you type into the telnet
session, you should see output on the console of the mir-stackv4
process.

I've filed an issue to check the samples and update the docs. Will try
and get this fixed in the next few days if no-one beats me to it.

On 11 July 2015 at 21:27, Carl Dong <dongcarl@fastmail.com> wrote:
> So... I've managed to get some things working... Just to summarize, with
> no ifconfigs, after I do `sudo ./mir-stackv4`, `telnet localhost 8080`
> does not give me "hello!" as described in the docs, it says "Unable to
> connect to remote host: Connection refused". If I then do `sudo ifconfig
> tap0 10.0.0.1 netmask 255.255.255.0`, pinging workings, and telnet
> connects, but doesn't give me "hello!", instead it gives me
> ```
> Trying 10.0.0.2...
> Connected to 10.0.0.2.
> Escape character is '^]'.
> ```
> and on the terminal with the ./mir-stackv4 open, it says
> ```
> new tcp from 10.0.0.1 48670
> ```
>
> is this what's supposed to happen? If so, then a lot of changes need to
> be made on the docs.
>
> Cheers,
> Carl Dong
> dongcarl@fastmail.com
> "I fight for the users"
>
> On Sat, Jul 11, 2015, at 01:18 PM, Richard Mortier wrote:
>> Oops :( I don't have an Ubuntu box to hand right now unfortunately.
>>
>> Does the "ping" command suggested on the instructions page show anything?
>> Usual way to start debugging this is to look at the output of
>> `ifconfig` and `route` to see how the interface has been named, what
>> address it has, and whether there're appropriate routes setup. Then
>> try `tcpdump` on the interfaces in question to see what packets are
>> actually flowing, if any.
>>
>> If no-one else picks this up in the meantime, ping me again tomorrow
>> and I'll try and get a VM setup to test.
>>
>> On 11 July 2015 at 21:12, Carl Dong <dongcarl@fastmail.com> wrote:
>> > Tried. Does not help :-(
>> >
>> > Carl Dong
>> > dongcarl@fastmail.com
>> > "I fight for the users"
>> >
>> > On Sat, Jul 11, 2015, at 11:06 AM, Thomas Gazagnaire wrote:
>> >> Hi Carl,
>> >>
>> >> Not sure if that helps, but you need to run the `ifconfig`[1] command
>> >> every time you run the `./mir-stackv4` command.
>> >>
>> >> Best,
>> >> Thomas
>> >>
>> >> [1]:  sudo ifconfig tap0 10.0.0.1 netmask 255.255.255.0
>> >>
>> >> > On 11 Jul 2015, at 18:46, Carl Dong <dongcarl@fastmail.com> wrote:
>> >> >
>> >> > Hi all,
>> >> >
>> >> > A big fan of your work trying to get started learning.
>> >> >
>> >> > I was following along https://mirage.io/wiki/hello-world
>> >> > With a fresh install of Ubuntu 14.04 and only mirage installed under
>> >> > opam
>> >> > On step four of the tutorial (the one on stackv4), after I ran `sudo
>> >> > ./mir-stackv4`, I got http://pastebin.com/svi5sZSt
>> >> > `telnet localhost 8080` gives me:
>> >> > ```
>> >> > Trying 127.0.0.1...
>> >> > telnet: Unable to connect to remote host: Connection refused
>> >> > ```
>> >> > I've also tried the telnet command with localhost replaced with 10.0.0.1
>> >> > and 10.0.0.2, and they just hang forever.
>> >> > Here's my ifconfig if that helps:
>> >> > http://pastebin.com/P76uYZCP
>> >> >
>> >> > Cheers,
>> >> > Carl Dong
>> >> > dongcarl@fastmail.com
>> >> > "I fight for the users"
>> >> >
>> >> > _______________________________________________
>> >> > MirageOS-devel mailing list
>> >> > MirageOS-devel@lists.xenproject.org
>> >> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> >>
>> >
>> > _______________________________________________
>> > MirageOS-devel mailing list
>> > MirageOS-devel@lists.xenproject.org
>> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>
>>
>>
>> --
>> Richard Mortier
>> mort@cantab.net



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:44:48 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:44:48 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1df-0007K1-J3; Sat, 11 Jul 2015 20:44:47 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZE1dd-0007Jw-Hs
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:44:45 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	07/A7-01068-C3081A55; Sat, 11 Jul 2015 20:44:44 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-3.tower-31.messagelabs.com!1436647483!24936998!1
X-Originating-IP: [209.85.212.171]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_DONG,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4917 invoked from network); 11 Jul 2015 20:44:43 -0000
Received: from mail-wi0-f171.google.com (HELO mail-wi0-f171.google.com)
	(209.85.212.171)
	by server-3.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	11 Jul 2015 20:44:43 -0000
Received: by wibud3 with SMTP id ud3so929621wib.1
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 13:44:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=sTH+SiJqmsUeQbVqX3SEB6GT/0bOh2Yvr/6LqySwBZQ=;
	b=yP6uhDYTs2JppoHVDEtczIDtdbYCSTPknACjP4y0QW3Hcu2VYAq8h7URc8MNzxs18Z
	DtbbAXx3InxYSvD5K35/saj+0lTIIO4y68fkL1PqrS7tFiY9Y2XGkFd8eknDAWs0W3PN
	eRrbNHWKkE320pCh16C8Y4mqjvL0ImBY80UNfFaQn5ixgeukU799Oi30Kr7W8AAqKGiU
	F5CEpfqw0OZcdTNPE4ea/ECECrIgqNQoTIWkG09NgFsDtZkulA15c1pVsllEwGRi0i3K
	U9rYVWwU7l9q0bn38MmXtq2VwDxVzgiad1yPVbxxjSqSy0daxLYW5zu8/QEDDm+9vW5P
	i/mA==
MIME-Version: 1.0
X-Received: by 10.180.88.196 with SMTP id bi4mr9287428wib.70.1436647483364;
	Sat, 11 Jul 2015 13:44:43 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Sat, 11 Jul 2015 13:44:43 -0700 (PDT)
In-Reply-To: <1436646467.1420614.321256017.4214C256@webmail.messagingengine.com>
References: <1436636806.1388761.321190321.0088FF54@webmail.messagingengine.com>
	<470C3A61-5397-4C5C-9956-F7DE275DB902@gazagnaire.org>
	<1436645578.1417653.321251969.625FE512@webmail.messagingengine.com>
	<CAN2Hq06iKO0eF2f=oLZgG_dvQ3vGAenwZrYO5DJDnhL1wDON1A@mail.gmail.com>
	<1436646467.1420614.321256017.4214C256@webmail.messagingengine.com>
Date: Sat, 11 Jul 2015 21:44:43 +0100
X-Google-Sender-Auth: rrEljJgeXUNTfkJsdyZXrzp-J8U
Message-ID: <CAN2Hq05gB44X72kQ_HRiMKiT38k0Vpn2FZp-S-LyexWZxAhrxw@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: Carl Dong <dongcarl@fastmail.com>
Cc: Thomas Gazagnaire <thomas@gazagnaire.org>,
	mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Problems with Step 4 of Hello World
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I think updates need to be made to those docs, at least for stackv4.

It seems that when conduit came in, and HTTP was supported
differently, the "hello" part of that example was removed, leaving
only the console echo service. At present, if you type into the telnet
session, you should see output on the console of the mir-stackv4
process.

I've filed an issue to check the samples and update the docs. Will try
and get this fixed in the next few days if no-one beats me to it.

On 11 July 2015 at 21:27, Carl Dong <dongcarl@fastmail.com> wrote:
> So... I've managed to get some things working... Just to summarize, with
> no ifconfigs, after I do `sudo ./mir-stackv4`, `telnet localhost 8080`
> does not give me "hello!" as described in the docs, it says "Unable to
> connect to remote host: Connection refused". If I then do `sudo ifconfig
> tap0 10.0.0.1 netmask 255.255.255.0`, pinging workings, and telnet
> connects, but doesn't give me "hello!", instead it gives me
> ```
> Trying 10.0.0.2...
> Connected to 10.0.0.2.
> Escape character is '^]'.
> ```
> and on the terminal with the ./mir-stackv4 open, it says
> ```
> new tcp from 10.0.0.1 48670
> ```
>
> is this what's supposed to happen? If so, then a lot of changes need to
> be made on the docs.
>
> Cheers,
> Carl Dong
> dongcarl@fastmail.com
> "I fight for the users"
>
> On Sat, Jul 11, 2015, at 01:18 PM, Richard Mortier wrote:
>> Oops :( I don't have an Ubuntu box to hand right now unfortunately.
>>
>> Does the "ping" command suggested on the instructions page show anything?
>> Usual way to start debugging this is to look at the output of
>> `ifconfig` and `route` to see how the interface has been named, what
>> address it has, and whether there're appropriate routes setup. Then
>> try `tcpdump` on the interfaces in question to see what packets are
>> actually flowing, if any.
>>
>> If no-one else picks this up in the meantime, ping me again tomorrow
>> and I'll try and get a VM setup to test.
>>
>> On 11 July 2015 at 21:12, Carl Dong <dongcarl@fastmail.com> wrote:
>> > Tried. Does not help :-(
>> >
>> > Carl Dong
>> > dongcarl@fastmail.com
>> > "I fight for the users"
>> >
>> > On Sat, Jul 11, 2015, at 11:06 AM, Thomas Gazagnaire wrote:
>> >> Hi Carl,
>> >>
>> >> Not sure if that helps, but you need to run the `ifconfig`[1] command
>> >> every time you run the `./mir-stackv4` command.
>> >>
>> >> Best,
>> >> Thomas
>> >>
>> >> [1]:  sudo ifconfig tap0 10.0.0.1 netmask 255.255.255.0
>> >>
>> >> > On 11 Jul 2015, at 18:46, Carl Dong <dongcarl@fastmail.com> wrote:
>> >> >
>> >> > Hi all,
>> >> >
>> >> > A big fan of your work trying to get started learning.
>> >> >
>> >> > I was following along https://mirage.io/wiki/hello-world
>> >> > With a fresh install of Ubuntu 14.04 and only mirage installed under
>> >> > opam
>> >> > On step four of the tutorial (the one on stackv4), after I ran `sudo
>> >> > ./mir-stackv4`, I got http://pastebin.com/svi5sZSt
>> >> > `telnet localhost 8080` gives me:
>> >> > ```
>> >> > Trying 127.0.0.1...
>> >> > telnet: Unable to connect to remote host: Connection refused
>> >> > ```
>> >> > I've also tried the telnet command with localhost replaced with 10.0.0.1
>> >> > and 10.0.0.2, and they just hang forever.
>> >> > Here's my ifconfig if that helps:
>> >> > http://pastebin.com/P76uYZCP
>> >> >
>> >> > Cheers,
>> >> > Carl Dong
>> >> > dongcarl@fastmail.com
>> >> > "I fight for the users"
>> >> >
>> >> > _______________________________________________
>> >> > MirageOS-devel mailing list
>> >> > MirageOS-devel@lists.xenproject.org
>> >> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>> >>
>> >
>> > _______________________________________________
>> > MirageOS-devel mailing list
>> > MirageOS-devel@lists.xenproject.org
>> > http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>
>>
>>
>> --
>> Richard Mortier
>> mort@cantab.net



-- 
Richard Mortier
mort@cantab.net

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:46:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:46:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1ex-0007MF-4S; Sat, 11 Jul 2015 20:46:07 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dongcarl@fastmail.com>) id 1ZE1ev-0007Lz-Lh
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:46:05 +0000
Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id
	BD/D3-03371-D8081A55; Sat, 11 Jul 2015 20:46:05 +0000
X-Env-Sender: dongcarl@fastmail.com
X-Msg-Ref: server-9.tower-27.messagelabs.com!1436647563!31258078!1
X-Originating-IP: [66.111.4.29]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjkgPT4gNjQ0MA==\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19246 invoked from network); 11 Jul 2015 20:46:04 -0000
Received: from out5-smtp.messagingengine.com (HELO
	out5-smtp.messagingengine.com) (66.111.4.29)
	by server-9.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 Jul 2015 20:46:04 -0000
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
	by mailout.nyi.internal (Postfix) with ESMTP id 8649720A2E
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 16:46:03 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute1.internal (MEProxy); Sat, 11 Jul 2015 16:46:03 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc
	:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to:x-sasl-enc
	:x-sasl-enc; s=mesmtp; bh=8zlkvLg65SeDxKzxcEDybvx0fMc=; b=vQ9fZb
	X/1BcJFo5yEu+WLVQALkE0PC2s+ojmiB1t84WAgwmUFJJMTBC4UEzAjnVMSmC+Oj
	F00nrjG1oORLT3QI+0gTk5lSHC7lUF4RnxV6EAmXBAtsO2Yn9Hlyw033Gk2AS+Po
	0dRD5W65cwIKgn8j/7kILf/P73DTNCKV163QQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=cc:content-transfer-encoding:content-type
	:date:from:in-reply-to:message-id:mime-version:references
	:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=8zlkvLg65SeDxKz
	xcEDybvx0fMc=; b=Vq+qBy5DGURYskV83V4RL8iBJ0EZ5PyQZwRcgJ8PHCL/pJm
	RXgbnQgzc6C4e2+5XCRWpM+/zmREieK8CZWLMsVeLMJIWpAQrCJViRyN+LrI6AOS
	m0swuCqklOzz1A6XrJGTzuAbFbr2t3hYl/+wbLpzb6pqZDgHxRYGaOEjkQ34=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id 5DC14101E43; Sat, 11 Jul 2015 16:46:03 -0400 (EDT)
Message-Id: <1436647563.1423914.321265841.6F467350@webmail.messagingengine.com>
X-Sasl-Enc: uc7C744YppFrwEFbDelSvGjLAQgt/VF46dvpQXJPcjbX 1436647563
From: Carl Dong <dongcarl@fastmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-bfc056ae
Date: Sat, 11 Jul 2015 13:46:03 -0700
In-Reply-To: <F6B488B6-3129-4717-9344-9654E9322CC9@recoil.org>
References: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
	<F6B488B6-3129-4717-9344-9654E9322CC9@recoil.org>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Problem installing mirage on FreeBSD
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

By the way the workaround worked fantastically... Glad to be exploring
MirageOS on my favorite traditional OS :-)

Cheers,
Carl Dong
dongcarl@fastmail.com
"I fight for the users"

On Sat, Jul 11, 2015, at 01:29 PM, Anil Madhavapeddy wrote:
> On 11 Jul 2015, at 21:18, Carl Dong <dongcarl@fastmail.com> wrote:
> > 
> > Hi all,
> > 
> > I started with a fresh install of FreeBSD 10.1 Release and installed
> > opam from FreeBSD's ports collection. I did `opam init` and ran `eval
> > (opam config env)` (I'm on fish shell). Then I ran `opam install mirage`
> > which resulted in the following log: http://pastebin.com/Zn5mQkvv
> > Any clue? Should I be asking in another mailing list?
> 
> Looks like a bug in the FreeBSD port of OPAM -- it should also depend
> on the "ocaml-camlp4" port as well as OCaml.  Try pkg_add'ing the
> ocaml-camlp4 package and retrying the installation.
> 
> Alternatively, you can workaround this by "opam switch 4.02.2" and
> it will compile a local version of camlp4 and let you continue.
> 
> -anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 20:46:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 20:46:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE1ex-0007MF-4S; Sat, 11 Jul 2015 20:46:07 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dongcarl@fastmail.com>) id 1ZE1ev-0007Lz-Lh
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 20:46:05 +0000
Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id
	BD/D3-03371-D8081A55; Sat, 11 Jul 2015 20:46:05 +0000
X-Env-Sender: dongcarl@fastmail.com
X-Msg-Ref: server-9.tower-27.messagelabs.com!1436647563!31258078!1
X-Originating-IP: [66.111.4.29]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTExLjQuMjkgPT4gNjQ0MA==\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19246 invoked from network); 11 Jul 2015 20:46:04 -0000
Received: from out5-smtp.messagingengine.com (HELO
	out5-smtp.messagingengine.com) (66.111.4.29)
	by server-9.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 11 Jul 2015 20:46:04 -0000
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
	by mailout.nyi.internal (Postfix) with ESMTP id 8649720A2E
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 11 Jul 2015 16:46:03 -0400 (EDT)
Received: from web3 ([10.202.2.213])
	by compute1.internal (MEProxy); Sat, 11 Jul 2015 16:46:03 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc
	:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to:x-sasl-enc
	:x-sasl-enc; s=mesmtp; bh=8zlkvLg65SeDxKzxcEDybvx0fMc=; b=vQ9fZb
	X/1BcJFo5yEu+WLVQALkE0PC2s+ojmiB1t84WAgwmUFJJMTBC4UEzAjnVMSmC+Oj
	F00nrjG1oORLT3QI+0gTk5lSHC7lUF4RnxV6EAmXBAtsO2Yn9Hlyw033Gk2AS+Po
	0dRD5W65cwIKgn8j/7kILf/P73DTNCKV163QQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=cc:content-transfer-encoding:content-type
	:date:from:in-reply-to:message-id:mime-version:references
	:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=8zlkvLg65SeDxKz
	xcEDybvx0fMc=; b=Vq+qBy5DGURYskV83V4RL8iBJ0EZ5PyQZwRcgJ8PHCL/pJm
	RXgbnQgzc6C4e2+5XCRWpM+/zmREieK8CZWLMsVeLMJIWpAQrCJViRyN+LrI6AOS
	m0swuCqklOzz1A6XrJGTzuAbFbr2t3hYl/+wbLpzb6pqZDgHxRYGaOEjkQ34=
Received: by web3.nyi.internal (Postfix, from userid 99)
	id 5DC14101E43; Sat, 11 Jul 2015 16:46:03 -0400 (EDT)
Message-Id: <1436647563.1423914.321265841.6F467350@webmail.messagingengine.com>
X-Sasl-Enc: uc7C744YppFrwEFbDelSvGjLAQgt/VF46dvpQXJPcjbX 1436647563
From: Carl Dong <dongcarl@fastmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
MIME-Version: 1.0
X-Mailer: MessagingEngine.com Webmail Interface - ajax-bfc056ae
Date: Sat, 11 Jul 2015 13:46:03 -0700
In-Reply-To: <F6B488B6-3129-4717-9344-9654E9322CC9@recoil.org>
References: <1436645919.1418292.321252433.0BBBABBF@webmail.messagingengine.com>
	<F6B488B6-3129-4717-9344-9654E9322CC9@recoil.org>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Problem installing mirage on FreeBSD
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

By the way the workaround worked fantastically... Glad to be exploring
MirageOS on my favorite traditional OS :-)

Cheers,
Carl Dong
dongcarl@fastmail.com
"I fight for the users"

On Sat, Jul 11, 2015, at 01:29 PM, Anil Madhavapeddy wrote:
> On 11 Jul 2015, at 21:18, Carl Dong <dongcarl@fastmail.com> wrote:
> > 
> > Hi all,
> > 
> > I started with a fresh install of FreeBSD 10.1 Release and installed
> > opam from FreeBSD's ports collection. I did `opam init` and ran `eval
> > (opam config env)` (I'm on fish shell). Then I ran `opam install mirage`
> > which resulted in the following log: http://pastebin.com/Zn5mQkvv
> > Any clue? Should I be asking in another mailing list?
> 
> Looks like a bug in the FreeBSD port of OPAM -- it should also depend
> on the "ocaml-camlp4" port as well as OCaml.  Try pkg_add'ing the
> ocaml-camlp4 package and retrying the installation.
> 
> Alternatively, you can workaround this by "opam switch 4.02.2" and
> it will compile a local version of camlp4 and let you continue.
> 
> -anil

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 23:01:49 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 23:01:49 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE3m8-0001PT-N6; Sat, 11 Jul 2015 23:01:40 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZE3m7-0001PO-By
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 23:01:39 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	A1/5A-10437-250A1A55; Sat, 11 Jul 2015 23:01:38 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-15.tower-31.messagelabs.com!1436655697!24765051!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14877 invoked from network); 11 Jul 2015 23:01:37 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-15.tower-31.messagelabs.com with SMTP;
	11 Jul 2015 23:01:37 -0000
Received: from [192.168.2.7] (cpc16-cmbg14-2-0-cust300.5-4.cable.virginm.net
	[86.6.157.45])
	by smtp.webfaction.com (Postfix) with ESMTP id 6E1FB2078117;
	Sat, 11 Jul 2015 23:01:36 +0000 (UTC)
Date: Sun, 12 Jul 2015 00:01:32 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Justin Cormack <justin@specialbusservice.com>
Message-ID: <F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
In-Reply-To: <CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SnVzdGluJ3MgcG9pbnQgdGhhdCB3b3VsZCB5b3Ugc3RvcmUgYSBsYXJnZSBudW1iZXIgb2YgdGlt
ZXN0YW1wcyB5b3UnZCBhbnl3YXkgZGV2aXNlIHlvdXIgb3duIHJlcHJlc2VudGF0aW9uIGFjaGll
dmVkIHRvIGNvbnZpbmNlIG1lIHRoYXQgdXNpbmcgaW50NjQgKiBpbnQgYXMgaW5pdGlhbGx5IHBy
b3Bvc2VkIHNlZW1lZCB0byBiZSB0aGUgcmln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bmsgb2YgdGhpcyA/CgpEYW5pZWwKClAuUy4gQWxzbyBub3RlIHRoYXQgb24g
NjQtYml0IHBsYXRmb3JtcyB0aGlzIGNvdWxkIGFjdHVhbGx5IGJlIHJlcHJlc2VudGVkIGJ5IGFu
IGludCBwYWlyLCBhcyB0aGUgY2FsY3VsYXRpb25zIGZvciBwaWNvIHNlY29uZHMgd291bGQgZml0
IGluIHRoZSAyXjYyLTEgYml0cy4gIAoKWzFdIGh0dHA6Ly9zY2llbmNld29ybGQud29sZnJhbS5j
b20vYXN0cm9ub215L0p1bGlhbkRhdGUuaHRtbAoKCgpfX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdl
T1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3Jn
L2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 23:01:49 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 23:01:49 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE3m8-0001PT-N6; Sat, 11 Jul 2015 23:01:40 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZE3m7-0001PO-By
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 23:01:39 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	A1/5A-10437-250A1A55; Sat, 11 Jul 2015 23:01:38 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-15.tower-31.messagelabs.com!1436655697!24765051!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 14877 invoked from network); 11 Jul 2015 23:01:37 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-15.tower-31.messagelabs.com with SMTP;
	11 Jul 2015 23:01:37 -0000
Received: from [192.168.2.7] (cpc16-cmbg14-2-0-cust300.5-4.cable.virginm.net
	[86.6.157.45])
	by smtp.webfaction.com (Postfix) with ESMTP id 6E1FB2078117;
	Sat, 11 Jul 2015 23:01:36 +0000 (UTC)
Date: Sun, 12 Jul 2015 00:01:32 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Justin Cormack <justin@specialbusservice.com>
Message-ID: <F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
In-Reply-To: <CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SnVzdGluJ3MgcG9pbnQgdGhhdCB3b3VsZCB5b3Ugc3RvcmUgYSBsYXJnZSBudW1iZXIgb2YgdGlt
ZXN0YW1wcyB5b3UnZCBhbnl3YXkgZGV2aXNlIHlvdXIgb3duIHJlcHJlc2VudGF0aW9uIGFjaGll
dmVkIHRvIGNvbnZpbmNlIG1lIHRoYXQgdXNpbmcgaW50NjQgKiBpbnQgYXMgaW5pdGlhbGx5IHBy
b3Bvc2VkIHNlZW1lZCB0byBiZSB0aGUgcmlnaHQgcmVwcmVzZW50YXRpb24gdG8gbWU6IGl0IGhh
cyBhbXBsZSByYW5nZSwgbmFub3NlY29uZCBwcmVjaXNpb24gYW5kIHdlIHdvdWxkIG5vdCBpbnZl
bnQgYW55dGhpbmcgbmV3LiAgCgpIb3dldmVyIHdoaWxlIHRyeWluZyB0byBpbXBsZW1lbnQgdGhp
cyByZXByZXNlbnRhdGlvbiBpbiBwdGltZSBJIHJlYWxpemVkIHRoYXQgYWRkaXRpb24gaXMgbW9y
ZSB0cmlja3kgdGhhdCBuZWVkZWQgYmVjYXVzZSB0aGUgbmFub3NlY29uZCBjb3VudCBjYW4gb3Zl
cmZsb3cgb24gMzItYml0IHBsYXRmb3Jtcy4gV2hpbGUgaXQgZG9lcyBvdmVyZmxvdyBpbiBhIG1h
Z25pdHVkZSB0aGF0IG1ha2VzIGl0IHN0aWxsIHVzYWJsZSB0byBw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xpc3RzLnhlbnByb2plY3Qub3Jn
L2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 23:06:49 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 23:06:49 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE3r7-0001XZ-73; Sat, 11 Jul 2015 23:06:49 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZE3r5-0001XU-Lz
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 23:06:47 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	77/60-31304-781A1A55; Sat, 11 Jul 2015 23:06:47 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-4.tower-206.messagelabs.com!1436656006!20522849!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5535 invoked from network); 11 Jul 2015 23:06:46 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-4.tower-206.messagelabs.com with SMTP;
	11 Jul 2015 23:06:46 -0000
Received: from [192.168.2.7] (cpc16-cmbg14-2-0-cust300.5-4.cable.virginm.net
	[86.6.157.45])
	by smtp.webfaction.com (Postfix) with ESMTP id 1197A20F09C6;
	Sat, 11 Jul 2015 23:06:44 +0000 (UTC)
Date: Sun, 12 Jul 2015 00:06:41 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Justin Cormack <justin@specialbusservice.com>
Message-ID: <262DF9B778024FB8B9AF14F7604C86A9@erratique.ch>
In-Reply-To: <F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
	<F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgZGltYW5jaGUsIDEyIGp1aWxsZXQgMjAxNSDDoCAwMDowMSwgRGFuaWVsIELDvG56bGkgYSDD
qWNyaXQgOgo+IEhlcmUncyBob3cgMzItYml0IGNsZWFuIGFkZGl0aW9uIGdldHMgaW1wbGVtZW50
ZWQ6Cj4gIAo+IGxldCBhZGQgKGQwLCBuczApIChkMSwgbnMxKSA9Cj4gbGV0IGQgPSBkMCArIGQx
IGluCj4gbGV0IG5zID0gSW50NjQuYWRkIG5zMCBuczEgaW4KPiBsZXQgbnNfY2xhbXAgPSBJbnQ2
NC5yZW0gbnMgODZfNDAwXzAwMF8wMDBfMDAwXzAwMEwgaW4KPiBsZXQgZCA9IGQgKyBJbnQ2NC5j
b21wYXJlIG5zIG5zX2NsYW1wIGluCj4gZCwgbnNfY2xhbXAKCnMvbnMvcHMvZyB0byBtYWtlIGl0
IGxlc3MgY29uZnVzaW5nLiAgCgpEYW5pZWwKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9T
LWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9j
Z2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 11 23:06:49 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 11 Jul 2015 23:06:49 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZE3r7-0001XZ-73; Sat, 11 Jul 2015 23:06:49 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZE3r5-0001XU-Lz
	for mirageos-devel@lists.xenproject.org; Sat, 11 Jul 2015 23:06:47 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	77/60-31304-781A1A55; Sat, 11 Jul 2015 23:06:47 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-4.tower-206.messagelabs.com!1436656006!20522849!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5535 invoked from network); 11 Jul 2015 23:06:46 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-4.tower-206.messagelabs.com with SMTP;
	11 Jul 2015 23:06:46 -0000
Received: from [192.168.2.7] (cpc16-cmbg14-2-0-cust300.5-4.cable.virginm.net
	[86.6.157.45])
	by smtp.webfaction.com (Postfix) with ESMTP id 1197A20F09C6;
	Sat, 11 Jul 2015 23:06:44 +0000 (UTC)
Date: Sun, 12 Jul 2015 00:06:41 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Justin Cormack <justin@specialbusservice.com>
Message-ID: <262DF9B778024FB8B9AF14F7604C86A9@erratique.ch>
In-Reply-To: <F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
	<F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgZGltYW5jaGUsIDEyIGp1aWxsZXQgMjAxNSDDoCAwMDowMSwgRGFuaWVsIELDvG56bGkgYSDD
qWNyaXQgOgo+IEhlcmUncyBob3cgMzItYml0IGNsZWFuIGFkZGl0aW9uIGdldHMgaW1wbGVtZW50
ZWQ6Cj4gIAo+IGxldCBhZGQgKGQwLCBuczApIChkMSwgbnMxKSA9Cj4gbGV0IGQgPSBkMCArIGQx
IGluCj4gbGV0IG5zID0gSW50NjQuYWRkIG5zMCBuczEgaW4KPiBsZXQgbnNfY2xhbXAgPSBJbnQ2
NC5yZW0gbnMgODZfNDAwXzAwMF8wMDBfMDAwXzAwMEwgaW4KPiBsZXQgZCA9IGQgKyBJbnQ2NC5j
b21wYXJlIG5zIG5zX2NsYW1wIGluCj4gZCwgbnNfY2xhbXAKCnMvbnMvcHMvZyB0byBtYWtlIGl0
IGxlc3MgY29uZnVzaW5nLiAgCgpEYW5pZWwKCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9T
LWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9j
Z2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 12 13:28:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 12 Jul 2015 13:28:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZEHId-00009Y-Md; Sun, 12 Jul 2015 13:28:07 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZEHId-00009T-3I
	for mirageos-devel@lists.xenproject.org; Sun, 12 Jul 2015 13:28:07 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	2C/96-32733-66B62A55; Sun, 12 Jul 2015 13:28:06 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1436707685!31390643!1
X-Originating-IP: [209.85.212.181]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3015 invoked from network); 12 Jul 2015 13:28:05 -0000
Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com)
	(209.85.212.181)
	by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	12 Jul 2015 13:28:05 -0000
Received: by wicmv11 with SMTP id mv11so42622743wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 12 Jul 2015 06:28:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=CfSU3LfiIk/3K4cAOOUgb+Gi3VQUwYKUAErLB2aHr50=;
	b=UaKb5t4WkdbV6pel7PxVNeYGCjLRtmOX9ZxK5bhK9cbQTlUDAs3Uf3kaF7LZ7UfBsp
	NZPh3kUKINo9c3xIfbLl6pG0/nQP075yv/3KOFTp0egQG8IF1U8OHU+itn1wyelmcjeI
	XAAmFKl9BkyVQnvOBZadmey+sKQxmWfvXoPWmMmxIC9c7kspc3+cSXc6tqAOgvr1/4iV
	APfonVjRORAhE73OFkSjXuJ5acQvi7SZBrykTkfmWr8D96oRHm16VGvKlZBCIWSgKdyg
	eOEe2CMQPiKC6d+6YI4837yMzWw2pRnpPz5nxUsjPH1FArd3bpjwysQ1JcL4ojso+pwL
	6tdg==
MIME-Version: 1.0
X-Received: by 10.180.88.196 with SMTP id bi4mr14572821wib.70.1436707685247;
	Sun, 12 Jul 2015 06:28:05 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Sun, 12 Jul 2015 06:28:05 -0700 (PDT)
In-Reply-To: <262DF9B778024FB8B9AF14F7604C86A9@erratique.ch>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
	<F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
	<262DF9B778024FB8B9AF14F7604C86A9@erratique.ch>
Date: Sun, 12 Jul 2015 14:28:05 +0100
X-Google-Sender-Auth: CPBC4zV8gXAMwtkjfKzLpl4zTeM
Message-ID: <CAN2Hq04QpWFWnyRG9t5iF_H2udxPEc4wn4rNF3ckrUoDrLoZtQ@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

VGhhdCBzb3VuZHMgYSByZWFzb25hYmxlIHBsYW4gdG8gbWUuCgpPbiAxMiBKdWx5IDIwMTUgYXQg
MDA6MDYsIERhbmllbCBCw7xuemxpIDxkYW5pZWwuYnVlbnpsaUBlcnJhdGlxdWUuY2g+IHdyb3Rl
Ogo+IExlIGRpbWFuY2hlLCAxMiBqdWlsbGV0IDIwMTUgw6AgMDA6MDEsIERhbmllbCBCw7xuemxp
IGEgw6ljcml0IDoKPj4gSGVyZSdzIGhvdyAzMi1iaXQgY2xlYW4gYWRkaXRpb24gZ2V0cyBpbXBs
ZW1lbnRlZDoKPj4KPj4gbGV0IGFkZCAoZDAsIG5zMCkgKGQxLCBuczEpID0KPj4gbGV0IGQgPSBk
MCArIGQxIGluCj4+IGxldCBucyA9IEludDY0LmFkZCBuczAgbnMxIGluCj4+IGxldCBuc19jbGFt
cCA9IEludDY0LnJlbSBucyA4Nl80MDBfMDAwXzAwMF8wMDBfMDAwTCBpbgo+PiBsZXQgZCA9IGQg
KyBJbnQ2NC5jb21wYXJlIG5zIG5zX2NsYW1wIGluCj4+IGQsIG5zX2NsYW1wCj4KPiBzL25zL3Bz
L2cgdG8gbWFrZSBpdCBsZXNzIGNvbmZ1c2luZy4KPgo+IERhbmllbAo+Cj4KPgo+IF9fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCj4gTWlyYWdlT1MtZGV2ZWwg
bWFpbGluZyBsaXN0Cj4gTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKPiBodHRw
Oi8vbGlzdHMueGVucHJvamVjdC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9z
LWRldmVsCgoKCi0tIApSaWNoYXJkIE1vcnRpZXIKbW9ydEBjYW50YWIubmV0CgpfX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWls
aW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3Rz
LnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 12 13:28:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 12 Jul 2015 13:28:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZEHId-00009Y-Md; Sun, 12 Jul 2015 13:28:07 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZEHId-00009T-3I
	for mirageos-devel@lists.xenproject.org; Sun, 12 Jul 2015 13:28:07 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	2C/96-32733-66B62A55; Sun, 12 Jul 2015 13:28:06 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1436707685!31390643!1
X-Originating-IP: [209.85.212.181]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3015 invoked from network); 12 Jul 2015 13:28:05 -0000
Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com)
	(209.85.212.181)
	by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	12 Jul 2015 13:28:05 -0000
Received: by wicmv11 with SMTP id mv11so42622743wic.1
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 12 Jul 2015 06:28:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type:content-transfer-encoding;
	bh=CfSU3LfiIk/3K4cAOOUgb+Gi3VQUwYKUAErLB2aHr50=;
	b=UaKb5t4WkdbV6pel7PxVNeYGCjLRtmOX9ZxK5bhK9cbQTlUDAs3Uf3kaF7LZ7UfBsp
	NZPh3kUKINo9c3xIfbLl6pG0/nQP075yv/3KOFTp0egQG8IF1U8OHU+itn1wyelmcjeI
	XAAmFKl9BkyVQnvOBZadmey+sKQxmWfvXoPWmMmxIC9c7kspc3+cSXc6tqAOgvr1/4iV
	APfonVjRORAhE73OFkSjXuJ5acQvi7SZBrykTkfmWr8D96oRHm16VGvKlZBCIWSgKdyg
	eOEe2CMQPiKC6d+6YI4837yMzWw2pRnpPz5nxUsjPH1FArd3bpjwysQ1JcL4ojso+pwL
	6tdg==
MIME-Version: 1.0
X-Received: by 10.180.88.196 with SMTP id bi4mr14572821wib.70.1436707685247;
	Sun, 12 Jul 2015 06:28:05 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Sun, 12 Jul 2015 06:28:05 -0700 (PDT)
In-Reply-To: <262DF9B778024FB8B9AF14F7604C86A9@erratique.ch>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
	<F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
	<262DF9B778024FB8B9AF14F7604C86A9@erratique.ch>
Date: Sun, 12 Jul 2015 14:28:05 +0100
X-Google-Sender-Auth: CPBC4zV8gXAMwtkjfKzLpl4zTeM
Message-ID: <CAN2Hq04QpWFWnyRG9t5iF_H2udxPEc4wn4rNF3ckrUoDrLoZtQ@mail.gmail.com>
From: Richard Mortier <mort@cantab.net>
To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

VGhhdCBzb3VuZHMgYSByZWFzb25hYmxlIHBsYW4gdG8gbWUuCgpPbiAxMiBKdWx5IDIwMTUgYXQg
MDA6MDYsIERhbmllbCBCw7xuemxpIDxkYW5pZWwuYnVlbnpsaUBlcnJhdGlxdWUuY2g+IHdyb3Rl
Ogo+IExl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project.org Mon Jul 13 11:57:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 13 Jul 2015 11:57:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZEcMJ-0005j5-Mc; Mon, 13 Jul 2015 11:57:19 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZEcMJ-0005iu-5G
	for mirageos-devel@lists.xenproject.org; Mon, 13 Jul 2015 11:57:19 +0000
Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id
	A1/05-16276-E97A3A55; Mon, 13 Jul 2015 11:57:18 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-10.tower-31.messagelabs.com!1436788637!25224466!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13820 invoked from network); 13 Jul 2015 11:57:17 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-10.tower-31.messagelabs.com with SMTP;
	13 Jul 2015 11:57:17 -0000
Received: from [192.168.2.7] (cpc16-cmbg14-2-0-cust300.5-4.cable.virginm.net
	[86.6.157.45])
	by smtp.webfaction.com (Postfix) with ESMTP id 2EDDE21546C6;
	Mon, 13 Jul 2015 11:57:15 +0000 (UTC)
Date: Mon, 13 Jul 2015 12:57:11 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Tim Deegan <tim@xen.org>
Message-ID: <504F011C7ABC4767904BB70D4E34F33C@erratique.ch>
In-Reply-To: <20150713102854.GA41330@deinos.phlegethon.org>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
	<F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
	<20150713102854.GA41330@deinos.phlegethon.org>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgbHVuZGksIDEzIGp1aWxsZXQgMjAxNSDDoCAxMToyOCwgVGltIERlZWdhbiBhIMOpY3JpdCA6
Cj4gVVRDIGxlYXAgc2Vjb25kcyBtYWtlIHRoaXMgY29uZnVzaW5nLiBJLmUuICdkJyBpcyBub3Qg
ZXhhY3RseSB0aGUKPiBudW1iZXIgb2YgKFVUQykgZGF5cyBzaW5jZSB0aGUgZXBvY2gsIGJ1dCBp
dCB3aWxsIF9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G5vIHNlbWFu
dGljcy4gRS5nLiAyXjU2CgpHaXZlbiB0aGUgYWJvdmUgdGhpcyB3b3VsZCBtYWtlIHRoZSB0aW1l
IGNhbGN1bGF0aW9ucyBtdWNoIGxlc3Mgb2J2aW91cyBhbmQgcmVhZGFibGUgd2hpY2ggSSBkb24n
dCB0aGluayBpcyBkZXNpcmFibGUuCgpCZXN0LAoKRGFuaWVsCgpbMV0gaHR0cDovL3B1YnMub3Bl
bmdyb3VwLm9yZy9vbmxpbmVwdWJzLzk2OTk5MTk3OTkvYmFzZWRlZnMvVjFfY2hhcDA0Lmh0bWwj
dGFnXzA0XzE1CgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
XwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJv
amVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0
aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 13 11:57:27 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 13 Jul 2015 11:57:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZEcMJ-0005j5-Mc; Mon, 13 Jul 2015 11:57:19 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZEcMJ-0005iu-5G
	for mirageos-devel@lists.xenproject.org; Mon, 13 Jul 2015 11:57:19 +0000
Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id
	A1/05-16276-E97A3A55; Mon, 13 Jul 2015 11:57:18 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-10.tower-31.messagelabs.com!1436788637!25224466!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13820 invoked from network); 13 Jul 2015 11:57:17 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-10.tower-31.messagelabs.com with SMTP;
	13 Jul 2015 11:57:17 -0000
Received: from [192.168.2.7] (cpc16-cmbg14-2-0-cust300.5-4.cable.virginm.net
	[86.6.157.45])
	by smtp.webfaction.com (Postfix) with ESMTP id 2EDDE21546C6;
	Mon, 13 Jul 2015 11:57:15 +0000 (UTC)
Date: Mon, 13 Jul 2015 12:57:11 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Tim Deegan <tim@xen.org>
Message-ID: <504F011C7ABC4767904BB70D4E34F33C@erratique.ch>
In-Reply-To: <20150713102854.GA41330@deinos.phlegethon.org>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
	<F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
	<20150713102854.GA41330@deinos.phlegethon.org>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgbHVuZGksIDEzIGp1aWxsZXQgMjAxNSDDoCAxMToyOCwgVGltIERlZWdhbiBhIMOpY3JpdCA6
Cj4gVVRDIGxlYXAgc2Vjb25kcyBtYWtlIHRoaXMgY29uZnVzaW5nLiBJLmUuICdkJyBpcyBub3Qg
ZXhhY3RseSB0aGUKPiBudW1iZXIgb2YgKFVUQykgZGF5cyBzaW5jZSB0aGUgZXBvY2gsIGJ1dCBp
dCB3aWxsIF9pbmV2aXRhYmx5XyBiZSB1c2VkCj4gZm9yIHRoYXQsIGxlYWRpbmcgdG8gZ2xpdGNo
ZXMgYXJvdW5kIG1pZG5pZ2h0LgoKSW4gZmFjdCBpdCBpcyBtZWFudCB0by4gQnV0IHRoZSBkb2N1
bWVudGF0aW9uIHN0cmluZyBJIHdyb3RlIHdhcyBub3QgcHJlY2lzZSBlbm91Z2gsIHRoYW5rcyBm
b3IgcG9pbnRpbmcgdGhpcyBvdXQuICAKCkl0IHNob3VsZCByZWFkIChiZWluZyBjb25zdHJhaW5l
ZCBoZXJlIGJ5IHRoZSBmYWN0IHRoYXQgUE9TSVggdGltZSBzZWVtcyB0byBiZSB0aGUgb25seSBz
b3VyY2Ugb2YgdGltZSB3ZSBjYW4gZ2V0KTogIAoKICAib2NjdXJpbmcgYXQgW2RdICogODYnNDAw
ZTEyICsgW3BzXSAq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
amVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0
aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 13 12:32:24 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 13 Jul 2015 12:32:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZEcuD-0002HO-Uw; Mon, 13 Jul 2015 12:32:21 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72) (envelope-from <tim@xen.org>)
	id 1ZEayn-0001LG-Jh
	for mirageos-devel@lists.xenproject.org; Mon, 13 Jul 2015 10:28:57 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	BA/BC-11060-8E293A55; Mon, 13 Jul 2015 10:28:56 +0000
X-Env-Sender: tim@xen.org
X-Msg-Ref: server-11.tower-31.messagelabs.com!1436783336!25232500!1
X-Originating-IP: [5.39.92.215]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24482 invoked from network); 13 Jul 2015 10:28:56 -0000
Received: from deinos.phlegethon.org (HELO deinos.phlegethon.org) (5.39.92.215)
	by server-11.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 13 Jul 2015 10:28:56 -0000
Received: from tjd by deinos.phlegethon.org with local (Exim 4.84 (FreeBSD))
	(envelope-from <tim@xen.org>)
	id 1ZEayk-000D2u-PV; Mon, 13 Jul 2015 10:28:54 +0000
Date: Mon, 13 Jul 2015 11:28:54 +0100
From: Tim Deegan <tim@xen.org>
To: Daniel =?iso-8859-1?Q?B=FCnzli?= <daniel.buenzli@erratique.ch>
Message-ID: <20150713102854.GA41330@deinos.phlegethon.org>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
	<F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
MIME-Version: 1.0
Content-Length:1088
Content-Disposition: inline
In-Reply-To: <F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-SA-Known-Good: Yes
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: tim@xen.org
X-SA-Exim-Scanned: No (on deinos.phlegethon.org);
	SAEximRunCond expanded to false
X-Mailman-Approved-At: Mon, 13 Jul 2015 12:32:20 +0000
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

<delurk>

Hi,

Sorry to butt in on a discussion half-way through, but:

At 00:01 +0100 on 12 Jul (1436659292), Daniel B=FCnzli wrote:
> module type CLOCK =3D sig
> =

>   val now_d_ps : unit -> int * int64
>   (** [now_d_ps ()] is [(d, ps)] representing the time occuring at
>       [d] * 86'400e12 + [ps] picoseconds from the epoch 1970-01-01
>       00:00:00 UTC. [ps] is in the range \[[0];[86_399_999_999_999_999L]\=
]. *)

UTC leap seconds make this confusing.  I.e. 'd' is not exactly the
number of (UTC) days since the epoch, but it will _inevitably_ be used
for that, leading to glitches around midnight.

I think if you're going to have a two-part timestamp anyway it would
be better to pick a break point with no semantics.  E.g. 2^56
picoseconds is about the same size as a day, won't be so easily
mistaken for one, and will make some of the calculations more
efficient.

Cheers,

Tim.

<enlurk>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 13 12:32:24 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 13 Jul 2015 12:32:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZEcuD-0002HO-Uw; Mon, 13 Jul 2015 12:32:21 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72) (envelope-from <tim@xen.org>)
	id 1ZEayn-0001LG-Jh
	for mirageos-devel@lists.xenproject.org; Mon, 13 Jul 2015 10:28:57 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	BA/BC-11060-8E293A55; Mon, 13 Jul 2015 10:28:56 +0000
X-Env-Sender: tim@xen.org
X-Msg-Ref: server-11.tower-31.messagelabs.com!1436783336!25232500!1
X-Originating-IP: [5.39.92.215]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24482 invoked from network); 13 Jul 2015 10:28:56 -0000
Received: from deinos.phlegethon.org (HELO deinos.phlegethon.org) (5.39.92.215)
	by server-11.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 13 Jul 2015 10:28:56 -0000
Received: from tjd by deinos.phlegethon.org with local (Exim 4.84 (FreeBSD))
	(envelope-from <tim@xen.org>)
	id 1ZEayk-000D2u-PV; Mon, 13 Jul 2015 10:28:54 +0000
Date: Mon, 13 Jul 2015 11:28:54 +0100
From: Tim Deegan <tim@xen.org>
To: Daniel =?iso-8859-1?Q?B=FCnzli?= <daniel.buenzli@erratique.ch>
Message-ID: <20150713102854.GA41330@deinos.phlegethon.org>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
	<F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
MIME-Version: 1.0
Content-Length:1088
Content-Disposition: inline
In-Reply-To: <F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-SA-Known-Good: Yes
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: tim@xen.org
X-SA-Exim-Scanned: No (on deinos.phlegethon.org);
	SAEximRunCond expanded to false
X-Mailman-Approved-At: Mon, 13 Jul 2015 12:32:20 +0000
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

<delurk>

Hi,

Sorry to butt in on a discussion half-way through, but:

At 00:01 +0100 on 12 Jul (1436659292), Daniel B=FCnzli wrote:
> module type CLOCK =3D sig
> =

>   val now_d_ps : unit -> int * int64
>   (** [now_d_ps ()] is [(d, ps)] representing the time occuring at
>       [d] * 86'400e12 + [ps] picoseconds from the epoch 1970-01-01
>       00:00:00 UTC. [ps] is in the range \[[0];[86_399_999_999_999_999L]\=
]. *)

UTC leap seconds make this confusing.  I.e. 'd' is not exactly the
number of (UTC) days since the epoch, but it will _inevitably_ be used
for that, leading to glitches around midnight.

I think if you're going to have a two-part timestamp anyway it would
be better to pick a break point with no semantics.  E.g. 2^56
picoseconds is about the same size as a day, won't be so easily
mistaken for one, and will make some of the calculations more
efficient.

Cheers,

Tim.

<enlurk>

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 13 13:00:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 13 Jul 2015 13:00:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZEdLp-0003RF-K5; Mon, 13 Jul 2015 13:00:53 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72) (envelope-from <tim@xen.org>)
	id 1ZEdLo-0003R1-7f
	for mirageos-devel@lists.xenproject.org; Mon, 13 Jul 2015 13:00:52 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	B3/D8-09495-386B3A55; Mon, 13 Jul 2015 13:00:51 +0000
X-Env-Sender: tim@xen.org
X-Msg-Ref: server-7.tower-206.messagelabs.com!1436792448!20805966!1
X-Originating-IP: [5.39.92.215]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29156 invoked from network); 13 Jul 2015 13:00:49 -0000
Received: from deinos.phlegethon.org (HELO deinos.phlegethon.org) (5.39.92.215)
	by server-7.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 13 Jul 2015 13:00:49 -0000
Received: from tjd by deinos.phlegethon.org with local (Exim 4.84 (FreeBSD))
	(envelope-from <tim@xen.org>)
	id 1ZEdLi-000FqW-KV; Mon, 13 Jul 2015 13:00:46 +0000
Date: Mon, 13 Jul 2015 14:00:46 +0100
From: Tim Deegan <tim@xen.org>
To: Daniel =?iso-8859-1?Q?B=FCnzli?= <daniel.buenzli@erratique.ch>
Message-ID: <20150713130046.GB41330@deinos.phlegethon.org>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
	<F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
	<20150713102854.GA41330@deinos.phlegethon.org>
	<504F011C7ABC4767904BB70D4E34F33C@erratique.ch>
MIME-Version: 1.0
Content-Length: 874
Content-Disposition: inline
In-Reply-To: <504F011C7ABC4767904BB70D4E34F33C@erratique.ch>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-SA-Known-Good: Yes
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: tim@xen.org
X-SA-Exim-Scanned: No (on deinos.phlegethon.org);
	SAEximRunCond expanded to false
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

At 12:57 +0100 on 13 Jul (1436792231), Daniel B=FCnzli wrote:
> Le lundi, 13 juillet 2015 =E0 11:28, Tim Deegan a =E9crit :
> > UTC leap seconds make this confusing. I.e. 'd' is not exactly the
> > number of (UTC) days since the epoch, but it will _inevitably_ be used
> > for that, leading to glitches around midnight.
> =

> In fact it is meant to. But the documentation string I wrote was not prec=
ise enough, thanks for pointing this out.  =

> =

> It should read (being constrained here by the fact that POSIX time seems =
to be the only source of time we can get):  =

> =

>   "occuring at [d] * 86'400e12 + [ps] *POSIX* picoseconds"  =


Ah, OK.  Sorry for the noise.

Cheers,

Tim.

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 13 13:00:58 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 13 Jul 2015 13:00:58 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZEdLp-0003RF-K5; Mon, 13 Jul 2015 13:00:53 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72) (envelope-from <tim@xen.org>)
	id 1ZEdLo-0003R1-7f
	for mirageos-devel@lists.xenproject.org; Mon, 13 Jul 2015 13:00:52 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	B3/D8-09495-386B3A55; Mon, 13 Jul 2015 13:00:51 +0000
X-Env-Sender: tim@xen.org
X-Msg-Ref: server-7.tower-206.messagelabs.com!1436792448!20805966!1
X-Originating-IP: [5.39.92.215]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29156 invoked from network); 13 Jul 2015 13:00:49 -0000
Received: from deinos.phlegethon.org (HELO deinos.phlegethon.org) (5.39.92.215)
	by server-7.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 13 Jul 2015 13:00:49 -0000
Received: from tjd by deinos.phlegethon.org with local (Exim 4.84 (FreeBSD))
	(envelope-from <tim@xen.org>)
	id 1ZEdLi-000FqW-KV; Mon, 13 Jul 2015 13:00:46 +0000
Date: Mon, 13 Jul 2015 14:00:46 +0100
From: Tim Deegan <tim@xen.org>
To: Daniel =?iso-8859-1?Q?B=FCnzli?= <daniel.buenzli@erratique.ch>
Message-ID: <20150713130046.GB41330@deinos.phlegethon.org>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
	<F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
	<20150713102854.GA41330@deinos.phlegethon.org>
	<504F011C7ABC4767904BB70D4E34F33C@erratique.ch>
MIME-Version: 1.0
Content-Length: 874
Content-Disposition: inline
In-Reply-To: <504F011C7ABC4767904BB70D4E34F33C@erratique.ch>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-SA-Known-Good: Yes
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: tim@xen.org
X-SA-Exim-Scanned: No (on deinos.phlegethon.org);
	SAEximRunCond expanded to false
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

At 12:57 +0100 on 13 Jul (1436792231), Daniel B=FCnzli wrote:
> Le lundi, 13 juillet 2015 =E0 11:28, Tim Deegan a =E9crit :
> > UTC leap seconds make this confusing. I.e. 'd' is not exactly the
> > number of (UTC) days since the epoch, but it will _inevitably_ be used
> > for that, leading to glitches around midnight.
> =

> In fact it is meant to. But the documentation string I wrote was not prec=
ise enough, thanks for pointing this out.  =

> =

> It should read (being constrained here by the fact that POSIX time seems =
to be the only source of time we can get):  =

> =

>   "occuring at [d] * 86'400e12 + [ps] *POSIX* picoseconds"  =


Ah, OK.  Sorry for the noise.

Cheers,

Tim.

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 13 13:26:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 13 Jul 2015 13:26:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZEdkO-0004X7-DH; Mon, 13 Jul 2015 13:26:16 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZEdkM-0004X0-VF
	for mirageos-devel@lists.xenproject.org; Mon, 13 Jul 2015 13:26:15 +0000
Received: from [193.109.254.147] by server-6.bemta-14.messagelabs.com id
	C3/20-13047-67CB3A55; Mon, 13 Jul 2015 13:26:14 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-15.tower-27.messagelabs.com!1436793973!31655392!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15147 invoked from network); 13 Jul 2015 13:26:13 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-15.tower-27.messagelabs.com with SMTP;
	13 Jul 2015 13:26:13 -0000
Received: from [192.168.2.7] (cpc16-cmbg14-2-0-cust300.5-4.cable.virginm.net
	[86.6.157.45])
	by smtp.webfaction.com (Postfix) with ESMTP id 1A5A821558F1;
	Mon, 13 Jul 2015 13:24:04 +0000 (UTC)
Date: Mon, 13 Jul 2015 14:24:00 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Tim Deegan <tim@xen.org>
Message-ID: <75AC2FCE266C4F9EBDA65C1E32B6A1BC@erratique.ch>
In-Reply-To: <20150713130046.GB41330@deinos.phlegethon.org>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
	<F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
	<20150713102854.GA41330@deinos.phlegethon.org>
	<504F011C7ABC4767904BB70D4E34F33C@erratique.ch>
	<20150713130046.GB41330@deinos.phlegethon.org>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgbHVuZGksIDEzIGp1aWxsZXQgMjAxNSDDoCAxNDowMCwgVGltIERlZWdhbiBhIMOpY3JpdCA6
Cj4gQWgsIE9LLiBTb3JyeSBmb3IgdGhlIG5vaXNlLgoKUG9pbnRpbmcgb3V0IHVuZGVyc3BlY2lm
aWVkIGludGVyZmFjZXMgaXMgbm90IG5vaXNlICEKClRoYW5rcyBhZ2FpbiwKCkRhbmllbAoKCgoK
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1Mt
ZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0
dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdl
b3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 13 13:26:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 13 Jul 2015 13:26:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZEdkO-0004X7-DH; Mon, 13 Jul 2015 13:26:16 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <daniel.buenzli@erratique.ch>) id 1ZEdkM-0004X0-VF
	for mirageos-devel@lists.xenproject.org; Mon, 13 Jul 2015 13:26:15 +0000
Received: from [193.109.254.147] by server-6.bemta-14.messagelabs.com id
	C3/20-13047-67CB3A55; Mon, 13 Jul 2015 13:26:14 +0000
X-Env-Sender: daniel.buenzli@erratique.ch
X-Msg-Ref: server-15.tower-27.messagelabs.com!1436793973!31655392!1
X-Originating-IP: [74.55.86.74]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNzQuNTUuODYuNzQgPT4gMzA4NTYz\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15147 invoked from network); 13 Jul 2015 13:26:13 -0000
Received: from mail6.webfaction.com (HELO smtp.webfaction.com) (74.55.86.74)
	by server-15.tower-27.messagelabs.com with SMTP;
	13 Jul 2015 13:26:13 -0000
Received: from [192.168.2.7] (cpc16-cmbg14-2-0-cust300.5-4.cable.virginm.net
	[86.6.157.45])
	by smtp.webfaction.com (Postfix) with ESMTP id 1A5A821558F1;
	Mon, 13 Jul 2015 13:24:04 +0000 (UTC)
Date: Mon, 13 Jul 2015 14:24:00 +0100
From: =?utf-8?Q?Daniel_B=C3=BCnzli?= <daniel.buenzli@erratique.ch>
To: Tim Deegan <tim@xen.org>
Message-ID: <75AC2FCE266C4F9EBDA65C1E32B6A1BC@erratique.ch>
In-Reply-To: <20150713130046.GB41330@deinos.phlegethon.org>
References: <742FBAB6359147A08EA8E0BA0C11B38F@erratique.ch>
	<CAAWM5Ty03V4fYoOsJyL3UvxYDEiAC1Xx-55_VZqxr0V8eo=yLw@mail.gmail.com>
	<CAK4o1Wy2ECx0Ub=0Zkkq+xX7empwY1xbpCjEYWiNyTS8PbwHWg@mail.gmail.com>
	<F6B807474E2F4FBF8081C982555D6E94@erratique.ch>
	<20150713102854.GA41330@deinos.phlegethon.org>
	<504F011C7ABC4767904BB70D4E34F33C@erratique.ch>
	<20150713130046.GB41330@deinos.phlegethon.org>
X-Mailer: sparrow 1.6.4 (build 1178)
MIME-Version: 1.0
Content-Disposition: inline
Cc: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Timestamp representation and CLOCK
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

TGUgbHVuZGksIDEzIGp1aWxsZXQgMjAxNSDDoCAxNDowMCwgVGltIERlZWdhbiBhIMOpY3JpdCA6
Cj4gQWgsIE9LLiBTb3JyeSBmb3IgdGhlIG5vaXNlLgoKUG9pbnRpbmcgb3V0IHVuZGVyc3BlY2lm
aWVkIGludGVyZmFjZXMgaXMgbm90IG5vaXNlICEKClRoYW5rcyBhZ2FpbiwKCkRhbmllbAoKCgoK
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1Mt
ZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0
dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdl
b3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 14 13:43:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 14 Jul 2015 13:43:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZF0Ui-0002ME-FD; Tue, 14 Jul 2015 13:43:36 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <russell.pavlicek.xen@gmail.com>) id 1ZF0Ug-0002M8-P2
	for mirageos-devel@lists.xenproject.org; Tue, 14 Jul 2015 13:43:34 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	E5/A8-32406-60215A55; Tue, 14 Jul 2015 13:43:34 +0000
X-Env-Sender: russell.pavlicek.xen@gmail.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1436881412!21271304!1
X-Originating-IP: [209.85.212.193]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29598 invoked from network); 14 Jul 2015 13:43:33 -0000
Received: from mail-wi0-f193.google.com (HELO mail-wi0-f193.google.com)
	(209.85.212.193)
	by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	14 Jul 2015 13:43:33 -0000
Received: by wibk6 with SMTP id k6so1708952wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 14 Jul 2015 06:43:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:date:message-id:subject:from:to:content-type;
	bh=SRNMUdm8csxZUKPgYpe4EcK/eWT3iJB1bCT4Akxp1Pw=;
	b=P0ioJCmu7ma+XkhzDMYIZNC5vG6oCh9ubCcCuJp0i5217OcG3m/jW+xU43aRORfzui
	I2h7vJmfBQRSWyAvEmNNTPnlGiJH0kdzs6xn4W4rX+wo9S2jpSsqooGKYD/bSYOIyp0Q
	+mq913XpSXqtoMCw8vS5H61R/PFbQ5MXSkH2mxJ+fXs4StoMtsESZ8oR+od5k7wiT55F
	wjde3RPsxvrqRtp5lzU78XuXLRdk4S5Wi5pw7ZAKalfU0nhiCEQbCk3n6OBZDyZnt4cD
	jEv47fbYK+8XnXekSL8Q05hJB9xqX3NJGOeUfPm3iJMb0/5DaNlA+W/Z6g0hCEWAHqWT
	iX0Q==
MIME-Version: 1.0
X-Received: by 10.194.235.169 with SMTP id un9mr18700022wjc.136.1436881412599; 
	Tue, 14 Jul 2015 06:43:32 -0700 (PDT)
Received: by 10.194.81.99 with HTTP; Tue, 14 Jul 2015 06:43:32 -0700 (PDT)
Date: Tue, 14 Jul 2015 09:43:32 -0400
X-Google-Sender-Auth: UGa-n_fINSi86XmQL5Uy4CQzCD0
Message-ID: <CAHehzX3RF75yDPzLZ=ZpnF+D-p+Dq+MwMg5nGK0K7PmcTs9syw@mail.gmail.com>
From: Russ Pavlicek <russell.pavlicek@xenproject.org>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] URGENT: Looking for possible Unikernel
 presenters/war stories for Texas Linux Fest on Aug 21
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Folks,

We have an opportunity to hold a Unikernel mini-event at Texas Linux
Fest on Friday August 21.  As part of their tutorial & training
schedule on that day, they are interested in possibly holding a 4-hour
Unikernel event.

I know it's last minute, but I am trying to see if there is anyone who
might want to present at this potential event.  In particular, I'd
like to hear from:

- Developers who can discuss the architecture of their unikernel
- Experts who can discuss how to use a particular unikernel
- Users who can give war stories, howto info, and/or lessons learned
from working with a particular unikernel

We are short on time, so please ping me in the next day or so if you
think you might be interested (it won't phase me if you can't commit
on the spur of the moment, but please let me know that you're thinking
about it).  I need to determine this week if we will be able to get
enough presenters to make this worthwhile.

This is a community-driven event, so I don't think we can get any help
with travel or expenses.  If you know anyone who might be interested,
please feel free to forward this message appropriately.

Thank you!

Russ Pavlicek
Xen Project Evangelist (& Unikernel big mouth ;)

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 14 13:43:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 14 Jul 2015 13:43:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZF0Ui-0002ME-FD; Tue, 14 Jul 2015 13:43:36 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <russell.pavlicek.xen@gmail.com>) id 1ZF0Ug-0002M8-P2
	for mirageos-devel@lists.xenproject.org; Tue, 14 Jul 2015 13:43:34 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	E5/A8-32406-60215A55; Tue, 14 Jul 2015 13:43:34 +0000
X-Env-Sender: russell.pavlicek.xen@gmail.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1436881412!21271304!1
X-Originating-IP: [209.85.212.193]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29598 invoked from network); 14 Jul 2015 13:43:33 -0000
Received: from mail-wi0-f193.google.com (HELO mail-wi0-f193.google.com)
	(209.85.212.193)
	by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	14 Jul 2015 13:43:33 -0000
Received: by wibk6 with SMTP id k6so1708952wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 14 Jul 2015 06:43:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:date:message-id:subject:from:to:content-type;
	bh=SRNMUdm8csxZUKPgYpe4EcK/eWT3iJB1bCT4Akxp1Pw=;
	b=P0ioJCmu7ma+XkhzDMYIZNC5vG6oCh9ubCcCuJp0i5217OcG3m/jW+xU43aRORfzui
	I2h7vJmfBQRSWyAvEmNNTPnlGiJH0kdzs6xn4W4rX+wo9S2jpSsqooGKYD/bSYOIyp0Q
	+mq913XpSXqtoMCw8vS5H61R/PFbQ5MXSkH2mxJ+fXs4StoMtsESZ8oR+od5k7wiT55F
	wjde3RPsxvrqRtp5lzU78XuXLRdk4S5Wi5pw7ZAKalfU0nhiCEQbCk3n6OBZDyZnt4cD
	jEv47fbYK+8XnXekSL8Q05hJB9xqX3NJGOeUfPm3iJMb0/5DaNlA+W/Z6g0hCEWAHqWT
	iX0Q==
MIME-Version: 1.0
X-Received: by 10.194.235.169 with SMTP id un9mr18700022wjc.136.1436881412599; 
	Tue, 14 Jul 2015 06:43:32 -0700 (PDT)
Received: by 10.194.81.99 with HTTP; Tue, 14 Jul 2015 06:43:32 -0700 (PDT)
Date: Tue, 14 Jul 2015 09:43:32 -0400
X-Google-Sender-Auth: UGa-n_fINSi86XmQL5Uy4CQzCD0
Message-ID: <CAHehzX3RF75yDPzLZ=ZpnF+D-p+Dq+MwMg5nGK0K7PmcTs9syw@mail.gmail.com>
From: Russ Pavlicek <russell.pavlicek@xenproject.org>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] URGENT: Looking for possible Unikernel
 presenters/war stories for Texas Linux Fest on Aug 21
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Folks,

We have an opportunity to hold a Unikernel mini-event at Texas Linux
Fest on Friday August 21.  As part of their tutorial & training
schedule on that day, they are interested in possibly holding a 4-hour
Unikernel event.

I know it's last minute, but I am trying to see if there is anyone who
might want to present at this potential event.  In particular, I'd
like to hear from:

- Developers who can discuss the architecture of their unikernel
- Experts who can discuss how to use a particular unikernel
- Users who can give war stories, howto info, and/or lessons learned
from working with a particular unikernel

We are short on time, so please ping me in the next day or so if you
think you might be interested (it won't phase me if you can't commit
on the spur of the moment, but please let me know that you're thinking
about it).  I need to determine this week if we will be able to get
enough presenters to make this worthwhile.

This is a community-driven event, so I don't think we can get any help
with travel or expenses.  If you know anyone who might be interested,
please feel free to forward this message appropriately.

Thank you!

Russ Pavlicek
Xen Project Evangelist (& Unikernel big mouth ;)

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 14 15:39:55 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 14 Jul 2015 15:39:55 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZF2JA-0004wV-Gd; Tue, 14 Jul 2015 15:39:48 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <ql259@cam.ac.uk>) id 1ZF2J9-0004wI-Iy
	for mirageos-devel@lists.xenproject.org; Tue, 14 Jul 2015 15:39:47 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	29/EF-32406-24D25A55; Tue, 14 Jul 2015 15:39:46 +0000
X-Env-Sender: ql259@cam.ac.uk
X-Msg-Ref: server-4.tower-31.messagelabs.com!1436888385!24479031!1
X-Originating-IP: [131.111.8.151]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE1MSA9PiAxNDE4OTU=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6883 invoked from network); 14 Jul 2015 15:39:46 -0000
Received: from ppsw-51.csi.cam.ac.uk (HELO ppsw-51.csi.cam.ac.uk)
	(131.111.8.151)
	by server-4.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 14 Jul 2015 15:39:46 -0000
X-Cam-AntiVirus: not scanned (internal relaying)
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from webmail-3a.csi.cam.ac.uk ([131.111.9.36]:43890)
	by ppsw-51.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.139]:25)
	with esmtp id 1ZF2J7-0002IJ-YQ (Exim 4.82_3-c0e5623)
	(return-path <ql259@cam.ac.uk>); Tue, 14 Jul 2015 16:39:45 +0100
Received: from [127.0.0.1] (helo=webmail.hermes.cam.ac.uk)
	by webmail-3a.csi.cam.ac.uk with esmtp id 1ZF2J7-000pap-JF (Exim
	4.80_167-5a66dd3)
	(return-path <ql259@cam.ac.uk>); Tue, 14 Jul 2015 16:39:45 +0100
Received: from dhcp-172-17-155-250.eduroam.wireless.private.cam.ac.uk
	([172.17.155.250]) by webmail.hermes.cam.ac.uk
	with HTTP (HTTP/1.1 POST); Tue, 14 Jul 2015 16:39:45 +0100
MIME-Version: 1.0
X-Authenticated-User: ql259
Date: Tue, 14 Jul 2015 16:39:45 +0100
From: "Qiuying (Giulia) Lai" <ql259@cam.ac.uk>
To: mirageos-devel@lists.xenproject.org
Message-ID: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
X-Sender: ql259@cam.ac.uk
User-Agent: Roundcube Webmail/1.0.2
Subject: [MirageOS-devel] OpenSSL Cmd Tools for Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6645740536538687635=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============6645740536538687635==
Content-Type: multipart/alternative;
 boundary="=_b1ae033b00f9f03595a691160ad8e861"

--=_b1ae033b00f9f03595a691160ad8e861
Content-Transfer-Encoding: 7bit
Content-Type: text/plain

 

Hello everyone, 

I am currently looking to write OCaml versions of OpenSSL cmdline tools
(using our nocrypto, x509 and tls libraries), and would love some advice
on what would be most helpful to have/prioritize. 

Any suggestions? 

Many thanks! 

Qiuying 

 
--=_b1ae033b00f9f03595a691160ad8e861
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style=3D'font-size: 10pt'>
<p>Hello everyone,</p>
<p>I am currently looking to write OCaml versions of OpenSSL cmdline tools =
(using our nocrypto, x509 and tls libraries), and would love some advice on=
 what would be most helpful to have/prioritize.</p>
<p>Any suggestions?</p>
<p>Many thanks!</p>
<p>Qiuying</p>
<p>&nbsp;</p>
<div>&nbsp;</div>
</body></html>

--=_b1ae033b00f9f03595a691160ad8e861--



--===============6645740536538687635==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6645740536538687635==--



From mirageos-devel-bounces@lists.xenproject.org Tue Jul 14 15:39:55 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 14 Jul 2015 15:39:55 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZF2JA-0004wV-Gd; Tue, 14 Jul 2015 15:39:48 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <ql259@cam.ac.uk>) id 1ZF2J9-0004wI-Iy
	for mirageos-devel@lists.xenproject.org; Tue, 14 Jul 2015 15:39:47 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	29/EF-32406-24D25A55; Tue, 14 Jul 2015 15:39:46 +0000
X-Env-Sender: ql259@cam.ac.uk
X-Msg-Ref: server-4.tower-31.messagelabs.com!1436888385!24479031!1
X-Originating-IP: [131.111.8.151]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE1MSA9PiAxNDE4OTU=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 6883 invoked from network); 14 Jul 2015 15:39:46 -0000
Received: from ppsw-51.csi.cam.ac.uk (HELO ppsw-51.csi.cam.ac.uk)
	(131.111.8.151)
	by server-4.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 14 Jul 2015 15:39:46 -0000
X-Cam-AntiVirus: not scanned (internal relaying)
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from webmail-3a.csi.cam.ac.uk ([131.111.9.36]:43890)
	by ppsw-51.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.139]:25)
	with esmtp id 1ZF2J7-0002IJ-YQ (Exim 4.82_3-c0e5623)
	(return-path <ql259@cam.ac.uk>); Tue, 14 Jul 2015 16:39:45 +0100
Received: from [127.0.0.1] (helo=webmail.hermes.cam.ac.uk)
	by webmail-3a.csi.cam.ac.uk with esmtp id 1ZF2J7-000pap-JF (Exim
	4.80_167-5a66dd3)
	(return-path <ql259@cam.ac.uk>); Tue, 14 Jul 2015 16:39:45 +0100
Received: from dhcp-172-17-155-250.eduroam.wireless.private.cam.ac.uk
	([172.17.155.250]) by webmail.hermes.cam.ac.uk
	with HTTP (HTTP/1.1 POST); Tue, 14 Jul 2015 16:39:45 +0100
MIME-Version: 1.0
X-Authenticated-User: ql259
Date: Tue, 14 Jul 2015 16:39:45 +0100
From: "Qiuying (Giulia) Lai" <ql259@cam.ac.uk>
To: mirageos-devel@lists.xenproject.org
Message-ID: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
X-Sender: ql259@cam.ac.uk
User-Agent: Roundcube Webmail/1.0.2
Subject: [MirageOS-devel] OpenSSL Cmd Tools for Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6645740536538687635=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============6645740536538687635==
Content-Type: multipart/alternative;
 boundary="=_b1ae033b00f9f03595a691160ad8e861"

--=_b1ae033b00f9f03595a691160ad8e861
Content-Transfer-Encoding: 7bit
Content-Type: text/plain

 

Hello everyone, 

I am currently looking to write OCaml versions of OpenSSL cmdline tools
(using our nocrypto, x509 and tls libraries), and would love some advice
on what would be most helpful to have/prioritize. 

Any suggestions? 

Many thanks! 

Qiuying 

 
--=_b1ae033b00f9f03595a691160ad8e861
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style=3D'font-size: 10pt'>
<p>Hello everyone,</p>
<p>I am currently looking to write OCaml versions of OpenSSL cmdline tools =
(using our nocrypto, x509 and tls libraries), and would love some advice on=
 what would be most helpful to have/prioritize.</p>
<p>Any suggestions?</p>
<p>Many thanks!</p>
<p>Qiuying</p>
<p>&nbsp;</p>
<div>&nbsp;</div>
</body></html>

--=_b1ae033b00f9f03595a691160ad8e861--



--===============6645740536538687635==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============6645740536538687635==--



From mirageos-devel-bounces@lists.xenproject.org Tue Jul 14 16:11:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 14 Jul 2015 16:11:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZF2o0-00087e-SP; Tue, 14 Jul 2015 16:11:40 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <marklrh@gmail.com>) id 1ZF2ny-00087T-RU
	for mirageos-devel@lists.xenproject.org; Tue, 14 Jul 2015 16:11:39 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	DD/58-30151-AB435A55; Tue, 14 Jul 2015 16:11:38 +0000
X-Env-Sender: marklrh@gmail.com
X-Msg-Ref: server-11.tower-27.messagelabs.com!1436890296!25929170!1
X-Originating-IP: [209.85.192.45]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24895 invoked from network); 14 Jul 2015 16:11:37 -0000
Received: from mail-qg0-f45.google.com (HELO mail-qg0-f45.google.com)
	(209.85.192.45)
	by server-11.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	14 Jul 2015 16:11:37 -0000
Received: by qgef3 with SMTP id f3so6380824qge.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 14 Jul 2015 09:11:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:mime-version:message-id:in-reply-to:references:from:to:cc
	:subject:content-type;
	bh=I+MMNgywq4v/+W2VHKYQwznm1zx1ywAbfSZOHKLvamw=;
	b=OHOmnTvHkK+ZoWQbUq0GNZGXl/T5kORdD2aAQy0PIjE43CNYV9bip+/mLu5uQwYhgV
	UxYQRAaW2moSCN1uu6XzLM41E/R8B5Z7bgPWMjXDbV9NWKjAbU9poIDI4iV+IlykkcFu
	Xqp4o8tcqb8X4NC2Jw9CnRl7FPzJsCuqUxeeuQw5sTVxBrKnStfo8Uorut80bViPRmWq
	p6TndM65TNl94kRZBsEIEWXxMMyFnxa5oi9RKls2sXEOjm7sbIrepgEkdoffy6A4BXEa
	tUBK4KUyH4/1U72Bl0qRSOEUbuvxYrySjY7y6g+jA5D7+1VZJ108fDrv/fZqBFh6TINk
	7jog==
X-Received: by 10.55.48.133 with SMTP id w127mr13847470qkw.53.1436890296401;
	Tue, 14 Jul 2015 09:11:36 -0700 (PDT)
Received: from hedwig-53.prd.orcali.com
	(ec2-54-85-253-117.compute-1.amazonaws.com. [54.85.253.117])
	by smtp.gmail.com with ESMTPSA id l79sm675721qhl.24.2015.07.14.09.11.35
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 14 Jul 2015 09:11:35 -0700 (PDT)
Date: Tue, 14 Jul 2015 09:11:35 -0700 (PDT)
X-Google-Original-Date: Tue, 14 Jul 2015 16:11:35 GMT
MIME-Version: 1.0
X-Mailer: Nodemailer (0.5.0; +http://www.nodemailer.com/)
Message-Id: <1436890295264.188d0e05@Nodemailer>
In-Reply-To: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
References: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
X-Orchestra-Oid: A16258F7-C976-40DB-B300-F48898E50F95
X-Orchestra-Sig: 199ddd83d2079d75348fa4bf5d0246b07458fee1
X-Orchestra-Thrid: T2ADADBED-844D-45BD-A8CE-275E3FCAAE5C_1506686700581467953
X-Orchestra-Thrid-Sig: 6808fc4dbf9a553a9abee4646740b4eba88d4a6b
X-Orchestra-Account: 6e22e3300555cccb58981c19243aca82f5710b9b
From: "Runhang Li" <marklrh@gmail.com>
To: "Qiuying (Giulia) Lai" <ql259@cam.ac.uk>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] OpenSSL Cmd Tools for Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3059287958312088418=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============3059287958312088418==
Content-Type: multipart/alternative;
 boundary="----Nodemailer-0.5.0-?=_1-1436890295741"

------Nodemailer-0.5.0-?=_1-1436890295741
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi, Qiuying




I sometime use OpenSSL to encrypt and decrypt files (two-step verification =
recover code) using AES-256-CBC symmetric cipher (not sure if Hannes and =
David think it=E2=80=99s a good idea=E2=80=A6).




For example,




encrypt file:




$ openssl aes-256-cbc -in recover-code.txt -out recover-code.dat




decrypt file:

$ openssl aes-256-cbc -d -in recover-code.dat -out recover-code.txt




Nocrypto of course implemented AES cipher [1] so you may give a try.




[1]: https://github.com/mirleft/ocaml-nocrypto/blob/master/src/nocrypto.=
mli#L342





Thanks,




Runhang




---
Runhang Li
University of California, Los Angeles

On Tue, Jul 14, 2015 at 4:40 PM, Qiuying (Giulia) Lai <ql259@cam.ac.uk>
wrote:

>=20=20
> Hello everyone,=20
> I am currently looking to write OCaml versions of OpenSSL cmdline tools
> (using our nocrypto, x509 and tls libraries), and would love some advice
> on what would be most helpful to have/prioritize.=20
> Any suggestions=3F=20
> Many thanks!=20
> Qiuying=20
>=20=20
------Nodemailer-0.5.0-?=_1-1436890295741
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable


<span id=3D=22mailbox-conversation=22><div>
<div>Hi, Qiuying</div>
<div><br></div>
<div>I sometime use OpenSSL to encrypt and decrypt files (two-step =
verification recover code) using AES-256-CBC symmetric cipher (not sure if =
Hannes and David think it=E2=80=99s a good idea=E2=80=A6).</div>
<div><br></div>
<div>For example,</div>
<div><br></div>
<div>encrypt file:</div>
<div><br></div>
<div>$ openssl aes-256-cbc -in recover-code.txt -out recover-code.=
dat</div>
<div><br></div>
<div>decrypt file:</div>
<div>$ openssl aes-256-cbc -d -in recover-code.dat -out recover-code.=
txt</div>
<div><br></div>
<div>Nocrypto of course implemented AES cipher [1] so you may give a try.=
</div>
<div><br></div>
<div>[1]: <a href=3D=22https://github.com/mirleft/ocaml-nocrypto/blob/maste=
r/src/nocrypto.mli#L342=22>https://github.com/mirleft/ocaml-nocrypto/blob/m=
aster/src/nocrypto.mli#L342</a>
</div>
<div><br></div>
<div>Thanks,</div>
<div><br></div>
<div>Runhang</div>
</div></span><div class=3D=22mailbox=5Fsignature=22>
<br>---<br>Runhang Li<br>University of California, Los Angeles</div>
<br><br><div class=3D=22gmail=5Fquote=22><p>On Tue, Jul 14, 2015 at 4:40 PM=
, Qiuying (Giulia) Lai <span dir=3D=22ltr=22>&lt;<a =
href=3D=22mailto:ql259@cam.ac.uk=22 target=3D=22=5Fblank=22>ql259@cam.ac.=
uk</a>&gt;</span> wrote:<br></p><blockquote class=3D=22gmail=5Fquote=22 =
style=3D=22margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;=
=22><div style=3D=22font-size: 10pt=22>
<p>Hello everyone,</p>
<p>I am currently looking to write OCaml versions of OpenSSL cmdline tools =
(using our nocrypto, x509 and tls libraries), and would love some advice on=
 what would be most helpful to have/prioritize.</p>
<p>Any suggestions=3F</p>
<p>Many thanks!</p>
<p>Qiuying</p>
<p>=C2=A0</p>
<div>=C2=A0</div>
</div></blockquote></div><br>
------Nodemailer-0.5.0-?=_1-1436890295741--


--===============3059287958312088418==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3059287958312088418==--


From mirageos-devel-bounces@lists.xenproject.org Tue Jul 14 16:11:43 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 14 Jul 2015 16:11:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZF2o0-00087e-SP; Tue, 14 Jul 2015 16:11:40 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <marklrh@gmail.com>) id 1ZF2ny-00087T-RU
	for mirageos-devel@lists.xenproject.org; Tue, 14 Jul 2015 16:11:39 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	DD/58-30151-AB435A55; Tue, 14 Jul 2015 16:11:38 +0000
X-Env-Sender: marklrh@gmail.com
X-Msg-Ref: server-11.tower-27.messagelabs.com!1436890296!25929170!1
X-Originating-IP: [209.85.192.45]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24895 invoked from network); 14 Jul 2015 16:11:37 -0000
Received: from mail-qg0-f45.google.com (HELO mail-qg0-f45.google.com)
	(209.85.192.45)
	by server-11.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	14 Jul 2015 16:11:37 -0000
Received: by qgef3 with SMTP id f3so6380824qge.0
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 14 Jul 2015 09:11:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=date:mime-version:message-id:in-reply-to:references:from:to:cc
	:subject:content-type;
	bh=I+MMNgywq4v/+W2VHKYQwznm1zx1ywAbfSZOHKLvamw=;
	b=OHOmnTvHkK+ZoWQbUq0GNZGXl/T5kORdD2aAQy0PIjE43CNYV9bip+/mLu5uQwYhgV
	UxYQRAaW2moSCN1uu6XzLM41E/R8B5Z7bgPWMjXDbV9NWKjAbU9poIDI4iV+IlykkcFu
	Xqp4o8tcqb8X4NC2Jw9CnRl7FPzJsCuqUxeeuQw5sTVxBrKnStfo8Uorut80bViPRmWq
	p6TndM65TNl94kRZBsEIEWXxMMyFnxa5oi9RKls2sXEOjm7sbIrepgEkdoffy6A4BXEa
	tUBK4KUyH4/1U72Bl0qRSOEUbuvxYrySjY7y6g+jA5D7+1VZJ108fDrv/fZqBFh6TINk
	7jog==
X-Received: by 10.55.48.133 with SMTP id w127mr13847470qkw.53.1436890296401;
	Tue, 14 Jul 2015 09:11:36 -0700 (PDT)
Received: from hedwig-53.prd.orcali.com
	(ec2-54-85-253-117.compute-1.amazonaws.com. [54.85.253.117])
	by smtp.gmail.com with ESMTPSA id l79sm675721qhl.24.2015.07.14.09.11.35
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 14 Jul 2015 09:11:35 -0700 (PDT)
Date: Tue, 14 Jul 2015 09:11:35 -0700 (PDT)
X-Google-Original-Date: Tue, 14 Jul 2015 16:11:35 GMT
MIME-Version: 1.0
X-Mailer: Nodemailer (0.5.0; +http://www.nodemailer.com/)
Message-Id: <1436890295264.188d0e05@Nodemailer>
In-Reply-To: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
References: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
X-Orchestra-Oid: A16258F7-C976-40DB-B300-F48898E50F95
X-Orchestra-Sig: 199ddd83d2079d75348fa4bf5d0246b07458fee1
X-Orchestra-Thrid: T2ADADBED-844D-45BD-A8CE-275E3FCAAE5C_1506686700581467953
X-Orchestra-Thrid-Sig: 6808fc4dbf9a553a9abee4646740b4eba88d4a6b
X-Orchestra-Account: 6e22e3300555cccb58981c19243aca82f5710b9b
From: "Runhang Li" <marklrh@gmail.com>
To: "Qiuying (Giulia) Lai" <ql259@cam.ac.uk>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] OpenSSL Cmd Tools for Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3059287958312088418=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============3059287958312088418==
Content-Type: multipart/alternative;
 boundary="----Nodemailer-0.5.0-?=_1-1436890295741"

------Nodemailer-0.5.0-?=_1-1436890295741
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi, Qiuying




I sometime use OpenSSL to encrypt and decrypt files (two-step verification =
recover code) using AES-256-CBC symmetric cipher (not sure if Hannes and =
David think it=E2=80=99s a good idea=E2=80=A6).




For example,




encrypt file:




$ openssl aes-256-cbc -in recover-code.txt -out recover-code.dat




decrypt file:

$ openssl aes-256-cbc -d -in recover-code.dat -out recover-code.txt




Nocrypto of course implemented AES cipher [1] so you may give a try.




[1]: https://github.com/mirleft/ocaml-nocrypto/blob/master/src/nocrypto.=
mli#L342





Thanks,




Runhang




---
Runhang Li
University of California, Los Angeles

On Tue, Jul 14, 2015 at 4:40 PM, Qiuying (Giulia) Lai <ql259@cam.ac.uk>
wrote:

>=20=20
> Hello everyone,=20
> I am currently looking to write OCaml versions of OpenSSL cmdline tools
> (using our nocrypto, x509 and tls libraries), and would love some advice
> on what would be most helpful to have/prioritize.=20
> Any suggestions=3F=20
> Many thanks!=20
> Qiuying=20
>=20=20
------Nodemailer-0.5.0-?=_1-1436890295741
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable


<span id=3D=22mailbox-conversation=22><div>
<div>Hi, Qiuying</div>
<div><br></div>
<div>I sometime use OpenSSL to encrypt and decrypt files (two-step =
verification recover code) using AES-256-CBC symmetric cipher (not sure if =
Hannes and David think it=E2=80=99s a good idea=E2=80=A6).</div>
<div><br></div>
<div>For example,</div>
<div><br></div>
<div>encrypt file:</div>
<div><br></div>
<div>$ openssl aes-256-cbc -in recover-code.txt -out recover-code.=
dat</div>
<div><br></div>
<div>decrypt file:</div>
<div>$ openssl aes-256-cbc -d -in recover-code.dat -out recover-code.=
txt</div>
<div><br></div>
<div>Nocrypto of course implemented AES cipher [1] so you may give a try.=
</div>
<div><br></div>
<div>[1]: <a href=3D=22https://github.com/mirleft/ocaml-nocrypto/blob/maste=
r/src/nocrypto.mli#L342=22>https://github.com/mirleft/ocaml-nocrypto/blob/m=
aster/src/nocrypto.mli#L342</a>
</div>
<div><br></div>
<div>Thanks,</div>
<div><br></div>
<div>Runhang</div>
</div></span><div class=3D=22mailbox=5Fsignature=22>
<br>---<br>Runhang Li<br>University of California, Los Angeles</div>
<br><br><div class=3D=22gmail=5Fquote=22><p>On Tue, Jul 14, 2015 at 4:40 PM=
, Qiuying (Giulia) Lai <span dir=3D=22ltr=22>&lt;<a =
href=3D=22mailto:ql259@cam.ac.uk=22 target=3D=22=5Fblank=22>ql259@cam.ac.=
uk</a>&gt;</span> wrote:<br></p><blockquote class=3D=22gmail=5Fquote=22 =
style=3D=22margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;=
=22><div style=3D=22font-size: 10pt=22>
<p>Hello everyone,</p>
<p>I am currently looking to write OCaml versions of OpenSSL cmdline tools =
(using our nocrypto, x509 and tls libraries), and would love some advice on=
 what would be most helpful to have/prioritize.</p>
<p>Any suggestions=3F</p>
<p>Many thanks!</p>
<p>Qiuying</p>
<p>=C2=A0</p>
<div>=C2=A0</div>
</div></blockquote></div><br>
------Nodemailer-0.5.0-?=_1-1436890295741--


--===============3059287958312088418==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3059287958312088418==--


From mirageos-devel-bounces@lists.xenproject.org Tue Jul 14 18:02:09 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 14 Jul 2015 18:02:09 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZF4Wp-0001Rk-EE; Tue, 14 Jul 2015 18:02:03 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZF4Wo-0001RK-Ru
	for mirageos-devel@lists.xenproject.org; Tue, 14 Jul 2015 18:02:02 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	58/A9-22929-A9E45A55; Tue, 14 Jul 2015 18:02:02 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-9.tower-206.messagelabs.com!1436896921!21116318!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26320 invoked from network); 14 Jul 2015 18:02:01 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 14 Jul 2015 18:02:01 -0000
Received: from flick.hsd1.ca.comcast.net (c-50-184-49-183.hsd1.ca.comcast.net
	[50.184.49.183]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 9bf845bc;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 14 Jul 2015 19:02:00 +0100 (BST)
From: Anil Madhavapeddy <anil@recoil.org>
Message-Id: <14B6D3DB-3311-426A-BB57-D68655F9E9D8@recoil.org>
Date: Tue, 14 Jul 2015 11:01:56 -0700
To: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] nocrypto and opam 1.2.0
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I notice that nocrypto is now using some newer OPAM variables that were introduced in 1.2.1+, and so running it on OPAM 1.2.0 results in:

=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] nocrypto-inhibit-modernity is not a valid variable.
[WARNING] Invalid variable nocrypto-inhibit-modernity in filter
[ERROR] 'nocrypto-inhibit-modernity' has type string, but a env element of type bool was expected.
[ERROR] The compilation of nocrypto.0.5.1 failed.
Removing nocrypto.0.5.1.
  ocamlfind remove nocrypto

This is a problem since the default OPAM in Ubuntu is 1.2.0, and so it breaks out of the box.  Is this inhibit-modernity absolutely required in mainline?  I'd like a workaround today in the OPAM metadata so that our Ubuntu acceptance builds don't break.

It was perhaps a mistake to introduce new OPAM file semantics in a point release and not expect anyone to use it, but too late now...(and easily fixed).

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 14 18:02:09 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 14 Jul 2015 18:02:09 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZF4Wp-0001Rk-EE; Tue, 14 Jul 2015 18:02:03 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZF4Wo-0001RK-Ru
	for mirageos-devel@lists.xenproject.org; Tue, 14 Jul 2015 18:02:02 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	58/A9-22929-A9E45A55; Tue, 14 Jul 2015 18:02:02 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-9.tower-206.messagelabs.com!1436896921!21116318!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26320 invoked from network); 14 Jul 2015 18:02:01 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 14 Jul 2015 18:02:01 -0000
Received: from flick.hsd1.ca.comcast.net (c-50-184-49-183.hsd1.ca.comcast.net
	[50.184.49.183]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 9bf845bc;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 14 Jul 2015 19:02:00 +0100 (BST)
From: Anil Madhavapeddy <anil@recoil.org>
Message-Id: <14B6D3DB-3311-426A-BB57-D68655F9E9D8@recoil.org>
Date: Tue, 14 Jul 2015 11:01:56 -0700
To: MirageOS Devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Subject: [MirageOS-devel] nocrypto and opam 1.2.0
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

I notice that nocrypto is now using some newer OPAM variables that were introduced in 1.2.1+, and so running it on OPAM 1.2.0 results in:

=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] nocrypto-inhibit-modernity is not a valid variable.
[WARNING] Invalid variable nocrypto-inhibit-modernity in filter
[ERROR] 'nocrypto-inhibit-modernity' has type string, but a env element of type bool was expected.
[ERROR] The compilation of nocrypto.0.5.1 failed.
Removing nocrypto.0.5.1.
  ocamlfind remove nocrypto

This is a problem since the default OPAM in Ubuntu is 1.2.0, and so it breaks out of the box.  Is this inhibit-modernity absolutely required in mainline?  I'd like a workaround today in the OPAM metadata so that our Ubuntu acceptance builds don't break.

It was perhaps a mistake to introduce new OPAM file semantics in a point release and not expect anyone to use it, but too late now...(and easily fixed).

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 14 19:00:24 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 14 Jul 2015 19:00:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZF5RD-0003p2-7Z; Tue, 14 Jul 2015 19:00:19 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZF5RC-0003ox-4z
	for mirageos-devel@lists.xenproject.org; Tue, 14 Jul 2015 19:00:18 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	63/D2-23832-14C55A55; Tue, 14 Jul 2015 19:00:17 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-11.tower-31.messagelabs.com!1436900416!25811064!1
X-Originating-IP: [131.111.8.151]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE1MSA9PiAxNDE4OTU=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29301 invoked from network); 14 Jul 2015 19:00:16 -0000
Received: from ppsw-51.csi.cam.ac.uk (HELO ppsw-51.csi.cam.ac.uk)
	(131.111.8.151)
	by server-11.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 14 Jul 2015 19:00:16 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from cpc21-cmbg14-2-0-cust311.5-4.cable.virginm.net
	([86.6.27.56]:45956 helo=[10.0.1.3])
	by ppsw-51.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZF5RA-000580-Xs (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Tue, 14 Jul 2015 20:00:16 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <F37275ED-03FF-4D3A-A4DA-090164D8CDB2@cam.ac.uk>
Date: Tue, 14 Jul 2015 20:00:15 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] MirageOS fortnightly call - skipping this week
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsCgpBIG51bWJlciBvZiB0aGUgdGVhbSBhcmUgZWl0aGVyIHRyYXZlbGxpbmcsIG9y
IG90aGVyd2lzZSB1bmF2YWlsYWJsZSB0aGlzIHdlZWsuICBSYXRoZXIgdGhlbiByZXNjaGVkdWxp
bmcsIHdl4oCZbGwgc2tpcCB0aGlzIHdlZWvigJlzIGNhbGwgYW5kIHJlc3VtZSBhcyBub3JtYWwg
aW4gdHdvIHdlZWtzIHRpbWUuCgpJZiB5b3UgZG8gaGF2ZSBhbnl0aGluZyB0byBicmluZyB1cCwg
cGxlYXNlIGRvIHBvc3QgdG8gdGhlIGxpc3QgYW5kL29yIGFkZCB0byB0aGUgYWdlbmRhIGZvciBu
ZXh0IHRpbWUhCgpBZ2VuZGE6IGh0dHBzOi8vZ2l0aHViLmNvbS9taXJhZ2UvbWlyYWdlLXd3dy93
aWtpL0NhbGwtQWdlbmRhCgpCZXN0IHdpc2hlcywKQW1pcgpfX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWly
YWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qu
b3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 14 19:00:24 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 14 Jul 2015 19:00:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZF5RD-0003p2-7Z; Tue, 14 Jul 2015 19:00:19 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZF5RC-0003ox-4z
	for mirageos-devel@lists.xenproject.org; Tue, 14 Jul 2015 19:00:18 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	63/D2-23832-14C55A55; Tue, 14 Jul 2015 19:00:17 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-11.tower-31.messagelabs.com!1436900416!25811064!1
X-Originating-IP: [131.111.8.151]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE1MSA9PiAxNDE4OTU=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29301 invoked from network); 14 Jul 2015 19:00:16 -0000
Received: from ppsw-51.csi.cam.ac.uk (HELO ppsw-51.csi.cam.ac.uk)
	(131.111.8.151)
	by server-11.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 14 Jul 2015 19:00:16 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from cpc21-cmbg14-2-0-cust311.5-4.cable.virginm.net
	([86.6.27.56]:45956 helo=[10.0.1.3])
	by ppsw-51.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZF5RA-000580-Xs (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Tue, 14 Jul 2015 20:00:16 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <F37275ED-03FF-4D3A-A4DA-090164D8CDB2@cam.ac.uk>
Date: Tue, 14 Jul 2015 20:00:15 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] MirageOS fortnightly call - skipping this week
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsCgpBIG51bWJlciBvZiB0aGUgdGVhbSBhcmUgZWl0aGVyIHRyYXZlbGxpbmcsIG9y
IG90aGVyd2lzZSB1bmF2YWlsYWJsZSB0aGlzIHdlZWsuICBSYXRoZXIgdGhlbiByZXNjaGVkdWxp
bmcsIHdl4oCZbGwgc2tpcCB0aGlzIHdlZWvigJlzIGNhbGwgYW5kIHJlc3VtZSBhcyBub3JtYWwg
aW4gdHdvIHdlZWtzIHRpbWUuCgpJZiB5b3UgZG8gaGF2ZSBhbnl0aGluZyB0byBicmluZyB1cCwg
cGxlYXNlIGRvIHBvc3QgdG8gdGhlIGxpc3QgYW5kL29yIGFkZCB0byB0aGUgYWdlbmRhIGZvciBu
ZXh0IHRpbWUhCgpBZ2VuZGE6IGh0dHBzOi8vZ2l0aHViLmNvbS9taXJhZ2UvbWlyYWdlLXd3dy93
aWtpL0NhbGwtQWdlbmRhCgpCZXN0IHdpc2hlcywKQW1pcgpfX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZlbCBtYWlsaW5nIGxpc3QKTWly
YWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qu
b3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 15 14:18:59 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 15 Jul 2015 14:18:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZFNWM-0002Qg-CW; Wed, 15 Jul 2015 14:18:50 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZFNWK-0002QP-Sv
	for mirageos-devel@lists.xenproject.org; Wed, 15 Jul 2015 14:18:48 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	0E/7A-00913-4CB66A55; Wed, 15 Jul 2015 14:18:44 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-9.tower-206.messagelabs.com!1436969923!21351844!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.1 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31570 invoked from network); 15 Jul 2015 14:18:43 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 15 Jul 2015 14:18:43 -0000
Received: from flick.hsd1.ca.comcast.net (c-50-184-49-183.hsd1.ca.comcast.net
	[50.184.49.183]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id c749f5b9;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 15 Jul 2015 15:18:42 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
Date: Wed, 15 Jul 2015 07:18:39 -0700
Message-Id: <E32C2CDE-BDCD-4692-8B31-7E4ABA591A64@recoil.org>
References: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
To: "Qiuying (Giulia) Lai" <ql259@cam.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] OpenSSL Cmd Tools for Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5524977882256356206=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============5524977882256356206==
Content-Type: multipart/alternative; boundary="Apple-Mail=_06B2A277-4B2D-4E8D-BFFF-CE26533F4CC8"


--Apple-Mail=_06B2A277-4B2D-4E8D-BFFF-CE26533F4CC8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

One thing that confuses me all the time is the lack of a human-readable =
explanation of what all the various files are (.pem .key .csr .crt etc). =
 A tool that parses a file and explains where it fits into the overall =
goal of serving an HTTPS site would be most useful.  The simpler the =
interface, the better!

-anil

> On 14 Jul 2015, at 08:39, Qiuying (Giulia) Lai <ql259@cam.ac.uk> =
wrote:
>=20
> Hello everyone,
>=20
> I am currently looking to write OCaml versions of OpenSSL cmdline =
tools (using our nocrypto, x509 and tls libraries), and would love some =
advice on what would be most helpful to have/prioritize.
>=20
> Any suggestions?
>=20
> Many thanks!
>=20
> Qiuying
>=20
> =20
> =20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_06B2A277-4B2D-4E8D-BFFF-CE26533F4CC8
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">One thing that confuses me all the time is the lack of a human-readable explanation of what all the various files are (.pem .key .csr .crt etc). &nbsp;A tool that parses a file and explains where it fits into the overall goal of serving an HTTPS site would be most useful. &nbsp;The simpler the interface, the better!<div class=""><br class=""></div><div class="">-anil</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 14 Jul 2015, at 08:39, Qiuying (Giulia) Lai &lt;<a href="mailto:ql259@cam.ac.uk" class="">ql259@cam.ac.uk</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">
<div style="font-size: 10pt" class=""><p class="">Hello everyone,</p><p class="">I am currently looking to write OCaml versions of OpenSSL cmdline tools (using our nocrypto, x509 and tls libraries), and would love some advice on what would be most helpful to have/prioritize.</p><p class="">Any suggestions?</p><p class="">Many thanks!</p><p class="">Qiuying</p><div class="">&nbsp;<br class="webkit-block-placeholder"></div>
<div class="">&nbsp;</div>
</div>
_______________________________________________<br class="">MirageOS-devel mailing list<br class=""><a href="mailto:MirageOS-devel@lists.xenproject.org" class="">MirageOS-devel@lists.xenproject.org</a><br class="">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel<br class=""></div></blockquote></div><br class=""></div></body></html>
--Apple-Mail=_06B2A277-4B2D-4E8D-BFFF-CE26533F4CC8--


--===============5524977882256356206==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5524977882256356206==--


From mirageos-devel-bounces@lists.xenproject.org Wed Jul 15 14:18:59 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 15 Jul 2015 14:18:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZFNWM-0002Qg-CW; Wed, 15 Jul 2015 14:18:50 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZFNWK-0002QP-Sv
	for mirageos-devel@lists.xenproject.org; Wed, 15 Jul 2015 14:18:48 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	0E/7A-00913-4CB66A55; Wed, 15 Jul 2015 14:18:44 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-9.tower-206.messagelabs.com!1436969923!21351844!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.1 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31570 invoked from network); 15 Jul 2015 14:18:43 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 15 Jul 2015 14:18:43 -0000
Received: from flick.hsd1.ca.comcast.net (c-50-184-49-183.hsd1.ca.comcast.net
	[50.184.49.183]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id c749f5b9;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Wed, 15 Jul 2015 15:18:42 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
Date: Wed, 15 Jul 2015 07:18:39 -0700
Message-Id: <E32C2CDE-BDCD-4692-8B31-7E4ABA591A64@recoil.org>
References: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
To: "Qiuying (Giulia) Lai" <ql259@cam.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] OpenSSL Cmd Tools for Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5524977882256356206=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============5524977882256356206==
Content-Type: multipart/alternative; boundary="Apple-Mail=_06B2A277-4B2D-4E8D-BFFF-CE26533F4CC8"


--Apple-Mail=_06B2A277-4B2D-4E8D-BFFF-CE26533F4CC8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

One thing that confuses me all the time is the lack of a human-readable =
explanation of what all the various files are (.pem .key .csr .crt etc). =
 A tool that parses a file and explains where it fits into the overall =
goal of serving an HTTPS site would be most useful.  The simpler the =
interface, the better!

-anil

> On 14 Jul 2015, at 08:39, Qiuying (Giulia) Lai <ql259@cam.ac.uk> =
wrote:
>=20
> Hello everyone,
>=20
> I am currently looking to write OCaml versions of OpenSSL cmdline =
tools (using our nocrypto, x509 and tls libraries), and would love some =
advice on what would be most helpful to have/prioritize.
>=20
> Any suggestions?
>=20
> Many thanks!
>=20
> Qiuying
>=20
> =20
> =20
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


--Apple-Mail=_06B2A277-4B2D-4E8D-BFFF-CE26533F4CC8
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">One thing that confuses me all the time is the lack of a human-readable explanation of what all the various files are (.pem .key .csr .crt etc). &nbsp;A tool that parses a file and explains where it fits into the overall goal of serving an HTTPS site would be most useful. &nbsp;The simpler the interface, the better!<div class=""><br class=""></div><div class="">-anil</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 14 Jul 2015, at 08:39, Qiuying (Giulia) Lai &lt;<a href="mailto:ql259@cam.ac.uk" class="">ql259@cam.ac.uk</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">
<div style="font-size: 10pt" class=""><p class="">Hello everyone,</p><p class="">I am currently looking to write OCaml versions of OpenSSL cmdline tools (using our nocrypto, x509 and tls libraries), and would love some advice on what would be most helpful to have/prioritize.</p><p class="">Any suggestions?</p><p class="">Many thanks!</p><p class="">Qiuying</p><div class="">&nbsp;<br class="webkit-block-placeholder"></div>
<div class="">&nbsp;</div>
</div>
_______________________________________________<br class="">MirageOS-devel mailing list<br class=""><a href="mailto:MirageOS-devel@lists.xenproject.org" class="">MirageOS-devel@lists.xenproject.org</a><br class="">http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel<br class=""></div></blockquote></div><br class=""></div></body></html>
--Apple-Mail=_06B2A277-4B2D-4E8D-BFFF-CE26533F4CC8--


--===============5524977882256356206==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============5524977882256356206==--


From mirageos-devel-bounces@lists.xenproject.org Thu Jul 16 18:26:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 16 Jul 2015 18:26:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZFnr6-0006uM-2e; Thu, 16 Jul 2015 18:26:00 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <drupyog+caml@zoho.com>) id 1ZFnr4-0006uB-NS
	for mirageos-devel@lists.xenproject.org; Thu, 16 Jul 2015 18:25:58 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	F5/99-30658-637F7A55; Thu, 16 Jul 2015 18:25:58 +0000
X-Env-Sender: drupyog+caml@zoho.com
X-Msg-Ref: server-2.tower-27.messagelabs.com!1437071155!32737652!1
X-Originating-IP: [74.201.84.153]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5627 invoked from network); 16 Jul 2015 18:25:57 -0000
Received: from sender153-mail.zoho.com (HELO sender153-mail.zoho.com)
	(74.201.84.153)
	by server-2.tower-27.messagelabs.com with AES128-SHA encrypted SMTP;
	16 Jul 2015 18:25:57 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; 
	h=to:from:subject:message-id:date:user-agent:mime-version:content-type; 
	b=VNOUuZNnXAdaWqc9CgRKg6mmeuONjcWJ1TbtEFShVX0UPHF9mjjj5dypZT4gjtOtvWUj0dl/fKPf
	jO29EIPcbUxSFkHas6fKnnctIa4qWDpTYIPTRpVOfQG6Jj/5cOB5  
Received: from [172.17.155.228] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26]) by mx.zohomail.com
	with SMTPS id 1437071154138924.2120488334863;
	Thu, 16 Jul 2015 11:25:54 -0700 (PDT)
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
From: Drup <drupyog+caml@zoho.com>
Message-ID: <55A7F711.10909@zoho.com>
Date: Thu, 16 Jul 2015 20:25:21 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
	Thunderbird/38.1.0
MIME-Version: 1.0
Subject: [MirageOS-devel] Dispatching boilerplate and the tutorial
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

The mirage guide presents nice and simple unikernels in the first 
tutorial[1], which is a very gentle introduction to mirage things, and 
then suddenly drop you into this: 
https://github.com/mirage/mirage-www/tree/master/src

The intention seems to be to present the config.ml and makes you try 
various configurations, but I don't think it works that well: people are 
going to try to understand dispatch(_tls).ml, because that's where most 
of the meat is, and these files are a bit messy, to say the least.

The next tutorials are not really related to mirage (CI, opam, 
profiling), so it is pretty much the end note of the mirage guide.

I see various issues:
1) mirage-www is not minimalistic. Now that mirage-seal is here (and in 
particular the static files[2]), maybe that should be used instead
2) Defining a unikernel that serves stuff to the web is a good amount of 
boilerplate. Also, considering the amount of indirections, this 
boilerplate is not obvious for a beginner. The main file is basically 
100 lines of plumbing to be able to call the dispatch function. This 
boilerplate is now embedded into mirage-seal which is very good, but I 
think it should be put into a small reusable library.
To add insult to injury, some of this plumbing is responsible for 
setting up the tls chain, and we all know this code should really not be 
done by the end user (regardless of how easy it is, by comparison).
3) The tutorial doesn't really explain the relation between various 
libraries that you end up using, in particular how the various cohttp 
things fit into the grand scheme.

I wonder how feasible it is to define various new modules/combinators 
that are usable in the config files, such as a fully setup HTTP(S) 
*server* stack, or a crunch device (without the need to redefine 
read_fs[3] everywhere ...). The main issue I see is that it adds even 
more things in mirage/mirage-types....


[1]: https://mirage.io/wiki/hello-world
[2]: https://github.com/mirage/mirage-seal/tree/master/static
[3]: 
https://github.com/mirage/mirage-www/blob/master/src/dispatch.ml#L71-L77


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 16 18:26:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 16 Jul 2015 18:26:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZFnr6-0006uM-2e; Thu, 16 Jul 2015 18:26:00 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <drupyog+caml@zoho.com>) id 1ZFnr4-0006uB-NS
	for mirageos-devel@lists.xenproject.org; Thu, 16 Jul 2015 18:25:58 +0000
Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id
	F5/99-30658-637F7A55; Thu, 16 Jul 2015 18:25:58 +0000
X-Env-Sender: drupyog+caml@zoho.com
X-Msg-Ref: server-2.tower-27.messagelabs.com!1437071155!32737652!1
X-Originating-IP: [74.201.84.153]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5627 invoked from network); 16 Jul 2015 18:25:57 -0000
Received: from sender153-mail.zoho.com (HELO sender153-mail.zoho.com)
	(74.201.84.153)
	by server-2.tower-27.messagelabs.com with AES128-SHA encrypted SMTP;
	16 Jul 2015 18:25:57 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; 
	h=to:from:subject:message-id:date:user-agent:mime-version:content-type; 
	b=VNOUuZNnXAdaWqc9CgRKg6mmeuONjcWJ1TbtEFShVX0UPHF9mjjj5dypZT4gjtOtvWUj0dl/fKPf
	jO29EIPcbUxSFkHas6fKnnctIa4qWDpTYIPTRpVOfQG6Jj/5cOB5  
Received: from [172.17.155.228] (global-1-26.nat.csx.cam.ac.uk
	[131.111.184.26]) by mx.zohomail.com
	with SMTPS id 1437071154138924.2120488334863;
	Thu, 16 Jul 2015 11:25:54 -0700 (PDT)
To: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
From: Drup <drupyog+caml@zoho.com>
Message-ID: <55A7F711.10909@zoho.com>
Date: Thu, 16 Jul 2015 20:25:21 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
	Thunderbird/38.1.0
MIME-Version: 1.0
Subject: [MirageOS-devel] Dispatching boilerplate and the tutorial
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

The mirage guide presents nice and simple unikernels in the first 
tutorial[1], which is a very gentle introduction to mirage things, and 
then suddenly drop you into this: 
https://github.com/mirage/mirage-www/tree/master/src

The intention seems to be to present the config.ml and makes you try 
various configurations, but I don't think it works that well: people are 
going to try to understand dispatch(_tls).ml, because that's where most 
of the meat is, and these files are a bit messy, to say the least.

The next tutorials are not really related to mirage (CI, opam, 
profiling), so it is pretty much the end note of the mirage guide.

I see various issues:
1) mirage-www is not minimalistic. Now that mirage-seal is here (and in 
particular the static files[2]), maybe that should be used instead
2) Defining a unikernel that serves stuff to the web is a good amount of 
boilerplate. Also, considering the amount of indirections, this 
boilerplate is not obvious for a beginner. The main file is basically 
100 lines of plumbing to be able to call the dispatch function. This 
boilerplate is now embedded into mirage-seal which is very good, but I 
think it should be put into a small reusable library.
To add insult to injury, some of this plumbing is responsible for 
setting up the tls chain, and we all know this code should really not be 
done by the end user (regardless of how easy it is, by comparison).
3) The tutorial doesn't really explain the relation between various 
libraries that you end up using, in particular how the various cohttp 
things fit into the grand scheme.

I wonder how feasible it is to define various new modules/combinators 
that are usable in the config files, such as a fully setup HTTP(S) 
*server* stack, or a crunch device (without the need to redefine 
read_fs[3] everywhere ...). The main issue I see is that it adds even 
more things in mirage/mirage-types....


[1]: https://mirage.io/wiki/hello-world
[2]: https://github.com/mirage/mirage-seal/tree/master/static
[3]: 
https://github.com/mirage/mirage-www/blob/master/src/dispatch.ml#L71-L77


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 16 18:35:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 16 Jul 2015 18:35:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZFo0h-0007SG-7x; Thu, 16 Jul 2015 18:35:55 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZFo0g-0007SB-5o
	for mirageos-devel@lists.xenproject.org; Thu, 16 Jul 2015 18:35:54 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	E4/8C-01469-989F7A55; Thu, 16 Jul 2015 18:35:53 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-4.tower-27.messagelabs.com!1437071752!31534915!1
X-Originating-IP: [209.85.212.178]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10657 invoked from network); 16 Jul 2015 18:35:52 -0000
Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com)
	(209.85.212.178)
	by server-4.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	16 Jul 2015 18:35:52 -0000
Received: by wibxm9 with SMTP id xm9so20835147wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 16 Jul 2015 11:35:52 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=99X1nStqaQkdw4PAvxDxijqzLWIU3fWZq0dP1Xak/fY=;
	b=kaZ9PtXoCKSXHwnrwmjcWlf2/qOyikO+kDlHWE20ulsFiywzwC0xbJKQNKLBQyfuwY
	fh51M5s/BQe5s9eJ6FIS4MrWkLLJ0QnOScpbaL0i/uu94pZVo+MRu5s6sbXWkGHfGvtC
	jeW5VRGBob4b9ubTCiksynLjmkvzIVEq6bSWAgCFV9TBkv64OmAKgCbIxmJbYZkDSHvp
	InxFURtkCUIZQi8RjVNtSy0MBg856eFAcMFRJ+chB7J+Pp9i+KQ25WNyveyx3FyHcIaO
	MspHyCNTHKm5mzTgmRxe46HlEqpUAHTNGV7hmEF5EqeZAMsxCgNW+FdBvXBCS+sYfh2q
	gZQQ==
X-Received: by 10.180.77.193 with SMTP id u1mr7743402wiw.50.1437071751939;
	Thu, 16 Jul 2015 11:35:51 -0700 (PDT)
Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com.
	[74.125.82.48]) by smtp.gmail.com with ESMTPSA id
	ec19sm5004067wic.0.2015.07.16.11.35.50
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 16 Jul 2015 11:35:51 -0700 (PDT)
Received: by wgjx7 with SMTP id x7so65150894wgj.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 16 Jul 2015 11:35:50 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.89.72 with SMTP id bm8mr22022219wjb.116.1437071750549;
	Thu, 16 Jul 2015 11:35:50 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Thu, 16 Jul 2015 11:35:50 -0700 (PDT)
In-Reply-To: <55A7F711.10909@zoho.com>
References: <55A7F711.10909@zoho.com>
Date: Thu, 16 Jul 2015 19:35:50 +0100
Message-ID: <CAN2Hq079cKk26XyfiaT3Dfvw9ctk5JTN5YGfg8mVbytM7enhsA@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Drup <drupyog+caml@zoho.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Dispatching boilerplate and the tutorial
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 16 July 2015 at 19:25, Drup <drupyog+caml@zoho.com> wrote:
> The mirage guide presents nice and simple unikernels in the first
> tutorial[1], which is a very gentle introduction to mirage things, and then
> suddenly drop you into this:
> https://github.com/mirage/mirage-www/tree/master/src
>
> The intention seems to be to present the config.ml and makes you try various
> configurations, but I don't think it works that well: people are going to
> try to understand dispatch(_tls).ml, because that's where most of the meat
> is, and these files are a bit messy, to say the least.
>
> The next tutorials are not really related to mirage (CI, opam, profiling),
> so it is pretty much the end note of the mirage guide.

The tutorial material is quite old and now that we have a considerably
larger set of libraries and facilities, could probably do with an
extensive refresh. I've updated the first three pages that are there
so they match the current situation of mirage-skeleton better --
https://github.com/mirage/mirage-skeleton/pull/98 and
https://github.com/mirage/mirage-www/pull/370 -- comments on either
welcome.

> I see various issues:
> 1) mirage-www is not minimalistic. Now that mirage-seal is here (and in
> particular the static files[2]), maybe that should be used instead
> 2) Defining a unikernel that serves stuff to the web is a good amount of
> boilerplate. Also, considering the amount of indirections, this boilerplate
> is not obvious for a beginner. The main file is basically 100 lines of
> plumbing to be able to call the dispatch function. This boilerplate is now
> embedded into mirage-seal which is very good, but I think it should be put
> into a small reusable library.
> To add insult to injury, some of this plumbing is responsible for setting up
> the tls chain, and we all know this code should really not be done by the
> end user (regardless of how easy it is, by comparison).
> 3) The tutorial doesn't really explain the relation between various
> libraries that you end up using, in particular how the various cohttp things
> fit into the grand scheme.

Agree these are issues :)

> I wonder how feasible it is to define various new modules/combinators that
> are usable in the config files, such as a fully setup HTTP(S) *server*
> stack, or a crunch device (without the need to redefine read_fs[3]
> everywhere ...). The main issue I see is that it adds even more things in
> mirage/mirage-types....

It would be nice not to have to redefine read_fs everywhere, certainly.
I don't see a problem with extending mirage/mirage-types per se.

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 16 18:35:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 16 Jul 2015 18:35:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZFo0h-0007SG-7x; Thu, 16 Jul 2015 18:35:55 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZFo0g-0007SB-5o
	for mirageos-devel@lists.xenproject.org; Thu, 16 Jul 2015 18:35:54 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	E4/8C-01469-989F7A55; Thu, 16 Jul 2015 18:35:53 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-4.tower-27.messagelabs.com!1437071752!31534915!1
X-Originating-IP: [209.85.212.178]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10657 invoked from network); 16 Jul 2015 18:35:52 -0000
Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com)
	(209.85.212.178)
	by server-4.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	16 Jul 2015 18:35:52 -0000
Received: by wibxm9 with SMTP id xm9so20835147wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 16 Jul 2015 11:35:52 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=99X1nStqaQkdw4PAvxDxijqzLWIU3fWZq0dP1Xak/fY=;
	b=kaZ9PtXoCKSXHwnrwmjcWlf2/qOyikO+kDlHWE20ulsFiywzwC0xbJKQNKLBQyfuwY
	fh51M5s/BQe5s9eJ6FIS4MrWkLLJ0QnOScpbaL0i/uu94pZVo+MRu5s6sbXWkGHfGvtC
	jeW5VRGBob4b9ubTCiksynLjmkvzIVEq6bSWAgCFV9TBkv64OmAKgCbIxmJbYZkDSHvp
	InxFURtkCUIZQi8RjVNtSy0MBg856eFAcMFRJ+chB7J+Pp9i+KQ25WNyveyx3FyHcIaO
	MspHyCNTHKm5mzTgmRxe46HlEqpUAHTNGV7hmEF5EqeZAMsxCgNW+FdBvXBCS+sYfh2q
	gZQQ==
X-Received: by 10.180.77.193 with SMTP id u1mr7743402wiw.50.1437071751939;
	Thu, 16 Jul 2015 11:35:51 -0700 (PDT)
Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com.
	[74.125.82.48]) by smtp.gmail.com with ESMTPSA id
	ec19sm5004067wic.0.2015.07.16.11.35.50
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 16 Jul 2015 11:35:51 -0700 (PDT)
Received: by wgjx7 with SMTP id x7so65150894wgj.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 16 Jul 2015 11:35:50 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.89.72 with SMTP id bm8mr22022219wjb.116.1437071750549;
	Thu, 16 Jul 2015 11:35:50 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Thu, 16 Jul 2015 11:35:50 -0700 (PDT)
In-Reply-To: <55A7F711.10909@zoho.com>
References: <55A7F711.10909@zoho.com>
Date: Thu, 16 Jul 2015 19:35:50 +0100
Message-ID: <CAN2Hq079cKk26XyfiaT3Dfvw9ctk5JTN5YGfg8mVbytM7enhsA@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Drup <drupyog+caml@zoho.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Dispatching boilerplate and the tutorial
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 16 July 2015 at 19:25, Drup <drupyog+caml@zoho.com> wrote:
> The mirage guide presents nice and simple unikernels in the first
> tutorial[1], which is a very gentle introduction to mirage things, and then
> suddenly drop you into this:
> https://github.com/mirage/mirage-www/tree/master/src
>
> The intention seems to be to present the config.ml and makes you try various
> configurations, but I don't think it works that well: people are going to
> try to understand dispatch(_tls).ml, because that's where most of the meat
> is, and these files are a bit messy, to say the least.
>
> The next tutorials are not really related to mirage (CI, opam, profiling),
> so it is pretty much the end note of the mirage guide.

The tutorial material is quite old and now that we have a considerably
larger set of libraries and facilities, could probably do with an
extensive refresh. I've updated the first three pages that are there
so they match the current situation of mirage-skeleton better --
https://github.com/mirage/mirage-skeleton/pull/98 and
https://github.com/mirage/mirage-www/pull/370 -- comments on either
welcome.

> I see various issues:
> 1) mirage-www is not minimalistic. Now that mirage-seal is here (and in
> particular the static files[2]), maybe that should be used instead
> 2) Defining a unikernel that serves stuff to the web is a good amount of
> boilerplate. Also, considering the amount of indirections, this boilerplate
> is not obvious for a beginner. The main file is basically 100 lines of
> plumbing to be able to call the dispatch function. This boilerplate is now
> embedded into mirage-seal which is very good, but I think it should be put
> into a small reusable library.
> To add insult to injury, some of this plumbing is responsible for setting up
> the tls chain, and we all know this code should really not be done by the
> end user (regardless of how easy it is, by comparison).
> 3) The tutorial doesn't really explain the relation between various
> libraries that you end up using, in particular how the various cohttp things
> fit into the grand scheme.

Agree these are issues :)

> I wonder how feasible it is to define various new modules/combinators that
> are usable in the config files, such as a fully setup HTTP(S) *server*
> stack, or a crunch device (without the need to redefine read_fs[3]
> everywhere ...). The main issue I see is that it adds even more things in
> mirage/mirage-types....

It would be nice not to have to redefine read_fs everywhere, certainly.
I don't see a problem with extending mirage/mirage-types per se.

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 17 05:53:16 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 17 Jul 2015 05:53:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZFyZt-000173-9p; Fri, 17 Jul 2015 05:52:57 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZFyZs-00016y-5r
	for mirageos-devel@lists.xenproject.org; Fri, 17 Jul 2015 05:52:56 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	11/EC-18733-73898A55; Fri, 17 Jul 2015 05:52:55 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-7.tower-27.messagelabs.com!1437112373!32829111!1
X-Originating-IP: [209.85.192.178]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18249 invoked from network); 17 Jul 2015 05:52:54 -0000
Received: from mail-pd0-f178.google.com (HELO mail-pd0-f178.google.com)
	(209.85.192.178)
	by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	17 Jul 2015 05:52:54 -0000
Received: by pdrg1 with SMTP id g1so56191838pdr.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 16 Jul 2015 22:52:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=hZ5p7x7oBkideJhNIvihltsA6ct1mnAnsHbom+NNsqM=;
	b=zol4M6utKv+DFR1NbHjmSB9Ih6CPW1xCKVOgL+DzGEJb++KaqGekF9IN+uH/Od9b19
	6PsU5dBJIA2n4a79RHgjvlubGHtKxq70/zRpEcWwVMOhPho2fYvSntxe+euWsSCCNtSZ
	W7Qs5TKGftFPUeyfikUpSLXp8eGud/JZbvS1R/gDUWPUzfiC1lmOVBN5ZrSNdcjfGOtk
	MoY+lYe4/7tSDizlofNAB45g7mT2kNCjtewhSlFOdE1mpCzAS63sc3rHAjjr0NmMi8Gt
	9O9cN98bum1Ecr2vGofuEfrE3Ow9gh1owd9CpWlafRr6p6zyji/tptoSgivJ9CDEO+lw
	PA/A==
X-Received: by 10.70.100.105 with SMTP id ex9mr26383295pdb.115.1437112373110; 
	Thu, 16 Jul 2015 22:52:53 -0700 (PDT)
Received: from piana.hsd1.ca.comcast.net (c-50-184-49-183.hsd1.ca.comcast.net.
	[50.184.49.183]) by smtp.gmail.com with ESMTPSA id
	kh6sm9813501pbc.50.2015.07.16.22.52.51
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Thu, 16 Jul 2015 22:52:52 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAN2Hq079cKk26XyfiaT3Dfvw9ctk5JTN5YGfg8mVbytM7enhsA@mail.gmail.com>
Date: Thu, 16 Jul 2015 22:53:41 -0700
Message-Id: <677875BB-F689-44D4-9DD0-D0C95274EBB9@gazagnaire.org>
References: <55A7F711.10909@zoho.com>
	<CAN2Hq079cKk26XyfiaT3Dfvw9ctk5JTN5YGfg8mVbytM7enhsA@mail.gmail.com>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.2102)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Dispatching boilerplate and the tutorial
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

>> I wonder how feasible it is to define various new modules/combinators that
>> are usable in the config files, such as a fully setup HTTP(S) *server*
>> stack, or a crunch device (without the need to redefine read_fs[3]
>> everywhere ...). The main issue I see is that it adds even more things in
>> mirage/mirage-types....
> 
> It would be nice not to have to redefine read_fs everywhere, certainly.
> I don't see a problem with extending mirage/mirage-types per se.

It's indeed a good idea to put all of this things in one place that apps can reuse easily. Currently`mirage-types` is an interface file only, so I'm not sure that's the right place to put these kind of things here. A possibility would be to create a `mirage-X` package for every X module type with this kind of common functors, that every app can then use and link with.

A lots of things in MirageOS grew organically, so it's always a good idea to refactor things and clean things.

Best,
Thomas
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 17 05:53:16 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 17 Jul 2015 05:53:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZFyZt-000173-9p; Fri, 17 Jul 2015 05:52:57 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZFyZs-00016y-5r
	for mirageos-devel@lists.xenproject.org; Fri, 17 Jul 2015 05:52:56 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	11/EC-18733-73898A55; Fri, 17 Jul 2015 05:52:55 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-7.tower-27.messagelabs.com!1437112373!32829111!1
X-Originating-IP: [209.85.192.178]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18249 invoked from network); 17 Jul 2015 05:52:54 -0000
Received: from mail-pd0-f178.google.com (HELO mail-pd0-f178.google.com)
	(209.85.192.178)
	by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	17 Jul 2015 05:52:54 -0000
Received: by pdrg1 with SMTP id g1so56191838pdr.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 16 Jul 2015 22:52:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=hZ5p7x7oBkideJhNIvihltsA6ct1mnAnsHbom+NNsqM=;
	b=zol4M6utKv+DFR1NbHjmSB9Ih6CPW1xCKVOgL+DzGEJb++KaqGekF9IN+uH/Od9b19
	6PsU5dBJIA2n4a79RHgjvlubGHtKxq70/zRpEcWwVMOhPho2fYvSntxe+euWsSCCNtSZ
	W7Qs5TKGftFPUeyfikUpSLXp8eGud/JZbvS1R/gDUWPUzfiC1lmOVBN5ZrSNdcjfGOtk
	MoY+lYe4/7tSDizlofNAB45g7mT2kNCjtewhSlFOdE1mpCzAS63sc3rHAjjr0NmMi8Gt
	9O9cN98bum1Ecr2vGofuEfrE3Ow9gh1owd9CpWlafRr6p6zyji/tptoSgivJ9CDEO+lw
	PA/A==
X-Received: by 10.70.100.105 with SMTP id ex9mr26383295pdb.115.1437112373110; 
	Thu, 16 Jul 2015 22:52:53 -0700 (PDT)
Received: from piana.hsd1.ca.comcast.net (c-50-184-49-183.hsd1.ca.comcast.net.
	[50.184.49.183]) by smtp.gmail.com with ESMTPSA id
	kh6sm9813501pbc.50.2015.07.16.22.52.51
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Thu, 16 Jul 2015 22:52:52 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Thomas Gazagnaire <thomas@gazagnaire.org>
In-Reply-To: <CAN2Hq079cKk26XyfiaT3Dfvw9ctk5JTN5YGfg8mVbytM7enhsA@mail.gmail.com>
Date: Thu, 16 Jul 2015 22:53:41 -0700
Message-Id: <677875BB-F689-44D4-9DD0-D0C95274EBB9@gazagnaire.org>
References: <55A7F711.10909@zoho.com>
	<CAN2Hq079cKk26XyfiaT3Dfvw9ctk5JTN5YGfg8mVbytM7enhsA@mail.gmail.com>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.2102)
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Dispatching boilerplate and the tutorial
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

>> I wonder how feasible it is to define various new modules/combinators that
>> are usable in the config files, such as a fully setup HTTP(S) *server*
>> stack, or a crunch device (without the need to redefine read_fs[3]
>> everywhere ...). The main issue I see is that it adds even more things in
>> mirage/mirage-types....
> 
> It would be nice not to have to redefine read_fs everywhere, certainly.
> I don't see a problem with extending mirage/mirage-types per se.

It's indeed a good idea to put all of this things in one place that apps can reuse easily. Currently`mirage-types` is an interface file only, so I'm not sure that's the right place to put these kind of things here. A possibility would be to create a `mirage-X` package for every X module type with this kind of common functors, that every app can then use and link with.

A lots of things in MirageOS grew organically, so it's always a good idea to refactor things and clean things.

Best,
Thomas
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 17 12:26:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 17 Jul 2015 12:26:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZG4j0-00011I-8R; Fri, 17 Jul 2015 12:26:46 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1ZG4iy-00010v-Pb
	for mirageos-devel@lists.xenproject.org; Fri, 17 Jul 2015 12:26:44 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	B0/F6-22929-484F8A55; Fri, 17 Jul 2015 12:26:44 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-12.tower-206.messagelabs.com!1437136003!21848264!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16194 invoked from network); 17 Jul 2015 12:26:43 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-12.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 17 Jul 2015 12:26:43 -0000
Received: from [192.168.1.100] (i5E86D584.versanet.de [94.134.213.132])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id 5C3DA3EAE
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 17 Jul 2015 14:26:41 +0200 (CEST)
Message-ID: <55A8F453.7060909@mehnert.org>
Date: Fri, 17 Jul 2015 14:25:55 +0200
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
In-Reply-To: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Subject: Re: [MirageOS-devel] OpenSSL Cmd Tools for Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7226753542917714386=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============7226753542917714386==
Content-Type: multipart/signed; micalg=pgp-sha384;
 protocol="application/pgp-signature";
 boundary="BXCgOlb91EW4j72gHdIiFgxNWo8ALubai"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--BXCgOlb91EW4j72gHdIiFgxNWo8ALubai
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Qiuying,

On 07/14/2015 17:39, Qiuying (Giulia) Lai wrote:
> I am currently looking to write OCaml versions of OpenSSL cmdline tools=

> (using our nocrypto, x509 and tls libraries), and would love some advic=
e
> on what would be most helpful to have/prioritize.=20
>=20
> Any suggestions?=20

This is great! I'd really like to have a s_client [1] replacement, in
fact I've already been working on something along the lines [2].  Next
steps would be to expose the TLS config (version/ciphersuite/...) via
command-line arguments, which could also be used in tlstunnel, ...

Other useful tools would in my opinion be dgst [3] and verify [4], also
`x509 -text` to view the content of a X.509 certificate.


Hannes


1: https://www.openssl.org/docs/apps/s_client.html
2: https://github.com/hannesm/tlsclient
3: https://www.openssl.org/docs/apps/dgst.html
4: https://www.openssl.org/docs/apps/verify.html


--BXCgOlb91EW4j72gHdIiFgxNWo8ALubai
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCQAGBQJVqPReAAoJELyJZYjffCjuIvQP/0TDQyEV6q429yCP+lFZxOgs
hmYZD78lT0vQ3S0dyoXASSdhRmM7PJk1MBpivHWxkdeyLyPHBgB0HX2gH0No+GcU
wXl7qOWDSpuMdH+TaXuCiPmYRGUirTlBzgwAOv1spYfFlef7zl2nyAb0JVDgX1LZ
TMrfKycrW87sEEejxtDmiFRW0NGvDY1VeHY7da+SAOmyEvwlw5bFomszDcXx244+
x4rHu33Yoyv2965TuXnUd1vtoj1snIqmo/0IAohVxYFQ5DHPpSjWItgo8EbaDF+S
GNZmgF1BHcgqisD4Mynrn7pFvc09f89eAGBEL81sWQRdecM3GLUhqgt8q6ic1/HP
HYC3lWhDTSDJoY+qPkLOjD4KZYiOQQsBV5rWp4GaJL9KpEeuTKMBZA7jl2CJlpOB
7G8qdWBJ94ptS3R5Aw1je+bRMPwf3d6ZggPBSPDkcx/V/pLeIdCCrKD9wIk1YCWL
px1Mjpa2igH7v3dFyYuE44bHIq9SMWSF4Lf+GsLE4MeTtZdXrTjIj1rYQIzqL5bx
xkIBjCwtuqYcov8Bz8t1PXoXe4FWD+yeSCQndKskDECFE7o6FcInhlyHY2Y7Fgj2
TVadHKETx4rLXljMUUoP7SpMfP38CtbBuHYYDUMEaZY6/QRKjXd+tHgb0FkxSMmq
zV6CfPSJ4Wy2c0pFv/9J
=N+zR
-----END PGP SIGNATURE-----

--BXCgOlb91EW4j72gHdIiFgxNWo8ALubai--


--===============7226753542917714386==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7226753542917714386==--


From mirageos-devel-bounces@lists.xenproject.org Fri Jul 17 12:26:56 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 17 Jul 2015 12:26:56 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZG4j0-00011I-8R; Fri, 17 Jul 2015 12:26:46 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <hannes@mehnert.org>) id 1ZG4iy-00010v-Pb
	for mirageos-devel@lists.xenproject.org; Fri, 17 Jul 2015 12:26:44 +0000
Received: from [85.158.139.211] by server-12.bemta-5.messagelabs.com id
	B0/F6-22929-484F8A55; Fri, 17 Jul 2015 12:26:44 +0000
X-Env-Sender: hannes@mehnert.org
X-Msg-Ref: server-12.tower-206.messagelabs.com!1437136003!21848264!1
X-Originating-IP: [213.73.89.200]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 16194 invoked from network); 17 Jul 2015 12:26:43 -0000
Received: from mail.mehnert.org (HELO mail.mehnert.org) (213.73.89.200)
	by server-12.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 17 Jul 2015 12:26:43 -0000
Received: from [192.168.1.100] (i5E86D584.versanet.de [94.134.213.132])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client CN "hannes@mehnert.org",
	Issuer "mehnert root CA" (not verified))
	by mail.mehnert.org (Postfix) with ESMTPS id 5C3DA3EAE
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 17 Jul 2015 14:26:41 +0200 (CEST)
Message-ID: <55A8F453.7060909@mehnert.org>
Date: Fri, 17 Jul 2015 14:25:55 +0200
From: Hannes Mehnert <hannes@mehnert.org>
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64;
	rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: mirageos-devel@lists.xenproject.org
References: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
In-Reply-To: <085eb3d7d5f00353dd27100b52dee8ed@cam.ac.uk>
OpenPGP: id=11B5464249B5BD858FFF6328BC896588DF7C28EE
Subject: Re: [MirageOS-devel] OpenSSL Cmd Tools for Mirage
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7226753542917714386=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============7226753542917714386==
Content-Type: multipart/signed; micalg=pgp-sha384;
 protocol="application/pgp-signature";
 boundary="BXCgOlb91EW4j72gHdIiFgxNWo8ALubai"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--BXCgOlb91EW4j72gHdIiFgxNWo8ALubai
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Qiuying,

On 07/14/2015 17:39, Qiuying (Giulia) Lai wrote:
> I am currently looking to write OCaml versions of OpenSSL cmdline tools=

> (using our nocrypto, x509 and tls libraries), and would love some advic=
e
> on what would be most helpful to have/prioritize.=20
>=20
> Any suggestions?=20

This is great! I'd really like to have a s_client [1] replacement, in
fact I've already been working on something along the lines [2].  Next
steps would be to expose the TLS config (version/ciphersuite/...) via
command-line arguments, which could also be used in tlstunnel, ...

Other useful tools would in my opinion be dgst [3] and verify [4], also
`x509 -text` to view the content of a X.509 certificate.


Hannes


1: https://www.openssl.org/docs/apps/s_client.html
2: https://github.com/hannesm/tlsclient
3: https://www.openssl.org/docs/apps/dgst.html
4: https://www.openssl.org/docs/apps/verify.html


--BXCgOlb91EW4j72gHdIiFgxNWo8ALubai
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCQAGBQJVqPReAAoJELyJZYjffCjuIvQP/0TDQyEV6q429yCP+lFZxOgs
hmYZD78lT0vQ3S0dyoXASSdhRmM7PJk1MBpivHWxkdeyLyPHBgB0HX2gH0No+GcU
wXl7qOWDSpuMdH+TaXuCiPmYRGUirTlBzgwAOv1spYfFlef7zl2nyAb0JVDgX1LZ
TMrfKycrW87sEEejxtDmiFRW0NGvDY1VeHY7da+SAOmyEvwlw5bFomszDcXx244+
x4rHu33Yoyv2965TuXnUd1vtoj1snIqmo/0IAohVxYFQ5DHPpSjWItgo8EbaDF+S
GNZmgF1BHcgqisD4Mynrn7pFvc09f89eAGBEL81sWQRdecM3GLUhqgt8q6ic1/HP
HYC3lWhDTSDJoY+qPkLOjD4KZYiOQQsBV5rWp4GaJL9KpEeuTKMBZA7jl2CJlpOB
7G8qdWBJ94ptS3R5Aw1je+bRMPwf3d6ZggPBSPDkcx/V/pLeIdCCrKD9wIk1YCWL
px1Mjpa2igH7v3dFyYuE44bHIq9SMWSF4Lf+GsLE4MeTtZdXrTjIj1rYQIzqL5bx
xkIBjCwtuqYcov8Bz8t1PXoXe4FWD+yeSCQndKskDECFE7o6FcInhlyHY2Y7Fgj2
TVadHKETx4rLXljMUUoP7SpMfP38CtbBuHYYDUMEaZY6/QRKjXd+tHgb0FkxSMmq
zV6CfPSJ4Wy2c0pFv/9J
=N+zR
-----END PGP SIGNATURE-----

--BXCgOlb91EW4j72gHdIiFgxNWo8ALubai--


--===============7226753542917714386==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============7226753542917714386==--


From mirageos-devel-bounces@lists.xenproject.org Sun Jul 19 20:03:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 19 Jul 2015 20:03:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZGunV-0006bD-2u; Sun, 19 Jul 2015 20:02:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mukundanps@gmail.com>) id 1ZGunU-0006b8-Av
	for mirageos-devel@lists.xenproject.org; Sun, 19 Jul 2015 20:02:52 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	9C/E8-06739-B620CA55; Sun, 19 Jul 2015 20:02:51 +0000
X-Env-Sender: mukundanps@gmail.com
X-Msg-Ref: server-8.tower-27.messagelabs.com!1437336169!33418432!1
X-Originating-IP: [209.85.213.176]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2815 invoked from network); 19 Jul 2015 20:02:50 -0000
Received: from mail-ig0-f176.google.com (HELO mail-ig0-f176.google.com)
	(209.85.213.176)
	by server-8.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	19 Jul 2015 20:02:50 -0000
Received: by igbpg9 with SMTP id pg9so68781598igb.0
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 19 Jul 2015 13:02:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=whtVHsfIxW+1ltqWYrVaiPFcfcp198a/BZ1qR3+YZYo=;
	b=kC088GITNSEZcUK0uF5GJChOpn1uf1pqlFiqOvJEvo62Ig4z0BAz1Wh5jwhIM0pvar
	BwaBxBAnPyEFA+xdPq3N6smaoBeZY/I3SC2ZzJf/+jBpwdUKyQ245VfBkxbT3XIgi4DI
	1c+xWRKFwk0hTpCNPSWVaTmhQuP5m5VdD1mbLFJ4+RVcZCI9+GcunLKDXN2FQ4FR/aZv
	UqOKGz1tqgikUD3amWM0z11JZyM/JqHgcvyTAdVXZgMkmG9U2iFYdbwA9gLsmC8Zz1iD
	lcj9vQKJQr3MJsxStWQxXD5Mi9NBS4Rsv6j9TmoVKi3Wyna3OPqI6nGAtv0XEjp/HsE3
	6bGA==
MIME-Version: 1.0
X-Received: by 10.50.43.227 with SMTP id z3mr8765778igl.12.1437336169040; Sun,
	19 Jul 2015 13:02:49 -0700 (PDT)
Received: by 10.36.89.196 with HTTP; Sun, 19 Jul 2015 13:02:49 -0700 (PDT)
Date: Sun, 19 Jul 2015 13:02:49 -0700
Message-ID: <CANtfj_D7GVZbfWBE8zxog9MSpgEtjCCK7W_PAbipLsPRgfkwRg@mail.gmail.com>
From: Mukund Parthasarathy <mukundanps@gmail.com>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] Unable to boot xen on cubieboard2
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8975869616149105952=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============8975869616149105952==
Content-Type: multipart/alternative; boundary=089e0111c016c750ec051b3fe7d9

--089e0111c016c750ec051b3fe7d9
Content-Type: text/plain; charset=UTF-8

Hello-
 Trying to set up my cubieboard2 per
https://mirage.io/wiki/xen-on-cubieboard2.

 Xen won't boot, looks like it is expecting ext2 filesystem, rather than
ext4:

*U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner
Technology*

*CPU:   Allwinner A20 (SUN7I)*
*Board: Cubieboard2*
*I2C:   ready*
*DRAM:  1 GiB*
*MMC:   SUNXI SD/MMC: 0*
**** Warning - bad CRC, using default environment*

*In:    serial*
*Out:   serial*
*Err:   serial*
*Net:   dwmac.1c50000*
*Hit any key to stop autoboot:  0*
*reading uEnv.txt*
*** Unable to read file uEnv.txt ***
*Failed to mount ext2 filesystem...*
*** Unrecognized filesystem type ***
*Failed to mount ext2 filesystem...*
*** Unrecognized filesystem type ***


Boot fails....any ideas? Please let me know if I should be posting on a
different DL, Ultimately, I'd like to run a mirageos unikernal...

--089e0111c016c750ec051b3fe7d9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello-<div>=C2=A0Trying to set up my cubieboard2 per=C2=A0=
<a href=3D"https://mirage.io/wiki/xen-on-cubieboard2">https://mirage.io/wik=
i/xen-on-cubieboard2</a>.</div><div><br></div><div>=C2=A0Xen won&#39;t boot=
, looks like it is expecting ext2 filesystem, rather than ext4:</div><div><=
br></div><div><div><i>U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38=
) Allwinner Technology</i></div><div><i><br></i></div><div><i>CPU: =C2=A0 A=
llwinner A20 (SUN7I)</i></div><div><i>Board: Cubieboard2</i></div><div><i>I=
2C: =C2=A0 ready</i></div><div><i>DRAM: =C2=A01 GiB</i></div><div><i>MMC: =
=C2=A0 SUNXI SD/MMC: 0</i></div><div><i>*** Warning - bad CRC, using defaul=
t environment</i></div><div><i><br></i></div><div><i>In: =C2=A0 =C2=A0seria=
l</i></div><div><i>Out: =C2=A0 serial</i></div><div><i>Err: =C2=A0 serial</=
i></div><div><i>Net: =C2=A0 dwmac.1c50000</i></div><div><i>Hit any key to s=
top autoboot: =C2=A00</i></div><div><i>reading uEnv.txt</i></div><div><i>**=
 Unable to read file uEnv.txt **</i></div><div><i>Failed to mount ext2 file=
system...</i></div><div><i>** Unrecognized filesystem type **</i></div><div=
><i>Failed to mount ext2 filesystem...</i></div><div><i>** Unrecognized fil=
esystem type **</i></div></div><div><br></div><div><br></div><div>Boot fail=
s....any ideas? Please let me know if I should be posting on a different DL=
, Ultimately, I&#39;d like to run a mirageos unikernal...</div></div>

--089e0111c016c750ec051b3fe7d9--


--===============8975869616149105952==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8975869616149105952==--


From mirageos-devel-bounces@lists.xenproject.org Sun Jul 19 20:03:04 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 19 Jul 2015 20:03:04 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZGunV-0006bD-2u; Sun, 19 Jul 2015 20:02:53 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mukundanps@gmail.com>) id 1ZGunU-0006b8-Av
	for mirageos-devel@lists.xenproject.org; Sun, 19 Jul 2015 20:02:52 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	9C/E8-06739-B620CA55; Sun, 19 Jul 2015 20:02:51 +0000
X-Env-Sender: mukundanps@gmail.com
X-Msg-Ref: server-8.tower-27.messagelabs.com!1437336169!33418432!1
X-Originating-IP: [209.85.213.176]
X-SpamReason: No, hits=0.4 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2815 invoked from network); 19 Jul 2015 20:02:50 -0000
Received: from mail-ig0-f176.google.com (HELO mail-ig0-f176.google.com)
	(209.85.213.176)
	by server-8.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	19 Jul 2015 20:02:50 -0000
Received: by igbpg9 with SMTP id pg9so68781598igb.0
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 19 Jul 2015 13:02:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=whtVHsfIxW+1ltqWYrVaiPFcfcp198a/BZ1qR3+YZYo=;
	b=kC088GITNSEZcUK0uF5GJChOpn1uf1pqlFiqOvJEvo62Ig4z0BAz1Wh5jwhIM0pvar
	BwaBxBAnPyEFA+xdPq3N6smaoBeZY/I3SC2ZzJf/+jBpwdUKyQ245VfBkxbT3XIgi4DI
	1c+xWRKFwk0hTpCNPSWVaTmhQuP5m5VdD1mbLFJ4+RVcZCI9+GcunLKDXN2FQ4FR/aZv
	UqOKGz1tqgikUD3amWM0z11JZyM/JqHgcvyTAdVXZgMkmG9U2iFYdbwA9gLsmC8Zz1iD
	lcj9vQKJQr3MJsxStWQxXD5Mi9NBS4Rsv6j9TmoVKi3Wyna3OPqI6nGAtv0XEjp/HsE3
	6bGA==
MIME-Version: 1.0
X-Received: by 10.50.43.227 with SMTP id z3mr8765778igl.12.1437336169040; Sun,
	19 Jul 2015 13:02:49 -0700 (PDT)
Received: by 10.36.89.196 with HTTP; Sun, 19 Jul 2015 13:02:49 -0700 (PDT)
Date: Sun, 19 Jul 2015 13:02:49 -0700
Message-ID: <CANtfj_D7GVZbfWBE8zxog9MSpgEtjCCK7W_PAbipLsPRgfkwRg@mail.gmail.com>
From: Mukund Parthasarathy <mukundanps@gmail.com>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] Unable to boot xen on cubieboard2
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8975869616149105952=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============8975869616149105952==
Content-Type: multipart/alternative; boundary=089e0111c016c750ec051b3fe7d9

--089e0111c016c750ec051b3fe7d9
Content-Type: text/plain; charset=UTF-8

Hello-
 Trying to set up my cubieboard2 per
https://mirage.io/wiki/xen-on-cubieboard2.

 Xen won't boot, looks like it is expecting ext2 filesystem, rather than
ext4:

*U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner
Technology*

*CPU:   Allwinner A20 (SUN7I)*
*Board: Cubieboard2*
*I2C:   ready*
*DRAM:  1 GiB*
*MMC:   SUNXI SD/MMC: 0*
**** Warning - bad CRC, using default environment*

*In:    serial*
*Out:   serial*
*Err:   serial*
*Net:   dwmac.1c50000*
*Hit any key to stop autoboot:  0*
*reading uEnv.txt*
*** Unable to read file uEnv.txt ***
*Failed to mount ext2 filesystem...*
*** Unrecognized filesystem type ***
*Failed to mount ext2 filesystem...*
*** Unrecognized filesystem type ***


Boot fails....any ideas? Please let me know if I should be posting on a
different DL, Ultimately, I'd like to run a mirageos unikernal...

--089e0111c016c750ec051b3fe7d9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello-<div>=C2=A0Trying to set up my cubieboard2 per=C2=A0=
<a href=3D"https://mirage.io/wiki/xen-on-cubieboard2">https://mirage.io/wik=
i/xen-on-cubieboard2</a>.</div><div><br></div><div>=C2=A0Xen won&#39;t boot=
, looks like it is expecting ext2 filesystem, rather than ext4:</div><div><=
br></div><div><div><i>U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38=
) Allwinner Technology</i></div><div><i><br></i></div><div><i>CPU: =C2=A0 A=
llwinner A20 (SUN7I)</i></div><div><i>Board: Cubieboard2</i></div><div><i>I=
2C: =C2=A0 ready</i></div><div><i>DRAM: =C2=A01 GiB</i></div><div><i>MMC: =
=C2=A0 SUNXI SD/MMC: 0</i></div><div><i>*** Warning - bad CRC, using defaul=
t environment</i></div><div><i><br></i></div><div><i>In: =C2=A0 =C2=A0seria=
l</i></div><div><i>Out: =C2=A0 serial</i></div><div><i>Err: =C2=A0 serial</=
i></div><div><i>Net: =C2=A0 dwmac.1c50000</i></div><div><i>Hit any key to s=
top autoboot: =C2=A00</i></div><div><i>reading uEnv.txt</i></div><div><i>**=
 Unable to read file uEnv.txt **</i></div><div><i>Failed to mount ext2 file=
system...</i></div><div><i>** Unrecognized filesystem type **</i></div><div=
><i>Failed to mount ext2 filesystem...</i></div><div><i>** Unrecognized fil=
esystem type **</i></div></div><div><br></div><div><br></div><div>Boot fail=
s....any ideas? Please let me know if I should be posting on a different DL=
, Ultimately, I&#39;d like to run a mirageos unikernal...</div></div>

--089e0111c016c750ec051b3fe7d9--


--===============8975869616149105952==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8975869616149105952==--


From mirageos-devel-bounces@lists.xenproject.org Mon Jul 20 00:31:11 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 20 Jul 2015 00:31:11 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZGyyr-0004AG-3g; Mon, 20 Jul 2015 00:30:53 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1ZGyyp-0004AB-B7
	for mirageos-devel@lists.xenproject.org; Mon, 20 Jul 2015 00:30:51 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	96/43-07711-A314CA55; Mon, 20 Jul 2015 00:30:50 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-8.tower-206.messagelabs.com!1437352248!22159779!1
X-Originating-IP: [209.85.160.174]
X-SpamReason: No, hits=0.1 required=7.0 tests=HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11977 invoked from network); 20 Jul 2015 00:30:49 -0000
Received: from mail-yk0-f174.google.com (HELO mail-yk0-f174.google.com)
	(209.85.160.174)
	by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	20 Jul 2015 00:30:49 -0000
Received: by ykay190 with SMTP id y190so128154258yka.3
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 19 Jul 2015 17:30:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:references:in-reply-to:from:date:message-id:subject:to
	:content-type; bh=zGb52u7YCHsem3lk6CRGk6wf18X7hQV5lmG2siMzruI=;
	b=t6nCV7R8eiD1+bdc202raEy4zUVVvN2gyiDK5pkMB+wkpd/0f5KJSRaIyeNn2xYJjd
	ZKGdStyafhXWHDgizgxFy9N4vY6hUXn/hQWek4dRK20KTHfjylmcEXkQc4NAjlPiuA0u
	ebL2aWkFRpf9YPakz9oewxHkG0ALcx9hRODVEmeZMMOxklrBKGYISo8RMS8SxICTK0tW
	c7kHxrt5KbAol994yQ4BzU4GrWcgOfVE3mxniAp2R7zpqX+Ml30kS8DWNpHZ/2EhchwN
	EMKrLLtEbj6UndcIvY3D0LyFBZvmSO21qtms1fXBlbry+zzPnacZKGVxiFCetm66nbIQ
	s0fw==
X-Received: by 10.170.59.205 with SMTP id b196mr18211001ykb.113.1437352248200; 
	Sun, 19 Jul 2015 17:30:48 -0700 (PDT)
MIME-Version: 1.0
References: <CANtfj_D7GVZbfWBE8zxog9MSpgEtjCCK7W_PAbipLsPRgfkwRg@mail.gmail.com>
In-Reply-To: <CANtfj_D7GVZbfWBE8zxog9MSpgEtjCCK7W_PAbipLsPRgfkwRg@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
Date: Mon, 20 Jul 2015 00:30:38 +0000
Message-ID: <CAEui0wUfKR-7tyA1Mmrp2UA-DeyXhDtTUcfnYgDVx8HC=t=XVg@mail.gmail.com>
To: Mukund Parthasarathy <mukundanps@gmail.com>,
	mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Unable to boot xen on cubieboard2
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0413351845225323441=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0413351845225323441==
Content-Type: multipart/alternative; boundary=001a113a8ecc2bd6c0051b43a688

--001a113a8ecc2bd6c0051b43a688
Content-Type: text/plain; charset=UTF-8

I was going to ask whether you downloaded a pre-built image from
http://blobs.openmirage.org/ but that site doesn't seem to be available at
the moment, so I guess you built an image? But regardless of that, first
try writing the image to the card again with "dd", as I've occasionally had
that step fail to work.

The early output of a successful boot looks like this (depending on the
version of U-Boot):

U-Boot 2014.04-01540-ga74a847 (Jun 26 2015 - 14:22:47) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Board: Cubieboard2
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   dwmac.1c50000
Hit any key to stop autoboot:  0
reading uEnv.txt
** Unable to read file uEnv.txt **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading boot.scr
1243 bytes read in 22 ms (54.7 KiB/s)
Jumping to boot.scr
## Executing script at 44000000


The warning about ext2 is not likely to be related to your problem.

Luke


On Mon, 20 Jul 2015 at 04:03 Mukund Parthasarathy <mukundanps@gmail.com>
wrote:

> Hello-
>  Trying to set up my cubieboard2 per
> https://mirage.io/wiki/xen-on-cubieboard2.
>
>  Xen won't boot, looks like it is expecting ext2 filesystem, rather than
> ext4:
>
> *U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner
> Technology*
>
> *CPU:   Allwinner A20 (SUN7I)*
> *Board: Cubieboard2*
> *I2C:   ready*
> *DRAM:  1 GiB*
> *MMC:   SUNXI SD/MMC: 0*
> **** Warning - bad CRC, using default environment*
>
> *In:    serial*
> *Out:   serial*
> *Err:   serial*
> *Net:   dwmac.1c50000*
> *Hit any key to stop autoboot:  0*
> *reading uEnv.txt*
> *** Unable to read file uEnv.txt ***
> *Failed to mount ext2 filesystem...*
> *** Unrecognized filesystem type ***
> *Failed to mount ext2 filesystem...*
> *** Unrecognized filesystem type ***
>
>
> Boot fails....any ideas? Please let me know if I should be posting on a
> different DL, Ultimately, I'd like to run a mirageos unikernal...
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--001a113a8ecc2bd6c0051b43a688
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I was going to ask whether you downloaded a pre-built imag=
e from <a href=3D"http://blobs.openmirage.org/">http://blobs.openmirage.org=
/</a> but that site doesn&#39;t seem to be available at the moment, so I gu=
ess you built an image? But regardless of that, first try writing the image=
 to the card again with &quot;dd&quot;, as I&#39;ve occasionally had that s=
tep fail to work.<div><br></div><div>The early output of a successful boot =
looks like this (depending on the version of U-Boot):</div><div><br></div><=
div><div>U-Boot 2014.04-01540-ga74a847 (Jun 26 2015 - 14:22:47) Allwinner T=
echnology</div><div><br></div><div>CPU: =C2=A0 Allwinner A20 (SUN7I)</div><=
div>Board: Cubieboard2</div><div>I2C: =C2=A0 ready</div><div>DRAM: =C2=A01 =
GiB</div><div>MMC: =C2=A0 SUNXI SD/MMC: 0</div><div>*** Warning - bad CRC, =
using default environment</div><div><br></div><div>In: =C2=A0 =C2=A0serial<=
/div><div>Out: =C2=A0 serial</div><div>Err: =C2=A0 serial</div><div>Net: =
=C2=A0 dwmac.1c50000</div><div>Hit any key to stop autoboot: =C2=A00=C2=A0<=
/div><div>reading uEnv.txt</div><div>** Unable to read file uEnv.txt **</di=
v><div>Failed to mount ext2 filesystem...</div><div>** Unrecognized filesys=
tem type **</div><div>Failed to mount ext2 filesystem...</div><div>** Unrec=
ognized filesystem type **</div><div>reading boot.scr</div><div>1243 bytes =
read in 22 ms (54.7 KiB/s)</div><div>Jumping to boot.scr</div><div>## Execu=
ting script at 44000000</div></div><div><br></div><div><br></div><div>The w=
arning about ext2 is not likely to be related to your problem.</div><div><b=
r></div><div>Luke</div><div><br></div></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr">On Mon, 20 Jul 2015 at 04:03 Mukund Parthasarathy &lt;<a h=
ref=3D"mailto:mukundanps@gmail.com">mukundanps@gmail.com</a>&gt; wrote:<br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hello-<div>=C2=A0Tryi=
ng to set up my cubieboard2 per=C2=A0<a href=3D"https://mirage.io/wiki/xen-=
on-cubieboard2" target=3D"_blank">https://mirage.io/wiki/xen-on-cubieboard2=
</a>.</div><div><br></div><div>=C2=A0Xen won&#39;t boot, looks like it is e=
xpecting ext2 filesystem, rather than ext4:</div><div><br></div><div><div><=
i>U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner Technolo=
gy</i></div><div><i><br></i></div><div><i>CPU: =C2=A0 Allwinner A20 (SUN7I)=
</i></div><div><i>Board: Cubieboard2</i></div><div><i>I2C: =C2=A0 ready</i>=
</div><div><i>DRAM: =C2=A01 GiB</i></div><div><i>MMC: =C2=A0 SUNXI SD/MMC: =
0</i></div><div><i>*** Warning - bad CRC, using default environment</i></di=
v><div><i><br></i></div><div><i>In: =C2=A0 =C2=A0serial</i></div><div><i>Ou=
t: =C2=A0 serial</i></div><div><i>Err: =C2=A0 serial</i></div><div><i>Net: =
=C2=A0 dwmac.1c50000</i></div><div><i>Hit any key to stop autoboot: =C2=A00=
</i></div><div><i>reading uEnv.txt</i></div><div><i>** Unable to read file =
uEnv.txt **</i></div><div><i>Failed to mount ext2 filesystem...</i></div><d=
iv><i>** Unrecognized filesystem type **</i></div><div><i>Failed to mount e=
xt2 filesystem...</i></div><div><i>** Unrecognized filesystem type **</i></=
div></div><div><br></div><div><br></div><div>Boot fails....any ideas? Pleas=
e let me know if I should be posting on a different DL, Ultimately, I&#39;d=
 like to run a mirageos unikernal...</div></div>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blank">Mi=
rageOS-devel@lists.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" rel=3D"noreferrer" target=3D"_blank">http://lists.xenproject.org/cgi-b=
in/mailman/listinfo/mirageos-devel</a><br>
</blockquote></div>

--001a113a8ecc2bd6c0051b43a688--


--===============0413351845225323441==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0413351845225323441==--


From mirageos-devel-bounces@lists.xenproject.org Mon Jul 20 00:31:11 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 20 Jul 2015 00:31:11 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZGyyr-0004AG-3g; Mon, 20 Jul 2015 00:30:53 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1ZGyyp-0004AB-B7
	for mirageos-devel@lists.xenproject.org; Mon, 20 Jul 2015 00:30:51 +0000
Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id
	96/43-07711-A314CA55; Mon, 20 Jul 2015 00:30:50 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-8.tower-206.messagelabs.com!1437352248!22159779!1
X-Originating-IP: [209.85.160.174]
X-SpamReason: No, hits=0.1 required=7.0 tests=HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11977 invoked from network); 20 Jul 2015 00:30:49 -0000
Received: from mail-yk0-f174.google.com (HELO mail-yk0-f174.google.com)
	(209.85.160.174)
	by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	20 Jul 2015 00:30:49 -0000
Received: by ykay190 with SMTP id y190so128154258yka.3
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 19 Jul 2015 17:30:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:references:in-reply-to:from:date:message-id:subject:to
	:content-type; bh=zGb52u7YCHsem3lk6CRGk6wf18X7hQV5lmG2siMzruI=;
	b=t6nCV7R8eiD1+bdc202raEy4zUVVvN2gyiDK5pkMB+wkpd/0f5KJSRaIyeNn2xYJjd
	ZKGdStyafhXWHDgizgxFy9N4vY6hUXn/hQWek4dRK20KTHfjylmcEXkQc4NAjlPiuA0u
	ebL2aWkFRpf9YPakz9oewxHkG0ALcx9hRODVEmeZMMOxklrBKGYISo8RMS8SxICTK0tW
	c7kHxrt5KbAol994yQ4BzU4GrWcgOfVE3mxniAp2R7zpqX+Ml30kS8DWNpHZ/2EhchwN
	EMKrLLtEbj6UndcIvY3D0LyFBZvmSO21qtms1fXBlbry+zzPnacZKGVxiFCetm66nbIQ
	s0fw==
X-Received: by 10.170.59.205 with SMTP id b196mr18211001ykb.113.1437352248200; 
	Sun, 19 Jul 2015 17:30:48 -0700 (PDT)
MIME-Version: 1.0
References: <CANtfj_D7GVZbfWBE8zxog9MSpgEtjCCK7W_PAbipLsPRgfkwRg@mail.gmail.com>
In-Reply-To: <CANtfj_D7GVZbfWBE8zxog9MSpgEtjCCK7W_PAbipLsPRgfkwRg@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
Date: Mon, 20 Jul 2015 00:30:38 +0000
Message-ID: <CAEui0wUfKR-7tyA1Mmrp2UA-DeyXhDtTUcfnYgDVx8HC=t=XVg@mail.gmail.com>
To: Mukund Parthasarathy <mukundanps@gmail.com>,
	mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Unable to boot xen on cubieboard2
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0413351845225323441=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0413351845225323441==
Content-Type: multipart/alternative; boundary=001a113a8ecc2bd6c0051b43a688

--001a113a8ecc2bd6c0051b43a688
Content-Type: text/plain; charset=UTF-8

I was going to ask whether you downloaded a pre-built image from
http://blobs.openmirage.org/ but that site doesn't seem to be available at
the moment, so I guess you built an image? But regardless of that, first
try writing the image to the card again with "dd", as I've occasionally had
that step fail to work.

The early output of a successful boot looks like this (depending on the
version of U-Boot):

U-Boot 2014.04-01540-ga74a847 (Jun 26 2015 - 14:22:47) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Board: Cubieboard2
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   dwmac.1c50000
Hit any key to stop autoboot:  0
reading uEnv.txt
** Unable to read file uEnv.txt **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading boot.scr
1243 bytes read in 22 ms (54.7 KiB/s)
Jumping to boot.scr
## Executing script at 44000000


The warning about ext2 is not likely to be related to your problem.

Luke


On Mon, 20 Jul 2015 at 04:03 Mukund Parthasarathy <mukundanps@gmail.com>
wrote:

> Hello-
>  Trying to set up my cubieboard2 per
> https://mirage.io/wiki/xen-on-cubieboard2.
>
>  Xen won't boot, looks like it is expecting ext2 filesystem, rather than
> ext4:
>
> *U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner
> Technology*
>
> *CPU:   Allwinner A20 (SUN7I)*
> *Board: Cubieboard2*
> *I2C:   ready*
> *DRAM:  1 GiB*
> *MMC:   SUNXI SD/MMC: 0*
> **** Warning - bad CRC, using default environment*
>
> *In:    serial*
> *Out:   serial*
> *Err:   serial*
> *Net:   dwmac.1c50000*
> *Hit any key to stop autoboot:  0*
> *reading uEnv.txt*
> *** Unable to read file uEnv.txt ***
> *Failed to mount ext2 filesystem...*
> *** Unrecognized filesystem type ***
> *Failed to mount ext2 filesystem...*
> *** Unrecognized filesystem type ***
>
>
> Boot fails....any ideas? Please let me know if I should be posting on a
> different DL, Ultimately, I'd like to run a mirageos unikernal...
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--001a113a8ecc2bd6c0051b43a688
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I was going to ask whether you downloaded a pre-built imag=
e from <a href=3D"http://blobs.openmirage.org/">http://blobs.openmirage.org=
/</a> but that site doesn&#39;t seem to be available at the moment, so I gu=
ess you built an image? But regardless of that, first try writing the image=
 to the card again with &quot;dd&quot;, as I&#39;ve occasionally had that s=
tep fail to work.<div><br></div><div>The early output of a successful boot =
looks like this (depending on the version of U-Boot):</div><div><br></div><=
div><div>U-Boot 2014.04-01540-ga74a847 (Jun 26 2015 - 14:22:47) Allwinner T=
echnology</div><div><br></div><div>CPU: =C2=A0 Allwinner A20 (SUN7I)</div><=
div>Board: Cubieboard2</div><div>I2C: =C2=A0 ready</div><div>DRAM: =C2=A01 =
GiB</div><div>MMC: =C2=A0 SUNXI SD/MMC: 0</div><div>*** Warning - bad CRC, =
using default environment</div><div><br></div><div>In: =C2=A0 =C2=A0serial<=
/div><div>Out: =C2=A0 serial</div><div>Err: =C2=A0 serial</div><div>Net: =
=C2=A0 dwmac.1c50000</div><div>Hit any key to stop autoboot: =C2=A00=C2=A0<=
/div><div>reading uEnv.txt</div><div>** Unable to read file uEnv.txt **</di=
v><div>Failed to mount ext2 filesystem...</div><div>** Unrecognized filesys=
tem type **</div><div>Failed to mount ext2 filesystem...</div><div>** Unrec=
ognized filesystem type **</div><div>reading boot.scr</div><div>1243 bytes =
read in 22 ms (54.7 KiB/s)</div><div>Jumping to boot.scr</div><div>## Execu=
ting script at 44000000</div></div><div><br></div><div><br></div><div>The w=
arning about ext2 is not likely to be related to your problem.</div><div><b=
r></div><div>Luke</div><div><br></div></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr">On Mon, 20 Jul 2015 at 04:03 Mukund Parthasarathy &lt;<a h=
ref=3D"mailto:mukundanps@gmail.com">mukundanps@gmail.com</a>&gt; wrote:<br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hello-<div>=C2=A0Tryi=
ng to set up my cubieboard2 per=C2=A0<a href=3D"https://mirage.io/wiki/xen-=
on-cubieboard2" target=3D"_blank">https://mirage.io/wiki/xen-on-cubieboard2=
</a>.</div><div><br></div><div>=C2=A0Xen won&#39;t boot, looks like it is e=
xpecting ext2 filesystem, rather than ext4:</div><div><br></div><div><div><=
i>U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner Technolo=
gy</i></div><div><i><br></i></div><div><i>CPU: =C2=A0 Allwinner A20 (SUN7I)=
</i></div><div><i>Board: Cubieboard2</i></div><div><i>I2C: =C2=A0 ready</i>=
</div><div><i>DRAM: =C2=A01 GiB</i></div><div><i>MMC: =C2=A0 SUNXI SD/MMC: =
0</i></div><div><i>*** Warning - bad CRC, using default environment</i></di=
v><div><i><br></i></div><div><i>In: =C2=A0 =C2=A0serial</i></div><div><i>Ou=
t: =C2=A0 serial</i></div><div><i>Err: =C2=A0 serial</i></div><div><i>Net: =
=C2=A0 dwmac.1c50000</i></div><div><i>Hit any key to stop autoboot: =C2=A00=
</i></div><div><i>reading uEnv.txt</i></div><div><i>** Unable to read file =
uEnv.txt **</i></div><div><i>Failed to mount ext2 filesystem...</i></div><d=
iv><i>** Unrecognized filesystem type **</i></div><div><i>Failed to mount e=
xt2 filesystem...</i></div><div><i>** Unrecognized filesystem type **</i></=
div></div><div><br></div><div><br></div><div>Boot fails....any ideas? Pleas=
e let me know if I should be posting on a different DL, Ultimately, I&#39;d=
 like to run a mirageos unikernal...</div></div>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blank">Mi=
rageOS-devel@lists.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" rel=3D"noreferrer" target=3D"_blank">http://lists.xenproject.org/cgi-b=
in/mailman/listinfo/mirageos-devel</a><br>
</blockquote></div>

--001a113a8ecc2bd6c0051b43a688--


--===============0413351845225323441==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0413351845225323441==--


From mirageos-devel-bounces@lists.xenproject.org Mon Jul 20 01:58:20 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 20 Jul 2015 01:58:20 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZH0LO-000243-OL; Mon, 20 Jul 2015 01:58:14 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mukundanps@gmail.com>) id 1ZH0LM-00023y-O4
	for mirageos-devel@lists.xenproject.org; Mon, 20 Jul 2015 01:58:12 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	11/F1-11060-4B55CA55; Mon, 20 Jul 2015 01:58:12 +0000
X-Env-Sender: mukundanps@gmail.com
X-Msg-Ref: server-7.tower-31.messagelabs.com!1437357489!27277924!1
X-Originating-IP: [209.85.223.173]
X-SpamReason: No, hits=0.7 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22358 invoked from network); 20 Jul 2015 01:58:10 -0000
Received: from mail-ie0-f173.google.com (HELO mail-ie0-f173.google.com)
	(209.85.223.173)
	by server-7.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	20 Jul 2015 01:58:10 -0000
Received: by iehx8 with SMTP id x8so28491592ieh.3
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 19 Jul 2015 18:58:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=ESe90SBlA+TiPrWsqQxKNYxFGuo6I1LrzwsJOQqLC9k=;
	b=k2rO9dp0MDGxJbbZQ/JCdAnehcHbWPPSseKhk3C1DRVtugvr9cxkj1hDfTWG08Bg0q
	kHIa3Lw0PKpGE2MQVu//PPHdfwYrRLrgkE9DHuOJP4+XRwY4GoibIQrY4nbMQq4CVKUp
	ckCENJOlP6/MqBBiXXHVOc41maDelsJPGnwSb697pN4o4yUb3l4nRYUs/dwYd1qe00kk
	HZhYSCziGJDoIITRT3cv5Mp5K+KjvWeKUEQK1KxjWU8TET1F0a3O3fFGFWws6O2Ojili
	fr2I7crYOrdAdQhFhPXT6Vrps1AHtvPYOAz86KGZZf5TvlYjoEI8mTqRhIWd5QFga9Qz
	k/DA==
MIME-Version: 1.0
X-Received: by 10.50.79.129 with SMTP id j1mr9807669igx.12.1437357489226; Sun,
	19 Jul 2015 18:58:09 -0700 (PDT)
Received: by 10.36.89.196 with HTTP; Sun, 19 Jul 2015 18:58:09 -0700 (PDT)
In-Reply-To: <CAEui0wUfKR-7tyA1Mmrp2UA-DeyXhDtTUcfnYgDVx8HC=t=XVg@mail.gmail.com>
References: <CANtfj_D7GVZbfWBE8zxog9MSpgEtjCCK7W_PAbipLsPRgfkwRg@mail.gmail.com>
	<CAEui0wUfKR-7tyA1Mmrp2UA-DeyXhDtTUcfnYgDVx8HC=t=XVg@mail.gmail.com>
Date: Sun, 19 Jul 2015 18:58:09 -0700
Message-ID: <CANtfj_Cg1HooCd_1PbXtO+aDRrZ+68Ffj_2R6DQRESjxWGTmZg@mail.gmail.com>
From: Mukund Parthasarathy <mukundanps@gmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Unable to boot xen on cubieboard2
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8834762446970747974=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============8834762446970747974==
Content-Type: multipart/alternative; boundary=089e011609fc8f8cb0051b44de11

--089e011609fc8f8cb0051b44de11
Content-Type: text/plain; charset=UTF-8

 Thanks. Yes, I git cloned and built as dom0, xen and u-boot as in the doc.
I just looked at my log, there's a bit at the end I missed. Here's the
entire log, I've highlighted the last part. Looks like some build parameter
went missing, complaining that its not in NS Hyp mode....

U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Board: Cubieboard2
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   dwmac.1c50000
Hit any key to stop autoboot:  0
reading uEnv.txt
** Unable to read file uEnv.txt **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
*reading boot.scr*
*1243 bytes read in 21 ms (57.6 KiB/s)*
*Jumping to boot.scr*
*## Executing script at 44000000*
*reading /xen*
*688912 bytes read in 56 ms (11.7 MiB/s)*
*reading /sun7i-a20-cubieboard2.dtb*
*20757 bytes read in 29 ms (698.2 KiB/s)*
*reading /vmlinuz*
*5284760 bytes read in 263 ms (19.2 MiB/s)*
*Kernel image @ 0x7ea00000 [ 0x000000 - 0x0ef700 ]*
*## Flattened Device Tree blob at 7ec00000*
*   Booting using the fdt blob at 0x7ec00000*
*   reserving fdt memory region: addr=7ec00000 size=6000*
*   Using Device Tree in place at 7ec00000, end 7ec08fff*

*Starting kernel ...*

*- UART enabled -*
*- CPU 00000000 booting -*
*- Xen must be entered in NS Hyp mode -*
*- Boot failed -*


On Sun, Jul 19, 2015 at 5:30 PM, Luke Dunstan <lukedunstan81@gmail.com>
wrote:

> I was going to ask whether you downloaded a pre-built image from
> http://blobs.openmirage.org/ but that site doesn't seem to be available
> at the moment, so I guess you built an image? But regardless of that, first
> try writing the image to the card again with "dd", as I've occasionally had
> that step fail to work.
>
> The early output of a successful boot looks like this (depending on the
> version of U-Boot):
>
> U-Boot 2014.04-01540-ga74a847 (Jun 26 2015 - 14:22:47) Allwinner Technology
>
> CPU:   Allwinner A20 (SUN7I)
> Board: Cubieboard2
> I2C:   ready
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   dwmac.1c50000
> Hit any key to stop autoboot:  0
> reading uEnv.txt
> ** Unable to read file uEnv.txt **
> Failed to mount ext2 filesystem...
> ** Unrecognized filesystem type **
> Failed to mount ext2 filesystem...
> ** Unrecognized filesystem type **
> reading boot.scr
> 1243 bytes read in 22 ms (54.7 KiB/s)
> Jumping to boot.scr
> ## Executing script at 44000000
>
>
> The warning about ext2 is not likely to be related to your problem.
>
> Luke
>
>
> On Mon, 20 Jul 2015 at 04:03 Mukund Parthasarathy <mukundanps@gmail.com>
> wrote:
>
>> Hello-
>>  Trying to set up my cubieboard2 per
>> https://mirage.io/wiki/xen-on-cubieboard2.
>>
>>  Xen won't boot, looks like it is expecting ext2 filesystem, rather than
>> ext4:
>>
>> *U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner
>> Technology*
>>
>> *CPU:   Allwinner A20 (SUN7I)*
>> *Board: Cubieboard2*
>> *I2C:   ready*
>> *DRAM:  1 GiB*
>> *MMC:   SUNXI SD/MMC: 0*
>> **** Warning - bad CRC, using default environment*
>>
>> *In:    serial*
>> *Out:   serial*
>> *Err:   serial*
>> *Net:   dwmac.1c50000*
>> *Hit any key to stop autoboot:  0*
>> *reading uEnv.txt*
>> *** Unable to read file uEnv.txt ***
>> *Failed to mount ext2 filesystem...*
>> *** Unrecognized filesystem type ***
>> *Failed to mount ext2 filesystem...*
>> *** Unrecognized filesystem type ***
>>
>>
>> Boot fails....any ideas? Please let me know if I should be posting on a
>> different DL, Ultimately, I'd like to run a mirageos unikernal...
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>
>

--089e011609fc8f8cb0051b44de11
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">=C2=A0Thanks. Yes, I git cloned and built as dom0, xen and=
 u-boot as in the doc. I just looked at my log, there&#39;s a bit at the en=
d I missed. Here&#39;s the entire log, I&#39;ve highlighted the last part. =
Looks like some build parameter went missing, complaining that its not in N=
S Hyp mode....<div><br></div><div><div>U-Boot 2014.04-01572-gea1ac32 (Jul 1=
2 2015 - 01:41:38) Allwinner Technology</div><div><br></div><div>CPU: =C2=
=A0 Allwinner A20 (SUN7I)</div><div>Board: Cubieboard2</div><div>I2C: =C2=
=A0 ready</div><div>DRAM: =C2=A01 GiB</div><div>MMC: =C2=A0 SUNXI SD/MMC: 0=
</div><div>*** Warning - bad CRC, using default environment</div><div><br><=
/div><div>In: =C2=A0 =C2=A0serial</div><div>Out: =C2=A0 serial</div><div>Er=
r: =C2=A0 serial</div><div>Net: =C2=A0 dwmac.1c50000</div><div>Hit any key =
to stop autoboot: =C2=A00</div><div>reading uEnv.txt</div><div>** Unable to=
 read file uEnv.txt **</div><div>Failed to mount ext2 filesystem...</div><d=
iv>** Unrecognized filesystem type **</div><div>Failed to mount ext2 filesy=
stem...</div><div>** Unrecognized filesystem type **</div><div><b>reading b=
oot.scr</b></div><div><b>1243 bytes read in 21 ms (57.6 KiB/s)</b></div><di=
v><b>Jumping to boot.scr</b></div><div><b>## Executing script at 44000000</=
b></div><div><b>reading /xen</b></div><div><b>688912 bytes read in 56 ms (1=
1.7 MiB/s)</b></div><div><b>reading /sun7i-a20-cubieboard2.dtb</b></div><di=
v><b>20757 bytes read in 29 ms (698.2 KiB/s)</b></div><div><b>reading /vmli=
nuz</b></div><div><b>5284760 bytes read in 263 ms (19.2 MiB/s)</b></div><di=
v><b>Kernel image @ 0x7ea00000 [ 0x000000 - 0x0ef700 ]</b></div><div><b>## =
Flattened Device Tree blob at 7ec00000</b></div><div><b>=C2=A0 =C2=A0Bootin=
g using the fdt blob at 0x7ec00000</b></div><div><b>=C2=A0 =C2=A0reserving =
fdt memory region: addr=3D7ec00000 size=3D6000</b></div><div><b>=C2=A0 =C2=
=A0Using Device Tree in place at 7ec00000, end 7ec08fff</b></div><div><b><b=
r></b></div><div><b>Starting kernel ...</b></div><div><b><br></b></div><div=
><b>- UART enabled -</b></div><div><b>- CPU 00000000 booting -</b></div><di=
v><b>- Xen must be entered in NS Hyp mode -</b></div><div><b>- Boot failed =
-</b></div></div><div><br></div></div><div class=3D"gmail_extra"><br><div c=
lass=3D"gmail_quote">On Sun, Jul 19, 2015 at 5:30 PM, Luke Dunstan <span di=
r=3D"ltr">&lt;<a href=3D"mailto:lukedunstan81@gmail.com" target=3D"_blank">=
lukedunstan81@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex"><div dir=3D"ltr">I was going to ask whether you downloaded a pre-built=
 image from <a href=3D"http://blobs.openmirage.org/" target=3D"_blank">http=
://blobs.openmirage.org/</a> but that site doesn&#39;t seem to be available=
 at the moment, so I guess you built an image? But regardless of that, firs=
t try writing the image to the card again with &quot;dd&quot;, as I&#39;ve =
occasionally had that step fail to work.<div><br></div><div>The early outpu=
t of a successful boot looks like this (depending on the version of U-Boot)=
:</div><div><br></div><div><div>U-Boot 2014.04-01540-ga74a847 (Jun 26 2015 =
- 14:22:47) Allwinner Technology</div><span class=3D""><div><br></div><div>=
CPU: =C2=A0 Allwinner A20 (SUN7I)</div><div>Board: Cubieboard2</div><div>I2=
C: =C2=A0 ready</div><div>DRAM: =C2=A01 GiB</div><div>MMC: =C2=A0 SUNXI SD/=
MMC: 0</div><div>*** Warning - bad CRC, using default environment</div><div=
><br></div><div>In: =C2=A0 =C2=A0serial</div><div>Out: =C2=A0 serial</div><=
div>Err: =C2=A0 serial</div><div>Net: =C2=A0 dwmac.1c50000</div><div>Hit an=
y key to stop autoboot: =C2=A00=C2=A0</div><div>reading uEnv.txt</div><div>=
** Unable to read file uEnv.txt **</div><div>Failed to mount ext2 filesyste=
m...</div><div>** Unrecognized filesystem type **</div><div>Failed to mount=
 ext2 filesystem...</div><div>** Unrecognized filesystem type **</div></spa=
n><div>reading boot.scr</div><div>1243 bytes read in 22 ms (54.7 KiB/s)</di=
v><div>Jumping to boot.scr</div><div>## Executing script at 44000000</div><=
/div><div><br></div><div><br></div><div>The warning about ext2 is not likel=
y to be related to your problem.</div><div><br></div><div>Luke</div><div><b=
r></div></div><br><div class=3D"gmail_quote"><div><div class=3D"h5"><div di=
r=3D"ltr">On Mon, 20 Jul 2015 at 04:03 Mukund Parthasarathy &lt;<a href=3D"=
mailto:mukundanps@gmail.com" target=3D"_blank">mukundanps@gmail.com</a>&gt;=
 wrote:<br></div></div></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class=
=3D"h5"><div dir=3D"ltr">Hello-<div>=C2=A0Trying to set up my cubieboard2 p=
er=C2=A0<a href=3D"https://mirage.io/wiki/xen-on-cubieboard2" target=3D"_bl=
ank">https://mirage.io/wiki/xen-on-cubieboard2</a>.</div><div><br></div><di=
v>=C2=A0Xen won&#39;t boot, looks like it is expecting ext2 filesystem, rat=
her than ext4:</div><div><br></div><div><div><i>U-Boot 2014.04-01572-gea1ac=
32 (Jul 12 2015 - 01:41:38) Allwinner Technology</i></div><div><i><br></i><=
/div><div><i>CPU: =C2=A0 Allwinner A20 (SUN7I)</i></div><div><i>Board: Cubi=
eboard2</i></div><div><i>I2C: =C2=A0 ready</i></div><div><i>DRAM: =C2=A01 G=
iB</i></div><div><i>MMC: =C2=A0 SUNXI SD/MMC: 0</i></div><div><i>*** Warnin=
g - bad CRC, using default environment</i></div><div><i><br></i></div><div>=
<i>In: =C2=A0 =C2=A0serial</i></div><div><i>Out: =C2=A0 serial</i></div><di=
v><i>Err: =C2=A0 serial</i></div><div><i>Net: =C2=A0 dwmac.1c50000</i></div=
><div><i>Hit any key to stop autoboot: =C2=A00</i></div><div><i>reading uEn=
v.txt</i></div><div><i>** Unable to read file uEnv.txt **</i></div><div><i>=
Failed to mount ext2 filesystem...</i></div><div><i>** Unrecognized filesys=
tem type **</i></div><div><i>Failed to mount ext2 filesystem...</i></div><d=
iv><i>** Unrecognized filesystem type **</i></div></div><div><br></div><div=
><br></div><div>Boot fails....any ideas? Please let me know if I should be =
posting on a different DL, Ultimately, I&#39;d like to run a mirageos unike=
rnal...</div></div></div></div>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blank">Mi=
rageOS-devel@lists.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" rel=3D"noreferrer" target=3D"_blank">http://lists.xenproject.org/cgi-b=
in/mailman/listinfo/mirageos-devel</a><br>
</blockquote></div>
</blockquote></div><br></div>

--089e011609fc8f8cb0051b44de11--


--===============8834762446970747974==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8834762446970747974==--


From mirageos-devel-bounces@lists.xenproject.org Mon Jul 20 01:58:20 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 20 Jul 2015 01:58:20 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZH0LO-000243-OL; Mon, 20 Jul 2015 01:58:14 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mukundanps@gmail.com>) id 1ZH0LM-00023y-O4
	for mirageos-devel@lists.xenproject.org; Mon, 20 Jul 2015 01:58:12 +0000
Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id
	11/F1-11060-4B55CA55; Mon, 20 Jul 2015 01:58:12 +0000
X-Env-Sender: mukundanps@gmail.com
X-Msg-Ref: server-7.tower-31.messagelabs.com!1437357489!27277924!1
X-Originating-IP: [209.85.223.173]
X-SpamReason: No, hits=0.7 required=7.0 tests=HTML_30_40,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 22358 invoked from network); 20 Jul 2015 01:58:10 -0000
Received: from mail-ie0-f173.google.com (HELO mail-ie0-f173.google.com)
	(209.85.223.173)
	by server-7.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	20 Jul 2015 01:58:10 -0000
Received: by iehx8 with SMTP id x8so28491592ieh.3
	for <mirageos-devel@lists.xenproject.org>;
	Sun, 19 Jul 2015 18:58:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=ESe90SBlA+TiPrWsqQxKNYxFGuo6I1LrzwsJOQqLC9k=;
	b=k2rO9dp0MDGxJbbZQ/JCdAnehcHbWPPSseKhk3C1DRVtugvr9cxkj1hDfTWG08Bg0q
	kHIa3Lw0PKpGE2MQVu//PPHdfwYrRLrgkE9DHuOJP4+XRwY4GoibIQrY4nbMQq4CVKUp
	ckCENJOlP6/MqBBiXXHVOc41maDelsJPGnwSb697pN4o4yUb3l4nRYUs/dwYd1qe00kk
	HZhYSCziGJDoIITRT3cv5Mp5K+KjvWeKUEQK1KxjWU8TET1F0a3O3fFGFWws6O2Ojili
	fr2I7crYOrdAdQhFhPXT6Vrps1AHtvPYOAz86KGZZf5TvlYjoEI8mTqRhIWd5QFga9Qz
	k/DA==
MIME-Version: 1.0
X-Received: by 10.50.79.129 with SMTP id j1mr9807669igx.12.1437357489226; Sun,
	19 Jul 2015 18:58:09 -0700 (PDT)
Received: by 10.36.89.196 with HTTP; Sun, 19 Jul 2015 18:58:09 -0700 (PDT)
In-Reply-To: <CAEui0wUfKR-7tyA1Mmrp2UA-DeyXhDtTUcfnYgDVx8HC=t=XVg@mail.gmail.com>
References: <CANtfj_D7GVZbfWBE8zxog9MSpgEtjCCK7W_PAbipLsPRgfkwRg@mail.gmail.com>
	<CAEui0wUfKR-7tyA1Mmrp2UA-DeyXhDtTUcfnYgDVx8HC=t=XVg@mail.gmail.com>
Date: Sun, 19 Jul 2015 18:58:09 -0700
Message-ID: <CANtfj_Cg1HooCd_1PbXtO+aDRrZ+68Ffj_2R6DQRESjxWGTmZg@mail.gmail.com>
From: Mukund Parthasarathy <mukundanps@gmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
Cc: mirageos-devel@lists.xenproject.org
Subject: Re: [MirageOS-devel] Unable to boot xen on cubieboard2
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8834762446970747974=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============8834762446970747974==
Content-Type: multipart/alternative; boundary=089e011609fc8f8cb0051b44de11

--089e011609fc8f8cb0051b44de11
Content-Type: text/plain; charset=UTF-8

 Thanks. Yes, I git cloned and built as dom0, xen and u-boot as in the doc.
I just looked at my log, there's a bit at the end I missed. Here's the
entire log, I've highlighted the last part. Looks like some build parameter
went missing, complaining that its not in NS Hyp mode....

U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Board: Cubieboard2
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   dwmac.1c50000
Hit any key to stop autoboot:  0
reading uEnv.txt
** Unable to read file uEnv.txt **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
*reading boot.scr*
*1243 bytes read in 21 ms (57.6 KiB/s)*
*Jumping to boot.scr*
*## Executing script at 44000000*
*reading /xen*
*688912 bytes read in 56 ms (11.7 MiB/s)*
*reading /sun7i-a20-cubieboard2.dtb*
*20757 bytes read in 29 ms (698.2 KiB/s)*
*reading /vmlinuz*
*5284760 bytes read in 263 ms (19.2 MiB/s)*
*Kernel image @ 0x7ea00000 [ 0x000000 - 0x0ef700 ]*
*## Flattened Device Tree blob at 7ec00000*
*   Booting using the fdt blob at 0x7ec00000*
*   reserving fdt memory region: addr=7ec00000 size=6000*
*   Using Device Tree in place at 7ec00000, end 7ec08fff*

*Starting kernel ...*

*- UART enabled -*
*- CPU 00000000 booting -*
*- Xen must be entered in NS Hyp mode -*
*- Boot failed -*


On Sun, Jul 19, 2015 at 5:30 PM, Luke Dunstan <lukedunstan81@gmail.com>
wrote:

> I was going to ask whether you downloaded a pre-built image from
> http://blobs.openmirage.org/ but that site doesn't seem to be available
> at the moment, so I guess you built an image? But regardless of that, first
> try writing the image to the card again with "dd", as I've occasionally had
> that step fail to work.
>
> The early output of a successful boot looks like this (depending on the
> version of U-Boot):
>
> U-Boot 2014.04-01540-ga74a847 (Jun 26 2015 - 14:22:47) Allwinner Technology
>
> CPU:   Allwinner A20 (SUN7I)
> Board: Cubieboard2
> I2C:   ready
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   dwmac.1c50000
> Hit any key to stop autoboot:  0
> reading uEnv.txt
> ** Unable to read file uEnv.txt **
> Failed to mount ext2 filesystem...
> ** Unrecognized filesystem type **
> Failed to mount ext2 filesystem...
> ** Unrecognized filesystem type **
> reading boot.scr
> 1243 bytes read in 22 ms (54.7 KiB/s)
> Jumping to boot.scr
> ## Executing script at 44000000
>
>
> The warning about ext2 is not likely to be related to your problem.
>
> Luke
>
>
> On Mon, 20 Jul 2015 at 04:03 Mukund Parthasarathy <mukundanps@gmail.com>
> wrote:
>
>> Hello-
>>  Trying to set up my cubieboard2 per
>> https://mirage.io/wiki/xen-on-cubieboard2.
>>
>>  Xen won't boot, looks like it is expecting ext2 filesystem, rather than
>> ext4:
>>
>> *U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner
>> Technology*
>>
>> *CPU:   Allwinner A20 (SUN7I)*
>> *Board: Cubieboard2*
>> *I2C:   ready*
>> *DRAM:  1 GiB*
>> *MMC:   SUNXI SD/MMC: 0*
>> **** Warning - bad CRC, using default environment*
>>
>> *In:    serial*
>> *Out:   serial*
>> *Err:   serial*
>> *Net:   dwmac.1c50000*
>> *Hit any key to stop autoboot:  0*
>> *reading uEnv.txt*
>> *** Unable to read file uEnv.txt ***
>> *Failed to mount ext2 filesystem...*
>> *** Unrecognized filesystem type ***
>> *Failed to mount ext2 filesystem...*
>> *** Unrecognized filesystem type ***
>>
>>
>> Boot fails....any ideas? Please let me know if I should be posting on a
>> different DL, Ultimately, I'd like to run a mirageos unikernal...
>> _______________________________________________
>> MirageOS-devel mailing list
>> MirageOS-devel@lists.xenproject.org
>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>>
>

--089e011609fc8f8cb0051b44de11
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">=C2=A0Thanks. Yes, I git cloned and built as dom0, xen and=
 u-boot as in the doc. I just looked at my log, there&#39;s a bit at the en=
d I missed. Here&#39;s the entire log, I&#39;ve highlighted the last part. =
Looks like some build parameter went missing, complaining that its not in N=
S Hyp mode....<div><br></div><div><div>U-Boot 2014.04-01572-gea1ac32 (Jul 1=
2 2015 - 01:41:38) Allwinner Technology</div><div><br></div><div>CPU: =C2=
=A0 Allwinner A20 (SUN7I)</div><div>Board: Cubieboard2</div><div>I2C: =C2=
=A0 ready</div><div>DRAM: =C2=A01 GiB</div><div>MMC: =C2=A0 SUNXI SD/MMC: 0=
</div><div>*** Warning - bad CRC, using default environment</div><div><br><=
/div><div>In: =C2=A0 =C2=A0serial</div><div>Out: =C2=A0 serial</div><div>Er=
r: =C2=A0 serial</div><div>Net: =C2=A0 dwmac.1c50000</div><div>Hit any key =
to stop autoboot: =C2=A00</div><div>reading uEnv.txt</div><div>** Unable to=
 read file uEnv.txt **</div><div>Failed to mount ext2 filesystem...</div><d=
iv>** Unrecognized filesystem type **</div><div>Failed to mount ext2 filesy=
stem...</div><div>** Unrecognized filesystem type **</div><div><b>reading b=
oot.scr</b></div><div><b>1243 bytes read in 21 ms (57.6 KiB/s)</b></div><di=
v><b>Jumping to boot.scr</b></div><div><b>## Executing script at 44000000</=
b></div><div><b>reading /xen</b></div><div><b>688912 bytes read in 56 ms (1=
1.7 MiB/s)</b></div><div><b>reading /sun7i-a20-cubieboard2.dtb</b></div><di=
v><b>20757 bytes read in 29 ms (698.2 KiB/s)</b></div><div><b>reading /vmli=
nuz</b></div><div><b>5284760 bytes read in 263 ms (19.2 MiB/s)</b></div><di=
v><b>Kernel image @ 0x7ea00000 [ 0x000000 - 0x0ef700 ]</b></div><div><b>## =
Flattened Device Tree blob at 7ec00000</b></div><div><b>=C2=A0 =C2=A0Bootin=
g using the fdt blob at 0x7ec00000</b></div><div><b>=C2=A0 =C2=A0reserving =
fdt memory region: addr=3D7ec00000 size=3D6000</b></div><div><b>=C2=A0 =C2=
=A0Using Device Tree in place at 7ec00000, end 7ec08fff</b></div><div><b><b=
r></b></div><div><b>Starting kernel ...</b></div><div><b><br></b></div><div=
><b>- UART enabled -</b></div><div><b>- CPU 00000000 booting -</b></div><di=
v><b>- Xen must be entered in NS Hyp mode -</b></div><div><b>- Boot failed =
-</b></div></div><div><br></div></div><div class=3D"gmail_extra"><br><div c=
lass=3D"gmail_quote">On Sun, Jul 19, 2015 at 5:30 PM, Luke Dunstan <span di=
r=3D"ltr">&lt;<a href=3D"mailto:lukedunstan81@gmail.com" target=3D"_blank">=
lukedunstan81@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex"><div dir=3D"ltr">I was going to ask whether you downloaded a pre-built=
 image from <a href=3D"http://blobs.openmirage.org/" target=3D"_blank">http=
://blobs.openmirage.org/</a> but that site doesn&#39;t seem to be available=
 at the moment, so I guess you built an image? But regardless of that, firs=
t try writing the image to the card again with &quot;dd&quot;, as I&#39;ve =
occasionally had that step fail to work.<div><br></div><div>The early outpu=
t of a successful boot looks like this (depending on the version of U-Boot)=
:</div><div><br></div><div><div>U-Boot 2014.04-01540-ga74a847 (Jun 26 2015 =
- 14:22:47) Allwinner Technology</div><span class=3D""><div><br></div><div>=
CPU: =C2=A0 Allwinner A20 (SUN7I)</div><div>Board: Cubieboard2</div><div>I2=
C: =C2=A0 ready</div><div>DRAM: =C2=A01 GiB</div><div>MMC: =C2=A0 SUNXI SD/=
MMC: 0</div><div>*** Warning - bad CRC, using default environment</div><div=
><br></div><div>In: =C2=A0 =C2=A0serial</div><div>Out: =C2=A0 serial</div><=
div>Err: =C2=A0 serial</div><div>Net: =C2=A0 dwmac.1c50000</div><div>Hit an=
y key to stop autoboot: =C2=A00=C2=A0</div><div>reading uEnv.txt</div><div>=
** Unable to read file uEnv.txt **</div><div>Failed to mount ext2 filesyste=
m...</div><div>** Unrecognized filesystem type **</div><div>Failed to mount=
 ext2 filesystem...</div><div>** Unrecognized filesystem type **</div></spa=
n><div>reading boot.scr</div><div>1243 bytes read in 22 ms (54.7 KiB/s)</di=
v><div>Jumping to boot.scr</div><div>## Executing script at 44000000</div><=
/div><div><br></div><div><br></div><div>The warning about ext2 is not likel=
y to be related to your problem.</div><div><br></div><div>Luke</div><div><b=
r></div></div><br><div class=3D"gmail_quote"><div><div class=3D"h5"><div di=
r=3D"ltr">On Mon, 20 Jul 2015 at 04:03 Mukund Parthasarathy &lt;<a href=3D"=
mailto:mukundanps@gmail.com" target=3D"_blank">mukundanps@gmail.com</a>&gt;=
 wrote:<br></div></div></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class=
=3D"h5"><div dir=3D"ltr">Hello-<div>=C2=A0Trying to set up my cubieboard2 p=
er=C2=A0<a href=3D"https://mirage.io/wiki/xen-on-cubieboard2" target=3D"_bl=
ank">https://mirage.io/wiki/xen-on-cubieboard2</a>.</div><div><br></div><di=
v>=C2=A0Xen won&#39;t boot, looks like it is expecting ext2 filesystem, rat=
her than ext4:</div><div><br></div><div><div><i>U-Boot 2014.04-01572-gea1ac=
32 (Jul 12 2015 - 01:41:38) Allwinner Technology</i></div><div><i><br></i><=
/div><div><i>CPU: =C2=A0 Allwinner A20 (SUN7I)</i></div><div><i>Board: Cubi=
eboard2</i></div><div><i>I2C: =C2=A0 ready</i></div><div><i>DRAM: =C2=A01 G=
iB</i></div><div><i>MMC: =C2=A0 SUNXI SD/MMC: 0</i></div><div><i>*** Warnin=
g - bad CRC, using default environment</i></div><div><i><br></i></div><div>=
<i>In: =C2=A0 =C2=A0serial</i></div><div><i>Out: =C2=A0 serial</i></div><di=
v><i>Err: =C2=A0 serial</i></div><div><i>Net: =C2=A0 dwmac.1c50000</i></div=
><div><i>Hit any key to stop autoboot: =C2=A00</i></div><div><i>reading uEn=
v.txt</i></div><div><i>** Unable to read file uEnv.txt **</i></div><div><i>=
Failed to mount ext2 filesystem...</i></div><div><i>** Unrecognized filesys=
tem type **</i></div><div><i>Failed to mount ext2 filesystem...</i></div><d=
iv><i>** Unrecognized filesystem type **</i></div></div><div><br></div><div=
><br></div><div>Boot fails....any ideas? Please let me know if I should be =
posting on a different DL, Ultimately, I&#39;d like to run a mirageos unike=
rnal...</div></div></div></div>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org" target=3D"_blank">Mi=
rageOS-devel@lists.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" rel=3D"noreferrer" target=3D"_blank">http://lists.xenproject.org/cgi-b=
in/mailman/listinfo/mirageos-devel</a><br>
</blockquote></div>
</blockquote></div><br></div>

--089e011609fc8f8cb0051b44de11--


--===============8834762446970747974==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8834762446970747974==--


From mirageos-devel-bounces@lists.xenproject.org Mon Jul 20 12:37:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 20 Jul 2015 12:37:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZHAK9-0005Hb-3o; Mon, 20 Jul 2015 12:37:37 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZHAK7-0005HU-Sl
	for mirageos-devel@lists.xenproject.org; Mon, 20 Jul 2015 12:37:36 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	91/AD-16814-F8BECA55; Mon, 20 Jul 2015 12:37:35 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-6.tower-206.messagelabs.com!1437395853!22328066!1
X-Originating-IP: [209.85.216.48]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29999 invoked from network); 20 Jul 2015 12:37:34 -0000
Received: from mail-vn0-f48.google.com (HELO mail-vn0-f48.google.com)
	(209.85.216.48)
	by server-6.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	20 Jul 2015 12:37:34 -0000
Received: by vnav141 with SMTP id v141so22292467vna.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 20 Jul 2015 05:37:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=ZDKvuM3WWoxstUnJvZ9hGkLriRNPb7Yk10qS37vV9qE=;
	b=vybW+vjvf1Um3aizTL0yEyH+CJ0o9SHM9VAiVanLga+NZYDq4OOVovcZGIGcSJQa1O
	OxXf9Gz6IQE7vWp3EheToxiIhroUEC6LNGshQyHQIqcX3jpK6lDwDDVwnR08cI81xx1L
	4fu4bgy/zWmEVq7Z7lWzosqUkYsyFjSzmoCPr3nxCiCEAZzxd05C1LzBMSW5FK0IFEUt
	V/Jaox+XVEdeLIMMYYtn0cpnB2R9rcIHSBWzF12K3GQDmTZGFela5tOU0AflR8rc2g2/
	vwjpT4NeLFAmWIqowtPuIzHpBHzZActRiwVa+twgipxvNwuPIQB9tMyqn2lSJPYq0jUC
	qt+Q==
MIME-Version: 1.0
X-Received: by 10.52.114.196 with SMTP id ji4mr36832946vdb.24.1437395853365;
	Mon, 20 Jul 2015 05:37:33 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Mon, 20 Jul 2015 05:37:33 -0700 (PDT)
In-Reply-To: <CANtfj_Cg1HooCd_1PbXtO+aDRrZ+68Ffj_2R6DQRESjxWGTmZg@mail.gmail.com>
References: <CANtfj_D7GVZbfWBE8zxog9MSpgEtjCCK7W_PAbipLsPRgfkwRg@mail.gmail.com>
	<CAEui0wUfKR-7tyA1Mmrp2UA-DeyXhDtTUcfnYgDVx8HC=t=XVg@mail.gmail.com>
	<CANtfj_Cg1HooCd_1PbXtO+aDRrZ+68Ffj_2R6DQRESjxWGTmZg@mail.gmail.com>
Date: Mon, 20 Jul 2015 13:37:33 +0100
Message-ID: <CAG4opy_kf=rnopYTazFi5B7YMBZ=wa1K+pnigR-WaK_EB6wE6Q@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Mukund Parthasarathy <mukundanps@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Unable to boot xen on cubieboard2
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 July 2015 at 02:58, Mukund Parthasarathy <mukundanps@gmail.com> wrote:
>  Thanks. Yes, I git cloned and built as dom0, xen and u-boot as in the doc.

I don't think it's possible to follow the doc any longer, as the
referenced U-Boot sunxi-next branch no longer exists. You'll need to
use the upstream U-Boot instead, with a slightly modified cmd file.
The ones here should be correct:

  https://github.com/mirage/xen-arm-builder

> I just looked at my log, there's a bit at the end I missed. Here's the
> entire log, I've highlighted the last part. Looks like some build parameter
> went missing, complaining that its not in NS Hyp mode....
>
> U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner Technology
>
> CPU:   Allwinner A20 (SUN7I)
> Board: Cubieboard2
> I2C:   ready
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   dwmac.1c50000
> Hit any key to stop autoboot:  0
> reading uEnv.txt
> ** Unable to read file uEnv.txt **
> Failed to mount ext2 filesystem...
> ** Unrecognized filesystem type **
> Failed to mount ext2 filesystem...
> ** Unrecognized filesystem type **
> reading boot.scr
> 1243 bytes read in 21 ms (57.6 KiB/s)
> Jumping to boot.scr
> ## Executing script at 44000000
> reading /xen
> 688912 bytes read in 56 ms (11.7 MiB/s)
> reading /sun7i-a20-cubieboard2.dtb
> 20757 bytes read in 29 ms (698.2 KiB/s)
> reading /vmlinuz
> 5284760 bytes read in 263 ms (19.2 MiB/s)
> Kernel image @ 0x7ea00000 [ 0x000000 - 0x0ef700 ]
> ## Flattened Device Tree blob at 7ec00000
>    Booting using the fdt blob at 0x7ec00000
>    reserving fdt memory region: addr=7ec00000 size=6000
>    Using Device Tree in place at 7ec00000, end 7ec08fff
>
> Starting kernel ...
>
> - UART enabled -
> - CPU 00000000 booting -
> - Xen must be entered in NS Hyp mode -
> - Boot failed -
>
>
> On Sun, Jul 19, 2015 at 5:30 PM, Luke Dunstan <lukedunstan81@gmail.com>
> wrote:
>>
>> I was going to ask whether you downloaded a pre-built image from
>> http://blobs.openmirage.org/ but that site doesn't seem to be available at
>> the moment, so I guess you built an image? But regardless of that, first try
>> writing the image to the card again with "dd", as I've occasionally had that
>> step fail to work.
>>
>> The early output of a successful boot looks like this (depending on the
>> version of U-Boot):
>>
>> U-Boot 2014.04-01540-ga74a847 (Jun 26 2015 - 14:22:47) Allwinner
>> Technology
>>
>> CPU:   Allwinner A20 (SUN7I)
>> Board: Cubieboard2
>> I2C:   ready
>> DRAM:  1 GiB
>> MMC:   SUNXI SD/MMC: 0
>> *** Warning - bad CRC, using default environment
>>
>> In:    serial
>> Out:   serial
>> Err:   serial
>> Net:   dwmac.1c50000
>> Hit any key to stop autoboot:  0
>> reading uEnv.txt
>> ** Unable to read file uEnv.txt **
>> Failed to mount ext2 filesystem...
>> ** Unrecognized filesystem type **
>> Failed to mount ext2 filesystem...
>> ** Unrecognized filesystem type **
>> reading boot.scr
>> 1243 bytes read in 22 ms (54.7 KiB/s)
>> Jumping to boot.scr
>> ## Executing script at 44000000
>>
>>
>> The warning about ext2 is not likely to be related to your problem.
>>
>> Luke
>>
>>
>> On Mon, 20 Jul 2015 at 04:03 Mukund Parthasarathy <mukundanps@gmail.com>
>> wrote:
>>>
>>> Hello-
>>>  Trying to set up my cubieboard2 per
>>> https://mirage.io/wiki/xen-on-cubieboard2.
>>>
>>>  Xen won't boot, looks like it is expecting ext2 filesystem, rather than
>>> ext4:
>>>
>>> U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner
>>> Technology
>>>
>>> CPU:   Allwinner A20 (SUN7I)
>>> Board: Cubieboard2
>>> I2C:   ready
>>> DRAM:  1 GiB
>>> MMC:   SUNXI SD/MMC: 0
>>> *** Warning - bad CRC, using default environment
>>>
>>> In:    serial
>>> Out:   serial
>>> Err:   serial
>>> Net:   dwmac.1c50000
>>> Hit any key to stop autoboot:  0
>>> reading uEnv.txt
>>> ** Unable to read file uEnv.txt **
>>> Failed to mount ext2 filesystem...
>>> ** Unrecognized filesystem type **
>>> Failed to mount ext2 filesystem...
>>> ** Unrecognized filesystem type **
>>>
>>>
>>> Boot fails....any ideas? Please let me know if I should be posting on a
>>> different DL, Ultimately, I'd like to run a mirageos unikernal...
>>> _______________________________________________
>>> MirageOS-devel mailing list
>>> MirageOS-devel@lists.xenproject.org
>>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>



-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 20 12:37:46 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 20 Jul 2015 12:37:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZHAK9-0005Hb-3o; Mon, 20 Jul 2015 12:37:37 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZHAK7-0005HU-Sl
	for mirageos-devel@lists.xenproject.org; Mon, 20 Jul 2015 12:37:36 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	91/AD-16814-F8BECA55; Mon, 20 Jul 2015 12:37:35 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-6.tower-206.messagelabs.com!1437395853!22328066!1
X-Originating-IP: [209.85.216.48]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29999 invoked from network); 20 Jul 2015 12:37:34 -0000
Received: from mail-vn0-f48.google.com (HELO mail-vn0-f48.google.com)
	(209.85.216.48)
	by server-6.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	20 Jul 2015 12:37:34 -0000
Received: by vnav141 with SMTP id v141so22292467vna.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 20 Jul 2015 05:37:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=ZDKvuM3WWoxstUnJvZ9hGkLriRNPb7Yk10qS37vV9qE=;
	b=vybW+vjvf1Um3aizTL0yEyH+CJ0o9SHM9VAiVanLga+NZYDq4OOVovcZGIGcSJQa1O
	OxXf9Gz6IQE7vWp3EheToxiIhroUEC6LNGshQyHQIqcX3jpK6lDwDDVwnR08cI81xx1L
	4fu4bgy/zWmEVq7Z7lWzosqUkYsyFjSzmoCPr3nxCiCEAZzxd05C1LzBMSW5FK0IFEUt
	V/Jaox+XVEdeLIMMYYtn0cpnB2R9rcIHSBWzF12K3GQDmTZGFela5tOU0AflR8rc2g2/
	vwjpT4NeLFAmWIqowtPuIzHpBHzZActRiwVa+twgipxvNwuPIQB9tMyqn2lSJPYq0jUC
	qt+Q==
MIME-Version: 1.0
X-Received: by 10.52.114.196 with SMTP id ji4mr36832946vdb.24.1437395853365;
	Mon, 20 Jul 2015 05:37:33 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Mon, 20 Jul 2015 05:37:33 -0700 (PDT)
In-Reply-To: <CANtfj_Cg1HooCd_1PbXtO+aDRrZ+68Ffj_2R6DQRESjxWGTmZg@mail.gmail.com>
References: <CANtfj_D7GVZbfWBE8zxog9MSpgEtjCCK7W_PAbipLsPRgfkwRg@mail.gmail.com>
	<CAEui0wUfKR-7tyA1Mmrp2UA-DeyXhDtTUcfnYgDVx8HC=t=XVg@mail.gmail.com>
	<CANtfj_Cg1HooCd_1PbXtO+aDRrZ+68Ffj_2R6DQRESjxWGTmZg@mail.gmail.com>
Date: Mon, 20 Jul 2015 13:37:33 +0100
Message-ID: <CAG4opy_kf=rnopYTazFi5B7YMBZ=wa1K+pnigR-WaK_EB6wE6Q@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Mukund Parthasarathy <mukundanps@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Unable to boot xen on cubieboard2
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 20 July 2015 at 02:58, Mukund Parthasarathy <mukundanps@gmail.com> wrote:
>  Thanks. Yes, I git cloned and built as dom0, xen and u-boot as in the doc.

I don't think it's possible to follow the doc any longer, as the
referenced U-Boot sunxi-next branch no longer exists. You'll need to
use the upstream U-Boot instead, with a slightly modified cmd file.
The ones here should be correct:

  https://github.com/mirage/xen-arm-builder

> I just looked at my log, there's a bit at the end I missed. Here's the
> entire log, I've highlighted the last part. Looks like some build parameter
> went missing, complaining that its not in NS Hyp mode....
>
> U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner Technology
>
> CPU:   Allwinner A20 (SUN7I)
> Board: Cubieboard2
> I2C:   ready
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   dwmac.1c50000
> Hit any key to stop autoboot:  0
> reading uEnv.txt
> ** Unable to read file uEnv.txt **
> Failed to mount ext2 filesystem...
> ** Unrecognized filesystem type **
> Failed to mount ext2 filesystem...
> ** Unrecognized filesystem type **
> reading boot.scr
> 1243 bytes read in 21 ms (57.6 KiB/s)
> Jumping to boot.scr
> ## Executing script at 44000000
> reading /xen
> 688912 bytes read in 56 ms (11.7 MiB/s)
> reading /sun7i-a20-cubieboard2.dtb
> 20757 bytes read in 29 ms (698.2 KiB/s)
> reading /vmlinuz
> 5284760 bytes read in 263 ms (19.2 MiB/s)
> Kernel image @ 0x7ea00000 [ 0x000000 - 0x0ef700 ]
> ## Flattened Device Tree blob at 7ec00000
>    Booting using the fdt blob at 0x7ec00000
>    reserving fdt memory region: addr=7ec00000 size=6000
>    Using Device Tree in place at 7ec00000, end 7ec08fff
>
> Starting kernel ...
>
> - UART enabled -
> - CPU 00000000 booting -
> - Xen must be entered in NS Hyp mode -
> - Boot failed -
>
>
> On Sun, Jul 19, 2015 at 5:30 PM, Luke Dunstan <lukedunstan81@gmail.com>
> wrote:
>>
>> I was going to ask whether you downloaded a pre-built image from
>> http://blobs.openmirage.org/ but that site doesn't seem to be available at
>> the moment, so I guess you built an image? But regardless of that, first try
>> writing the image to the card again with "dd", as I've occasionally had that
>> step fail to work.
>>
>> The early output of a successful boot looks like this (depending on the
>> version of U-Boot):
>>
>> U-Boot 2014.04-01540-ga74a847 (Jun 26 2015 - 14:22:47) Allwinner
>> Technology
>>
>> CPU:   Allwinner A20 (SUN7I)
>> Board: Cubieboard2
>> I2C:   ready
>> DRAM:  1 GiB
>> MMC:   SUNXI SD/MMC: 0
>> *** Warning - bad CRC, using default environment
>>
>> In:    serial
>> Out:   serial
>> Err:   serial
>> Net:   dwmac.1c50000
>> Hit any key to stop autoboot:  0
>> reading uEnv.txt
>> ** Unable to read file uEnv.txt **
>> Failed to mount ext2 filesystem...
>> ** Unrecognized filesystem type **
>> Failed to mount ext2 filesystem...
>> ** Unrecognized filesystem type **
>> reading boot.scr
>> 1243 bytes read in 22 ms (54.7 KiB/s)
>> Jumping to boot.scr
>> ## Executing script at 44000000
>>
>>
>> The warning about ext2 is not likely to be related to your problem.
>>
>> Luke
>>
>>
>> On Mon, 20 Jul 2015 at 04:03 Mukund Parthasarathy <mukundanps@gmail.com>
>> wrote:
>>>
>>> Hello-
>>>  Trying to set up my cubieboard2 per
>>> https://mirage.io/wiki/xen-on-cubieboard2.
>>>
>>>  Xen won't boot, looks like it is expecting ext2 filesystem, rather than
>>> ext4:
>>>
>>> U-Boot 2014.04-01572-gea1ac32 (Jul 12 2015 - 01:41:38) Allwinner
>>> Technology
>>>
>>> CPU:   Allwinner A20 (SUN7I)
>>> Board: Cubieboard2
>>> I2C:   ready
>>> DRAM:  1 GiB
>>> MMC:   SUNXI SD/MMC: 0
>>> *** Warning - bad CRC, using default environment
>>>
>>> In:    serial
>>> Out:   serial
>>> Err:   serial
>>> Net:   dwmac.1c50000
>>> Hit any key to stop autoboot:  0
>>> reading uEnv.txt
>>> ** Unable to read file uEnv.txt **
>>> Failed to mount ext2 filesystem...
>>> ** Unrecognized filesystem type **
>>> Failed to mount ext2 filesystem...
>>> ** Unrecognized filesystem type **
>>>
>>>
>>> Boot fails....any ideas? Please let me know if I should be posting on a
>>> different DL, Ultimately, I'd like to run a mirageos unikernal...
>>> _______________________________________________
>>> MirageOS-devel mailing list
>>> MirageOS-devel@lists.xenproject.org
>>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>



-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 22 16:36:30 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 22 Jul 2015 16:36:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZHx0G-0000Sh-4N; Wed, 22 Jul 2015 16:36:20 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amirmc@gmail.com>) id 1ZHx0E-0000Sc-Q3
	for mirageos-devel@lists.xenproject.org; Wed, 22 Jul 2015 16:36:18 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	B1/90-16813-286CFA55; Wed, 22 Jul 2015 16:36:18 +0000
X-Env-Sender: amirmc@gmail.com
X-Msg-Ref: server-12.tower-27.messagelabs.com!1437582977!34397962!1
X-Originating-IP: [209.85.212.180]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10412 invoked from network); 22 Jul 2015 16:36:17 -0000
Received: from mail-wi0-f180.google.com (HELO mail-wi0-f180.google.com)
	(209.85.212.180)
	by server-12.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	22 Jul 2015 16:36:17 -0000
Received: by wibud3 with SMTP id ud3so181058962wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 22 Jul 2015 09:36:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:content-type:content-transfer-encoding:subject:message-id:date
	:to:mime-version;
	bh=+m8eNzWieejxdu0+kfokKkI+M+SUF/WCKc00/gZKsvo=;
	b=rPeq/nQPPidtSjLz03vEKPtwIdT6Sbw+KzNXAWO5+j0iznT317li9DX2eY24lPDNQ2
	iA96dTlUl29lFYPzG6ULcv4/4UsuroHVx8Lk6vHtMYg/xbVpmmk0hELyp/rgAUbK01qT
	8xUCpNO6yM2U6dYHAN5RfTh+PyIq1ERndtS+0sWTqSQ84vyAM9+lsYodb20OnfMMHnFG
	ArQNV4yw9ucfIENLfmdtCQ1b174OXV9ofjfV7lmnnxR/NM0uyKjERa5yghoGhXTCKzre
	C0vi4Z/VyV5WnG+EYPKOmeqVymxJqqoqyEUVkHgh58l6eex222FO53eRSWK3oeycUTih
	FT/g==
X-Received: by 10.180.101.138 with SMTP id fg10mr8312005wib.46.1437582976973; 
	Wed, 22 Jul 2015 09:36:16 -0700 (PDT)
Received: from dhcp-172-17-159-151.eduroam.wireless.private.cam.ac.uk
	(global-1-26.nat.csx.cam.ac.uk. [131.111.184.26])
	by smtp.gmail.com with ESMTPSA id
	bg6sm3184287wjc.13.2015.07.22.09.36.15
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 22 Jul 2015 09:36:15 -0700 (PDT)
From: Amir Chaudhry <amirmc@gmail.com>
X-Google-Original-From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <1C4D3A5F-3AC7-4522-A218-B9F643CD60D4@cam.ac.uk>
Date: Wed, 22 Jul 2015 17:36:16 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] Mirage.io site not running?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGV5IGZvbGtzLCAgCgpTZWVtcyBhcyB0aG91Z2ggdGhlIG1pcmFnZSBzaXRlIGlzIHVucmVzcG9u
c2l2ZS4gIEkgbWVyZ2VkIGEgUFIgYW5kIEkgY2FuIHNlZSB0aGUgbmV3IHVuaWtlcm5lbCBpbiB0
aGUgZGVwbG95bWVudCByZXBvLiAgSeKAmW0gbm90IHN1cmUgaWYgdGhpcyBpcyBhbiBpc3N1ZSB3
aXRoIHRoZSBkZXBsb3kgc2NyaXB0LCB0aGUgdW5pa2VybmVsIGl0c2VsZiwgb3IgdGhlIHNlcnZl
ci4KCkNvdWxkIHNvbWVvbmUgdGFrZSBhIGxvb2ssIHBsZWFzZT8KCkFtaXIKX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGlu
ZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54
ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 22 16:36:30 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 22 Jul 2015 16:36:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZHx0G-0000Sh-4N; Wed, 22 Jul 2015 16:36:20 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amirmc@gmail.com>) id 1ZHx0E-0000Sc-Q3
	for mirageos-devel@lists.xenproject.org; Wed, 22 Jul 2015 16:36:18 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	B1/90-16813-286CFA55; Wed, 22 Jul 2015 16:36:18 +0000
X-Env-Sender: amirmc@gmail.com
X-Msg-Ref: server-12.tower-27.messagelabs.com!1437582977!34397962!1
X-Originating-IP: [209.85.212.180]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 10412 invoked from network); 22 Jul 2015 16:36:17 -0000
Received: from mail-wi0-f180.google.com (HELO mail-wi0-f180.google.com)
	(209.85.212.180)
	by server-12.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	22 Jul 2015 16:36:17 -0000
Received: by wibud3 with SMTP id ud3so181058962wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 22 Jul 2015 09:36:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:content-type:content-transfer-encoding:subject:message-id:date
	:to:mime-version;
	bh=+m8eNzWieejxdu0+kfokKkI+M+SUF/WCKc00/gZKsvo=;
	b=rPeq/nQPPidtSjLz03vEKPtwIdT6Sbw+KzNXAWO5+j0iznT317li9DX2eY24lPDNQ2
	iA96dTlUl29lFYPzG6ULcv4/4UsuroHVx8Lk6vHtMYg/xbVpmmk0hELyp/rgAUbK01qT
	8xUCpNO6yM2U6dYHAN5RfTh+PyIq1ERndtS+0sWTqSQ84vyAM9+lsYodb20OnfMMHnFG
	ArQNV4yw9ucfIENLfmdtCQ1b174OXV9ofjfV7lmnnxR/NM0uyKjERa5yghoGhXTCKzre
	C0vi4Z/VyV5WnG+EYPKOmeqVymxJqqoqyEUVkHgh58l6eex222FO53eRSWK3oeycUTih
	FT/g==
X-Received: by 10.180.101.138 with SMTP id fg10mr8312005wib.46.1437582976973; 
	Wed, 22 Jul 2015 09:36:16 -0700 (PDT)
Received: from dhcp-172-17-159-151.eduroam.wireless.private.cam.ac.uk
	(global-1-26.nat.csx.cam.ac.uk. [131.111.184.26])
	by smtp.gmail.com with ESMTPSA id
	bg6sm3184287wjc.13.2015.07.22.09.36.15
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 22 Jul 2015 09:36:15 -0700 (PDT)
From: Amir Chaudhry <amirmc@gmail.com>
X-Google-Original-From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <1C4D3A5F-3AC7-4522-A218-B9F643CD60D4@cam.ac.uk>
Date: Wed, 22 Jul 2015 17:36:16 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] Mirage.io site not running?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGV5IGZvbGtzLCAgCgpTZWVtcyBhcyB0aG91Z2ggdGhlIG1pcmFnZSBzaXRlIGlzIHVucmVzcG9u
c2l2ZS4gIEkgbWVyZ2VkIGEgUFIgYW5kIEkgY2FuIHNlZSB0aGUgbmV3IHVuaWtlcm5lbCBpbiB0
aGUgZGVwbG95bWVudCByZXBvLiAgSeKAmW0gbm90IHN1cmUgaWYgdGhpcyBpcyBhbiBpc3N1ZSB3
aXRoIHRoZSBkZXBsb3kgc2NyaXB0LCB0aGUgdW5pa2VybmVsIGl0c2VsZiwgb3IgdGhlIHNlcnZl
ci4KCkNvdWxkIHNvbWVvbmUgdGFrZSBhIGxvb2ssIHBsZWFzZT8KCkFtaXIKX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGlu
ZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54
ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 22 16:43:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 22 Jul 2015 16:43:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZHx7P-0001BJ-Nf; Wed, 22 Jul 2015 16:43:43 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <prvs=638c79045=Dave.Scott@citrix.com>)
	id 1ZHx7O-0001BE-KY
	for mirageos-devel@lists.xenproject.org; Wed, 22 Jul 2015 16:43:42 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	C7/6A-21557-E38CFA55; Wed, 22 Jul 2015 16:43:42 +0000
X-Env-Sender: prvs=638c79045=Dave.Scott@citrix.com
X-Msg-Ref: server-6.tower-206.messagelabs.com!1437583421!22960495!1
X-Originating-IP: [185.25.65.24]
X-SpamReason: No, hits=0.0 required=7.0 tests=received_headers: No 
	Received headers
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30990 invoked from network); 22 Jul 2015 16:43:41 -0000
Received: from smtp.eu.citrix.com (HELO SMTP.EU.CITRIX.COM) (185.25.65.24)
	by server-6.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	22 Jul 2015 16:43:41 -0000
X-IronPort-AV: E=Sophos;i="5.15,523,1432598400"; 
   d="scan'208";a="1490792"
From: Dave Scott <Dave.Scott@citrix.com>
To: Amir Chaudhry <amirmc@gmail.com>
Thread-Topic: [MirageOS-devel] Mirage.io site not running?
Thread-Index: AQHQxJzHhK9UvX89REWt3+cn9RFEk53nkF8A
Date: Wed, 22 Jul 2015 16:43:40 +0000
Message-ID: <51050D9F-1592-4790-8FB2-FD60EEEF6C2B@citrix.com>
References: <1C4D3A5F-3AC7-4522-A218-B9F643CD60D4@cam.ac.uk>
In-Reply-To: <1C4D3A5F-3AC7-4522-A218-B9F643CD60D4@cam.ac.uk>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-ID: <DB4A7544BAB2464985ADD2DCE1584416@citrix.com>
MIME-Version: 1.0
X-DLP: AMS1
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Mirage.io site not running?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

DQo+IE9uIDIyIEp1bCAyMDE1LCBhdCAxNzozNiwgQW1pciBDaGF1ZGhyeSA8YW1pcm1jQGdtYWls
LmNvbT4gd3JvdGU6DQo+IA0KPiBIZXkgZm9sa3MsICANCj4gDQo+IFNlZW1zIGFzIHRob3VnaCB0
aGUgbWlyYWdlIHNpdGUgaXMgdW5yZXNwb25zaXZlLiAgSSBtZXJnZWQgYSBQUiBhbmQgSSBjYW4g
c2VlIHRoZSBuZXcgdW5pa2VybmVsIGluIHRoZSBkZXBsb3ltZW50IHJlcG8uICBJ4oCZbSBub3Qg
c3VyZSBpZiB0aGlzIGlzIGFuIGlzc3VlIHdpdGggdGhlIGRlcGxveSBzY3JpcHQsIHRoZSB1bmlr
ZXJuZWwgaXRzZWxmLCBvciB0aGUgc2VydmVyLg0KPiANCj4gQ291bGQgc29tZW9uZSB0YWtlIGEg
bG9vaywgcGxlYXNlPw0KDQpNYXliZSBzb21lb25lIGVsc2UgaGFzIGFscmVhZHkgZml4ZWQgaXQs
IGJ1dCBpdCBzZWVtcyB0byBiZSB3b3JraW5nIGZvciBtZS4gSSBjYW4gc2VlIHRoZSDigJhPcmdh
bml6ZWQgY2hhb3PigJkgcG9zdDogSSBhc3N1bWUgdGhpcyBpcyB0aGUgb25lIHlvdSBtZXJnZWQ/
DQoNCkNoZWVycywNCkRhdmUNCg0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxp
c3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21h
aWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 22 16:43:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 22 Jul 2015 16:43:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZHx7P-0001BJ-Nf; Wed, 22 Jul 2015 16:43:43 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <prvs=638c79045=Dave.Scott@citrix.com>)
	id 1ZHx7O-0001BE-KY
	for mirageos-devel@lists.xenproject.org; Wed, 22 Jul 2015 16:43:42 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	C7/6A-21557-E38CFA55; Wed, 22 Jul 2015 16:43:42 +0000
X-Env-Sender: prvs=638c79045=Dave.Scott@citrix.com
X-Msg-Ref: server-6.tower-206.messagelabs.com!1437583421!22960495!1
X-Originating-IP: [185.25.65.24]
X-SpamReason: No, hits=0.0 required=7.0 tests=received_headers: No 
	Received headers
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 30990 invoked from network); 22 Jul 2015 16:43:41 -0000
Received: from smtp.eu.citrix.com (HELO SMTP.EU.CITRIX.COM) (185.25.65.24)
	by server-6.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	22 Jul 2015 16:43:41 -0000
X-IronPort-AV: E=Sophos;i="5.15,523,1432598400"; 
   d="scan'208";a="1490792"
From: Dave Scott <Dave.Scott@citrix.com>
To: Amir Chaudhry <amirmc@gmail.com>
Thread-Topic: [MirageOS-devel] Mirage.io site not running?
Thread-Index: AQHQxJzHhK9UvX89REWt3+cn9RFEk53nkF8A
Date: Wed, 22 Jul 2015 16:43:40 +0000
Message-ID: <51050D9F-1592-4790-8FB2-FD60EEEF6C2B@citrix.com>
References: <1C4D3A5F-3AC7-4522-A218-B9F643CD60D4@cam.ac.uk>
In-Reply-To: <1C4D3A5F-3AC7-4522-A218-B9F643CD60D4@cam.ac.uk>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-ID: <DB4A7544BAB2464985ADD2DCE1584416@citrix.com>
MIME-Version: 1.0
X-DLP: AMS1
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Mirage.io site not running?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

DQo+IE9uIDIyIEp1bCAyMDE1LCBhdCAxNzozNiwgQW1pciBDaGF1ZGhyeSA8YW1pcm1jQGdtYWls
LmNvbT4gd3JvdGU6DQo+IA0KPiBIZXkgZm9sa3MsICANCj4gDQo+IFNlZW1zIGFzIHRob3VnaCB0
aGUgbWlyYWdlIHNpdGUgaXMgdW5yZXNwb25zaXZlLiAgSSBtZXJnZWQgYSBQUiBhbmQgSSBjYW4g
c2VlIHRoZSBuZXcgdW5pa2VybmVsIGluIHRoZSBkZXBsb3ltZW50IHJlcG8uICBJ4oCZbSBub3Qg
c3VyZSBpZiB0aGlzIGlzIGFuIGlzc3VlIHdpdGggdGhlIGRlcGxveSBzY3JpcHQsIHRoZSB1bmlr
ZXJuZWwgaXRzZWxmLCBvciB0aGUgc2VydmVyLg0KPiANCj4gQ291bGQgc29tZW9uZSB0YWtlIGEg
bG9vaywgcGxlYXNlPw0KDQpNYXliZSBzb21lb25lIGVsc2UgaGFzIGFscmVhZHkgZml4ZWQgaXQs
IGJ1dCBpdCBzZWVtcyB0byBiZSB3b3JraW5nIGZvciBtZS4gSSBjYW4gc2VlIHRoZSDigJhPcmdh
bml6ZWQgY2hhb3PigJkgcG9zdDogSSBhc3N1bWUgdGhpcyBpcyB0aGUgb25lIHlvdSBtZXJnZWQ/
DQoNCkNoZWVycywNCkRhdmUNCg0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxp
c3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21h
aWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 22 16:48:11 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 22 Jul 2015 16:48:11 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZHxBi-0001I0-3v; Wed, 22 Jul 2015 16:48:10 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amirmc@gmail.com>) id 1ZHxBg-0001Hv-Ur
	for mirageos-devel@lists.xenproject.org; Wed, 22 Jul 2015 16:48:09 +0000
Received: from [193.109.254.147] by server-5.bemta-14.messagelabs.com id
	D2/15-29123-849CFA55; Wed, 22 Jul 2015 16:48:08 +0000
X-Env-Sender: amirmc@gmail.com
X-Msg-Ref: server-9.tower-27.messagelabs.com!1437583687!34360360!1
X-Originating-IP: [209.85.212.180]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12433 invoked from network); 22 Jul 2015 16:48:07 -0000
Received: from mail-wi0-f180.google.com (HELO mail-wi0-f180.google.com)
	(209.85.212.180)
	by server-9.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	22 Jul 2015 16:48:07 -0000
Received: by wibud3 with SMTP id ud3so162259042wib.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 22 Jul 2015 09:48:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=kG8hA34RPZ3Nl69/Pw9S64SFv6w+Xe7oRJUhd5K0Fnw=;
	b=klHPbMppo7P6sGl2R9a1JySWQp+f2MiU9bVcjR9yHgzamXIcKWEfqJDnb76k4OxI2U
	UMac8iAuY6CtJOrsY62K9sjJi81/8hhivoSTjcz0aNFhDXEDB5GcOUJtLmUxiHEJ2JnF
	LMSUWDOufMMNztM/BBtFB81kP7HZaSqhwuZyQUj2CURJaUwYA2SIn2k2vbKD/bJ5wrky
	ZTGKyzMn6hcxxidVheOqMnSR9Ggp+JSTza3lFkKBvB3bH7mS2qYRKQGgSi+ZYrcC3Ut/
	L+7OOuQd2B5mpi2IHrSiCPeYcIIzoDBcPtS9wWruLIWlzmQpAWnElvdQeP7NpP1Uz5fP
	HJuA==
X-Received: by 10.180.14.200 with SMTP id r8mr8450583wic.53.1437583687107;
	Wed, 22 Jul 2015 09:48:07 -0700 (PDT)
Received: from dhcp-172-17-159-151.eduroam.wireless.private.cam.ac.uk
	(global-1-26.nat.csx.cam.ac.uk. [131.111.184.26])
	by smtp.gmail.com with ESMTPSA id
	b13sm4221401wic.15.2015.07.22.09.48.05
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 22 Jul 2015 09:48:06 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Amir Chaudhry <amirmc@gmail.com>
In-Reply-To: <51050D9F-1592-4790-8FB2-FD60EEEF6C2B@citrix.com>
Date: Wed, 22 Jul 2015 17:48:07 +0100
Message-Id: <251547A8-84CB-4A28-A153-D7D452F7113C@gmail.com>
References: <1C4D3A5F-3AC7-4522-A218-B9F643CD60D4@cam.ac.uk>
	<51050D9F-1592-4790-8FB2-FD60EEEF6C2B@citrix.com>
To: David Scott <Dave.Scott@citrix.com>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Mirage.io site not running?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Cj4gT24gMjIgSnVsIDIwMTUsIGF0IDE3OjQzLCBEYXZlIFNjb3R0IDxEYXZlLlNjb3R0QGNpdHJp
eC5jb20+IHdyb3RlOgo+IAo+IAo+PiBPbiAyMiBKdWwgMjAxNSwgYXQgMTc6MzYsIEFtaXIgQ2hh
dWRocnkgPGFtaXJtY0BnbWFpbC5jb20+IHdyb3RlOgo+PiAKPj4gSGV5IGZvbGtzLCAgCj4+IAo+
PiBTZWVtcyBhcyB0aG91Z2ggdGhlIG1pcmFnZSBzaXRlIGlzIHVucmVzcG9uc2l2ZS4gIEkgbWVy
Z2VkIGEgUFIgYW5kIEkgY2FuIHNlZSB0aGUgbmV3IHVuaWtlcm5lbCBpbiB0aGUgZGVwbG95bWVu
dCByZXBvLiAgSeKAmW0gbm90IHN1cmUgaWYgdGhpcyBpcyBhbiBpc3N1ZSB3aXRoIHRoZSBkZXBs
b3kgc2NyaXB0LCB0aGUgdW5pa2VybmVsIGl0c2VsZiwgb3IgdGhlIHNlcnZlci4KPj4gCj4+IENv
dWxkIHNvbWVvbmUgdGFrZSBhIGxvb2ssIHBsZWFzZT8KPiAKPiBNYXliZSBzb21lb25lIGVsc2Ug
aGFzIGFscmVhZHkgZml4ZWQgaXQsIGJ1dCBpdCBzZWVtcyB0byBiZSB3b3JraW5nIGZvciBtZS4g
SSBjYW4gc2VlIHRoZSDigJhPcmdhbml6ZWQgY2hhb3PigJkgcG9zdDogSSBhc3N1bWUgdGhpcyBp
cyB0aGUgb25lIHlvdSBtZXJnZWQ/CgpZdXAuIEkgd2VudCBhbmQgc3Bva2UgdG8gVGhvbWFzRyB3
aG8gaGFkIGEgbG9vayBhdCBwdW5rICh0aGUgbWFjaGluZSB0aGUgc2l0ZSBpcyBzZXJ2ZWQgZnJv
bSkuICBUaGUgZGlzayB3YXMgZnVsbCBidXQgaGUgY2xlYXJlZCBvdXQgc29tZSB0aGluZ3MuCgpJ
4oCZdmUgbWFkZSBhbiBpc3N1ZSB0byB0cmFjayB0aGlzIGF0IGh0dHBzOi8vZ2l0aHViLmNvbS9t
aXJhZ2UvbWlyYWdlLXd3dy9pc3N1ZXMvMzc5CgpBQwoKCl9fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJh
Z2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5v
cmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 22 16:48:11 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 22 Jul 2015 16:48:11 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZHxBi-0001I0-3v; Wed, 22 Jul 2015 16:48:10 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amirmc@gmail.com>) id 1ZHxBg-0001Hv-Ur
	for mirageos-devel@lists.xenproject.org; Wed, 22 Jul 2015 16:48:09 +0000
Received: from [193.109.254.147] by server-5.bemta-14.messagelabs.com id
	D2/15-29123-849CFA55; Wed, 22 Jul 2015 16:48:08 +0000
X-Env-Sender: amirmc@gmail.com
X-Msg-Ref: server-9.tower-27.messagelabs.com!1437583687!34360360!1
X-Originating-IP: [209.85.212.180]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12433 invoked from network); 22 Jul 2015 16:48:07 -0000
Received: from mail-wi0-f180.google.com (HELO mail-wi0-f180.google.com)
	(209.85.212.180)
	by server-9.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	22 Jul 2015 16:48:07 -0000
Received: by wibud3 with SMTP id ud3so162259042wib.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 22 Jul 2015 09:48:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=kG8hA34RPZ3Nl69/Pw9S64SFv6w+Xe7oRJUhd5K0Fnw=;
	b=klHPbMppo7P6sGl2R9a1JySWQp+f2MiU9bVcjR9yHgzamXIcKWEfqJDnb76k4OxI2U
	UMac8iAuY6CtJOrsY62K9sjJi81/8hhivoSTjcz0aNFhDXEDB5GcOUJtLmUxiHEJ2JnF
	LMSUWDOufMMNztM/BBtFB81kP7HZaSqhwuZyQUj2CURJaUwYA2SIn2k2vbKD/bJ5wrky
	ZTGKyzMn6hcxxidVheOqMnSR9Ggp+JSTza3lFkKBvB3bH7mS2qYRKQGgSi+ZYrcC3Ut/
	L+7OOuQd2B5mpi2IHrSiCPeYcIIzoDBcPtS9wWruLIWlzmQpAWnElvdQeP7NpP1Uz5fP
	HJuA==
X-Received: by 10.180.14.200 with SMTP id r8mr8450583wic.53.1437583687107;
	Wed, 22 Jul 2015 09:48:07 -0700 (PDT)
Received: from dhcp-172-17-159-151.eduroam.wireless.private.cam.ac.uk
	(global-1-26.nat.csx.cam.ac.uk. [131.111.184.26])
	by smtp.gmail.com with ESMTPSA id
	b13sm4221401wic.15.2015.07.22.09.48.05
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 22 Jul 2015 09:48:06 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Amir Chaudhry <amirmc@gmail.com>
In-Reply-To: <51050D9F-1592-4790-8FB2-FD60EEEF6C2B@citrix.com>
Date: Wed, 22 Jul 2015 17:48:07 +0100
Message-Id: <251547A8-84CB-4A28-A153-D7D452F7113C@gmail.com>
References: <1C4D3A5F-3AC7-4522-A218-B9F643CD60D4@cam.ac.uk>
	<51050D9F-1592-4790-8FB2-FD60EEEF6C2B@citrix.com>
To: David Scott <Dave.Scott@citrix.com>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Mirage.io site not running?
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Cj4gT24gMjIgSnVsIDIwMTUsIGF0IDE3OjQzLCBEYXZlIFNjb3R0IDxEYXZlLlNjb3R0QGNpdHJp
eC5jb20+IHdyb3RlOgo+IAo+IAo+PiBPbiAyMiBKdWwgMjAxNSwgYXQgMTc6MzYsIEFtaXIgQ2hh
dWRocnkgPGFtaXJtY0BnbWFpbC5jb20+IHdyb3RlOgo+PiAKPj4gSGV5IGZvbGtzLCAgCj4+IAo+
PiBTZWVtcyBhcyB0aG91Z2ggdGhlIG1pcmFnZSBzaXRlIGlzIHVucmVzcG9uc2l2ZS4gIEkgbWVy
Z2VkIGEgUFIgYW5kIEkgY2FuIHNlZSB0aGUgbmV3IHVuaWtlcm5lbCBpbiB0aGUgZGVwbG95bWVu
dCByZXBvLiAgSeKAmW0gbm90IHN1cmUgaWYgdGhpcyBpcyBhbiBpc3N1ZSB3aXRoIHRoZSBkZXBs
b3kgc2NyaXB0LCB0aGUgdW5pa2VybmVsIGl0c2VsZiwgb3IgdGhlIHNlcnZlci4KPj4gCj4+IENv
dWxkIHNvbWVvbmUgdGFrZSBhIGxvb2ssIHBsZWFzZT8KPiAKPiBNYXliZSBzb21lb25lIGVsc2Ug
aGFzIGFscmVhZHkgZml4ZWQgaXQsIGJ1dCBpdCBzZWVtcyB0byBiZSB3b3JraW5nIGZvciBtZS4g
SSBjYW4gc2VlIHRoZSDigJhPcmdhbml6ZWQgY2hhb3PigJkgcG9zdDogSSBhc3N1bWUgdGhpcyBp
cyB0aGUgb25lIHlvdSBtZXJnZWQ/CgpZdXAuIEkgd2VudCBhbmQgc3Bva2UgdG8gVGhvbWFzRyB3
aG8gaGFkIGEgbG9vayBhdCBwdW5rICh0aGUgbWFjaGluZSB0aGUgc2l0ZSBpcyBzZXJ2ZWQgZnJv
bSkuICBUaGUgZGlzayB3YXMgZnVsbCBidXQgaGUgY2xlYXJlZCBvdXQgc29tZSB0aGluZ3MuCgpJ
4oCZdmUgbWFkZSBhbiBpc3N1ZSB0byB0cmFjayB0aGlzIGF0IGh0dHBzOi8vZ2l0aHViLmNvbS9t
aXJhZ2UvbWlyYWdlLXd3dy9pc3N1ZXMvMzc5CgpBQwoKCl9fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJh
Z2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5v
cmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 22 16:52:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 22 Jul 2015 16:52:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZHxFr-0001pG-GR; Wed, 22 Jul 2015 16:52:27 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amirmc@gmail.com>) id 1ZHxFq-0001p9-Gz
	for mirageos-devel@lists.xenproject.org; Wed, 22 Jul 2015 16:52:26 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	CA/94-13517-64ACFA55; Wed, 22 Jul 2015 16:52:22 +0000
X-Env-Sender: amirmc@gmail.com
X-Msg-Ref: server-15.tower-31.messagelabs.com!1437583941!28194171!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24100 invoked from network); 22 Jul 2015 16:52:21 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	22 Jul 2015 16:52:21 -0000
Received: by wibud3 with SMTP id ud3so181683714wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 22 Jul 2015 09:52:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:content-type:content-transfer-encoding:subject:message-id:date
	:to:mime-version;
	bh=/qrlsVs9+DpD87EIT42/qwssIPgMMbLXSTF1RuMvgPE=;
	b=ej0rrfnHBrMzgQUZN8UEd/YT/9w20FETOZx+xUPkR1bgMGFQ3/L2J9zj8QDBZ/yFeu
	+zaYvd2r2BgnEtNelFRLCDYCpAabEdKtn3mKS0i/6FUe0h6bokg2KZVYRNgndsAGcXyT
	MauJEWdhGdn8D7ueLAliPUz42kDJGfn/T1JPbsVjKCZKzaqw5MzaGo3CrVHOAlsLT9qu
	fHxno+NnKx59B0/xQnWwImDsHdfNICffqVFI6uucXFoERsJuOUadKjTwizWD2fhHkxFP
	djqGef6D7bRkj/vrNypK8lIjN7R+u0I9SNqTkZoAUQTbJKpL45YCQQBPSPSejrE012UE
	wH4A==
X-Received: by 10.194.58.167 with SMTP id s7mr6939287wjq.38.1437583940936;
	Wed, 22 Jul 2015 09:52:20 -0700 (PDT)
Received: from dhcp-172-17-159-151.eduroam.wireless.private.cam.ac.uk
	(global-1-26.nat.csx.cam.ac.uk. [131.111.184.26])
	by smtp.gmail.com with ESMTPSA id fm8sm4252840wib.9.2015.07.22.09.52.19
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 22 Jul 2015 09:52:20 -0700 (PDT)
From: Amir Chaudhry <amirmc@gmail.com>
Message-Id: <932BF7A7-6D8B-483A-A220-37B7802CDC52@gmail.com>
Date: Wed, 22 Jul 2015 17:52:21 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] Post on Organized chaos: managing randomness
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MhCgpXZSBqdXN0IHB1c2hlZCBhIG5ldyBibG9nIHBvc3QgYnkgRGF2aWQgS2Fsb3Bl
ciBhYm91dCBlbnRyb3B5IGFuZCByYW5kb20gbnVtYmVyIGdlbmVyYXRpb24gaW4gTWlyYWdlT1Mu
CgpPcmdhbml6ZWQgY2hhb3M6IG1hbmFnaW5nIHJhbmRvbW5lc3MKaHR0cHM6Ly9taXJhZ2UuaW8v
YmxvZy9taXJhZ2UtZW50cm9weQoKUGxlYXNlIGZlZWwgZnJlZSB0byBkaXNjdXNzIGl0IGhlcmUh
CgpCZXN0IHdpc2hlcywKQW1pcgoKUFMgYXMgYSBzaWRlIG5vdGUsIEnigJltIGN1cmlvdXMgaWYg
YW55b25lIHdvdWxkIGxpa2UgdG8gd3JpdGUgYSBndWVzdCBwb3N0IGZvciB0aGUgTWlyYWdlT1Mg
YmxvZy4gIElmIHNvLCBwbGVhc2UgZG8gbGV0IG1lIGtub3cgKG9mZi1saXN0KS4KX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFp
bGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0
cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 22 16:52:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 22 Jul 2015 16:52:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZHxFr-0001pG-GR; Wed, 22 Jul 2015 16:52:27 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amirmc@gmail.com>) id 1ZHxFq-0001p9-Gz
	for mirageos-devel@lists.xenproject.org; Wed, 22 Jul 2015 16:52:26 +0000
Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id
	CA/94-13517-64ACFA55; Wed, 22 Jul 2015 16:52:22 +0000
X-Env-Sender: amirmc@gmail.com
X-Msg-Ref: server-15.tower-31.messagelabs.com!1437583941!28194171!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24100 invoked from network); 22 Jul 2015 16:52:21 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-15.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	22 Jul 2015 16:52:21 -0000
Received: by wibud3 with SMTP id ud3so181683714wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 22 Jul 2015 09:52:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:content-type:content-transfer-encoding:subject:message-id:date
	:to:mime-version;
	bh=/qrlsVs9+DpD87EIT42/qwssIPgMMbLXSTF1RuMvgPE=;
	b=ej0rrfnHBrMzgQUZN8UEd/YT/9w20FETOZx+xUPkR1bgMGFQ3/L2J9zj8QDBZ/yFeu
	+zaYvd2r2BgnEtNelFRLCDYCpAabEdKtn3mKS0i/6FUe0h6bokg2KZVYRNgndsAGcXyT
	MauJEWdhGdn8D7ueLAliPUz42kDJGfn/T1JPbsVjKCZKzaqw5MzaGo3CrVHOAlsLT9qu
	fHxno+NnKx59B0/xQnWwImDsHdfNICffqVFI6uucXFoERsJuOUadKjTwizWD2fhHkxFP
	djqGef6D7bRkj/vrNypK8lIjN7R+u0I9SNqTkZoAUQTbJKpL45YCQQBPSPSejrE012UE
	wH4A==
X-Received: by 10.194.58.167 with SMTP id s7mr6939287wjq.38.1437583940936;
	Wed, 22 Jul 2015 09:52:20 -0700 (PDT)
Received: from dhcp-172-17-159-151.eduroam.wireless.private.cam.ac.uk
	(global-1-26.nat.csx.cam.ac.uk. [131.111.184.26])
	by smtp.gmail.com with ESMTPSA id fm8sm4252840wib.9.2015.07.22.09.52.19
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 22 Jul 2015 09:52:20 -0700 (PDT)
From: Amir Chaudhry <amirmc@gmail.com>
Message-Id: <932BF7A7-6D8B-483A-A220-37B7802CDC52@gmail.com>
Date: Wed, 22 Jul 2015 17:52:21 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] Post on Organized chaos: managing randomness
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MhCgpXZSBqdXN0IHB1c2hlZCBhIG5ldyBibG9nIHBvc3QgYnkgRGF2aWQgS2Fsb3Bl
ciBhYm91dCBlbnRyb3B5IGFuZCByYW5kb20gbnVtYmVyIGdlbmVyYXRpb24gaW4gTWlyYWdlT1Mu
CgpPcmdhbml6ZWQgY2hhb3M6IG1hbmFnaW5nIHJhbmRvbW5lc3MKaHR0cHM6Ly9taXJhZ2UuaW8v
YmxvZy9taXJhZ2UtZW50cm9weQoKUGxlYXNlIGZlZWwgZnJlZSB0byBkaXNjdXNzIGl0IGhlcmUh
CgpCZXN0IHdpc2hlcywKQW1pcgoKUFMgYXMgYSBzaWRlIG5vdGUsIEnigJltIGN1cmlvdXMgaWYg
YW55b25lIHdvdWxkIGxpa2UgdG8gd3JpdGUgYSBndWVzdCBwb3N0IGZvciB0aGUgTWlyYWdlT1Mg
YmxvZy4gIElmIHNvLCBwbGVhc2UgZG8gbGV0IG1lIGtub3cgKG9mZi1saXN0KS4KX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2ZWwgbWFp
bGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6Ly9saXN0
cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 23 09:53:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 23 Jul 2015 09:53:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIDBg-00026U-L3; Thu, 23 Jul 2015 09:53:12 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <jeremias@blendin.org>) id 1ZIDBf-00025l-AA
	for mirageos-devel@lists.xenproject.org; Thu, 23 Jul 2015 09:53:11 +0000
Received: from [193.109.254.147] by server-2.bemta-14.messagelabs.com id
	43/48-31258-689B0B55; Thu, 23 Jul 2015 09:53:10 +0000
X-Env-Sender: jeremias@blendin.org
X-Msg-Ref: server-15.tower-27.messagelabs.com!1437645189!34576318!1
X-Originating-IP: [209.85.220.171]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12487 invoked from network); 23 Jul 2015 09:53:09 -0000
Received: from mail-qk0-f171.google.com (HELO mail-qk0-f171.google.com)
	(209.85.220.171)
	by server-15.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	23 Jul 2015 09:53:09 -0000
Received: by qkfc129 with SMTP id c129so127032539qkf.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 23 Jul 2015 02:53:08 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:date:message-id:subject:from:to
	:content-type;
	bh=SWUyvRtCQ8TzTC0lVp4VPEhhKgNqJuF/DysuPl1QYEI=;
	b=kHyfPO1wxDV8jRAAAsLntmTVpZg22gbFOnIGnedE4+4EPogvrRUt33W2UHxcE1f6OE
	HLtttKlzKBXuz5aXsqa/L1m688CPON8u45RiJnNxlU91YFWgJBegytreego7b50fHXDd
	+KUeeQFZw3tgDMDnT+NqWOXB6m+7EJW7ctLiTYpVvq9BIF57GSSug5ebqcqaEitAzo48
	PmaTEKzV1BOab+Debyj+lzVAVTgLsqbzKBvbhogkrrf61SpyYqXFT7Gir4lHSLPs9jlN
	yUcQd79at8ILeAZ69SnBtk29x4navhj8gXeJXNPBu+HuT3dvrytUl4Ea9zAsd0VC/4k3
	JfCw==
X-Gm-Message-State: ALoCoQmMY3n62umvkSeYqg0b9/4eW8qUnkKm8oyxoeTmR1VNe2yv6cG13xMYYvPAq+N7IlmC7cbo
MIME-Version: 1.0
X-Received: by 10.55.16.151 with SMTP id 23mr10200669qkq.98.1437645188854;
	Thu, 23 Jul 2015 02:53:08 -0700 (PDT)
Received: by 10.96.254.166 with HTTP; Thu, 23 Jul 2015 02:53:08 -0700 (PDT)
Date: Thu, 23 Jul 2015 11:53:08 +0200
Message-ID: <CAFZrTr6Q3vQ1tBkLFXTh3F+QxLcLgBS1tg2RfDsMjSGwoMYgEA@mail.gmail.com>
From: Jeremias Blendin <jeremias@blendin.org>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] Convenience questions regarding mirage-tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

I am looking for a TCP/IP userland implementation to use as a
foundation for a TCP session transfer system (transfer as in Server1
-> Server2). I want to freeze the TCP stack, dump its state, move the
state to another server and rebuild the session from the dumped state.

Any ideas/hints if implementing this functionality with Mirage TCP/IP
makes sense or is even possible?

Any pointers are appreciated :)

Best

Jeremias

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 23 09:53:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 23 Jul 2015 09:53:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIDBg-00026U-L3; Thu, 23 Jul 2015 09:53:12 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <jeremias@blendin.org>) id 1ZIDBf-00025l-AA
	for mirageos-devel@lists.xenproject.org; Thu, 23 Jul 2015 09:53:11 +0000
Received: from [193.109.254.147] by server-2.bemta-14.messagelabs.com id
	43/48-31258-689B0B55; Thu, 23 Jul 2015 09:53:10 +0000
X-Env-Sender: jeremias@blendin.org
X-Msg-Ref: server-15.tower-27.messagelabs.com!1437645189!34576318!1
X-Originating-IP: [209.85.220.171]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12487 invoked from network); 23 Jul 2015 09:53:09 -0000
Received: from mail-qk0-f171.google.com (HELO mail-qk0-f171.google.com)
	(209.85.220.171)
	by server-15.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	23 Jul 2015 09:53:09 -0000
Received: by qkfc129 with SMTP id c129so127032539qkf.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 23 Jul 2015 02:53:08 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:date:message-id:subject:from:to
	:content-type;
	bh=SWUyvRtCQ8TzTC0lVp4VPEhhKgNqJuF/DysuPl1QYEI=;
	b=kHyfPO1wxDV8jRAAAsLntmTVpZg22gbFOnIGnedE4+4EPogvrRUt33W2UHxcE1f6OE
	HLtttKlzKBXuz5aXsqa/L1m688CPON8u45RiJnNxlU91YFWgJBegytreego7b50fHXDd
	+KUeeQFZw3tgDMDnT+NqWOXB6m+7EJW7ctLiTYpVvq9BIF57GSSug5ebqcqaEitAzo48
	PmaTEKzV1BOab+Debyj+lzVAVTgLsqbzKBvbhogkrrf61SpyYqXFT7Gir4lHSLPs9jlN
	yUcQd79at8ILeAZ69SnBtk29x4navhj8gXeJXNPBu+HuT3dvrytUl4Ea9zAsd0VC/4k3
	JfCw==
X-Gm-Message-State: ALoCoQmMY3n62umvkSeYqg0b9/4eW8qUnkKm8oyxoeTmR1VNe2yv6cG13xMYYvPAq+N7IlmC7cbo
MIME-Version: 1.0
X-Received: by 10.55.16.151 with SMTP id 23mr10200669qkq.98.1437645188854;
	Thu, 23 Jul 2015 02:53:08 -0700 (PDT)
Received: by 10.96.254.166 with HTTP; Thu, 23 Jul 2015 02:53:08 -0700 (PDT)
Date: Thu, 23 Jul 2015 11:53:08 +0200
Message-ID: <CAFZrTr6Q3vQ1tBkLFXTh3F+QxLcLgBS1tg2RfDsMjSGwoMYgEA@mail.gmail.com>
From: Jeremias Blendin <jeremias@blendin.org>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] Convenience questions regarding mirage-tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

I am looking for a TCP/IP userland implementation to use as a
foundation for a TCP session transfer system (transfer as in Server1
-> Server2). I want to freeze the TCP stack, dump its state, move the
state to another server and rebuild the session from the dumped state.

Any ideas/hints if implementing this functionality with Mirage TCP/IP
makes sense or is even possible?

Any pointers are appreciated :)

Best

Jeremias

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 23 10:10:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 23 Jul 2015 10:10:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIDSM-0004XS-7J; Thu, 23 Jul 2015 10:10:26 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZIDSK-0004XJ-F2
	for mirageos-devel@lists.xenproject.org; Thu, 23 Jul 2015 10:10:24 +0000
Received: from [85.158.139.211] by server-15.bemta-5.messagelabs.com id
	6C/08-12200-F8DB0B55; Thu, 23 Jul 2015 10:10:23 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-11.tower-206.messagelabs.com!1437646223!19001946!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23695 invoked from network); 23 Jul 2015 10:10:23 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-11.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	23 Jul 2015 10:10:23 -0000
Received: by wibud3 with SMTP id ud3so16856811wib.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 23 Jul 2015 03:10:23 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=pVLwYrnAcBDtX84lNM2EXn5deymY/wRyeJHIpdLO2d4=;
	b=DdQWYCQ8Ihgqh18o6AMt2L2pkDfZUtCsfD9JY/38GFYIcbMntktAv7NYF+pS2/buWB
	mG0HXkUgkmNOuqmbyn78Xp94m+/UYWIYABYot1rStBGVC7dnBD7i+w0TkpOlyEEQHlhx
	AEKNayV2Qu8UflbjLncBt3mPoPV0SV8EgibAZLVVt+XI8B+YoC36VVns4bp0CBXO/1qN
	xWgwT9ezPQVpx6nBCYDO0SryIBrGE2uD+7snCFUrsX7mtHJo1y4yL8DlBvYT6LAjJIZq
	DDtylUP6Rxr9DJr/9FBseX3pUP+AWFxqCCKgXxDpCkmoFqx0MXUIC2xWj3C6Y+BdPdvw
	9LJQ==
X-Received: by 10.180.77.129 with SMTP id s1mr15647422wiw.67.1437646222952;
	Thu, 23 Jul 2015 03:10:22 -0700 (PDT)
Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com.
	[209.85.212.173]) by smtp.gmail.com with ESMTPSA id
	fb3sm26376526wib.21.2015.07.23.03.10.21
	for <mirageos-devel@lists.xenproject.org>
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 23 Jul 2015 03:10:22 -0700 (PDT)
Received: by wicmv11 with SMTP id mv11so16829298wic.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 23 Jul 2015 03:10:21 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.203.138 with SMTP id kq10mr15213129wjc.124.1437646221582;
	Thu, 23 Jul 2015 03:10:21 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Thu, 23 Jul 2015 03:10:21 -0700 (PDT)
In-Reply-To: <CAFZrTr6Q3vQ1tBkLFXTh3F+QxLcLgBS1tg2RfDsMjSGwoMYgEA@mail.gmail.com>
References: <CAFZrTr6Q3vQ1tBkLFXTh3F+QxLcLgBS1tg2RfDsMjSGwoMYgEA@mail.gmail.com>
Date: Thu, 23 Jul 2015 11:10:21 +0100
Message-ID: <CAN2Hq04dhXZ4943aOwevvKWKUYK9vwcHPGpN5qwG+bytNktZiA@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Jeremias Blendin <jeremias@blendin.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Convenience questions regarding mirage-tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 23 July 2015 at 10:53, Jeremias Blendin <jeremias@blendin.org> wrote:
>
> I am looking for a TCP/IP userland implementation to use as a
> foundation for a TCP session transfer system (transfer as in Server1
> -> Server2). I want to freeze the TCP stack, dump its state, move the
> state to another server and rebuild the session from the dumped state.
>
> Any ideas/hints if implementing this functionality with Mirage TCP/IP
> makes sense or is even possible?

All things are possible, to some extent :)

That's actually something we've discussed -- Mindy Preston was
starting to work on it. The approach we were taking was roughly to use
Irmin to serialise state -- a first prototype doing this for ARP is at
https://github.com/yomimono/irmin-arp. Extending this to the full
TCP/IP stack is definitely an interesting thing to try! (And now that
Irmin has more Xen support, it should be possible to push it forwards
too.)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 23 10:10:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 23 Jul 2015 10:10:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIDSM-0004XS-7J; Thu, 23 Jul 2015 10:10:26 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <richard.mortier@gmail.com>) id 1ZIDSK-0004XJ-F2
	for mirageos-devel@lists.xenproject.org; Thu, 23 Jul 2015 10:10:24 +0000
Received: from [85.158.139.211] by server-15.bemta-5.messagelabs.com id
	6C/08-12200-F8DB0B55; Thu, 23 Jul 2015 10:10:23 +0000
X-Env-Sender: richard.mortier@gmail.com
X-Msg-Ref: server-11.tower-206.messagelabs.com!1437646223!19001946!1
X-Originating-IP: [209.85.212.172]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 23695 invoked from network); 23 Jul 2015 10:10:23 -0000
Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com)
	(209.85.212.172)
	by server-11.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	23 Jul 2015 10:10:23 -0000
Received: by wibud3 with SMTP id ud3so16856811wib.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 23 Jul 2015 03:10:23 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=pVLwYrnAcBDtX84lNM2EXn5deymY/wRyeJHIpdLO2d4=;
	b=DdQWYCQ8Ihgqh18o6AMt2L2pkDfZUtCsfD9JY/38GFYIcbMntktAv7NYF+pS2/buWB
	mG0HXkUgkmNOuqmbyn78Xp94m+/UYWIYABYot1rStBGVC7dnBD7i+w0TkpOlyEEQHlhx
	AEKNayV2Qu8UflbjLncBt3mPoPV0SV8EgibAZLVVt+XI8B+YoC36VVns4bp0CBXO/1qN
	xWgwT9ezPQVpx6nBCYDO0SryIBrGE2uD+7snCFUrsX7mtHJo1y4yL8DlBvYT6LAjJIZq
	DDtylUP6Rxr9DJr/9FBseX3pUP+AWFxqCCKgXxDpCkmoFqx0MXUIC2xWj3C6Y+BdPdvw
	9LJQ==
X-Received: by 10.180.77.129 with SMTP id s1mr15647422wiw.67.1437646222952;
	Thu, 23 Jul 2015 03:10:22 -0700 (PDT)
Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com.
	[209.85.212.173]) by smtp.gmail.com with ESMTPSA id
	fb3sm26376526wib.21.2015.07.23.03.10.21
	for <mirageos-devel@lists.xenproject.org>
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Thu, 23 Jul 2015 03:10:22 -0700 (PDT)
Received: by wicmv11 with SMTP id mv11so16829298wic.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 23 Jul 2015 03:10:21 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.203.138 with SMTP id kq10mr15213129wjc.124.1437646221582;
	Thu, 23 Jul 2015 03:10:21 -0700 (PDT)
Received: by 10.28.176.4 with HTTP; Thu, 23 Jul 2015 03:10:21 -0700 (PDT)
In-Reply-To: <CAFZrTr6Q3vQ1tBkLFXTh3F+QxLcLgBS1tg2RfDsMjSGwoMYgEA@mail.gmail.com>
References: <CAFZrTr6Q3vQ1tBkLFXTh3F+QxLcLgBS1tg2RfDsMjSGwoMYgEA@mail.gmail.com>
Date: Thu, 23 Jul 2015 11:10:21 +0100
Message-ID: <CAN2Hq04dhXZ4943aOwevvKWKUYK9vwcHPGpN5qwG+bytNktZiA@mail.gmail.com>
From: Richard Mortier <richard.mortier@cl.cam.ac.uk>
To: Jeremias Blendin <jeremias@blendin.org>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Convenience questions regarding mirage-tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 23 July 2015 at 10:53, Jeremias Blendin <jeremias@blendin.org> wrote:
>
> I am looking for a TCP/IP userland implementation to use as a
> foundation for a TCP session transfer system (transfer as in Server1
> -> Server2). I want to freeze the TCP stack, dump its state, move the
> state to another server and rebuild the session from the dumped state.
>
> Any ideas/hints if implementing this functionality with Mirage TCP/IP
> makes sense or is even possible?

All things are possible, to some extent :)

That's actually something we've discussed -- Mindy Preston was
starting to work on it. The approach we were taking was roughly to use
Irmin to serialise state -- a first prototype doing this for ARP is at
https://github.com/yomimono/irmin-arp. Extending this to the full
TCP/IP stack is definitely an interesting thing to try! (And now that
Irmin has more Xen support, it should be possible to push it forwards
too.)

-- 
Richard Mortier
richard.mortier@cl.cam.ac.uk

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 23 16:44:16 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 23 Jul 2015 16:44:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIJbM-0001Fa-Bd; Thu, 23 Jul 2015 16:44:08 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZIJbK-0001EE-DZ
	for mirageos-devel@lists.xenproject.org; Thu, 23 Jul 2015 16:44:06 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	E1/54-21557-2D911B55; Thu, 23 Jul 2015 16:44:02 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-6.tower-206.messagelabs.com!1437669841!23245266!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11853 invoked from network); 23 Jul 2015 16:44:01 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-6.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jul 2015 16:44:01 -0000
Received: from flick.home (host81-134-29-229.in-addr.btopenworld.com
	[81.134.29.229]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 33f0cfab;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 23 Jul 2015 17:44:00 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAN2Hq04dhXZ4943aOwevvKWKUYK9vwcHPGpN5qwG+bytNktZiA@mail.gmail.com>
Date: Thu, 23 Jul 2015 17:43:58 +0100
Message-Id: <7B6955E5-CED2-40B7-ACC5-47D7DF0444A9@recoil.org>
References: <CAFZrTr6Q3vQ1tBkLFXTh3F+QxLcLgBS1tg2RfDsMjSGwoMYgEA@mail.gmail.com>
	<CAN2Hq04dhXZ4943aOwevvKWKUYK9vwcHPGpN5qwG+bytNktZiA@mail.gmail.com>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Convenience questions regarding mirage-tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 23 Jul 2015, at 11:10, Richard Mortier <richard.mortier@cl.cam.ac.uk> wrote:
> 
> On 23 July 2015 at 10:53, Jeremias Blendin <jeremias@blendin.org> wrote:
>> 
>> I am looking for a TCP/IP userland implementation to use as a
>> foundation for a TCP session transfer system (transfer as in Server1
>> -> Server2). I want to freeze the TCP stack, dump its state, move the
>> state to another server and rebuild the session from the dumped state.
>> 
>> Any ideas/hints if implementing this functionality with Mirage TCP/IP
>> makes sense or is even possible?
> 
> All things are possible, to some extent :)
> 
> That's actually something we've discussed -- Mindy Preston was
> starting to work on it. The approach we were taking was roughly to use
> Irmin to serialise state -- a first prototype doing this for ARP is at
> https://github.com/yomimono/irmin-arp. Extending this to the full
> TCP/IP stack is definitely an interesting thing to try! (And now that
> Irmin has more Xen support, it should be possible to push it forwards
> too.)

Yep -- pickling the TCP state should be fairly straightforward, since
most of the stack supports s-expression converters.

The trick is reconstructing it and ensuring that all the right hooks
(such as timers) are all fired as a result.

What sort of userland API did you have in mind for your application?
Do you mind linking directly against the OCaml TCP/IP stack?

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 23 16:44:16 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 23 Jul 2015 16:44:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIJbM-0001Fa-Bd; Thu, 23 Jul 2015 16:44:08 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZIJbK-0001EE-DZ
	for mirageos-devel@lists.xenproject.org; Thu, 23 Jul 2015 16:44:06 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	E1/54-21557-2D911B55; Thu, 23 Jul 2015 16:44:02 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-6.tower-206.messagelabs.com!1437669841!23245266!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11853 invoked from network); 23 Jul 2015 16:44:01 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-6.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jul 2015 16:44:01 -0000
Received: from flick.home (host81-134-29-229.in-addr.btopenworld.com
	[81.134.29.229]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 33f0cfab;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 23 Jul 2015 17:44:00 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAN2Hq04dhXZ4943aOwevvKWKUYK9vwcHPGpN5qwG+bytNktZiA@mail.gmail.com>
Date: Thu, 23 Jul 2015 17:43:58 +0100
Message-Id: <7B6955E5-CED2-40B7-ACC5-47D7DF0444A9@recoil.org>
References: <CAFZrTr6Q3vQ1tBkLFXTh3F+QxLcLgBS1tg2RfDsMjSGwoMYgEA@mail.gmail.com>
	<CAN2Hq04dhXZ4943aOwevvKWKUYK9vwcHPGpN5qwG+bytNktZiA@mail.gmail.com>
To: Richard Mortier <richard.mortier@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.2098)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Convenience questions regarding mirage-tcpip
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 23 Jul 2015, at 11:10, Richard Mortier <richard.mortier@cl.cam.ac.uk> wrote:
> 
> On 23 July 2015 at 10:53, Jeremias Blendin <jeremias@blendin.org> wrote:
>> 
>> I am looking for a TCP/IP userland implementation to use as a
>> foundation for a TCP session transfer system (transfer as in Server1
>> -> Server2). I want to freeze the TCP stack, dump its state, move the
>> state to another server and rebuild the session from the dumped state.
>> 
>> Any ideas/hints if implementing this functionality with Mirage TCP/IP
>> makes sense or is even possible?
> 
> All things are possible, to some extent :)
> 
> That's actually something we've discussed -- Mindy Preston was
> starting to work on it. The approach we were taking was roughly to use
> Irmin to serialise state -- a first prototype doing this for ARP is at
> https://github.com/yomimono/irmin-arp. Extending this to the full
> TCP/IP stack is definitely an interesting thing to try! (And now that
> Irmin has more Xen support, it should be possible to push it forwards
> too.)

Yep -- pickling the TCP state should be fairly straightforward, since
most of the stack supports s-expression converters.

The trick is reconstructing it and ensuring that all the right hooks
(such as timers) are all fired as a result.

What sort of userland API did you have in mind for your application?
Do you mind linking directly against the OCaml TCP/IP stack?

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 24 12:01:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 24 Jul 2015 12:01:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIbfG-0002sm-MM; Fri, 24 Jul 2015 12:01:22 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <geo.couprie@gmail.com>) id 1ZIbfF-0002sI-7n
	for mirageos-devel@lists.xenproject.org; Fri, 24 Jul 2015 12:01:21 +0000
Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id
	29/87-13798-01922B55; Fri, 24 Jul 2015 12:01:20 +0000
X-Env-Sender: geo.couprie@gmail.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1437739279!23456147!1
X-Originating-IP: [209.85.217.172]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26855 invoked from network); 24 Jul 2015 12:01:19 -0000
Received: from mail-lb0-f172.google.com (HELO mail-lb0-f172.google.com)
	(209.85.217.172)
	by server-7.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	24 Jul 2015 12:01:19 -0000
Received: by lbbzr7 with SMTP id zr7so13743855lbb.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 24 Jul 2015 05:01:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:from:date:message-id:subject:to:content-type;
	bh=aKoFraDzp+8TwzsauDQW6Hy/ApFqvb1BdsyH2L7EZoc=;
	b=BJfjRnodGSJsG1MdUItslRMBGaDDDPfF01k/MY2Z/qf3EPO4oqPTMh5ffv0Cvslh2K
	R7Sfb4XUKl2m62UrTuGrh5YepCfEilDyfe+gEmdjU7Pn7qog8joujGZoWNwrcYdumOe5
	zrrANb1+o74UqMGhUPylRNaFHxiuljRsxdms3hiPCXnma0xvmRuIr+sOzbWnCwvfN05z
	PdM/YkrIh1K3i2fGnfBsh8Cy4sYimh+El+859mnb18yuj+T9pgOBp0DXKqXLt/3WjpSV
	khGZWx6/nx1UK64fu3/eiDLw7XlBMZ3IbPK0OCNI4dC9fZw8VEWrfV8hQNAi/DFcjDb+
	BhDA==
X-Received: by 10.112.139.131 with SMTP id qy3mr13310621lbb.4.1437739278986;
	Fri, 24 Jul 2015 05:01:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.51.240 with HTTP; Fri, 24 Jul 2015 05:00:59 -0700 (PDT)
From: Geoffroy Couprie <contact@geoffroycouprie.com>
Date: Fri, 24 Jul 2015 14:00:59 +0200
X-Google-Sender-Auth: LAcNGSe1rj_QP5wL2EtVFbQ6-r0
Message-ID: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hello!

A chat on Twitter showed some interest in unikernels developed in
Rust, and I was pointed here for further discussion.

First, I want to acknowledge the amazing work done on MirageOS by
everybody here. I have followed it from afar for some time, and there
has been great progress to make it available and usable.

Second, I know making a unikernel system means years of work and a
team of developers and testers. I am not planning to attempt it alone.
What I want is to sort out the skills needed, the big pitfalls, the
important milestones, and know about the unknown unknowns. Then push
for that project in the Rust community.

>From the beginning, people experimented with OS development in Rust
(cf https://github.com/ryanra/RustOS
https://github.com/thepowersgang/rust-barebones-kernel or
https://github.com/charliesome/rustboot ). There is also a very active
IRC channel, #rust-osdev on irc.mozilla.org

>From what I understand, the bare minimum to experiment would be an OS
booting and communicating with a network card, scheduling and task
switching, remote debugging, a network stack. Also, tools to help in
building, deploying and testing applications.
The ryanra/RustOS project seems well advanced, but it could use a network stack.

A rough plan could be to take that project and:
- strenghten the rtl8139 driver
- write parsers and serializers for ARP, IP, TCP (it looks like
MirageOS does not even need DHCP, since the IP address is passed at
compilation time, is that right?). This is something I am already
pushing for a parser combinators project I launched (
https://github.com/Geal/nom )
- building the API above that network stack
- the system can be monotask at first, but preemtive threading should
happen at some point
- a part of Rust standard library is already available, I do not know
how much is needed to support the use case of a HTTP server
- building monitoring tools inside the kernel
- building a testing infrastructure

These steps look quite naive, but as I said, that's a very rough plan
for something that could take years. As for the skills needed:
- writing drivers and schedulers
- developing network stacks (there are projects like
https://github.com/libpnet/libpnet which could be integrated)
- implementing Rust libstd APIs
- testing and tooling industrialization

What would you think of this project? What would increase its chances
of success? Which steps will be very difficult?

It could really benefit from Mirage's experience :)

Cheers,

Geoffroy Couprie

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 24 12:01:29 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 24 Jul 2015 12:01:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIbfG-0002sm-MM; Fri, 24 Jul 2015 12:01:22 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <geo.couprie@gmail.com>) id 1ZIbfF-0002sI-7n
	for mirageos-devel@lists.xenproject.org; Fri, 24 Jul 2015 12:01:21 +0000
Received: from [85.158.139.211] by server-3.bemta-5.messagelabs.com id
	29/87-13798-01922B55; Fri, 24 Jul 2015 12:01:20 +0000
X-Env-Sender: geo.couprie@gmail.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1437739279!23456147!1
X-Originating-IP: [209.85.217.172]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26855 invoked from network); 24 Jul 2015 12:01:19 -0000
Received: from mail-lb0-f172.google.com (HELO mail-lb0-f172.google.com)
	(209.85.217.172)
	by server-7.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	24 Jul 2015 12:01:19 -0000
Received: by lbbzr7 with SMTP id zr7so13743855lbb.1
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 24 Jul 2015 05:01:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:from:date:message-id:subject:to:content-type;
	bh=aKoFraDzp+8TwzsauDQW6Hy/ApFqvb1BdsyH2L7EZoc=;
	b=BJfjRnodGSJsG1MdUItslRMBGaDDDPfF01k/MY2Z/qf3EPO4oqPTMh5ffv0Cvslh2K
	R7Sfb4XUKl2m62UrTuGrh5YepCfEilDyfe+gEmdjU7Pn7qog8joujGZoWNwrcYdumOe5
	zrrANb1+o74UqMGhUPylRNaFHxiuljRsxdms3hiPCXnma0xvmRuIr+sOzbWnCwvfN05z
	PdM/YkrIh1K3i2fGnfBsh8Cy4sYimh+El+859mnb18yuj+T9pgOBp0DXKqXLt/3WjpSV
	khGZWx6/nx1UK64fu3/eiDLw7XlBMZ3IbPK0OCNI4dC9fZw8VEWrfV8hQNAi/DFcjDb+
	BhDA==
X-Received: by 10.112.139.131 with SMTP id qy3mr13310621lbb.4.1437739278986;
	Fri, 24 Jul 2015 05:01:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.51.240 with HTTP; Fri, 24 Jul 2015 05:00:59 -0700 (PDT)
From: Geoffroy Couprie <contact@geoffroycouprie.com>
Date: Fri, 24 Jul 2015 14:00:59 +0200
X-Google-Sender-Auth: LAcNGSe1rj_QP5wL2EtVFbQ6-r0
Message-ID: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
To: mirageos-devel@lists.xenproject.org
Subject: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hello!

A chat on Twitter showed some interest in unikernels developed in
Rust, and I was pointed here for further discussion.

First, I want to acknowledge the amazing work done on MirageOS by
everybody here. I have followed it from afar for some time, and there
has been great progress to make it available and usable.

Second, I know making a unikernel system means years of work and a
team of developers and testers. I am not planning to attempt it alone.
What I want is to sort out the skills needed, the big pitfalls, the
important milestones, and know about the unknown unknowns. Then push
for that project in the Rust community.

>From the beginning, people experimented with OS development in Rust
(cf https://github.com/ryanra/RustOS
https://github.com/thepowersgang/rust-barebones-kernel or
https://github.com/charliesome/rustboot ). There is also a very active
IRC channel, #rust-osdev on irc.mozilla.org

>From what I understand, the bare minimum to experiment would be an OS
booting and communicating with a network card, scheduling and task
switching, remote debugging, a network stack. Also, tools to help in
building, deploying and testing applications.
The ryanra/RustOS project seems well advanced, but it could use a network stack.

A rough plan could be to take that project and:
- strenghten the rtl8139 driver
- write parsers and serializers for ARP, IP, TCP (it looks like
MirageOS does not even need DHCP, since the IP address is passed at
compilation time, is that right?). This is something I am already
pushing for a parser combinators project I launched (
https://github.com/Geal/nom )
- building the API above that network stack
- the system can be monotask at first, but preemtive threading should
happen at some point
- a part of Rust standard library is already available, I do not know
how much is needed to support the use case of a HTTP server
- building monitoring tools inside the kernel
- building a testing infrastructure

These steps look quite naive, but as I said, that's a very rough plan
for something that could take years. As for the skills needed:
- writing drivers and schedulers
- developing network stacks (there are projects like
https://github.com/libpnet/libpnet which could be integrated)
- implementing Rust libstd APIs
- testing and tooling industrialization

What would you think of this project? What would increase its chances
of success? Which steps will be very difficult?

It could really benefit from Mirage's experience :)

Cheers,

Geoffroy Couprie

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 24 13:02:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 24 Jul 2015 13:02:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIcc6-0003UN-Ab; Fri, 24 Jul 2015 13:02:10 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZIcc4-0003UI-Ny
	for mirageos-devel@lists.xenproject.org; Fri, 24 Jul 2015 13:02:08 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	97/89-06739-05732B55; Fri, 24 Jul 2015 13:02:08 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-3.tower-27.messagelabs.com!1437742926!34878904!1
X-Originating-IP: [209.85.216.49]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21576 invoked from network); 24 Jul 2015 13:02:06 -0000
Received: from mail-vn0-f49.google.com (HELO mail-vn0-f49.google.com)
	(209.85.216.49)
	by server-3.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	24 Jul 2015 13:02:06 -0000
Received: by vnk197 with SMTP id 197so8589112vnk.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 24 Jul 2015 06:02:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=uxMd5HZwl0rfhc1ARREqZOeKlA9CP0lTpT22Q8QczlU=;
	b=z46XTINU1SctMC96QKVUfBZzFlPb2je5Y9I1U8cenbBZb7t4k+9+EvkEt7SBMCAEiT
	M0BurYAuvjoafFXC/6oHlpeu+Gfn+qQ8J2uu6iXIt0ZjxpA1FTtayYZO4TtZ/iNZEecE
	5oU2QijCC+pEaEwU/TFdd9rYrPNAvrYmk9GcnubDnjeZ4wB4SzAilYUTKQ/Yftcphssv
	hcRrpMfdvxLBvQpg9Yr32IPuuZ5IdSQrth433Aw2OKpR1eleuOA8Q8XS97S3SELiiz2m
	ExnYhv3pfru0zpO498lR57h+EjE+2YLuhcwEdhOzEtCnjEypgVk4KxF8f6W2w+tvX5Ab
	yfAQ==
MIME-Version: 1.0
X-Received: by 10.52.109.230 with SMTP id hv6mr16414570vdb.43.1437742925646;
	Fri, 24 Jul 2015 06:02:05 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Fri, 24 Jul 2015 06:02:05 -0700 (PDT)
In-Reply-To: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
Date: Fri, 24 Jul 2015 14:02:05 +0100
Message-ID: <CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Geoffroy Couprie <contact@geoffroycouprie.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 24 July 2015 at 13:00, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
> Hello!
>
> A chat on Twitter showed some interest in unikernels developed in
> Rust, and I was pointed here for further discussion.
>
> First, I want to acknowledge the amazing work done on MirageOS by
> everybody here. I have followed it from afar for some time, and there
> has been great progress to make it available and usable.
>
> Second, I know making a unikernel system means years of work and a
> team of developers and testers. I am not planning to attempt it alone.
> What I want is to sort out the skills needed, the big pitfalls, the
> important milestones, and know about the unknown unknowns. Then push
> for that project in the Rust community.
>
> From the beginning, people experimented with OS development in Rust
> (cf https://github.com/ryanra/RustOS
> https://github.com/thepowersgang/rust-barebones-kernel or
> https://github.com/charliesome/rustboot ). There is also a very active
> IRC channel, #rust-osdev on irc.mozilla.org
>
> From what I understand, the bare minimum to experiment would be an OS
> booting and communicating with a network card, scheduling and task
> switching, remote debugging, a network stack. Also, tools to help in
> building, deploying and testing applications.
> The ryanra/RustOS project seems well advanced, but it could use a network stack.

Hi Geoffroy,

Have you thought about running Mirage on top of a minimal Rust OS
kernel to start with? Then you could implement new drivers in Rust
alongside existing Mirage code. As a garbage-collected language, OCaml
can't be used to implement the very lowest levels of Mirage (e.g.
malloc) and we currently use (my branch of) Mini-OS [1] for running as
a unikernel on Xen. A common question is whether we could replace this
C code with Rust. I'd be interested to help out if so - I've been
meaning to take another look at Rust now it's stable.

> A rough plan could be to take that project and:
> - strenghten the rtl8139 driver

If you target running under Xen, you only need to provide a simple Xen
network driver, whatever the physical hardware is. Likewise for
storage. This makes it easier to get started, and you'll support EC2,
etc.

> - write parsers and serializers for ARP, IP, TCP (it looks like
> MirageOS does not even need DHCP, since the IP address is passed at
> compilation time, is that right?).

Mirage can use DHCP or static addresses.

> This is something I am already
> pushing for a parser combinators project I launched (
> https://github.com/Geal/nom )
> - building the API above that network stack
> - the system can be monotask at first, but preemtive threading should
> happen at some point

If you have promises (and make all your low-level APIs non-blocking)
then you can get a very long way without preemptive threading,
although it would be good to have it eventually.

> - a part of Rust standard library is already available, I do not know
> how much is needed to support the use case of a HTTP server
> - building monitoring tools inside the kernel

When running under Xen, we share a trace buffer with dom0. This allows
you to see what the system is doing, even if it is hung or crashed.
See: https://mirage.io/wiki/profiling

> - building a testing infrastructure
>
> These steps look quite naive, but as I said, that's a very rough plan
> for something that could take years. As for the skills needed:
> - writing drivers and schedulers
> - developing network stacks (there are projects like
> https://github.com/libpnet/libpnet which could be integrated)
> - implementing Rust libstd APIs
> - testing and tooling industrialization
>
> What would you think of this project? What would increase its chances
> of success? Which steps will be very difficult?
>
> It could really benefit from Mirage's experience :)
>
> Cheers,
>
> Geoffroy Couprie

[1] https://github.com/talex5/mini-os


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 24 13:02:18 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 24 Jul 2015 13:02:18 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIcc6-0003UN-Ab; Fri, 24 Jul 2015 13:02:10 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZIcc4-0003UI-Ny
	for mirageos-devel@lists.xenproject.org; Fri, 24 Jul 2015 13:02:08 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	97/89-06739-05732B55; Fri, 24 Jul 2015 13:02:08 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-3.tower-27.messagelabs.com!1437742926!34878904!1
X-Originating-IP: [209.85.216.49]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21576 invoked from network); 24 Jul 2015 13:02:06 -0000
Received: from mail-vn0-f49.google.com (HELO mail-vn0-f49.google.com)
	(209.85.216.49)
	by server-3.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	24 Jul 2015 13:02:06 -0000
Received: by vnk197 with SMTP id 197so8589112vnk.3
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 24 Jul 2015 06:02:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=uxMd5HZwl0rfhc1ARREqZOeKlA9CP0lTpT22Q8QczlU=;
	b=z46XTINU1SctMC96QKVUfBZzFlPb2je5Y9I1U8cenbBZb7t4k+9+EvkEt7SBMCAEiT
	M0BurYAuvjoafFXC/6oHlpeu+Gfn+qQ8J2uu6iXIt0ZjxpA1FTtayYZO4TtZ/iNZEecE
	5oU2QijCC+pEaEwU/TFdd9rYrPNAvrYmk9GcnubDnjeZ4wB4SzAilYUTKQ/Yftcphssv
	hcRrpMfdvxLBvQpg9Yr32IPuuZ5IdSQrth433Aw2OKpR1eleuOA8Q8XS97S3SELiiz2m
	ExnYhv3pfru0zpO498lR57h+EjE+2YLuhcwEdhOzEtCnjEypgVk4KxF8f6W2w+tvX5Ab
	yfAQ==
MIME-Version: 1.0
X-Received: by 10.52.109.230 with SMTP id hv6mr16414570vdb.43.1437742925646;
	Fri, 24 Jul 2015 06:02:05 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Fri, 24 Jul 2015 06:02:05 -0700 (PDT)
In-Reply-To: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
Date: Fri, 24 Jul 2015 14:02:05 +0100
Message-ID: <CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Geoffroy Couprie <contact@geoffroycouprie.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 24 July 2015 at 13:00, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
> Hello!
>
> A chat on Twitter showed some interest in unikernels developed in
> Rust, and I was pointed here for further discussion.
>
> First, I want to acknowledge the amazing work done on MirageOS by
> everybody here. I have followed it from afar for some time, and there
> has been great progress to make it available and usable.
>
> Second, I know making a unikernel system means years of work and a
> team of developers and testers. I am not planning to attempt it alone.
> What I want is to sort out the skills needed, the big pitfalls, the
> important milestones, and know about the unknown unknowns. Then push
> for that project in the Rust community.
>
> From the beginning, people experimented with OS development in Rust
> (cf https://github.com/ryanra/RustOS
> https://github.com/thepowersgang/rust-barebones-kernel or
> https://github.com/charliesome/rustboot ). There is also a very active
> IRC channel, #rust-osdev on irc.mozilla.org
>
> From what I understand, the bare minimum to experiment would be an OS
> booting and communicating with a network card, scheduling and task
> switching, remote debugging, a network stack. Also, tools to help in
> building, deploying and testing applications.
> The ryanra/RustOS project seems well advanced, but it could use a network stack.

Hi Geoffroy,

Have you thought about running Mirage on top of a minimal Rust OS
kernel to start with? Then you could implement new drivers in Rust
alongside existing Mirage code. As a garbage-collected language, OCaml
can't be used to implement the very lowest levels of Mirage (e.g.
malloc) and we currently use (my branch of) Mini-OS [1] for running as
a unikernel on Xen. A common question is whether we could replace this
C code with Rust. I'd be interested to help out if so - I've been
meaning to take another look at Rust now it's stable.

> A rough plan could be to take that project and:
> - strenghten the rtl8139 driver

If you target running under Xen, you only need to provide a simple Xen
network driver, whatever the physical hardware is. Likewise for
storage. This makes it easier to get started, and you'll support EC2,
etc.

> - write parsers and serializers for ARP, IP, TCP (it looks like
> MirageOS does not even need DHCP, since the IP address is passed at
> compilation time, is that right?).

Mirage can use DHCP or static addresses.

> This is something I am already
> pushing for a parser combinators project I launched (
> https://github.com/Geal/nom )
> - building the API above that network stack
> - the system can be monotask at first, but preemtive threading should
> happen at some point

If you have promises (and make all your low-level APIs non-blocking)
then you can get a very long way without preemptive threading,
although it would be good to have it eventually.

> - a part of Rust standard library is already available, I do not know
> how much is needed to support the use case of a HTTP server
> - building monitoring tools inside the kernel

When running under Xen, we share a trace buffer with dom0. This allows
you to see what the system is doing, even if it is hung or crashed.
See: https://mirage.io/wiki/profiling

> - building a testing infrastructure
>
> These steps look quite naive, but as I said, that's a very rough plan
> for something that could take years. As for the skills needed:
> - writing drivers and schedulers
> - developing network stacks (there are projects like
> https://github.com/libpnet/libpnet which could be integrated)
> - implementing Rust libstd APIs
> - testing and tooling industrialization
>
> What would you think of this project? What would increase its chances
> of success? Which steps will be very difficult?
>
> It could really benefit from Mirage's experience :)
>
> Cheers,
>
> Geoffroy Couprie

[1] https://github.com/talex5/mini-os


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 24 22:28:39 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 24 Jul 2015 22:28:39 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIlS9-0003F5-Ku; Fri, 24 Jul 2015 22:28:29 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <geo.couprie@gmail.com>) id 1ZIlS8-0003Df-FT
	for mirageos-devel@lists.xenproject.org; Fri, 24 Jul 2015 22:28:28 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	25/60-32406-B0CB2B55; Fri, 24 Jul 2015 22:28:27 +0000
X-Env-Sender: geo.couprie@gmail.com
X-Msg-Ref: server-11.tower-31.messagelabs.com!1437776906!29107211!1
X-Originating-IP: [209.85.215.45]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 366 invoked from network); 24 Jul 2015 22:28:26 -0000
Received: from mail-la0-f45.google.com (HELO mail-la0-f45.google.com)
	(209.85.215.45)
	by server-11.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	24 Jul 2015 22:28:26 -0000
Received: by laah7 with SMTP id h7so21719263laa.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 24 Jul 2015 15:28:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:from:date:message-id
	:subject:to:cc:content-type;
	bh=gZkwF+wV3HV3W8qrfLUhjmxbtMe5+cGMJQvkvB73QoM=;
	b=P9sGD6UksDK4fV3kmqkVM20fmQAdhBtOYGqNQVxy6V11XVcL+AQs19NUfXXWSsUe66
	VUgGfzKQbWhI1tWP56Mo2mYgATeCCAGsJf8CKvFBY+E9QCJptDHuIy/ac1NjVHjIp1p8
	jlbXtyUJATpzzhDYD1vDtiJfAhGyzz2a3zSjXKl8dWtaklYTy2cDOlj1VS6oJvvKg0vX
	6upZ4Nlgi7aB2TIbYulTY/vPdJrT6gz2d7hXd9wJB3x7RaN20HrhxwaCOPJ/BMOzE0+n
	i0aPges/wx2l6CUgIuMAIFDoM7KE0BPVB1ljLonUZabL8zdFgvNV8ClP6VjSdZD3t+RH
	Bitw==
X-Received: by 10.152.203.134 with SMTP id kq6mr15896967lac.106.1437776906108; 
	Fri, 24 Jul 2015 15:28:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.51.240 with HTTP; Fri, 24 Jul 2015 15:28:06 -0700 (PDT)
In-Reply-To: <CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
From: Geoffroy Couprie <contact@geoffroycouprie.com>
Date: Sat, 25 Jul 2015 00:28:06 +0200
X-Google-Sender-Auth: nepTnv5UbvvF904i6tFBI-4xMB4
Message-ID: <CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Thomas,

On Fri, Jul 24, 2015 at 3:02 PM, Thomas Leonard <talex5@gmail.com> wrote:
> On 24 July 2015 at 13:00, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>> Hello!
>>
>> A chat on Twitter showed some interest in unikernels developed in
>> Rust, and I was pointed here for further discussion.
>>
>> First, I want to acknowledge the amazing work done on MirageOS by
>> everybody here. I have followed it from afar for some time, and there
>> has been great progress to make it available and usable.
>>
>> Second, I know making a unikernel system means years of work and a
>> team of developers and testers. I am not planning to attempt it alone.
>> What I want is to sort out the skills needed, the big pitfalls, the
>> important milestones, and know about the unknown unknowns. Then push
>> for that project in the Rust community.
>>
>> From the beginning, people experimented with OS development in Rust
>> (cf https://github.com/ryanra/RustOS
>> https://github.com/thepowersgang/rust-barebones-kernel or
>> https://github.com/charliesome/rustboot ). There is also a very active
>> IRC channel, #rust-osdev on irc.mozilla.org
>>
>> From what I understand, the bare minimum to experiment would be an OS
>> booting and communicating with a network card, scheduling and task
>> switching, remote debugging, a network stack. Also, tools to help in
>> building, deploying and testing applications.
>> The ryanra/RustOS project seems well advanced, but it could use a network stack.
>
> Hi Geoffroy,
>
> Have you thought about running Mirage on top of a minimal Rust OS
> kernel to start with? Then you could implement new drivers in Rust
> alongside existing Mirage code. As a garbage-collected language, OCaml
> can't be used to implement the very lowest levels of Mirage (e.g.
> malloc) and we currently use (my branch of) Mini-OS [1] for running as
> a unikernel on Xen. A common question is whether we could replace this
> C code with Rust. I'd be interested to help out if so - I've been
> meaning to take another look at Rust now it's stable.

This is interesting, someone else proposed me that today too. This
would be a good strategy to get something up and running quickly
enough. Basically, Rust can build to a static library which can be
linked to C code, but until there's a memory allocator available,
things can be tricky.
This is how RustOS does it: a small part written in C, which links to
a Rust library that will handle the rest.

The core parts of MiniOS could probably not be reimplemented right
away, but drivers would be doable. From what I see, the first step is
to communicate with the Xenbus and the Xenstore, right? Then have some
ring buffers and a way for xen to signal that some data is available
(I'm currently looking at netfront.c).

>
>> A rough plan could be to take that project and:
>> - strenghten the rtl8139 driver
>
> If you target running under Xen, you only need to provide a simple Xen
> network driver, whatever the physical hardware is. Likewise for
> storage. This makes it easier to get started, and you'll support EC2,
> etc.

This makes sense. Writing drivers directly for hardware is a huge
task, while hypervisors provide standardised interfaces.
>
>> - write parsers and serializers for ARP, IP, TCP (it looks like
>> MirageOS does not even need DHCP, since the IP address is passed at
>> compilation time, is that right?).
>
> Mirage can use DHCP or static addresses.
>
>> This is something I am already
>> pushing for a parser combinators project I launched (
>> https://github.com/Geal/nom )
>> - building the API above that network stack
>> - the system can be monotask at first, but preemtive threading should
>> happen at some point
>
> If you have promises (and make all your low-level APIs non-blocking)
> then you can get a very long way without preemptive threading,
> although it would be good to have it eventually.

Could you tell me more about this? This approach looks interesting.

>
>> - a part of Rust standard library is already available, I do not know
>> how much is needed to support the use case of a HTTP server
>> - building monitoring tools inside the kernel
>
> When running under Xen, we share a trace buffer with dom0. This allows
> you to see what the system is doing, even if it is hung or crashed.
> See: https://mirage.io/wiki/profiling

That visualization tool looks useful! Do you have remote debuggers
too? With a serial port or something similar.

I guess the first thing I could do is to integrate some Rust code in
MiniOS. Is there a part of the code you would recommend? Something
well contained, without too many dependencies?

Thank you for your help!

Cheers,

Geoffroy Couprie

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Fri Jul 24 22:28:39 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 24 Jul 2015 22:28:39 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIlS9-0003F5-Ku; Fri, 24 Jul 2015 22:28:29 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <geo.couprie@gmail.com>) id 1ZIlS8-0003Df-FT
	for mirageos-devel@lists.xenproject.org; Fri, 24 Jul 2015 22:28:28 +0000
Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id
	25/60-32406-B0CB2B55; Fri, 24 Jul 2015 22:28:27 +0000
X-Env-Sender: geo.couprie@gmail.com
X-Msg-Ref: server-11.tower-31.messagelabs.com!1437776906!29107211!1
X-Originating-IP: [209.85.215.45]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 366 invoked from network); 24 Jul 2015 22:28:26 -0000
Received: from mail-la0-f45.google.com (HELO mail-la0-f45.google.com)
	(209.85.215.45)
	by server-11.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	24 Jul 2015 22:28:26 -0000
Received: by laah7 with SMTP id h7so21719263laa.0
	for <mirageos-devel@lists.xenproject.org>;
	Fri, 24 Jul 2015 15:28:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:from:date:message-id
	:subject:to:cc:content-type;
	bh=gZkwF+wV3HV3W8qrfLUhjmxbtMe5+cGMJQvkvB73QoM=;
	b=P9sGD6UksDK4fV3kmqkVM20fmQAdhBtOYGqNQVxy6V11XVcL+AQs19NUfXXWSsUe66
	VUgGfzKQbWhI1tWP56Mo2mYgATeCCAGsJf8CKvFBY+E9QCJptDHuIy/ac1NjVHjIp1p8
	jlbXtyUJATpzzhDYD1vDtiJfAhGyzz2a3zSjXKl8dWtaklYTy2cDOlj1VS6oJvvKg0vX
	6upZ4Nlgi7aB2TIbYulTY/vPdJrT6gz2d7hXd9wJB3x7RaN20HrhxwaCOPJ/BMOzE0+n
	i0aPges/wx2l6CUgIuMAIFDoM7KE0BPVB1ljLonUZabL8zdFgvNV8ClP6VjSdZD3t+RH
	Bitw==
X-Received: by 10.152.203.134 with SMTP id kq6mr15896967lac.106.1437776906108; 
	Fri, 24 Jul 2015 15:28:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.51.240 with HTTP; Fri, 24 Jul 2015 15:28:06 -0700 (PDT)
In-Reply-To: <CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
From: Geoffroy Couprie <contact@geoffroycouprie.com>
Date: Sat, 25 Jul 2015 00:28:06 +0200
X-Google-Sender-Auth: nepTnv5UbvvF904i6tFBI-4xMB4
Message-ID: <CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Thomas,

On Fri, Jul 24, 2015 at 3:02 PM, Thomas Leonard <talex5@gmail.com> wrote:
> On 24 July 2015 at 13:00, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>> Hello!
>>
>> A chat on Twitter showed some interest in unikernels developed in
>> Rust, and I was pointed here for further discussion.
>>
>> First, I want to acknowledge the amazing work done on MirageOS by
>> everybody here. I have followed it from afar for some time, and there
>> has been great progress to make it available and usable.
>>
>> Second, I know making a unikernel system means years of work and a
>> team of developers and testers. I am not planning to attempt it alone.
>> What I want is to sort out the skills needed, the big pitfalls, the
>> important milestones, and know about the unknown unknowns. Then push
>> for that project in the Rust community.
>>
>> From the beginning, people experimented with OS development in Rust
>> (cf https://github.com/ryanra/RustOS
>> https://github.com/thepowersgang/rust-barebones-kernel or
>> https://github.com/charliesome/rustboot ). There is also a very active
>> IRC channel, #rust-osdev on irc.mozilla.org
>>
>> From what I understand, the bare minimum to experiment would be an OS
>> booting and communicating with a network card, scheduling and task
>> switching, remote debugging, a network stack. Also, tools to help in
>> building, deploying and testing applications.
>> The ryanra/RustOS project seems well advanced, but it could use a network stack.
>
> Hi Geoffroy,
>
> Have you thought about running Mirage on top of a minimal Rust OS
> kernel to start with? Then you could implement new drivers in Rust
> alongside existing Mirage code. As a garbage-collected language, OCaml
> can't be used to implement the very lowest levels of Mirage (e.g.
> malloc) and we currently use (my branch of) Mini-OS [1] for running as
> a unikernel on Xen. A common question is whether we could replace this
> C code with Rust. I'd be interested to help out if so - I've been
> meaning to take another look at Rust now it's stable.

This is interesting, someone else proposed me that today too. This
would be a good strategy to get something up and running quickly
enough. Basically, Rust can build to a static library which can be
linked to C code, but until there's a memory allocator available,
things can be tricky.
This is how RustOS does it: a small part written in C, which links to
a Rust library that will handle the rest.

The core parts of MiniOS could probably not be reimplemented right
away, but drivers would be doable. From what I see, the first step is
to communicate with the Xenbus and the Xenstore, right? Then have some
ring buffers and a way for xen to signal that some data is available
(I'm currently looking at netfront.c).

>
>> A rough plan could be to take that project and:
>> - strenghten the rtl8139 driver
>
> If you target running under Xen, you only need to provide a simple Xen
> network driver, whatever the physical hardware is. Likewise for
> storage. This makes it easier to get started, and you'll support EC2,
> etc.

This makes sense. Writing drivers directly for hardware is a huge
task, while hypervisors provide standardised interfaces.
>
>> - write parsers and serializers for ARP, IP, TCP (it looks like
>> MirageOS does not even need DHCP, since the IP address is passed at
>> compilation time, is that right?).
>
> Mirage can use DHCP or static addresses.
>
>> This is something I am already
>> pushing for a parser combinators project I launched (
>> https://github.com/Geal/nom )
>> - building the API above that network stack
>> - the system can be monotask at first, but preemtive threading should
>> happen at some point
>
> If you have promises (and make all your low-level APIs non-blocking)
> then you can get a very long way without preemptive threading,
> although it would be good to have it eventually.

Could you tell me more about this? This approach looks interesting.

>
>> - a part of Rust standard library is already available, I do not know
>> how much is needed to support the use case of a HTTP server
>> - building monitoring tools inside the kernel
>
> When running under Xen, we share a trace buffer with dom0. This allows
> you to see what the system is doing, even if it is hung or crashed.
> See: https://mirage.io/wiki/profiling

That visualization tool looks useful! Do you have remote debuggers
too? With a serial port or something similar.

I guess the first thing I could do is to integrate some Rust code in
MiniOS. Is there a part of the code you would recommend? Something
well contained, without too many dependencies?

Thank you for your help!

Cheers,

Geoffroy Couprie

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 25 10:55:33 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 25 Jul 2015 10:55:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIx6v-0001FJ-Vo; Sat, 25 Jul 2015 10:55:21 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZIx6u-0001FE-OL
	for mirageos-devel@lists.xenproject.org; Sat, 25 Jul 2015 10:55:20 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	96/D6-01469-81B63B55; Sat, 25 Jul 2015 10:55:20 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1437821717!27556709!1
X-Originating-IP: [209.85.216.45]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27814 invoked from network); 25 Jul 2015 10:55:18 -0000
Received: from mail-vn0-f45.google.com (HELO mail-vn0-f45.google.com)
	(209.85.216.45)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	25 Jul 2015 10:55:18 -0000
Received: by vnk197 with SMTP id 197so16904504vnk.3
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 25 Jul 2015 03:55:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=4NTgciniJuG51PhdXjfzf0AUgFeem5NCX/vkyIMYoDg=;
	b=MdA/05lc6/tIc4+f8Oh/TTtTFjH+AIKoMZ6ibW8sXZ0wGZeRWbH4DPu98PsIOnKwVZ
	WtXicZforwQ5wlRJCTG/fD4e4OI6HYsIQE+t6vdrdAVZroPgG2DS9pAe2EOMqVLbUFqi
	WY5K+vhdRvFa01zdd8g8gikhdtBrknuV+SdEpDzhtZLZj+u1BrPuWZ8YsfblIaE1mktU
	pf5/kAzRaVsa4y5GdOIUaOrIm2vzodjz70b4bIe2KNTtuuMw9ouxQOGAndRHMDVzbNTY
	xC1A4nRJh3NsDfhaArkNOMCkGwf8T+Enovx4fkI4QRN8lPkxR3DzjAvijng2dBmoXdV4
	htXA==
MIME-Version: 1.0
X-Received: by 10.52.114.196 with SMTP id ji4mr22463952vdb.24.1437821716813;
	Sat, 25 Jul 2015 03:55:16 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Sat, 25 Jul 2015 03:55:16 -0700 (PDT)
In-Reply-To: <CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
Date: Sat, 25 Jul 2015 11:55:16 +0100
Message-ID: <CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Geoffroy Couprie <contact@geoffroycouprie.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 24 July 2015 at 23:28, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
> Hi Thomas,
>
> On Fri, Jul 24, 2015 at 3:02 PM, Thomas Leonard <talex5@gmail.com> wrote:
>> On 24 July 2015 at 13:00, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>>> Hello!
>>>
>>> A chat on Twitter showed some interest in unikernels developed in
>>> Rust, and I was pointed here for further discussion.
>>>
>>> First, I want to acknowledge the amazing work done on MirageOS by
>>> everybody here. I have followed it from afar for some time, and there
>>> has been great progress to make it available and usable.
>>>
>>> Second, I know making a unikernel system means years of work and a
>>> team of developers and testers. I am not planning to attempt it alone.
>>> What I want is to sort out the skills needed, the big pitfalls, the
>>> important milestones, and know about the unknown unknowns. Then push
>>> for that project in the Rust community.
>>>
>>> From the beginning, people experimented with OS development in Rust
>>> (cf https://github.com/ryanra/RustOS
>>> https://github.com/thepowersgang/rust-barebones-kernel or
>>> https://github.com/charliesome/rustboot ). There is also a very active
>>> IRC channel, #rust-osdev on irc.mozilla.org
>>>
>>> From what I understand, the bare minimum to experiment would be an OS
>>> booting and communicating with a network card, scheduling and task
>>> switching, remote debugging, a network stack. Also, tools to help in
>>> building, deploying and testing applications.
>>> The ryanra/RustOS project seems well advanced, but it could use a network stack.
>>
>> Hi Geoffroy,
>>
>> Have you thought about running Mirage on top of a minimal Rust OS
>> kernel to start with? Then you could implement new drivers in Rust
>> alongside existing Mirage code. As a garbage-collected language, OCaml
>> can't be used to implement the very lowest levels of Mirage (e.g.
>> malloc) and we currently use (my branch of) Mini-OS [1] for running as
>> a unikernel on Xen. A common question is whether we could replace this
>> C code with Rust. I'd be interested to help out if so - I've been
>> meaning to take another look at Rust now it's stable.
>
> This is interesting, someone else proposed me that today too. This
> would be a good strategy to get something up and running quickly
> enough. Basically, Rust can build to a static library which can be
> linked to C code, but until there's a memory allocator available,
> things can be tricky.
> This is how RustOS does it: a small part written in C, which links to
> a Rust library that will handle the rest.

What does the C code do? Is this for connecting to code in other
languages, or something that Rust can't do by itself?

> The core parts of MiniOS could probably not be reimplemented right
> away, but drivers would be doable. From what I see, the first step is
> to communicate with the Xenbus and the Xenstore, right? Then have some
> ring buffers and a way for xen to signal that some data is available
> (I'm currently looking at netfront.c).

The only driver needed for Mirage is the console driver, for early
boot messages. Mirage has its own OCaml implementations of Xenbus and
Xenstore, so replacing them isn't needed to get rid of the C. Much of
Mini-OS is optional and unused (and it would be better to package the
optional bits separately really).

[...]
>>> - the system can be monotask at first, but preemtive threading should
>>> happen at some point
>>
>> If you have promises (and make all your low-level APIs non-blocking)
>> then you can get a very long way without preemptive threading,
>> although it would be good to have it eventually.
>
> Could you tell me more about this? This approach looks interesting.

Every function in Mirage that might need to wait instead immediately
returns a promise. e.g. the read function is defined as:

val read: flow -> [`Ok of buffer | `Eof | `Error of error ] io

(https://github.com/mirage/mirage/blob/d2d4502be0e53de16c915ac72dee008dcaf62991/types/V1.mli#L127)

The type "X io" means "promise of an X" or "light-weight thread that
will produce an X". Normally Mirage is used with the Lwt library, in
which case "io" is defined to be "Lwt.t":

https://github.com/mirage/mirage/blob/d2d4502be0e53de16c915ac72dee008dcaf62991/types/V1_LWT.mli#L25

Functions processing promises can be chained together in a similar way
to non-promise functions, using the >>= operator. It's very useful,
and most languages have something similar, though the names vary. A
quick Google turned up this (incomplete-looking) Rust library:
https://github.com/lucidd/rust-promise

See https://mirage.io/wiki/tutorial-lwt for more details.

>>> - a part of Rust standard library is already available, I do not know
>>> how much is needed to support the use case of a HTTP server
>>> - building monitoring tools inside the kernel
>>
>> When running under Xen, we share a trace buffer with dom0. This allows
>> you to see what the system is doing, even if it is hung or crashed.
>> See: https://mirage.io/wiki/profiling
>
> That visualization tool looks useful! Do you have remote debuggers
> too? With a serial port or something similar.

Mirage can also be compiled to a Unix process and debugged with gdb
and similar in most cases. I believe Xen also provides for debugging
of guests from dom0, but I've never used that.

> I guess the first thing I could do is to integrate some Rust code in
> MiniOS. Is there a part of the code you would recommend? Something
> well contained, without too many dependencies?

I'd probably start with the page allocator:

https://github.com/talex5/mini-os/blob/master/mm.c

/*
 * Initialise allocator, placing addresses [@min,@max] in free pool.
 * @min and @max are PHYSICAL addresses.
 */
static void init_page_allocator(unsigned long min, unsigned long max)

This gets called early during boot with all the free RAM as the
argument. It provides alloc_pages and free_pages to allocate from this
range.


Another possible starting place is the console driver:

https://github.com/talex5/mini-os/blob/master/console/console.c

That's a bit harder though because you're writing to memory shared
with dom0, so you need to be careful about memory barriers and atomic
operations. I assume Rust can handle this nicely? It would be fun to
see how to use Rust's ownership types to ensure that other bits of
code can't write to parts of a shared buffer that dom0 may be reading,
etc.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sat Jul 25 10:55:33 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 25 Jul 2015 10:55:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZIx6v-0001FJ-Vo; Sat, 25 Jul 2015 10:55:21 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZIx6u-0001FE-OL
	for mirageos-devel@lists.xenproject.org; Sat, 25 Jul 2015 10:55:20 +0000
Received: from [193.109.254.147] by server-7.bemta-14.messagelabs.com id
	96/D6-01469-81B63B55; Sat, 25 Jul 2015 10:55:20 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1437821717!27556709!1
X-Originating-IP: [209.85.216.45]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27814 invoked from network); 25 Jul 2015 10:55:18 -0000
Received: from mail-vn0-f45.google.com (HELO mail-vn0-f45.google.com)
	(209.85.216.45)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	25 Jul 2015 10:55:18 -0000
Received: by vnk197 with SMTP id 197so16904504vnk.3
	for <mirageos-devel@lists.xenproject.org>;
	Sat, 25 Jul 2015 03:55:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=4NTgciniJuG51PhdXjfzf0AUgFeem5NCX/vkyIMYoDg=;
	b=MdA/05lc6/tIc4+f8Oh/TTtTFjH+AIKoMZ6ibW8sXZ0wGZeRWbH4DPu98PsIOnKwVZ
	WtXicZforwQ5wlRJCTG/fD4e4OI6HYsIQE+t6vdrdAVZroPgG2DS9pAe2EOMqVLbUFqi
	WY5K+vhdRvFa01zdd8g8gikhdtBrknuV+SdEpDzhtZLZj+u1BrPuWZ8YsfblIaE1mktU
	pf5/kAzRaVsa4y5GdOIUaOrIm2vzodjz70b4bIe2KNTtuuMw9ouxQOGAndRHMDVzbNTY
	xC1A4nRJh3NsDfhaArkNOMCkGwf8T+Enovx4fkI4QRN8lPkxR3DzjAvijng2dBmoXdV4
	htXA==
MIME-Version: 1.0
X-Received: by 10.52.114.196 with SMTP id ji4mr22463952vdb.24.1437821716813;
	Sat, 25 Jul 2015 03:55:16 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Sat, 25 Jul 2015 03:55:16 -0700 (PDT)
In-Reply-To: <CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
Date: Sat, 25 Jul 2015 11:55:16 +0100
Message-ID: <CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Geoffroy Couprie <contact@geoffroycouprie.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 24 July 2015 at 23:28, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
> Hi Thomas,
>
> On Fri, Jul 24, 2015 at 3:02 PM, Thomas Leonard <talex5@gmail.com> wrote:
>> On 24 July 2015 at 13:00, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>>> Hello!
>>>
>>> A chat on Twitter showed some interest in unikernels developed in
>>> Rust, and I was pointed here for further discussion.
>>>
>>> First, I want to acknowledge the amazing work done on MirageOS by
>>> everybody here. I have followed it from afar for some time, and there
>>> has been great progress to make it available and usable.
>>>
>>> Second, I know making a unikernel system means years of work and a
>>> team of developers and testers. I am not planning to attempt it alone.
>>> What I want is to sort out the skills needed, the big pitfalls, the
>>> important milestones, and know about the unknown unknowns. Then push
>>> for that project in the Rust community.
>>>
>>> From the beginning, people experimented with OS development in Rust
>>> (cf https://github.com/ryanra/RustOS
>>> https://github.com/thepowersgang/rust-barebones-kernel or
>>> https://github.com/charliesome/rustboot ). There is also a very active
>>> IRC channel, #rust-osdev on irc.mozilla.org
>>>
>>> From what I understand, the bare minimum to experiment would be an OS
>>> booting and communicating with a network card, scheduling and task
>>> switching, remote debugging, a network stack. Also, tools to help in
>>> building, deploying and testing applications.
>>> The ryanra/RustOS project seems well advanced, but it could use a network stack.
>>
>> Hi Geoffroy,
>>
>> Have you thought about running Mirage on top of a minimal Rust OS
>> kernel to start with? Then you could implement new drivers in Rust
>> alongside existing Mirage code. As a garbage-collected language, OCaml
>> can't be used to implement the very lowest levels of Mirage (e.g.
>> malloc) and we currently use (my branch of) Mini-OS [1] for running as
>> a unikernel on Xen. A common question is whether we could replace this
>> C code with Rust. I'd be interested to help out if so - I've been
>> meaning to take another look at Rust now it's stable.
>
> This is interesting, someone else proposed me that today too. This
> would be a good strategy to get something up and running quickly
> enough. Basically, Rust can build to a static library which can be
> linked to C code, but until there's a memory allocator available,
> things can be tricky.
> This is how RustOS does it: a small part written in C, which links to
> a Rust library that will handle the rest.

What does the C code do? Is this for connecting to code in other
languages, or something that Rust can't do by itself?

> The core parts of MiniOS could probably not be reimplemented right
> away, but drivers would be doable. From what I see, the first step is
> to communicate with the Xenbus and the Xenstore, right? Then have some
> ring buffers and a way for xen to signal that some data is available
> (I'm currently looking at netfront.c).

The only driver needed for Mirage is the console driver, for early
boot messages. Mirage has its own OCaml implementations of Xenbus and
Xenstore, so replacing them isn't needed to get rid of the C. Much of
Mini-OS is optional and unused (and it would be better to package the
optional bits separately really).

[...]
>>> - the system can be monotask at first, but preemtive threading should
>>> happen at some point
>>
>> If you have promises (and make all your low-level APIs non-blocking)
>> then you can get a very long way without preemptive threading,
>> although it would be good to have it eventually.
>
> Could you tell me more about this? This approach looks interesting.

Every function in Mirage that might need to wait instead immediately
returns a promise. e.g. the read function is defined as:

val read: flow -> [`Ok of buffer | `Eof | `Error of error ] io

(https://github.com/mirage/mirage/blob/d2d4502be0e53de16c915ac72dee008dcaf62991/types/V1.mli#L127)

The type "X io" means "promise of an X" or "light-weight thread that
will produce an X". Normally Mirage is used with the Lwt library, in
which case "io" is defined to be "Lwt.t":

https://github.com/mirage/mirage/blob/d2d4502be0e53de16c915ac72dee008dcaf62991/types/V1_LWT.mli#L25

Functions processing promises can be chained together in a similar way
to non-promise functions, using the >>= operator. It's very useful,
and most languages have something similar, though the names vary. A
quick Google turned up this (incomplete-looking) Rust library:
https://github.com/lucidd/rust-promise

See https://mirage.io/wiki/tutorial-lwt for more details.

>>> - a part of Rust standard library is already available, I do not know
>>> how much is needed to support the use case of a HTTP server
>>> - building monitoring tools inside the kernel
>>
>> When running under Xen, we share a trace buffer with dom0. This allows
>> you to see what the system is doing, even if it is hung or crashed.
>> See: https://mirage.io/wiki/profiling
>
> That visualization tool looks useful! Do you have remote debuggers
> too? With a serial port or something similar.

Mirage can also be compiled to a Unix process and debugged with gdb
and similar in most cases. I believe Xen also provides for debugging
of guests from dom0, but I've never used that.

> I guess the first thing I could do is to integrate some Rust code in
> MiniOS. Is there a part of the code you would recommend? Something
> well contained, without too many dependencies?

I'd probably start with the page allocator:

https://github.com/talex5/mini-os/blob/master/mm.c

/*
 * Initialise allocator, placing addresses [@min,@max] in free pool.
 * @min and @max are PHYSICAL addresses.
 */
static void init_page_allocator(unsigned long min, unsigned long max)

This gets called early during boot with all the free RAM as the
argument. It provides alloc_pages and free_pages to allocate from this
range.


Another possible starting place is the console driver:

https://github.com/talex5/mini-os/blob/master/console/console.c

That's a bit harder though because you're writing to memory shared
with dom0, so you need to be careful about memory barriers and atomic
operations. I assume Rust can handle this nicely? It would be fun to
see how to use Rust's ownership types to ensure that other bits of
code can't write to parts of a shared buffer that dom0 may be reading,
etc.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 26 15:29:10 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 26 Jul 2015 15:29:10 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZJNrG-0005ip-1F; Sun, 26 Jul 2015 15:28:58 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZJNrF-0005ik-AF
	for mirageos-devel@lists.xenproject.org; Sun, 26 Jul 2015 15:28:57 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	35/C8-21947-8BCF4B55; Sun, 26 Jul 2015 15:28:56 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-11.tower-206.messagelabs.com!1437924535!19562978!1
X-Originating-IP: [131.111.8.141]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE0MSA9PiAxNTQ4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9563 invoked from network); 26 Jul 2015 15:28:56 -0000
Received: from ppsw-41.csi.cam.ac.uk (HELO ppsw-41.csi.cam.ac.uk)
	(131.111.8.141)
	by server-11.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 26 Jul 2015 15:28:56 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from host81-134-29-229.in-addr.btopenworld.com
	([81.134.29.229]:51041 helo=amirmacbook.home)
	by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZJNrD-0007aB-RT (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Sun, 26 Jul 2015 16:28:55 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <85F86D58-2579-4B33-A557-7BB7BD9A8FEC@cam.ac.uk>
Date: Sun, 26 Jul 2015 16:28:54 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] blobs.openmirage.org is down
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi folks,

David reported that the blobs site was down a few days ago [1].  Could whoever has access please check it out and report back? (either here or on the issue).

[1] https://github.com/mirage/mirage-www/issues/375

Thanks!
Amir
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Sun Jul 26 15:29:10 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 26 Jul 2015 15:29:10 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZJNrG-0005ip-1F; Sun, 26 Jul 2015 15:28:58 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZJNrF-0005ik-AF
	for mirageos-devel@lists.xenproject.org; Sun, 26 Jul 2015 15:28:57 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	35/C8-21947-8BCF4B55; Sun, 26 Jul 2015 15:28:56 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-11.tower-206.messagelabs.com!1437924535!19562978!1
X-Originating-IP: [131.111.8.141]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE0MSA9PiAxNTQ4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 9563 invoked from network); 26 Jul 2015 15:28:56 -0000
Received: from ppsw-41.csi.cam.ac.uk (HELO ppsw-41.csi.cam.ac.uk)
	(131.111.8.141)
	by server-11.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 26 Jul 2015 15:28:56 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from host81-134-29-229.in-addr.btopenworld.com
	([81.134.29.229]:51041 helo=amirmacbook.home)
	by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZJNrD-0007aB-RT (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Sun, 26 Jul 2015 16:28:55 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <85F86D58-2579-4B33-A557-7BB7BD9A8FEC@cam.ac.uk>
Date: Sun, 26 Jul 2015 16:28:54 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] blobs.openmirage.org is down
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi folks,

David reported that the blobs site was down a few days ago [1].  Could whoever has access please check it out and report back? (either here or on the issue).

[1] https://github.com/mirage/mirage-www/issues/375

Thanks!
Amir
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 27 08:36:59 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 27 Jul 2015 08:36:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZJdtz-00027Z-Hg; Mon, 27 Jul 2015 08:36:51 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <geo.couprie@gmail.com>) id 1ZJdtx-00027U-Q5
	for mirageos-devel@lists.xenproject.org; Mon, 27 Jul 2015 08:36:50 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	C5/D2-18733-1ADE5B55; Mon, 27 Jul 2015 08:36:49 +0000
X-Env-Sender: geo.couprie@gmail.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1437986206!35479509!1
X-Originating-IP: [209.85.215.49]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28601 invoked from network); 27 Jul 2015 08:36:47 -0000
Received: from mail-la0-f49.google.com (HELO mail-la0-f49.google.com)
	(209.85.215.49)
	by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	27 Jul 2015 08:36:47 -0000
Received: by laah7 with SMTP id h7so44505327laa.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 27 Jul 2015 01:36:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:from:date:message-id
	:subject:to:cc:content-type;
	bh=r/pzltwBXktCYGw4gumUHjYusVeGT5Lako9cy1avD0Q=;
	b=xtKLttx++KUJCH4b7771JK3IAxsSI241DxcQXYCp8TIax+t163DPbsLbhyVpMq8MDb
	SfyttPwLMb3+nqsXrywNH8frMp9vQ2709Jx3QLhR21/P21VGaRxSyOrjUNi8uY4aP5Z1
	GBLmswcDbXlcF4mNWOWhF0JqZ0XQbJF+V+1y0w9WEGXrpl8d35kq9SJRGfia+bRYp0px
	NGxKiqI67tEvzmTcuVWkXb8S6+tWHuhqU5YLioRcu4m2vRrHcDG1or+Ad8qHQ4yiRJtT
	mvMtfElef2r4WwHrgjiDHWqM//WLopZD6ytbtoyV6P6l2PjZrhyVdKfsydi11tGPhJgA
	lVtA==
X-Received: by 10.152.203.134 with SMTP id kq6mr26009599lac.106.1437986206546; 
	Mon, 27 Jul 2015 01:36:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.51.240 with HTTP; Mon, 27 Jul 2015 01:36:26 -0700 (PDT)
In-Reply-To: <CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
From: Geoffroy Couprie <contact@geoffroycouprie.com>
Date: Mon, 27 Jul 2015 10:36:26 +0200
X-Google-Sender-Auth: fIzZns81W1nau3Vcus3LZPh7x-8
Message-ID: <CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

On Sat, Jul 25, 2015 at 12:55 PM, Thomas Leonard <talex5@gmail.com> wrote:
> On 24 July 2015 at 23:28, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>> Hi Thomas,
>>
>> On Fri, Jul 24, 2015 at 3:02 PM, Thomas Leonard <talex5@gmail.com> wrote:
>>> On 24 July 2015 at 13:00, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>>>> Hello!
>>>>
>>>> A chat on Twitter showed some interest in unikernels developed in
>>>> Rust, and I was pointed here for further discussion.
>>>>
>>>> First, I want to acknowledge the amazing work done on MirageOS by
>>>> everybody here. I have followed it from afar for some time, and there
>>>> has been great progress to make it available and usable.
>>>>
>>>> Second, I know making a unikernel system means years of work and a
>>>> team of developers and testers. I am not planning to attempt it alone.
>>>> What I want is to sort out the skills needed, the big pitfalls, the
>>>> important milestones, and know about the unknown unknowns. Then push
>>>> for that project in the Rust community.
>>>>
>>>> From the beginning, people experimented with OS development in Rust
>>>> (cf https://github.com/ryanra/RustOS
>>>> https://github.com/thepowersgang/rust-barebones-kernel or
>>>> https://github.com/charliesome/rustboot ). There is also a very active
>>>> IRC channel, #rust-osdev on irc.mozilla.org
>>>>
>>>> From what I understand, the bare minimum to experiment would be an OS
>>>> booting and communicating with a network card, scheduling and task
>>>> switching, remote debugging, a network stack. Also, tools to help in
>>>> building, deploying and testing applications.
>>>> The ryanra/RustOS project seems well advanced, but it could use a network stack.
>>>
>>> Hi Geoffroy,
>>>
>>> Have you thought about running Mirage on top of a minimal Rust OS
>>> kernel to start with? Then you could implement new drivers in Rust
>>> alongside existing Mirage code. As a garbage-collected language, OCaml
>>> can't be used to implement the very lowest levels of Mirage (e.g.
>>> malloc) and we currently use (my branch of) Mini-OS [1] for running as
>>> a unikernel on Xen. A common question is whether we could replace this
>>> C code with Rust. I'd be interested to help out if so - I've been
>>> meaning to take another look at Rust now it's stable.
>>
>> This is interesting, someone else proposed me that today too. This
>> would be a good strategy to get something up and running quickly
>> enough. Basically, Rust can build to a static library which can be
>> linked to C code, but until there's a memory allocator available,
>> things can be tricky.
>> This is how RustOS does it: a small part written in C, which links to
>> a Rust library that will handle the rest.
>
> What does the C code do? Is this for connecting to code in other
> languages, or something that Rust can't do by itself?

I just checked again, there is no C code, only a few parts in assembly
to boot and set up the interrupts. Everything else is written in Rust.

>
>> The core parts of MiniOS could probably not be reimplemented right
>> away, but drivers would be doable. From what I see, the first step is
>> to communicate with the Xenbus and the Xenstore, right? Then have some
>> ring buffers and a way for xen to signal that some data is available
>> (I'm currently looking at netfront.c).
>
> The only driver needed for Mirage is the console driver, for early
> boot messages. Mirage has its own OCaml implementations of Xenbus and
> Xenstore, so replacing them isn't needed to get rid of the C. Much of
> Mini-OS is optional and unused (and it would be better to package the
> optional bits separately really).
>
> [...]

So Mirage only needs the console and a way to talk with the Xenbus. Is
the scheduling handled by MiniOS or by Mirage?

>>>> - the system can be monotask at first, but preemtive threading should
>>>> happen at some point
>>>
>>> If you have promises (and make all your low-level APIs non-blocking)
>>> then you can get a very long way without preemptive threading,
>>> although it would be good to have it eventually.
>>
>> Could you tell me more about this? This approach looks interesting.
>
> Every function in Mirage that might need to wait instead immediately
> returns a promise. e.g. the read function is defined as:
>
> val read: flow -> [`Ok of buffer | `Eof | `Error of error ] io
>
> (https://github.com/mirage/mirage/blob/d2d4502be0e53de16c915ac72dee008dcaf62991/types/V1.mli#L127)
>
> The type "X io" means "promise of an X" or "light-weight thread that
> will produce an X". Normally Mirage is used with the Lwt library, in
> which case "io" is defined to be "Lwt.t":
>
> https://github.com/mirage/mirage/blob/d2d4502be0e53de16c915ac72dee008dcaf62991/types/V1_LWT.mli#L25
>
> Functions processing promises can be chained together in a similar way
> to non-promise functions, using the >>= operator. It's very useful,
> and most languages have something similar, though the names vary. A
> quick Google turned up this (incomplete-looking) Rust library:
> https://github.com/lucidd/rust-promise
>
> See https://mirage.io/wiki/tutorial-lwt for more details.
>

>From what I understand, Lwt is a green threads library. I would have
thought Mirage needed to emulate OS threads, but it looks like this
would be enough for most use cases. Are multiple cores supported?

>>>> - a part of Rust standard library is already available, I do not know
>>>> how much is needed to support the use case of a HTTP server
>>>> - building monitoring tools inside the kernel
>>>
>>> When running under Xen, we share a trace buffer with dom0. This allows
>>> you to see what the system is doing, even if it is hung or crashed.
>>> See: https://mirage.io/wiki/profiling
>>
>> That visualization tool looks useful! Do you have remote debuggers
>> too? With a serial port or something similar.
>
> Mirage can also be compiled to a Unix process and debugged with gdb
> and similar in most cases. I believe Xen also provides for debugging
> of guests from dom0, but I've never used that.
>
>> I guess the first thing I could do is to integrate some Rust code in
>> MiniOS. Is there a part of the code you would recommend? Something
>> well contained, without too many dependencies?
>
> I'd probably start with the page allocator:
>
> https://github.com/talex5/mini-os/blob/master/mm.c
>
> /*
>  * Initialise allocator, placing addresses [@min,@max] in free pool.
>  * @min and @max are PHYSICAL addresses.
>  */
> static void init_page_allocator(unsigned long min, unsigned long max)
>
> This gets called early during boot with all the free RAM as the
> argument. It provides alloc_pages and free_pages to allocate from this
> range.
>
I'll take a look

>
> Another possible starting place is the console driver:
>
> https://github.com/talex5/mini-os/blob/master/console/console.c
>
> That's a bit harder though because you're writing to memory shared
> with dom0, so you need to be careful about memory barriers and atomic
> operations. I assume Rust can handle this nicely? It would be fun to
> see how to use Rust's ownership types to ensure that other bits of
> code can't write to parts of a shared buffer that dom0 may be reading,
> etc.
>

There are atomic types available, and a way to represent memory
fences: https://doc.rust-lang.org/std/sync/atomic/

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 27 08:36:59 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 27 Jul 2015 08:36:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZJdtz-00027Z-Hg; Mon, 27 Jul 2015 08:36:51 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <geo.couprie@gmail.com>) id 1ZJdtx-00027U-Q5
	for mirageos-devel@lists.xenproject.org; Mon, 27 Jul 2015 08:36:50 +0000
Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id
	C5/D2-18733-1ADE5B55; Mon, 27 Jul 2015 08:36:49 +0000
X-Env-Sender: geo.couprie@gmail.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1437986206!35479509!1
X-Originating-IP: [209.85.215.49]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28601 invoked from network); 27 Jul 2015 08:36:47 -0000
Received: from mail-la0-f49.google.com (HELO mail-la0-f49.google.com)
	(209.85.215.49)
	by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	27 Jul 2015 08:36:47 -0000
Received: by laah7 with SMTP id h7so44505327laa.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 27 Jul 2015 01:36:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:from:date:message-id
	:subject:to:cc:content-type;
	bh=r/pzltwBXktCYGw4gumUHjYusVeGT5Lako9cy1avD0Q=;
	b=xtKLttx++KUJCH4b7771JK3IAxsSI241DxcQXYCp8TIax+t163DPbsLbhyVpMq8MDb
	SfyttPwLMb3+nqsXrywNH8frMp9vQ2709Jx3QLhR21/P21VGaRxSyOrjUNi8uY4aP5Z1
	GBLmswcDbXlcF4mNWOWhF0JqZ0XQbJF+V+1y0w9WEGXrpl8d35kq9SJRGfia+bRYp0px
	NGxKiqI67tEvzmTcuVWkXb8S6+tWHuhqU5YLioRcu4m2vRrHcDG1or+Ad8qHQ4yiRJtT
	mvMtfElef2r4WwHrgjiDHWqM//WLopZD6ytbtoyV6P6l2PjZrhyVdKfsydi11tGPhJgA
	lVtA==
X-Received: by 10.152.203.134 with SMTP id kq6mr26009599lac.106.1437986206546; 
	Mon, 27 Jul 2015 01:36:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.51.240 with HTTP; Mon, 27 Jul 2015 01:36:26 -0700 (PDT)
In-Reply-To: <CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
From: Geoffroy Couprie <contact@geoffroycouprie.com>
Date: Mon, 27 Jul 2015 10:36:26 +0200
X-Google-Sender-Auth: fIzZns81W1nau3Vcus3LZPh7x-8
Message-ID: <CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi,

On Sat, Jul 25, 2015 at 12:55 PM, Thomas Leonard <talex5@gmail.com> wrote:
> On 24 July 2015 at 23:28, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>> Hi Thomas,
>>
>> On Fri, Jul 24, 2015 at 3:02 PM, Thomas Leonard <talex5@gmail.com> wrote:
>>> On 24 July 2015 at 13:00, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>>>> Hello!
>>>>
>>>> A chat on Twitter showed some interest in unikernels developed in
>>>> Rust, and I was pointed here for further discussion.
>>>>
>>>> First, I want to acknowledge the amazing work done on MirageOS by
>>>> everybody here. I have followed it from afar for some time, and there
>>>> has been great progress to make it available and usable.
>>>>
>>>> Second, I know making a unikernel system means years of work and a
>>>> team of developers and testers. I am not planning to attempt it alone.
>>>> What I want is to sort out the skills needed, the big pitfalls, the
>>>> important milestones, and know about the unknown unknowns. Then push
>>>> for that project in the Rust community.
>>>>
>>>> From the beginning, people experimented with OS development in Rust
>>>> (cf https://github.com/ryanra/RustOS
>>>> https://github.com/thepowersgang/rust-barebones-kernel or
>>>> https://github.com/charliesome/rustboot ). There is also a very active
>>>> IRC channel, #rust-osdev on irc.mozilla.org
>>>>
>>>> From what I understand, the bare minimum to experiment would be an OS
>>>> booting and communicating with a network card, scheduling and task
>>>> switching, remote debugging, a network stack. Also, tools to help in
>>>> building, deploying and testing applications.
>>>> The ryanra/RustOS project seems well advanced, but it could use a network stack.
>>>
>>> Hi Geoffroy,
>>>
>>> Have you thought about running Mirage on top of a minimal Rust OS
>>> kernel to start with? Then you could implement new drivers in Rust
>>> alongside existing Mirage code. As a garbage-collected language, OCaml
>>> can't be used to implement the very lowest levels of Mirage (e.g.
>>> malloc) and we currently use (my branch of) Mini-OS [1] for running as
>>> a unikernel on Xen. A common question is whether we could replace this
>>> C code with Rust. I'd be interested to help out if so - I've been
>>> meaning to take another look at Rust now it's stable.
>>
>> This is interesting, someone else proposed me that today too. This
>> would be a good strategy to get something up and running quickly
>> enough. Basically, Rust can build to a static library which can be
>> linked to C code, but until there's a memory allocator available,
>> things can be tricky.
>> This is how RustOS does it: a small part written in C, which links to
>> a Rust library that will handle the rest.
>
> What does the C code do? Is this for connecting to code in other
> languages, or something that Rust can't do by itself?

I just checked again, there is no C code, only a few parts in assembly
to boot and set up the interrupts. Everything else is written in Rust.

>
>> The core parts of MiniOS could probably not be reimplemented right
>> away, but drivers would be doable. From what I see, the first step is
>> to communicate with the Xenbus and the Xenstore, right? Then have some
>> ring buffers and a way for xen to signal that some data is available
>> (I'm currently looking at netfront.c).
>
> The only driver needed for Mirage is the console driver, for early
> boot messages. Mirage has its own OCaml implementations of Xenbus and
> Xenstore, so replacing them isn't needed to get rid of the C. Much of
> Mini-OS is optional and unused (and it would be better to package the
> optional bits separately really).
>
> [...]

So Mirage only needs the console and a way to talk with the Xenbus. Is
the scheduling handled by MiniOS or by Mirage?

>>>> - the system can be monotask at first, but preemtive threading should
>>>> happen at some point
>>>
>>> If you have promises (and make all your low-level APIs non-blocking)
>>> then you can get a very long way without preemptive threading,
>>> although it would be good to have it eventually.
>>
>> Could you tell me more about this? This approach looks interesting.
>
> Every function in Mirage that might need to wait instead immediately
> returns a promise. e.g. the read function is defined as:
>
> val read: flow -> [`Ok of buffer | `Eof | `Error of error ] io
>
> (https://github.com/mirage/mirage/blob/d2d4502be0e53de16c915ac72dee008dcaf62991/types/V1.mli#L127)
>
> The type "X io" means "promise of an X" or "light-weight thread that
> will produce an X". Normally Mirage is used with the Lwt library, in
> which case "io" is defined to be "Lwt.t":
>
> https://github.com/mirage/mirage/blob/d2d4502be0e53de16c915ac72dee008dcaf62991/types/V1_LWT.mli#L25
>
> Functions processing promises can be chained together in a similar way
> to non-promise functions, using the >>= operator. It's very useful,
> and most languages have something similar, though the names vary. A
> quick Google turned up this (incomplete-looking) Rust library:
> https://github.com/lucidd/rust-promise
>
> See https://mirage.io/wiki/tutorial-lwt for more details.
>

>From what I understand, Lwt is a green threads library. I would have
thought Mirage needed to emulate OS threads, but it looks like this
would be enough for most use cases. Are multiple cores supported?

>>>> - a part of Rust standard library is already available, I do not know
>>>> how much is needed to support the use case of a HTTP server
>>>> - building monitoring tools inside the kernel
>>>
>>> When running under Xen, we share a trace buffer with dom0. This allows
>>> you to see what the system is doing, even if it is hung or crashed.
>>> See: https://mirage.io/wiki/profiling
>>
>> That visualization tool looks useful! Do you have remote debuggers
>> too? With a serial port or something similar.
>
> Mirage can also be compiled to a Unix process and debugged with gdb
> and similar in most cases. I believe Xen also provides for debugging
> of guests from dom0, but I've never used that.
>
>> I guess the first thing I could do is to integrate some Rust code in
>> MiniOS. Is there a part of the code you would recommend? Something
>> well contained, without too many dependencies?
>
> I'd probably start with the page allocator:
>
> https://github.com/talex5/mini-os/blob/master/mm.c
>
> /*
>  * Initialise allocator, placing addresses [@min,@max] in free pool.
>  * @min and @max are PHYSICAL addresses.
>  */
> static void init_page_allocator(unsigned long min, unsigned long max)
>
> This gets called early during boot with all the free RAM as the
> argument. It provides alloc_pages and free_pages to allocate from this
> range.
>
I'll take a look

>
> Another possible starting place is the console driver:
>
> https://github.com/talex5/mini-os/blob/master/console/console.c
>
> That's a bit harder though because you're writing to memory shared
> with dom0, so you need to be careful about memory barriers and atomic
> operations. I assume Rust can handle this nicely? It would be fun to
> see how to use Rust's ownership types to ensure that other bits of
> code can't write to parts of a shared buffer that dom0 may be reading,
> etc.
>

There are atomic types available, and a way to represent memory
fences: https://doc.rust-lang.org/std/sync/atomic/

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 27 10:43:05 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 27 Jul 2015 10:43:05 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZJfrt-0000Gk-T8; Mon, 27 Jul 2015 10:42:49 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZJfrs-0000GX-RS
	for mirageos-devel@lists.xenproject.org; Mon, 27 Jul 2015 10:42:48 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	4F/F4-30270-82B06B55; Mon, 27 Jul 2015 10:42:48 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-9.tower-206.messagelabs.com!1437993767!23815256!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=MAILTO_TO_SPAM_ADDR,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28998 invoked from network); 27 Jul 2015 10:42:47 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 27 Jul 2015 10:42:47 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id fc5ec008;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 27 Jul 2015 11:42:46 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <85F86D58-2579-4B33-A557-7BB7BD9A8FEC@cam.ac.uk>
Date: Mon, 27 Jul 2015 11:42:46 +0100
Message-Id: <A79826CE-86B8-47B1-8FAD-D1F7B0092900@recoil.org>
References: <85F86D58-2579-4B33-A557-7BB7BD9A8FEC@cam.ac.uk>
To: Amir M Chaudhry <amc79@cam.ac.uk>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] blobs.openmirage.org is down
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 26 Jul 2015, at 16:28, Amir Chaudhry <amc79@cam.ac.uk> wrote:
> 
> Hi folks,
> 
> David reported that the blobs site was down a few days ago [1].  Could whoever has access please check it out and report back? (either here or on the issue).
> 
> [1] https://github.com/mirage/mirage-www/issues/375

I'm on it -- the VM at Rackspace had both rebooted and the Docker volume had run out of disk space since we don't garbage collect the is-mirage-broken cron job volumes.  I've installed a cron job to reap intermediate containers now, which should alleviate the situation.

In the longer term, I'm looking into moving the Docker cron jobs into a more dedicated infrastructure, instead of repurposing the ARM build VM.  I'll update the bug report to reflect this and leave it open.

-Anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 27 10:43:05 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 27 Jul 2015 10:43:05 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZJfrt-0000Gk-T8; Mon, 27 Jul 2015 10:42:49 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZJfrs-0000GX-RS
	for mirageos-devel@lists.xenproject.org; Mon, 27 Jul 2015 10:42:48 +0000
Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id
	4F/F4-30270-82B06B55; Mon, 27 Jul 2015 10:42:48 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-9.tower-206.messagelabs.com!1437993767!23815256!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=MAILTO_TO_SPAM_ADDR,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28998 invoked from network); 27 Jul 2015 10:42:47 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 27 Jul 2015 10:42:47 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id fc5ec008;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 27 Jul 2015 11:42:46 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <85F86D58-2579-4B33-A557-7BB7BD9A8FEC@cam.ac.uk>
Date: Mon, 27 Jul 2015 11:42:46 +0100
Message-Id: <A79826CE-86B8-47B1-8FAD-D1F7B0092900@recoil.org>
References: <85F86D58-2579-4B33-A557-7BB7BD9A8FEC@cam.ac.uk>
To: Amir M Chaudhry <amc79@cam.ac.uk>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] blobs.openmirage.org is down
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 26 Jul 2015, at 16:28, Amir Chaudhry <amc79@cam.ac.uk> wrote:
> 
> Hi folks,
> 
> David reported that the blobs site was down a few days ago [1].  Could whoever has access please check it out and report back? (either here or on the issue).
> 
> [1] https://github.com/mirage/mirage-www/issues/375

I'm on it -- the VM at Rackspace had both rebooted and the Docker volume had run out of disk space since we don't garbage collect the is-mirage-broken cron job volumes.  I've installed a cron job to reap intermediate containers now, which should alleviate the situation.

In the longer term, I'm looking into moving the Docker cron jobs into a more dedicated infrastructure, instead of repurposing the ARM build VM.  I'll update the bug report to reflect this and leave it open.

-Anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 27 10:53:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 27 Jul 2015 10:53:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZJg23-0001Gs-ME; Mon, 27 Jul 2015 10:53:19 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZJg22-0001Ge-5x
	for mirageos-devel@lists.xenproject.org; Mon, 27 Jul 2015 10:53:18 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	A9/2B-24494-D9D06B55; Mon, 27 Jul 2015 10:53:17 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-3.tower-206.messagelabs.com!1437994396!16261712!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=MAILTO_TO_SPAM_ADDR,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13084 invoked from network); 27 Jul 2015 10:53:16 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 27 Jul 2015 10:53:16 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 1884e52d;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 27 Jul 2015 11:53:16 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <A79826CE-86B8-47B1-8FAD-D1F7B0092900@recoil.org>
Date: Mon, 27 Jul 2015 11:53:15 +0100
Message-Id: <4262F15C-BB3A-4E21-ACD4-367E9FB3596F@recoil.org>
References: <85F86D58-2579-4B33-A557-7BB7BD9A8FEC@cam.ac.uk>
	<A79826CE-86B8-47B1-8FAD-D1F7B0092900@recoil.org>
To: Amir M Chaudhry <amc79@cam.ac.uk>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] blobs.openmirage.org is down
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 27 Jul 2015, at 11:42, Anil Madhavapeddy <anil@recoil.org> wrote:
> 
> On 26 Jul 2015, at 16:28, Amir Chaudhry <amc79@cam.ac.uk> wrote:
>> 
>> Hi folks,
>> 
>> David reported that the blobs site was down a few days ago [1].  Could whoever has access please check it out and report back? (either here or on the issue).
>> 
>> [1] https://github.com/mirage/mirage-www/issues/375
> 
> I'm on it -- the VM at Rackspace had both rebooted and the Docker volume had run out of disk space since we don't garbage collect the is-mirage-broken cron job volumes.  I've installed a cron job to reap intermediate containers now, which should alleviate the situation.
> 
> In the longer term, I'm looking into moving the Docker cron jobs into a more dedicated infrastructure, instead of repurposing the ARM build VM.  I'll update the bug report to reflect this and leave it open.

Incidentally, I was looking at the other problem of is-mirage-broken being out of date on the live website:

https://github.com/mirage/mirage-www/issues/374

Rather than fixing this directly, I'm taking the opportunity to rearchitect the website to use Irmin, since Thomas has largely got this working now.  The new model will involve the website cloning all of its data sources at unikernel compile time:

- the templates from mirage/mirage-www.git
- the Markdown from mirage/mirage-www.wiki.git
- the is-mirage-broken data from mirage/is-mirage-broken.git
- the changelog from the (as yet uncreated) mirage/megamirage.wiki.git (which aggregates all the repositories)

This way, asynchronous jobs can update their relevant repositories, and the Mirage website just glues them together via Irmin queries.  One thing missing is a connector between the static website generation and Irmin, which I'm hopeful we can derive from Thomas Leonard and David Sheets' recent work.  In particular, I would love to hook up the website with live updates whenever anything is pushed to the various data sources, which involves grabbing the relevant Cuekeeper code.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 27 10:53:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 27 Jul 2015 10:53:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZJg23-0001Gs-ME; Mon, 27 Jul 2015 10:53:19 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZJg22-0001Ge-5x
	for mirageos-devel@lists.xenproject.org; Mon, 27 Jul 2015 10:53:18 +0000
Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id
	A9/2B-24494-D9D06B55; Mon, 27 Jul 2015 10:53:17 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-3.tower-206.messagelabs.com!1437994396!16261712!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=0.5 required=7.0 tests=MAILTO_TO_SPAM_ADDR,
	RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13084 invoked from network); 27 Jul 2015 10:53:16 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 27 Jul 2015 10:53:16 -0000
Received: from flick.office (volstagg-0.srg.cl.cam.ac.uk [128.232.32.232]);
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 1884e52d;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Mon, 27 Jul 2015 11:53:16 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <A79826CE-86B8-47B1-8FAD-D1F7B0092900@recoil.org>
Date: Mon, 27 Jul 2015 11:53:15 +0100
Message-Id: <4262F15C-BB3A-4E21-ACD4-367E9FB3596F@recoil.org>
References: <85F86D58-2579-4B33-A557-7BB7BD9A8FEC@cam.ac.uk>
	<A79826CE-86B8-47B1-8FAD-D1F7B0092900@recoil.org>
To: Amir M Chaudhry <amc79@cam.ac.uk>
X-Mailer: Apple Mail (2.2102)
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] blobs.openmirage.org is down
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 27 Jul 2015, at 11:42, Anil Madhavapeddy <anil@recoil.org> wrote:
> 
> On 26 Jul 2015, at 16:28, Amir Chaudhry <amc79@cam.ac.uk> wrote:
>> 
>> Hi folks,
>> 
>> David reported that the blobs site was down a few days ago [1].  Could whoever has access please check it out and report back? (either here or on the issue).
>> 
>> [1] https://github.com/mirage/mirage-www/issues/375
> 
> I'm on it -- the VM at Rackspace had both rebooted and the Docker volume had run out of disk space since we don't garbage collect the is-mirage-broken cron job volumes.  I've installed a cron job to reap intermediate containers now, which should alleviate the situation.
> 
> In the longer term, I'm looking into moving the Docker cron jobs into a more dedicated infrastructure, instead of repurposing the ARM build VM.  I'll update the bug report to reflect this and leave it open.

Incidentally, I was looking at the other problem of is-mirage-broken being out of date on the live website:

https://github.com/mirage/mirage-www/issues/374

Rather than fixing this directly, I'm taking the opportunity to rearchitect the website to use Irmin, since Thomas has largely got this working now.  The new model will involve the website cloning all of its data sources at unikernel compile time:

- the templates from mirage/mirage-www.git
- the Markdown from mirage/mirage-www.wiki.git
- the is-mirage-broken data from mirage/is-mirage-broken.git
- the changelog from the (as yet uncreated) mirage/megamirage.wiki.git (which aggregates all the repositories)

This way, asynchronous jobs can update their relevant repositories, and the Mirage website just glues them together via Irmin queries.  One thing missing is a connector between the static website generation and Irmin, which I'm hopeful we can derive from Thomas Leonard and David Sheets' recent work.  In particular, I would love to hook up the website with live updates whenever anything is pushed to the various data sources, which involves grabbing the relevant Cuekeeper code.

-anil
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 27 14:55:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 27 Jul 2015 14:55:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZJjns-0005Io-95; Mon, 27 Jul 2015 14:54:56 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZJjnr-0005Ii-GQ
	for mirageos-devel@lists.xenproject.org; Mon, 27 Jul 2015 14:54:55 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	2C/7E-32733-E3646B55; Mon, 27 Jul 2015 14:54:54 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-6.tower-27.messagelabs.com!1438008892!35613498!1
X-Originating-IP: [209.85.216.48]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20585 invoked from network); 27 Jul 2015 14:54:52 -0000
Received: from mail-vn0-f48.google.com (HELO mail-vn0-f48.google.com)
	(209.85.216.48)
	by server-6.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	27 Jul 2015 14:54:52 -0000
Received: by vnav141 with SMTP id v141so31723338vna.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 27 Jul 2015 07:54:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=mBPM/K1D90rOglmBxEQr6bZW8klqkGw1UnVx8j6aImI=;
	b=V716lOLwkhH7lpGrxAd50op7J7OHQjPXpm0ExMySouG8jQve2UKU6emfQCHwH1P6rY
	10ASXLcDhJ9uEE5lARhc6uiUjrvXoGSKVtwNGpDxR7mIv0681x/W8zGiOMe/kMBHvTlE
	KjhDFZMZ+KJ7jPoMZ2yoPuV4FkiniBbpJ1cAYpXuO5l4jbVuJ0BSo45GVbMQm6WBLwKL
	/tCeT46K1htmQGzOmzPCDhnxpS4eaoM1i/qaduoucZ0s0D3Se3qIVZ0aaItx6bq1YVY3
	XY9YFh1M1DN5FtC9dVhHfraZWhyA++srB9GJ9G9FzXkgIlaeEOUqnDYUvrYewejEtBZM
	KBbA==
MIME-Version: 1.0
X-Received: by 10.52.114.196 with SMTP id ji4mr34982752vdb.24.1438008891652;
	Mon, 27 Jul 2015 07:54:51 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Mon, 27 Jul 2015 07:54:51 -0700 (PDT)
In-Reply-To: <CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
Date: Mon, 27 Jul 2015 15:54:51 +0100
Message-ID: <CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Geoffroy Couprie <contact@geoffroycouprie.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 27 July 2015 at 09:36, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
> Hi,
>
> On Sat, Jul 25, 2015 at 12:55 PM, Thomas Leonard <talex5@gmail.com> wrote:
>> On 24 July 2015 at 23:28, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>>> Hi Thomas,
>>>
>>> On Fri, Jul 24, 2015 at 3:02 PM, Thomas Leonard <talex5@gmail.com> wrote:
>>>> On 24 July 2015 at 13:00, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>>>>> Hello!
>>>>>
>>>>> A chat on Twitter showed some interest in unikernels developed in
>>>>> Rust, and I was pointed here for further discussion.
>>>>>
>>>>> First, I want to acknowledge the amazing work done on MirageOS by
>>>>> everybody here. I have followed it from afar for some time, and there
>>>>> has been great progress to make it available and usable.
>>>>>
>>>>> Second, I know making a unikernel system means years of work and a
>>>>> team of developers and testers. I am not planning to attempt it alone.
>>>>> What I want is to sort out the skills needed, the big pitfalls, the
>>>>> important milestones, and know about the unknown unknowns. Then push
>>>>> for that project in the Rust community.
>>>>>
>>>>> From the beginning, people experimented with OS development in Rust
>>>>> (cf https://github.com/ryanra/RustOS
>>>>> https://github.com/thepowersgang/rust-barebones-kernel or
>>>>> https://github.com/charliesome/rustboot ). There is also a very active
>>>>> IRC channel, #rust-osdev on irc.mozilla.org
>>>>>
>>>>> From what I understand, the bare minimum to experiment would be an OS
>>>>> booting and communicating with a network card, scheduling and task
>>>>> switching, remote debugging, a network stack. Also, tools to help in
>>>>> building, deploying and testing applications.
>>>>> The ryanra/RustOS project seems well advanced, but it could use a network stack.
>>>>
>>>> Hi Geoffroy,
>>>>
>>>> Have you thought about running Mirage on top of a minimal Rust OS
>>>> kernel to start with? Then you could implement new drivers in Rust
>>>> alongside existing Mirage code. As a garbage-collected language, OCaml
>>>> can't be used to implement the very lowest levels of Mirage (e.g.
>>>> malloc) and we currently use (my branch of) Mini-OS [1] for running as
>>>> a unikernel on Xen. A common question is whether we could replace this
>>>> C code with Rust. I'd be interested to help out if so - I've been
>>>> meaning to take another look at Rust now it's stable.
>>>
>>> This is interesting, someone else proposed me that today too. This
>>> would be a good strategy to get something up and running quickly
>>> enough. Basically, Rust can build to a static library which can be
>>> linked to C code, but until there's a memory allocator available,
>>> things can be tricky.
>>> This is how RustOS does it: a small part written in C, which links to
>>> a Rust library that will handle the rest.
>>
>> What does the C code do? Is this for connecting to code in other
>> languages, or something that Rust can't do by itself?
>
> I just checked again, there is no C code, only a few parts in assembly
> to boot and set up the interrupts. Everything else is written in Rust.

Ah, that's good then!

>>> The core parts of MiniOS could probably not be reimplemented right
>>> away, but drivers would be doable. From what I see, the first step is
>>> to communicate with the Xenbus and the Xenstore, right? Then have some
>>> ring buffers and a way for xen to signal that some data is available
>>> (I'm currently looking at netfront.c).
>>
>> The only driver needed for Mirage is the console driver, for early
>> boot messages. Mirage has its own OCaml implementations of Xenbus and
>> Xenstore, so replacing them isn't needed to get rid of the C. Much of
>> Mini-OS is optional and unused (and it would be better to package the
>> optional bits separately really).
>>
>> [...]
>
> So Mirage only needs the console and a way to talk with the Xenbus.

Actually, Mirage doesn't even use Mini-OS's Xenbus, but has its own:

  https://github.com/mirage/shared-memory-ring

> Is the scheduling handled by MiniOS or by Mirage?

Mirage:

https://github.com/mirage/mirage-platform/blob/master/xen/lib/main.ml

Mini-OS does provide preemptive threading, but we don't use it currently.

>>>>> - the system can be monotask at first, but preemtive threading should
>>>>> happen at some point
>>>>
>>>> If you have promises (and make all your low-level APIs non-blocking)
>>>> then you can get a very long way without preemptive threading,
>>>> although it would be good to have it eventually.
>>>
>>> Could you tell me more about this? This approach looks interesting.
>>
>> Every function in Mirage that might need to wait instead immediately
>> returns a promise. e.g. the read function is defined as:
>>
>> val read: flow -> [`Ok of buffer | `Eof | `Error of error ] io
>>
>> (https://github.com/mirage/mirage/blob/d2d4502be0e53de16c915ac72dee008dcaf62991/types/V1.mli#L127)
>>
>> The type "X io" means "promise of an X" or "light-weight thread that
>> will produce an X". Normally Mirage is used with the Lwt library, in
>> which case "io" is defined to be "Lwt.t":
>>
>> https://github.com/mirage/mirage/blob/d2d4502be0e53de16c915ac72dee008dcaf62991/types/V1_LWT.mli#L25
>>
>> Functions processing promises can be chained together in a similar way
>> to non-promise functions, using the >>= operator. It's very useful,
>> and most languages have something similar, though the names vary. A
>> quick Google turned up this (incomplete-looking) Rust library:
>> https://github.com/lucidd/rust-promise
>>
>> See https://mirage.io/wiki/tutorial-lwt for more details.
>>
>
> From what I understand, Lwt is a green threads library. I would have
> thought Mirage needed to emulate OS threads, but it looks like this
> would be enough for most use cases.

Yep. Hardware is easiest to drive with callbacks, but traditional OS
kernels go to a lot of trouble to present a blocking, synchronous API
to userspace. Green threading libraries then have to mess around with
OS threads to recover the asynchronous callback-based API. With
Mini-OS, all that goes away.

> Are multiple cores supported?

No. Currently the recommendation is to spin up multiple VMs if you
need multiple cores. Rust should be good at supporting this though.

>>>>> - a part of Rust standard library is already available, I do not know
>>>>> how much is needed to support the use case of a HTTP server
>>>>> - building monitoring tools inside the kernel
>>>>
>>>> When running under Xen, we share a trace buffer with dom0. This allows
>>>> you to see what the system is doing, even if it is hung or crashed.
>>>> See: https://mirage.io/wiki/profiling
>>>
>>> That visualization tool looks useful! Do you have remote debuggers
>>> too? With a serial port or something similar.
>>
>> Mirage can also be compiled to a Unix process and debugged with gdb
>> and similar in most cases. I believe Xen also provides for debugging
>> of guests from dom0, but I've never used that.
>>
>>> I guess the first thing I could do is to integrate some Rust code in
>>> MiniOS. Is there a part of the code you would recommend? Something
>>> well contained, without too many dependencies?
>>
>> I'd probably start with the page allocator:
>>
>> https://github.com/talex5/mini-os/blob/master/mm.c
>>
>> /*
>>  * Initialise allocator, placing addresses [@min,@max] in free pool.
>>  * @min and @max are PHYSICAL addresses.
>>  */
>> static void init_page_allocator(unsigned long min, unsigned long max)
>>
>> This gets called early during boot with all the free RAM as the
>> argument. It provides alloc_pages and free_pages to allocate from this
>> range.
>>
> I'll take a look
>
>>
>> Another possible starting place is the console driver:
>>
>> https://github.com/talex5/mini-os/blob/master/console/console.c
>>
>> That's a bit harder though because you're writing to memory shared
>> with dom0, so you need to be careful about memory barriers and atomic
>> operations. I assume Rust can handle this nicely? It would be fun to
>> see how to use Rust's ownership types to ensure that other bits of
>> code can't write to parts of a shared buffer that dom0 may be reading,
>> etc.
>>
>
> There are atomic types available, and a way to represent memory
> fences: https://doc.rust-lang.org/std/sync/atomic/

Great :-)


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Mon Jul 27 14:55:07 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 27 Jul 2015 14:55:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZJjns-0005Io-95; Mon, 27 Jul 2015 14:54:56 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZJjnr-0005Ii-GQ
	for mirageos-devel@lists.xenproject.org; Mon, 27 Jul 2015 14:54:55 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	2C/7E-32733-E3646B55; Mon, 27 Jul 2015 14:54:54 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-6.tower-27.messagelabs.com!1438008892!35613498!1
X-Originating-IP: [209.85.216.48]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20585 invoked from network); 27 Jul 2015 14:54:52 -0000
Received: from mail-vn0-f48.google.com (HELO mail-vn0-f48.google.com)
	(209.85.216.48)
	by server-6.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	27 Jul 2015 14:54:52 -0000
Received: by vnav141 with SMTP id v141so31723338vna.0
	for <mirageos-devel@lists.xenproject.org>;
	Mon, 27 Jul 2015 07:54:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=mBPM/K1D90rOglmBxEQr6bZW8klqkGw1UnVx8j6aImI=;
	b=V716lOLwkhH7lpGrxAd50op7J7OHQjPXpm0ExMySouG8jQve2UKU6emfQCHwH1P6rY
	10ASXLcDhJ9uEE5lARhc6uiUjrvXoGSKVtwNGpDxR7mIv0681x/W8zGiOMe/kMBHvTlE
	KjhDFZMZ+KJ7jPoMZ2yoPuV4FkiniBbpJ1cAYpXuO5l4jbVuJ0BSo45GVbMQm6WBLwKL
	/tCeT46K1htmQGzOmzPCDhnxpS4eaoM1i/qaduoucZ0s0D3Se3qIVZ0aaItx6bq1YVY3
	XY9YFh1M1DN5FtC9dVhHfraZWhyA++srB9GJ9G9FzXkgIlaeEOUqnDYUvrYewejEtBZM
	KBbA==
MIME-Version: 1.0
X-Received: by 10.52.114.196 with SMTP id ji4mr34982752vdb.24.1438008891652;
	Mon, 27 Jul 2015 07:54:51 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Mon, 27 Jul 2015 07:54:51 -0700 (PDT)
In-Reply-To: <CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
Date: Mon, 27 Jul 2015 15:54:51 +0100
Message-ID: <CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Geoffroy Couprie <contact@geoffroycouprie.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 27 July 2015 at 09:36, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
> Hi,
>
> On Sat, Jul 25, 2015 at 12:55 PM, Thomas Leonard <talex5@gmail.com> wrote:
>> On 24 July 2015 at 23:28, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>>> Hi Thomas,
>>>
>>> On Fri, Jul 24, 2015 at 3:02 PM, Thomas Leonard <talex5@gmail.com> wrote:
>>>> On 24 July 2015 at 13:00, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>>>>> Hello!
>>>>>
>>>>> A chat on Twitter showed some interest in unikernels developed in
>>>>> Rust, and I was pointed here for further discussion.
>>>>>
>>>>> First, I want to acknowledge the amazing work done on MirageOS by
>>>>> everybody here. I have followed it from afar for some time, and there
>>>>> has been great progress to make it available and usable.
>>>>>
>>>>> Second, I know making a unikernel system means years of work and a
>>>>> team of developers and testers. I am not planning to attempt it alone.
>>>>> What I want is to sort out the skills needed, the big pitfalls, the
>>>>> important milestones, and know about the unknown unknowns. Then push
>>>>> for that project in the Rust community.
>>>>>
>>>>> From the beginning, people experimented with OS development in Rust
>>>>> (cf https://github.com/ryanra/RustOS
>>>>> https://github.com/thepowersgang/rust-barebones-kernel or
>>>>> https://github.com/charliesome/rustboot ). There is also a very active
>>>>> IRC channel, #rust-osdev on irc.mozilla.org
>>>>>
>>>>> From what I understand, the bare minimum to experiment would be an OS
>>>>> booting and communicating with a network card, scheduling and task
>>>>> switching, remote debugging, a network stack. Also, tools to help in
>>>>> building, deploying and testing applications.
>>>>> The ryanra/RustOS project seems well advanced, but it could use a network stack.
>>>>
>>>> Hi Geoffroy,
>>>>
>>>> Have you thought about running Mirage on top of a minimal Rust OS
>>>> kernel to start with? Then you could implement new drivers in Rust
>>>> alongside existing Mirage code. As a garbage-collected language, OCaml
>>>> can't be used to implement the very lowest levels of Mirage (e.g.
>>>> malloc) and we currently use (my branch of) Mini-OS [1] for running as
>>>> a unikernel on Xen. A common question is whether we could replace this
>>>> C code with Rust. I'd be interested to help out if so - I've been
>>>> meaning to take another look at Rust now it's stable.
>>>
>>> This is interesting, someone else proposed me that today too. This
>>> would be a good strategy to get something up and running quickly
>>> enough. Basically, Rust can build to a static library which can be
>>> linked to C code, but until there's a memory allocator available,
>>> things can be tricky.
>>> This is how RustOS does it: a small part written in C, which links to
>>> a Rust library that will handle the rest.
>>
>> What does the C code do? Is this for connecting to code in other
>> languages, or something that Rust can't do by itself?
>
> I just checked again, there is no C code, only a few parts in assembly
> to boot and set up the interrupts. Everything else is written in Rust.

Ah, that's good then!

>>> The core parts of MiniOS could probably not be reimplemented right
>>> away, but drivers would be doable. From what I see, the first step is
>>> to communicate with the Xenbus and the Xenstore, right? Then have some
>>> ring buffers and a way for xen to signal that some data is available
>>> (I'm currently looking at netfront.c).
>>
>> The only driver needed for Mirage is the console driver, for early
>> boot messages. Mirage has its own OCaml implementations of Xenbus and
>> Xenstore, so replacing them isn't needed to get rid of the C. Much of
>> Mini-OS is optional and unused (and it would be better to package the
>> optional bits separately really).
>>
>> [...]
>
> So Mirage only needs the console and a way to talk with the Xenbus.

Actually, Mirage doesn't even use Mini-OS's Xenbus, but has its own:

  https://github.com/mirage/shared-memory-ring

> Is the scheduling handled by MiniOS or by Mirage?

Mirage:

https://github.com/mirage/mirage-platform/blob/master/xen/lib/main.ml

Mini-OS does provide preemptive threading, but we don't use it currently.

>>>>> - the system can be monotask at first, but preemtive threading should
>>>>> happen at some point
>>>>
>>>> If you have promises (and make all your low-level APIs non-blocking)
>>>> then you can get a very long way without preemptive threading,
>>>> although it would be good to have it eventually.
>>>
>>> Could you tell me more about this? This approach looks interesting.
>>
>> Every function in Mirage that might need to wait instead immediately
>> returns a promise. e.g. the read function is defined as:
>>
>> val read: flow -> [`Ok of buffer | `Eof | `Error of error ] io
>>
>> (https://github.com/mirage/mirage/blob/d2d4502be0e53de16c915ac72dee008dcaf62991/types/V1.mli#L127)
>>
>> The type "X io" means "promise of an X" or "light-weight thread that
>> will produce an X". Normally Mirage is used with the Lwt library, in
>> which case "io" is defined to be "Lwt.t":
>>
>> https://github.com/mirage/mirage/blob/d2d4502be0e53de16c915ac72dee008dcaf62991/types/V1_LWT.mli#L25
>>
>> Functions processing promises can be chained together in a similar way
>> to non-promise functions, using the >>= operator. It's very useful,
>> and most languages have something similar, though the names vary. A
>> quick Google turned up this (incomplete-looking) Rust library:
>> https://github.com/lucidd/rust-promise
>>
>> See https://mirage.io/wiki/tutorial-lwt for more details.
>>
>
> From what I understand, Lwt is a green threads library. I would have
> thought Mirage needed to emulate OS threads, but it looks like this
> would be enough for most use cases.

Yep. Hardware is easiest to drive with callbacks, but traditional OS
kernels go to a lot of trouble to present a blocking, synchronous API
to userspace. Green threading libraries then have to mess around with
OS threads to recover the asynchronous callback-based API. With
Mini-OS, all that goes away.

> Are multiple cores supported?

No. Currently the recommendation is to spin up multiple VMs if you
need multiple cores. Rust should be good at supporting this though.

>>>>> - a part of Rust standard library is already available, I do not know
>>>>> how much is needed to support the use case of a HTTP server
>>>>> - building monitoring tools inside the kernel
>>>>
>>>> When running under Xen, we share a trace buffer with dom0. This allows
>>>> you to see what the system is doing, even if it is hung or crashed.
>>>> See: https://mirage.io/wiki/profiling
>>>
>>> That visualization tool looks useful! Do you have remote debuggers
>>> too? With a serial port or something similar.
>>
>> Mirage can also be compiled to a Unix process and debugged with gdb
>> and similar in most cases. I believe Xen also provides for debugging
>> of guests from dom0, but I've never used that.
>>
>>> I guess the first thing I could do is to integrate some Rust code in
>>> MiniOS. Is there a part of the code you would recommend? Something
>>> well contained, without too many dependencies?
>>
>> I'd probably start with the page allocator:
>>
>> https://github.com/talex5/mini-os/blob/master/mm.c
>>
>> /*
>>  * Initialise allocator, placing addresses [@min,@max] in free pool.
>>  * @min and @max are PHYSICAL addresses.
>>  */
>> static void init_page_allocator(unsigned long min, unsigned long max)
>>
>> This gets called early during boot with all the free RAM as the
>> argument. It provides alloc_pages and free_pages to allocate from this
>> range.
>>
> I'll take a look
>
>>
>> Another possible starting place is the console driver:
>>
>> https://github.com/talex5/mini-os/blob/master/console/console.c
>>
>> That's a bit harder though because you're writing to memory shared
>> with dom0, so you need to be careful about memory barriers and atomic
>> operations. I assume Rust can handle this nicely? It would be fun to
>> see how to use Rust's ownership types to ensure that other bits of
>> code can't write to parts of a shared buffer that dom0 may be reading,
>> etc.
>>
>
> There are atomic types available, and a way to represent memory
> fences: https://doc.rust-lang.org/std/sync/atomic/

Great :-)


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 28 03:53:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Jul 2015 03:53:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZJvwf-0001j7-Of; Tue, 28 Jul 2015 03:52:49 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <russell.pavlicek.xen@gmail.com>)
	id 1ZJvwd-0001id-Qe; Tue, 28 Jul 2015 03:52:47 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	9E/C8-10437-E8CF6B55; Tue, 28 Jul 2015 03:52:46 +0000
X-Env-Sender: russell.pavlicek.xen@gmail.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1438055566!27367549!1
X-Originating-IP: [209.85.212.174]
X-SpamReason: No, hits=2.1 required=7.0 tests=RCVD_BY_IP,
  SUSPICIOUS_RECIPS
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4501 invoked from network); 28 Jul 2015 03:52:46 -0000
Received: from mail-wi0-f174.google.com (HELO mail-wi0-f174.google.com)
	(209.85.212.174)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	28 Jul 2015 03:52:46 -0000
Received: by wibud3 with SMTP id ud3so163484075wib.1;
	Mon, 27 Jul 2015 20:52:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:date:message-id:subject:from:to:content-type;
	bh=z58TzHytt85SkKfOISQsb6ZI32MQY1ZtcB0XxtdrcCA=;
	b=hxxzveWJYdVzPcCo7buqr1IY9nqJZbq9SmkoexvNWLnaMC7Ad+h0wTwdlfJQ3y+ynB
	oJ2MpGMcCoDjOJE1YkL/62fU2A+N1vVCteQE/IW21tVaDbVxaYYHAlTFGlH9w1jpXDX1
	mfppy8vfJ/G76u5uwmyl6R9OKR8TL8M44SkQumlDxkUKzJ26LCqV+KQGxw73M8CN95Nb
	Z31C4EFPlSIy3yuBdhSnltdmD4K54rOSDJFpOl0GfYK9X904C06/hOidG3hjBa6m3u3u
	Ykjzmwg6b0GvpTAE3zPF4/epZ7pCt5ssB0zTCtJEfL81LavAUMknxyGjGJ2JW+IW5iVZ
	sV2A==
MIME-Version: 1.0
X-Received: by 10.180.10.200 with SMTP id k8mr2328015wib.5.1438055566013; Mon,
	27 Jul 2015 20:52:46 -0700 (PDT)
Received: by 10.194.81.99 with HTTP; Mon, 27 Jul 2015 20:52:45 -0700 (PDT)
Date: Mon, 27 Jul 2015 23:52:45 -0400
X-Google-Sender-Auth: Mfns2vI3u7yLA7g3vVkEbD5FcRM
Message-ID: <CAHehzX3Hv+zhoF3KP5nTWZGiqV0PmpLqy0i6Cn4gR_JpRY6LFA@mail.gmail.com>
From: Russ Pavlicek <russell.pavlicek@xenproject.org>
To: xen-devel <xen-devel@lists.xenproject.org>, 
	"xen-users@lists.xen.org" <xen-users@lists.xen.org>,
	xs-devel@lists.xenserver.org, 
	xen-api@lists.xen.org, mirageos-devel@lists.xenproject.org, 
	"publicity@lists.xenproject.org" <publicity@lists.xenproject.org>
Subject: [MirageOS-devel] Xen Project Document Day is this Wednesday July 29
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Our next Xen Project Document Day is this Wednesday, July 29!

Our THEME OF THE MONTH: "The Reverse Yard Sale"

For many of us in the northern hemisphere, this is the time of year
when people sort through the things they own and put the things they
no longer need into a yard sale. Well, instead of removing things we
don't need, we want a reverse yard sale, where we add the things we
*do* need. Some topics to address include:

- Hyper: the new hypervisor-independent Docker engine which uses Xen
Project (among other hypervisors); we need a basic document on how to
use Xen Project with Hyper
- XAPI: The latest docs from the XenServer crew need to be referenced
from our wiki
- Unikernels: Lots of Unikernels leverage Xen Project; we need them
properly linked in to our wiki
- Booting with UEFI: needs to be made current
- Raisin: the new effort has a new wiki page which needs review
- and anything else which needs to be added

All the information you need to participate in Document Day is here:

http://wiki.xenproject.org/wiki/Xen_Document_Days

Also take a look at the current TODO list to see other items which
need attention:

http://wiki.xenproject.org/wiki/Xen_Document_Days/TODO

Please think about how you can help out.  If you haven't requested
to be made a Wiki editor, save time and do it now so you are ready to
go on Document Day.  Just fill out the form below:

http://xenproject.org/component/content/article/100-misc/145-request-to-be-made-a-wiki-editor.html

We hope to see you Wednesday in #xendocs!

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 28 03:53:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Jul 2015 03:53:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZJvwf-0001j7-Of; Tue, 28 Jul 2015 03:52:49 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <russell.pavlicek.xen@gmail.com>)
	id 1ZJvwd-0001id-Qe; Tue, 28 Jul 2015 03:52:47 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	9E/C8-10437-E8CF6B55; Tue, 28 Jul 2015 03:52:46 +0000
X-Env-Sender: russell.pavlicek.xen@gmail.com
X-Msg-Ref: server-14.tower-31.messagelabs.com!1438055566!27367549!1
X-Originating-IP: [209.85.212.174]
X-SpamReason: No, hits=2.1 required=7.0 tests=RCVD_BY_IP,
  SUSPICIOUS_RECIPS
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4501 invoked from network); 28 Jul 2015 03:52:46 -0000
Received: from mail-wi0-f174.google.com (HELO mail-wi0-f174.google.com)
	(209.85.212.174)
	by server-14.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	28 Jul 2015 03:52:46 -0000
Received: by wibud3 with SMTP id ud3so163484075wib.1;
	Mon, 27 Jul 2015 20:52:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:date:message-id:subject:from:to:content-type;
	bh=z58TzHytt85SkKfOISQsb6ZI32MQY1ZtcB0XxtdrcCA=;
	b=hxxzveWJYdVzPcCo7buqr1IY9nqJZbq9SmkoexvNWLnaMC7Ad+h0wTwdlfJQ3y+ynB
	oJ2MpGMcCoDjOJE1YkL/62fU2A+N1vVCteQE/IW21tVaDbVxaYYHAlTFGlH9w1jpXDX1
	mfppy8vfJ/G76u5uwmyl6R9OKR8TL8M44SkQumlDxkUKzJ26LCqV+KQGxw73M8CN95Nb
	Z31C4EFPlSIy3yuBdhSnltdmD4K54rOSDJFpOl0GfYK9X904C06/hOidG3hjBa6m3u3u
	Ykjzmwg6b0GvpTAE3zPF4/epZ7pCt5ssB0zTCtJEfL81LavAUMknxyGjGJ2JW+IW5iVZ
	sV2A==
MIME-Version: 1.0
X-Received: by 10.180.10.200 with SMTP id k8mr2328015wib.5.1438055566013; Mon,
	27 Jul 2015 20:52:46 -0700 (PDT)
Received: by 10.194.81.99 with HTTP; Mon, 27 Jul 2015 20:52:45 -0700 (PDT)
Date: Mon, 27 Jul 2015 23:52:45 -0400
X-Google-Sender-Auth: Mfns2vI3u7yLA7g3vVkEbD5FcRM
Message-ID: <CAHehzX3Hv+zhoF3KP5nTWZGiqV0PmpLqy0i6Cn4gR_JpRY6LFA@mail.gmail.com>
From: Russ Pavlicek <russell.pavlicek@xenproject.org>
To: xen-devel <xen-devel@lists.xenproject.org>, 
	"xen-users@lists.xen.org" <xen-users@lists.xen.org>,
	xs-devel@lists.xenserver.org, 
	xen-api@lists.xen.org, mirageos-devel@lists.xenproject.org, 
	"publicity@lists.xenproject.org" <publicity@lists.xenproject.org>
Subject: [MirageOS-devel] Xen Project Document Day is this Wednesday July 29
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Our next Xen Project Document Day is this Wednesday, July 29!

Our THEME OF THE MONTH: "The Reverse Yard Sale"

For many of us in the northern hemisphere, this is the time of year
when people sort through the things they own and put the things they
no longer need into a yard sale. Well, instead of removing things we
don't need, we want a reverse yard sale, where we add the things we
*do* need. Some topics to address include:

- Hyper: the new hypervisor-independent Docker engine which uses Xen
Project (among other hypervisors); we need a basic document on how to
use Xen Project with Hyper
- XAPI: The latest docs from the XenServer crew need to be referenced
from our wiki
- Unikernels: Lots of Unikernels leverage Xen Project; we need them
properly linked in to our wiki
- Booting with UEFI: needs to be made current
- Raisin: the new effort has a new wiki page which needs review
- and anything else which needs to be added

All the information you need to participate in Document Day is here:

http://wiki.xenproject.org/wiki/Xen_Document_Days

Also take a look at the current TODO list to see other items which
need attention:

http://wiki.xenproject.org/wiki/Xen_Document_Days/TODO

Please think about how you can help out.  If you haven't requested
to be made a Wiki editor, save time and do it now so you are ready to
go on Document Day.  Just fill out the form below:

http://xenproject.org/component/content/article/100-misc/145-request-to-be-made-a-wiki-editor.html

We hope to see you Wednesday in #xendocs!

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 28 08:29:37 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Jul 2015 08:29:37 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZK0GO-000141-34; Tue, 28 Jul 2015 08:29:28 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZK0GM-00013p-7j
	for mirageos-devel@lists.xenproject.org; Tue, 28 Jul 2015 08:29:26 +0000
Received: from [85.158.137.68] by server-3.bemta-3.messagelabs.com id
	16/79-01753-56D37B55; Tue, 28 Jul 2015 08:29:25 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-8.tower-31.messagelabs.com!1438072163!29842417!1
X-Originating-IP: [209.85.216.44]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26567 invoked from network); 28 Jul 2015 08:29:23 -0000
Received: from mail-vn0-f44.google.com (HELO mail-vn0-f44.google.com)
	(209.85.216.44)
	by server-8.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	28 Jul 2015 08:29:23 -0000
Received: by vnaa140 with SMTP id a140so40336758vna.2
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 28 Jul 2015 01:29:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=R3sx1UEljhaxzdYaUM745GVGMp5tWWMqoKnzo4uBUy0=;
	b=nvcgAklKPulggMtMyuPgI3znunkV3ogappE+qu3Ad+m9Go1etNk9vaKJ50LDX9KRc4
	S10JQw1i0WoV/MXEaSgmtx0mdl+BsJpc1oSzou6CnXVr+qbFOqT1jwcAe8SWm+npFO7B
	I2zXRiGFwzmKSiG1DuZww9XAs0jI8v5k7Qttgh+UZe5oV22BMkDNv9XIWddnRsjkyZnN
	KQA2sr/Iq2qGywh5GXnP84j04SggZ/DZnA7k1srbnD7RUDUzP7SrJLYNvWSDXupQjS3J
	zisSAxgU3ItXbCeKv4jlLEE1TfxyyCjhft/imvh6EVDZCXZUfpaxeTQybTdkzN53zJkZ
	tgYQ==
MIME-Version: 1.0
X-Received: by 10.52.232.161 with SMTP id tp1mr18522823vdc.37.1438072162674;
	Tue, 28 Jul 2015 01:29:22 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Tue, 28 Jul 2015 01:29:22 -0700 (PDT)
In-Reply-To: <CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
	<CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
Date: Tue, 28 Jul 2015 09:29:22 +0100
Message-ID: <CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Geoffroy Couprie <contact@geoffroycouprie.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 27 July 2015 at 15:54, Thomas Leonard <talex5@gmail.com> wrote:
> On 27 July 2015 at 09:36, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>> Hi,
>>
>> On Sat, Jul 25, 2015 at 12:55 PM, Thomas Leonard <talex5@gmail.com> wrote:
>>> On 24 July 2015 at 23:28, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>>>> Hi Thomas,
>>>>
>>>> On Fri, Jul 24, 2015 at 3:02 PM, Thomas Leonard <talex5@gmail.com> wrote:
>>>>> On 24 July 2015 at 13:00, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>>>>>> Hello!
>>>>>>
>>>>>> A chat on Twitter showed some interest in unikernels developed in
>>>>>> Rust, and I was pointed here for further discussion.
>>>>>>
>>>>>> First, I want to acknowledge the amazing work done on MirageOS by
>>>>>> everybody here. I have followed it from afar for some time, and there
>>>>>> has been great progress to make it available and usable.
>>>>>>
>>>>>> Second, I know making a unikernel system means years of work and a
>>>>>> team of developers and testers. I am not planning to attempt it alone.
>>>>>> What I want is to sort out the skills needed, the big pitfalls, the
>>>>>> important milestones, and know about the unknown unknowns. Then push
>>>>>> for that project in the Rust community.
>>>>>>
>>>>>> From the beginning, people experimented with OS development in Rust
>>>>>> (cf https://github.com/ryanra/RustOS
>>>>>> https://github.com/thepowersgang/rust-barebones-kernel or
>>>>>> https://github.com/charliesome/rustboot ). There is also a very active
>>>>>> IRC channel, #rust-osdev on irc.mozilla.org
>>>>>>
>>>>>> From what I understand, the bare minimum to experiment would be an OS
>>>>>> booting and communicating with a network card, scheduling and task
>>>>>> switching, remote debugging, a network stack. Also, tools to help in
>>>>>> building, deploying and testing applications.
>>>>>> The ryanra/RustOS project seems well advanced, but it could use a network stack.
>>>>>
>>>>> Hi Geoffroy,
>>>>>
>>>>> Have you thought about running Mirage on top of a minimal Rust OS
>>>>> kernel to start with? Then you could implement new drivers in Rust
>>>>> alongside existing Mirage code. As a garbage-collected language, OCaml
>>>>> can't be used to implement the very lowest levels of Mirage (e.g.
>>>>> malloc) and we currently use (my branch of) Mini-OS [1] for running as
>>>>> a unikernel on Xen. A common question is whether we could replace this
>>>>> C code with Rust. I'd be interested to help out if so - I've been
>>>>> meaning to take another look at Rust now it's stable.
>>>>
>>>> This is interesting, someone else proposed me that today too. This
>>>> would be a good strategy to get something up and running quickly
>>>> enough. Basically, Rust can build to a static library which can be
>>>> linked to C code, but until there's a memory allocator available,
>>>> things can be tricky.
[...]
>>>> The core parts of MiniOS could probably not be reimplemented right
>>>> away, but drivers would be doable. From what I see, the first step is
>>>> to communicate with the Xenbus and the Xenstore, right? Then have some
>>>> ring buffers and a way for xen to signal that some data is available
>>>> (I'm currently looking at netfront.c).
>>>
>>> The only driver needed for Mirage is the console driver, for early
>>> boot messages. Mirage has its own OCaml implementations of Xenbus and
>>> Xenstore, so replacing them isn't needed to get rid of the C. Much of
>>> Mini-OS is optional and unused (and it would be better to package the
>>> optional bits separately really).
>>>
>>> [...]
>>
>> So Mirage only needs the console and a way to talk with the Xenbus.
>
> Actually, Mirage doesn't even use Mini-OS's Xenbus, but has its own:
>
>   https://github.com/mirage/shared-memory-ring
>
>> Is the scheduling handled by MiniOS or by Mirage?
>
> Mirage:
>
> https://github.com/mirage/mirage-platform/blob/master/xen/lib/main.ml
>
> Mini-OS does provide preemptive threading, but we don't use it currently.

Correction: Mini-OS's threading is also cooperative. However, it
should be fairly easy to change it. You'd just need to preserve more
registers, I think, at least on ARM (I know very little about x86).

>>>>>> - the system can be monotask at first, but preemtive threading should
>>>>>> happen at some point
>>>>>
>>>>> If you have promises (and make all your low-level APIs non-blocking)
>>>>> then you can get a very long way without preemptive threading,
>>>>> although it would be good to have it eventually.
>>>>
>>>> Could you tell me more about this? This approach looks interesting.
>>>
>>> Every function in Mirage that might need to wait instead immediately
>>> returns a promise. e.g. the read function is defined as:
>>>
>>> val read: flow -> [`Ok of buffer | `Eof | `Error of error ] io
[...]
>>> See https://mirage.io/wiki/tutorial-lwt for more details.
>>>
>>
>> From what I understand, Lwt is a green threads library. I would have
>> thought Mirage needed to emulate OS threads, but it looks like this
>> would be enough for most use cases.
>
> Yep. Hardware is easiest to drive with callbacks, but traditional OS
> kernels go to a lot of trouble to present a blocking, synchronous API
> to userspace. Green threading libraries then have to mess around with
> OS threads to recover the asynchronous callback-based API. With
> Mini-OS, all that goes away.
>
>> Are multiple cores supported?
>
> No. Currently the recommendation is to spin up multiple VMs if you
> need multiple cores. Rust should be good at supporting this though.
>
>>>>>> - a part of Rust standard library is already available, I do not know
>>>>>> how much is needed to support the use case of a HTTP server
>>>>>> - building monitoring tools inside the kernel
>>>>>
>>>>> When running under Xen, we share a trace buffer with dom0. This allows
>>>>> you to see what the system is doing, even if it is hung or crashed.
>>>>> See: https://mirage.io/wiki/profiling
>>>>
>>>> That visualization tool looks useful! Do you have remote debuggers
>>>> too? With a serial port or something similar.
>>>
>>> Mirage can also be compiled to a Unix process and debugged with gdb
>>> and similar in most cases. I believe Xen also provides for debugging
>>> of guests from dom0, but I've never used that.
>>>
>>>> I guess the first thing I could do is to integrate some Rust code in
>>>> MiniOS. Is there a part of the code you would recommend? Something
>>>> well contained, without too many dependencies?
>>>
>>> I'd probably start with the page allocator:
>>>
>>> https://github.com/talex5/mini-os/blob/master/mm.c
>>>
>>> /*
>>>  * Initialise allocator, placing addresses [@min,@max] in free pool.
>>>  * @min and @max are PHYSICAL addresses.
>>>  */
>>> static void init_page_allocator(unsigned long min, unsigned long max)
>>>
>>> This gets called early during boot with all the free RAM as the
>>> argument. It provides alloc_pages and free_pages to allocate from this
>>> range.
>>>
>> I'll take a look
>>
>>>
>>> Another possible starting place is the console driver:
>>>
>>> https://github.com/talex5/mini-os/blob/master/console/console.c
>>>
>>> That's a bit harder though because you're writing to memory shared
>>> with dom0, so you need to be careful about memory barriers and atomic
>>> operations. I assume Rust can handle this nicely? It would be fun to
>>> see how to use Rust's ownership types to ensure that other bits of
>>> code can't write to parts of a shared buffer that dom0 may be reading,
>>> etc.
>>>
>>
>> There are atomic types available, and a way to represent memory
>> fences: https://doc.rust-lang.org/std/sync/atomic/
>
> Great :-)

One other thing I should mention: Mini-OS runs in kernel mode and can
be interrupted at any time. On x86, the interrupt handler uses the
same stack as the rest of the code. Therefore, you must compile with
the Rust equivalent of -mno-red-zone so Rust doesn't assume it can
store things below the current stack pointer.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 28 08:29:37 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Jul 2015 08:29:37 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZK0GO-000141-34; Tue, 28 Jul 2015 08:29:28 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZK0GM-00013p-7j
	for mirageos-devel@lists.xenproject.org; Tue, 28 Jul 2015 08:29:26 +0000
Received: from [85.158.137.68] by server-3.bemta-3.messagelabs.com id
	16/79-01753-56D37B55; Tue, 28 Jul 2015 08:29:25 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-8.tower-31.messagelabs.com!1438072163!29842417!1
X-Originating-IP: [209.85.216.44]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26567 invoked from network); 28 Jul 2015 08:29:23 -0000
Received: from mail-vn0-f44.google.com (HELO mail-vn0-f44.google.com)
	(209.85.216.44)
	by server-8.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	28 Jul 2015 08:29:23 -0000
Received: by vnaa140 with SMTP id a140so40336758vna.2
	for <mirageos-devel@lists.xenproject.org>;
	Tue, 28 Jul 2015 01:29:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=R3sx1UEljhaxzdYaUM745GVGMp5tWWMqoKnzo4uBUy0=;
	b=nvcgAklKPulggMtMyuPgI3znunkV3ogappE+qu3Ad+m9Go1etNk9vaKJ50LDX9KRc4
	S10JQw1i0WoV/MXEaSgmtx0mdl+BsJpc1oSzou6CnXVr+qbFOqT1jwcAe8SWm+npFO7B
	I2zXRiGFwzmKSiG1DuZww9XAs0jI8v5k7Qttgh+UZe5oV22BMkDNv9XIWddnRsjkyZnN
	KQA2sr/Iq2qGywh5GXnP84j04SggZ/DZnA7k1srbnD7RUDUzP7SrJLYNvWSDXupQjS3J
	zisSAxgU3ItXbCeKv4jlLEE1TfxyyCjhft/imvh6EVDZCXZUfpaxeTQybTdkzN53zJkZ
	tgYQ==
MIME-Version: 1.0
X-Received: by 10.52.232.161 with SMTP id tp1mr18522823vdc.37.1438072162674;
	Tue, 28 Jul 2015 01:29:22 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Tue, 28 Jul 2015 01:29:22 -0700 (PDT)
In-Reply-To: <CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
	<CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
Date: Tue, 28 Jul 2015 09:29:22 +0100
Message-ID: <CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Geoffroy Couprie <contact@geoffroycouprie.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 27 July 2015 at 15:54, Thomas Leonard <talex5@gmail.com> wrote:
> On 27 July 2015 at 09:36, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>> Hi,
>>
>> On Sat, Jul 25, 2015 at 12:55 PM, Thomas Leonard <talex5@gmail.com> wrote:
>>> On 24 July 2015 at 23:28, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>>>> Hi Thomas,
>>>>
>>>> On Fri, Jul 24, 2015 at 3:02 PM, Thomas Leonard <talex5@gmail.com> wrote:
>>>>> On 24 July 2015 at 13:00, Geoffroy Couprie <contact@geoffroycouprie.com> wrote:
>>>>>> Hello!
>>>>>>
>>>>>> A chat on Twitter showed some interest in unikernels developed in
>>>>>> Rust, and I was pointed here for further discussion.
>>>>>>
>>>>>> First, I want to acknowledge the amazing work done on MirageOS by
>>>>>> everybody here. I have followed it from afar for some time, and there
>>>>>> has been great progress to make it available and usable.
>>>>>>
>>>>>> Second, I know making a unikernel system means years of work and a
>>>>>> team of developers and testers. I am not planning to attempt it alone.
>>>>>> What I want is to sort out the skills needed, the big pitfalls, the
>>>>>> important milestones, and know about the unknown unknowns. Then push
>>>>>> for that project in the Rust community.
>>>>>>
>>>>>> From the beginning, people experimented with OS development in Rust
>>>>>> (cf https://github.com/ryanra/RustOS
>>>>>> https://github.com/thepowersgang/rust-barebones-kernel or
>>>>>> https://github.com/charliesome/rustboot ). There is also a very active
>>>>>> IRC channel, #rust-osdev on irc.mozilla.org
>>>>>>
>>>>>> From what I understand, the bare minimum to experiment would be an OS
>>>>>> booting and communicating with a network card, scheduling and task
>>>>>> switching, remote debugging, a network stack. Also, tools to help in
>>>>>> building, deploying and testing applications.
>>>>>> The ryanra/RustOS project seems well advanced, but it could use a network stack.
>>>>>
>>>>> Hi Geoffroy,
>>>>>
>>>>> Have you thought about running Mirage on top of a minimal Rust OS
>>>>> kernel to start with? Then you could implement new drivers in Rust
>>>>> alongside existing Mirage code. As a garbage-collected language, OCaml
>>>>> can't be used to implement the very lowest levels of Mirage (e.g.
>>>>> malloc) and we currently use (my branch of) Mini-OS [1] for running as
>>>>> a unikernel on Xen. A common question is whether we could replace this
>>>>> C code with Rust. I'd be interested to help out if so - I've been
>>>>> meaning to take another look at Rust now it's stable.
>>>>
>>>> This is interesting, someone else proposed me that today too. This
>>>> would be a good strategy to get something up and running quickly
>>>> enough. Basically, Rust can build to a static library which can be
>>>> linked to C code, but until there's a memory allocator available,
>>>> things can be tricky.
[...]
>>>> The core parts of MiniOS could probably not be reimplemented right
>>>> away, but drivers would be doable. From what I see, the first step is
>>>> to communicate with the Xenbus and the Xenstore, right? Then have some
>>>> ring buffers and a way for xen to signal that some data is available
>>>> (I'm currently looking at netfront.c).
>>>
>>> The only driver needed for Mirage is the console driver, for early
>>> boot messages. Mirage has its own OCaml implementations of Xenbus and
>>> Xenstore, so replacing them isn't needed to get rid of the C. Much of
>>> Mini-OS is optional and unused (and it would be better to package the
>>> optional bits separately really).
>>>
>>> [...]
>>
>> So Mirage only needs the console and a way to talk with the Xenbus.
>
> Actually, Mirage doesn't even use Mini-OS's Xenbus, but has its own:
>
>   https://github.com/mirage/shared-memory-ring
>
>> Is the scheduling handled by MiniOS or by Mirage?
>
> Mirage:
>
> https://github.com/mirage/mirage-platform/blob/master/xen/lib/main.ml
>
> Mini-OS does provide preemptive threading, but we don't use it currently.

Correction: Mini-OS's threading is also cooperative. However, it
should be fairly easy to change it. You'd just need to preserve more
registers, I think, at least on ARM (I know very little about x86).

>>>>>> - the system can be monotask at first, but preemtive threading should
>>>>>> happen at some point
>>>>>
>>>>> If you have promises (and make all your low-level APIs non-blocking)
>>>>> then you can get a very long way without preemptive threading,
>>>>> although it would be good to have it eventually.
>>>>
>>>> Could you tell me more about this? This approach looks interesting.
>>>
>>> Every function in Mirage that might need to wait instead immediately
>>> returns a promise. e.g. the read function is defined as:
>>>
>>> val read: flow -> [`Ok of buffer | `Eof | `Error of error ] io
[...]
>>> See https://mirage.io/wiki/tutorial-lwt for more details.
>>>
>>
>> From what I understand, Lwt is a green threads library. I would have
>> thought Mirage needed to emulate OS threads, but it looks like this
>> would be enough for most use cases.
>
> Yep. Hardware is easiest to drive with callbacks, but traditional OS
> kernels go to a lot of trouble to present a blocking, synchronous API
> to userspace. Green threading libraries then have to mess around with
> OS threads to recover the asynchronous callback-based API. With
> Mini-OS, all that goes away.
>
>> Are multiple cores supported?
>
> No. Currently the recommendation is to spin up multiple VMs if you
> need multiple cores. Rust should be good at supporting this though.
>
>>>>>> - a part of Rust standard library is already available, I do not know
>>>>>> how much is needed to support the use case of a HTTP server
>>>>>> - building monitoring tools inside the kernel
>>>>>
>>>>> When running under Xen, we share a trace buffer with dom0. This allows
>>>>> you to see what the system is doing, even if it is hung or crashed.
>>>>> See: https://mirage.io/wiki/profiling
>>>>
>>>> That visualization tool looks useful! Do you have remote debuggers
>>>> too? With a serial port or something similar.
>>>
>>> Mirage can also be compiled to a Unix process and debugged with gdb
>>> and similar in most cases. I believe Xen also provides for debugging
>>> of guests from dom0, but I've never used that.
>>>
>>>> I guess the first thing I could do is to integrate some Rust code in
>>>> MiniOS. Is there a part of the code you would recommend? Something
>>>> well contained, without too many dependencies?
>>>
>>> I'd probably start with the page allocator:
>>>
>>> https://github.com/talex5/mini-os/blob/master/mm.c
>>>
>>> /*
>>>  * Initialise allocator, placing addresses [@min,@max] in free pool.
>>>  * @min and @max are PHYSICAL addresses.
>>>  */
>>> static void init_page_allocator(unsigned long min, unsigned long max)
>>>
>>> This gets called early during boot with all the free RAM as the
>>> argument. It provides alloc_pages and free_pages to allocate from this
>>> range.
>>>
>> I'll take a look
>>
>>>
>>> Another possible starting place is the console driver:
>>>
>>> https://github.com/talex5/mini-os/blob/master/console/console.c
>>>
>>> That's a bit harder though because you're writing to memory shared
>>> with dom0, so you need to be careful about memory barriers and atomic
>>> operations. I assume Rust can handle this nicely? It would be fun to
>>> see how to use Rust's ownership types to ensure that other bits of
>>> code can't write to parts of a shared buffer that dom0 may be reading,
>>> etc.
>>>
>>
>> There are atomic types available, and a way to represent memory
>> fences: https://doc.rust-lang.org/std/sync/atomic/
>
> Great :-)

One other thing I should mention: Mini-OS runs in kernel mode and can
be interrupted at any time. On x86, the interrupt handler uses the
same stack as the rest of the code. Therefore, you must compile with
the Rust equivalent of -mno-red-zone so Rust doesn't assume it can
store things below the current stack pointer.


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 28 17:28:33 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Jul 2015 17:28:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZK8fw-0005cd-HS; Tue, 28 Jul 2015 17:28:24 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZK8fv-0005cN-4m
	for mirageos-devel@lists.xenproject.org; Tue, 28 Jul 2015 17:28:23 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	6B/53-32615-6BBB7B55; Tue, 28 Jul 2015 17:28:22 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-8.tower-206.messagelabs.com!1438104501!24208280!1
X-Originating-IP: [131.111.8.140]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17010 invoked from network); 28 Jul 2015 17:28:21 -0000
Received: from ppsw-40.csi.cam.ac.uk (HELO ppsw-40.csi.cam.ac.uk)
	(131.111.8.140)
	by server-8.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 28 Jul 2015 17:28:21 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from 93-137-187-63.adsl.net.t-com.hr ([93.137.187.63]:61290
	helo=amirmacbook.sx76x.gigaset.net)
	by ppsw-40.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZK8fs-0008Mg-m1 (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Tue, 28 Jul 2015 18:28:20 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <6AD718B2-FB0F-4665-86B9-9770B9AE0B97@cam.ac.uk>
Date: Tue, 28 Jul 2015 19:28:19 +0200
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] MirageOS fortnightly call - Wednesday 29th at 4pm
	BST (GMT+1)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.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yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdl
b3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Tue Jul 28 17:28:33 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 28 Jul 2015 17:28:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZK8fw-0005cd-HS; Tue, 28 Jul 2015 17:28:24 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZK8fv-0005cN-4m
	for mirageos-devel@lists.xenproject.org; Tue, 28 Jul 2015 17:28:23 +0000
Received: from [85.158.139.211] by server-1.bemta-5.messagelabs.com id
	6B/53-32615-6BBB7B55; Tue, 28 Jul 2015 17:28:22 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-8.tower-206.messagelabs.com!1438104501!24208280!1
X-Originating-IP: [131.111.8.140]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 17010 invoked from network); 28 Jul 2015 17:28:21 -0000
Received: from ppsw-40.csi.cam.ac.uk (HELO ppsw-40.csi.cam.ac.uk)
	(131.111.8.140)
	by server-8.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 28 Jul 2015 17:28:21 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from 93-137-187-63.adsl.net.t-com.hr ([93.137.187.63]:61290
	helo=amirmacbook.sx76x.gigaset.net)
	by ppsw-40.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZK8fs-0008Mg-m1 (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Tue, 28 Jul 2015 18:28:20 +0100
From: Amir Chaudhry <amc79@cam.ac.uk>
Message-Id: <6AD718B2-FB0F-4665-86B9-9770B9AE0B97@cam.ac.uk>
Date: Tue, 28 Jul 2015 19:28:19 +0200
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] MirageOS fortnightly call - Wednesday 29th at 4pm
	BST (GMT+1)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsCgpSZXN1bWluZyBvdXIgcmVndWxhciBzY2hlZHVsZSwgdGhlIG5leHQgTWlyYWdl
T1MgZGV2IGNhbGwgd2lsbCB0YWtlIHBsYWNlIG9uIFdlZG5lc2RheSBhZnRlcm5vb24gYXQgNHBt
IEJTVCAoR01UKzEuICBBcyBhbHdheXMsIHRoZSBjYWxsIGlzIG9wZW4gdG8gYWxsLgoKSXQnbGwg
YmUgb24gR29vZ2xlIGhhbmdvdXQgYW5kIHdl4oCZbGwgc2hhcmUgdGhlIGxpbmsgc2hvcnRseSBi
ZWZvcmVoYW5kIOKAlCAgYm90aCBieSBlbWFpbCBhbmQgaW4gdGhlIElSQyBjaGFubmVsICgjbWly
YWdlIG9uIGZyZWVub2RlKS4KClRoZSBhZ2VuZGEgZm9yIHRoaXMgd2VlayBpcyBjdXJyZW50bHkg
YXMgZm9sbG93cyAoc3ViamVjdCB0byBjaGFuZ2UpOgoK4oCiIFF1YWxpdHkgYW5kIFRlc3QKCeKA
oiBCdWcgcmV2aWV3CuKAoiBNaXJhZ2UuaW8gaW5mcmFzdHJ1Y3R1cmUK4oCiIFBpb25lZXIgUHJv
amVjdHMK4oCiIFJ1c3QKCklmIHlvdSBoYXZlIHRoaW5ncyB0byBhZGQvZWRpdCwgcGxlYXNlIGRv
IHNvIGF0IGh0dHBzOi8vZ2l0aHViLmNvbS9taXJhZ2UvbWlyYWdlLXd3dy93aWtpL0NhbGwtQWdl
bmRhCgpKb2luIHVzIGF0IDRwbSBCU1Qgb24gV2VkbmVzZGF5IQoKQmVzdCB3aXNoZXMsCkFtaXIK
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1Mt
ZGV2ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0
dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdl
b3MtZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 29 04:07:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 29 Jul 2015 04:07:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKIdz-0000TA-Lx; Wed, 29 Jul 2015 04:07:03 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <russell.pavlicek.xen@gmail.com>)
	id 1ZKIdx-0000Su-DR; Wed, 29 Jul 2015 04:07:02 +0000
Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id
	1D/F0-20219-46158B55; Wed, 29 Jul 2015 04:07:00 +0000
X-Env-Sender: russell.pavlicek.xen@gmail.com
X-Msg-Ref: server-12.tower-31.messagelabs.com!1438142819!30131654!1
X-Originating-IP: [209.85.212.169]
X-SpamReason: No, hits=2.1 required=7.0 tests=RCVD_BY_IP,
  SUSPICIOUS_RECIPS
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3742 invoked from network); 29 Jul 2015 04:06:59 -0000
Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com)
	(209.85.212.169)
	by server-12.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	29 Jul 2015 04:06:59 -0000
Received: by wibud3 with SMTP id ud3so204038892wib.1;
	Tue, 28 Jul 2015 21:06:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=0CwZO5LHNb2jHZ0urb7MMfRTul/JcdSHB31rWdHceUk=;
	b=AwQuH4pv3puR1W275c4DGfAyg8SaXcxwcOci3gbqZfh98Vr7l4f/o4+3rH2IeMSbsp
	DFJXvn92mdr9YJpwdlI+VdgxL1u2LYvnsAnTH/GRVy1lPvXwfXkrInPeAzSijH1xLPtu
	GTCFwWWNmNpd3vgLawSU6d6rgLkN2d1skSp2hqSt5XvLyCh1egpA+V8FYeCq6klTKuZ/
	IlLcfBMxFYPQbHqh7+1Z9oc+hZKGkte0W4vqdbmCTR51J7nomNV76IOT1uOM0HbMLvdv
	Pvi8FsllaZ93mloHtsGiI4qUdeiNYT5wbil0q5hVv2FTHhUM00jZ9px9BoVo3677u59/
	IsnA==
MIME-Version: 1.0
X-Received: by 10.181.12.20 with SMTP id em20mr1731884wid.28.1438142819118;
	Tue, 28 Jul 2015 21:06:59 -0700 (PDT)
Received: by 10.194.81.99 with HTTP; Tue, 28 Jul 2015 21:06:59 -0700 (PDT)
In-Reply-To: <CAHehzX3Hv+zhoF3KP5nTWZGiqV0PmpLqy0i6Cn4gR_JpRY6LFA@mail.gmail.com>
References: <CAHehzX3Hv+zhoF3KP5nTWZGiqV0PmpLqy0i6Cn4gR_JpRY6LFA@mail.gmail.com>
Date: Wed, 29 Jul 2015 00:06:59 -0400
X-Google-Sender-Auth: qPaVX-Ni8ZfC0IaKYVfwr-84lq4
Message-ID: <CAHehzX0j0nqHBd6w=yFLj+AhpXkAZO-ipqPT6m=KE7ox+kXJPQ@mail.gmail.com>
From: Russ Pavlicek <russell.pavlicek@xenproject.org>
To: Russ Pavlicek <russell.pavlicek@xenproject.org>
Cc: xen-api@lists.xen.org, xen-devel <xen-devel@lists.xenproject.org>,
	xs-devel@lists.xenserver.org, mirageos-devel@lists.xenproject.org,
	"xen-users@lists.xen.org" <xen-users@lists.xen.org>
Subject: Re: [MirageOS-devel] Xen Project Document Day is this Wednesday
	July 29
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Xen Project Document Day is here!  Join us as we seek to make our Wiki
more accurate and useful!

On Mon, Jul 27, 2015 at 11:52 PM, Russ Pavlicek
<russell.pavlicek@xenproject.org> wrote:
> Our next Xen Project Document Day is this Wednesday, July 29!
>
> Our THEME OF THE MONTH: "The Reverse Yard Sale"
>
> For many of us in the northern hemisphere, this is the time of year
> when people sort through the things they own and put the things they
> no longer need into a yard sale. Well, instead of removing things we
> don't need, we want a reverse yard sale, where we add the things we
> *do* need. Some topics to address include:
>
> - Hyper: the new hypervisor-independent Docker engine which uses Xen
> Project (among other hypervisors); we need a basic document on how to
> use Xen Project with Hyper
> - XAPI: The latest docs from the XenServer crew need to be referenced
> from our wiki
> - Unikernels: Lots of Unikernels leverage Xen Project; we need them
> properly linked in to our wiki
> - Booting with UEFI: needs to be made current
> - Raisin: the new effort has a new wiki page which needs review
> - and anything else which needs to be added
>
> All the information you need to participate in Document Day is here:
>
> http://wiki.xenproject.org/wiki/Xen_Document_Days
>
> Also take a look at the current TODO list to see other items which
> need attention:
>
> http://wiki.xenproject.org/wiki/Xen_Document_Days/TODO
>
> Please think about how you can help out.  If you haven't requested
> to be made a Wiki editor, save time and do it now so you are ready to
> go on Document Day.  Just fill out the form below:
>
> http://xenproject.org/component/content/article/100-misc/145-request-to-be-made-a-wiki-editor.html
>
> We hope to see you Wednesday in #xendocs!

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 29 04:07:14 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 29 Jul 2015 04:07:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKIdz-0000TA-Lx; Wed, 29 Jul 2015 04:07:03 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <russell.pavlicek.xen@gmail.com>)
	id 1ZKIdx-0000Su-DR; Wed, 29 Jul 2015 04:07:02 +0000
Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id
	1D/F0-20219-46158B55; Wed, 29 Jul 2015 04:07:00 +0000
X-Env-Sender: russell.pavlicek.xen@gmail.com
X-Msg-Ref: server-12.tower-31.messagelabs.com!1438142819!30131654!1
X-Originating-IP: [209.85.212.169]
X-SpamReason: No, hits=2.1 required=7.0 tests=RCVD_BY_IP,
  SUSPICIOUS_RECIPS
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3742 invoked from network); 29 Jul 2015 04:06:59 -0000
Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com)
	(209.85.212.169)
	by server-12.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	29 Jul 2015 04:06:59 -0000
Received: by wibud3 with SMTP id ud3so204038892wib.1;
	Tue, 28 Jul 2015 21:06:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:date:message-id:subject
	:from:to:cc:content-type;
	bh=0CwZO5LHNb2jHZ0urb7MMfRTul/JcdSHB31rWdHceUk=;
	b=AwQuH4pv3puR1W275c4DGfAyg8SaXcxwcOci3gbqZfh98Vr7l4f/o4+3rH2IeMSbsp
	DFJXvn92mdr9YJpwdlI+VdgxL1u2LYvnsAnTH/GRVy1lPvXwfXkrInPeAzSijH1xLPtu
	GTCFwWWNmNpd3vgLawSU6d6rgLkN2d1skSp2hqSt5XvLyCh1egpA+V8FYeCq6klTKuZ/
	IlLcfBMxFYPQbHqh7+1Z9oc+hZKGkte0W4vqdbmCTR51J7nomNV76IOT1uOM0HbMLvdv
	Pvi8FsllaZ93mloHtsGiI4qUdeiNYT5wbil0q5hVv2FTHhUM00jZ9px9BoVo3677u59/
	IsnA==
MIME-Version: 1.0
X-Received: by 10.181.12.20 with SMTP id em20mr1731884wid.28.1438142819118;
	Tue, 28 Jul 2015 21:06:59 -0700 (PDT)
Received: by 10.194.81.99 with HTTP; Tue, 28 Jul 2015 21:06:59 -0700 (PDT)
In-Reply-To: <CAHehzX3Hv+zhoF3KP5nTWZGiqV0PmpLqy0i6Cn4gR_JpRY6LFA@mail.gmail.com>
References: <CAHehzX3Hv+zhoF3KP5nTWZGiqV0PmpLqy0i6Cn4gR_JpRY6LFA@mail.gmail.com>
Date: Wed, 29 Jul 2015 00:06:59 -0400
X-Google-Sender-Auth: qPaVX-Ni8ZfC0IaKYVfwr-84lq4
Message-ID: <CAHehzX0j0nqHBd6w=yFLj+AhpXkAZO-ipqPT6m=KE7ox+kXJPQ@mail.gmail.com>
From: Russ Pavlicek <russell.pavlicek@xenproject.org>
To: Russ Pavlicek <russell.pavlicek@xenproject.org>
Cc: xen-api@lists.xen.org, xen-devel <xen-devel@lists.xenproject.org>,
	xs-devel@lists.xenserver.org, mirageos-devel@lists.xenproject.org,
	"xen-users@lists.xen.org" <xen-users@lists.xen.org>
Subject: Re: [MirageOS-devel] Xen Project Document Day is this Wednesday
	July 29
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Xen Project Document Day is here!  Join us as we seek to make our Wiki
more accurate and useful!

On Mon, Jul 27, 2015 at 11:52 PM, Russ Pavlicek
<russell.pavlicek@xenproject.org> wrote:
> Our next Xen Project Document Day is this Wednesday, July 29!
>
> Our THEME OF THE MONTH: "The Reverse Yard Sale"
>
> For many of us in the northern hemisphere, this is the time of year
> when people sort through the things they own and put the things they
> no longer need into a yard sale. Well, instead of removing things we
> don't need, we want a reverse yard sale, where we add the things we
> *do* need. Some topics to address include:
>
> - Hyper: the new hypervisor-independent Docker engine which uses Xen
> Project (among other hypervisors); we need a basic document on how to
> use Xen Project with Hyper
> - XAPI: The latest docs from the XenServer crew need to be referenced
> from our wiki
> - Unikernels: Lots of Unikernels leverage Xen Project; we need them
> properly linked in to our wiki
> - Booting with UEFI: needs to be made current
> - Raisin: the new effort has a new wiki page which needs review
> - and anything else which needs to be added
>
> All the information you need to participate in Document Day is here:
>
> http://wiki.xenproject.org/wiki/Xen_Document_Days
>
> Also take a look at the current TODO list to see other items which
> need attention:
>
> http://wiki.xenproject.org/wiki/Xen_Document_Days/TODO
>
> Please think about how you can help out.  If you haven't requested
> to be made a Wiki editor, save time and do it now so you are ready to
> go on Document Day.  Just fill out the form below:
>
> http://xenproject.org/component/content/article/100-misc/145-request-to-be-made-a-wiki-editor.html
>
> We hope to see you Wednesday in #xendocs!

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 29 09:53:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 29 Jul 2015 09:53:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKO34-0001Pp-PL; Wed, 29 Jul 2015 09:53:18 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZKO33-0001Pk-JR
	for mirageos-devel@lists.xenproject.org; Wed, 29 Jul 2015 09:53:17 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	27/13-13905-C82A8B55; Wed, 29 Jul 2015 09:53:16 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1438163595!24405506!1
X-Originating-IP: [209.85.216.48]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11793 invoked from network); 29 Jul 2015 09:53:15 -0000
Received: from mail-vn0-f48.google.com (HELO mail-vn0-f48.google.com)
	(209.85.216.48)
	by server-7.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	29 Jul 2015 09:53:15 -0000
Received: by vnk197 with SMTP id 197so1204944vnk.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Jul 2015 02:53:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=AD9kjbDL43ECKsXBclj9FZLha8bP91c0qPA2EKe9xfs=;
	b=o8GUj/NHitz0o4v1ktK9gO4tLByD3aW3UIhJe56dVFOVt4hvaR1IOw8eiGda7Pgt+c
	UkSw0Ypbv5AQwaaeudFduheEn7pBN8y/GXVny2FF2NDdhSjqlB5NRry8YJ6O6fWybsKJ
	LbWFFi3p2YrmlEnl5dWIa6tUKrpOTvHgwsuZU157r9i4tR+ZwMPigY3Jdm5gtNQT6Sdy
	ywU+iD19NCxPgkI7iveVoQWrP0C+4ZHnY0+H7r44jCMnW5FM9HREd3pTzySnAg98U0bt
	42mLpTgzg/fPpO8EDsyD70JJvzZr/R3F/M5U9gxgDiBp1B1kgWfTtnpOKWSIbOWRvsQH
	miCw==
MIME-Version: 1.0
X-Received: by 10.52.31.10 with SMTP id w10mr52399051vdh.54.1438163594775;
	Wed, 29 Jul 2015 02:53:14 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Wed, 29 Jul 2015 02:53:14 -0700 (PDT)
In-Reply-To: <CAG4opy_S9ZyJoOciXccjs7PFrc-6bhxLsR8yvkZ+zLCM+ACcdw@mail.gmail.com>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
	<CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
	<CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
	<061FAEAA-F343-46BE-B204-AAA8D45E46B1@recoil.org>
	<CAG4opy_S9ZyJoOciXccjs7PFrc-6bhxLsR8yvkZ+zLCM+ACcdw@mail.gmail.com>
Date: Wed, 29 Jul 2015 10:53:14 +0100
Message-ID: <CAG4opy__ZYv-n1DYL9R_cYaURfA2rkoUTp0cVEvK2=9FnS_5_A@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015 at 16:56, Thomas Leonard <talex5@gmail.com> wrote:
> On 12 May 2015 at 16:39, Anil Madhavapeddy <anil@recoil.org> wrote:
>> On 11 May 2015, at 09:18, Thomas Leonard <talex5@gmail.com> wrote:
>>>
>>> On 11 May 2015 at 01:56, Anil Madhavapeddy <anil@recoil.org> wrote:
>>>> On 7 May 2015, at 08:44, Thomas Leonard <talex5@gmail.com> wrote:
[...]
>>>>> Mini-OS now has its own repository. Can we get a mirror of that too?
>>>>>
>>>>> http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
>>>>
>>>> Now setup at:
>>>>
>>>> https://github.com/mirage/mini-os
>>>>
>>>> and synching hourly from upstream, just as the existing Xen mirror does.
>>>
>>> Thanks! I've rebased my "devel" branch (with the ARM support) from the
>>> Xen repository to a fork of the new Mini-OS repository (now on
>>> "master"):
>>>
>>>  https://github.com/talex5/mini-os
>>>
>>> You should be able to build and install with:
>>>
>>> git clone https://github.com/talex5/mini-os.git
>>> cd mini-os
>>> git submodule update --init
>>> make install PREFIX=`opam config var prefix`
>>
>> Good stuff.  How does this hook into the mirage-minios-xen repository?  Do we need to disable the local MiniOS installation there for this one to be picked up?
>
> Sorry, should be said: this is just a hack for testing changes
> quickly. It overwrites the mirage-minios-xen files.
>
>> If so, it might be worth breaking up that repository into individual OPAM packages so that they can pinned separately...
>
> Yes, that might be easier.

This is now done. There is now a separate "minios-xen" opam package
(and mirage-xen-minios now just depends on that). You should now be
able to pin my minios-xen Git repository to test the latest version,
just as for any other library, e.g.

  opam pin add minios-xen https://github.com/talex5/mini-os.git

As part of this, I've also made a new Mini-OS release (0.7):

* First release from the separate Mini-OS repository
* x86: Don't print a stack trace on exit
* printf now supports %z
* Don't use -fno-tree-loop-distribute-patterns if the compiler doesn't
support it (@hannesm)
* Remove "Cannot handle page request order %d!" warning - just return
NULL on OOM
* Add opam file for easier installation


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 29 09:53:28 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 29 Jul 2015 09:53:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKO34-0001Pp-PL; Wed, 29 Jul 2015 09:53:18 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZKO33-0001Pk-JR
	for mirageos-devel@lists.xenproject.org; Wed, 29 Jul 2015 09:53:17 +0000
Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id
	27/13-13905-C82A8B55; Wed, 29 Jul 2015 09:53:16 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-7.tower-206.messagelabs.com!1438163595!24405506!1
X-Originating-IP: [209.85.216.48]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 11793 invoked from network); 29 Jul 2015 09:53:15 -0000
Received: from mail-vn0-f48.google.com (HELO mail-vn0-f48.google.com)
	(209.85.216.48)
	by server-7.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	29 Jul 2015 09:53:15 -0000
Received: by vnk197 with SMTP id 197so1204944vnk.3
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Jul 2015 02:53:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=AD9kjbDL43ECKsXBclj9FZLha8bP91c0qPA2EKe9xfs=;
	b=o8GUj/NHitz0o4v1ktK9gO4tLByD3aW3UIhJe56dVFOVt4hvaR1IOw8eiGda7Pgt+c
	UkSw0Ypbv5AQwaaeudFduheEn7pBN8y/GXVny2FF2NDdhSjqlB5NRry8YJ6O6fWybsKJ
	LbWFFi3p2YrmlEnl5dWIa6tUKrpOTvHgwsuZU157r9i4tR+ZwMPigY3Jdm5gtNQT6Sdy
	ywU+iD19NCxPgkI7iveVoQWrP0C+4ZHnY0+H7r44jCMnW5FM9HREd3pTzySnAg98U0bt
	42mLpTgzg/fPpO8EDsyD70JJvzZr/R3F/M5U9gxgDiBp1B1kgWfTtnpOKWSIbOWRvsQH
	miCw==
MIME-Version: 1.0
X-Received: by 10.52.31.10 with SMTP id w10mr52399051vdh.54.1438163594775;
	Wed, 29 Jul 2015 02:53:14 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Wed, 29 Jul 2015 02:53:14 -0700 (PDT)
In-Reply-To: <CAG4opy_S9ZyJoOciXccjs7PFrc-6bhxLsR8yvkZ+zLCM+ACcdw@mail.gmail.com>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
	<CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
	<CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
	<061FAEAA-F343-46BE-B204-AAA8D45E46B1@recoil.org>
	<CAG4opy_S9ZyJoOciXccjs7PFrc-6bhxLsR8yvkZ+zLCM+ACcdw@mail.gmail.com>
Date: Wed, 29 Jul 2015 10:53:14 +0100
Message-ID: <CAG4opy__ZYv-n1DYL9R_cYaURfA2rkoUTp0cVEvK2=9FnS_5_A@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 12 May 2015 at 16:56, Thomas Leonard <talex5@gmail.com> wrote:
> On 12 May 2015 at 16:39, Anil Madhavapeddy <anil@recoil.org> wrote:
>> On 11 May 2015, at 09:18, Thomas Leonard <talex5@gmail.com> wrote:
>>>
>>> On 11 May 2015 at 01:56, Anil Madhavapeddy <anil@recoil.org> wrote:
>>>> On 7 May 2015, at 08:44, Thomas Leonard <talex5@gmail.com> wrote:
[...]
>>>>> Mini-OS now has its own repository. Can we get a mirror of that too?
>>>>>
>>>>> http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
>>>>
>>>> Now setup at:
>>>>
>>>> https://github.com/mirage/mini-os
>>>>
>>>> and synching hourly from upstream, just as the existing Xen mirror does.
>>>
>>> Thanks! I've rebased my "devel" branch (with the ARM support) from the
>>> Xen repository to a fork of the new Mini-OS repository (now on
>>> "master"):
>>>
>>>  https://github.com/talex5/mini-os
>>>
>>> You should be able to build and install with:
>>>
>>> git clone https://github.com/talex5/mini-os.git
>>> cd mini-os
>>> git submodule update --init
>>> make install PREFIX=`opam config var prefix`
>>
>> Good stuff.  How does this hook into the mirage-minios-xen repository?  Do we need to disable the local MiniOS installation there for this one to be picked up?
>
> Sorry, should be said: this is just a hack for testing changes
> quickly. It overwrites the mirage-minios-xen files.
>
>> If so, it might be worth breaking up that repository into individual OPAM packages so that they can pinned separately...
>
> Yes, that might be easier.

This is now done. There is now a separate "minios-xen" opam package
(and mirage-xen-minios now just depends on that). You should now be
able to pin my minios-xen Git repository to test the latest version,
just as for any other library, e.g.

  opam pin add minios-xen https://github.com/talex5/mini-os.git

As part of this, I've also made a new Mini-OS release (0.7):

* First release from the separate Mini-OS repository
* x86: Don't print a stack trace on exit
* printf now supports %z
* Don't use -fno-tree-loop-distribute-patterns if the compiler doesn't
support it (@hannesm)
* Remove "Cannot handle page request order %d!" warning - just return
NULL on OOM
* Add opam file for easier installation


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 29 14:57:11 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 29 Jul 2015 14:57:11 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKSn1-0005gy-3u; Wed, 29 Jul 2015 14:57:03 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZKSn0-0005gp-6u
	for mirageos-devel@lists.xenproject.org; Wed, 29 Jul 2015 14:57:02 +0000
Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id
	20/F2-16965-DB9E8B55; Wed, 29 Jul 2015 14:57:01 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-5.tower-31.messagelabs.com!1438181820!30464957!1
X-Originating-IP: [131.111.8.141]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE0MSA9PiAxNTQ4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24225 invoked from network); 29 Jul 2015 14:57:01 -0000
Received: from ppsw-41.csi.cam.ac.uk (HELO ppsw-41.csi.cam.ac.uk)
	(131.111.8.141)
	by server-5.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 29 Jul 2015 14:57:01 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from 93-140-236-156.adsl.net.t-com.hr ([93.140.236.156]:49617
	helo=amirmacbook.sx76x.gigaset.net)
	by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZKSmy-0003UO-Qq (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Wed, 29 Jul 2015 15:57:00 +0100
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Amir Chaudhry <amc79@cam.ac.uk>
In-Reply-To: <6AD718B2-FB0F-4665-86B9-9770B9AE0B97@cam.ac.uk>
Date: Wed, 29 Jul 2015 16:56:59 +0200
Message-Id: <2F9176AF-0AC1-4DFC-9558-4203EE5F2E0A@cam.ac.uk>
References: <6AD718B2-FB0F-4665-86B9-9770B9AE0B97@cam.ac.uk>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
X-Mailer: Apple Mail (2.2102)
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 29th at
	4pm BST (GMT+1)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsIHRoZSBsaW5rIGZvciB0aGUgSGFuZ291dCBpbiA1bWlucyBpczoKaHR0cHM6Ly9w
bHVzLmdvb2dsZS5jb20vaGFuZ291dHMvXy9ncTdlMzZzdnloM29remxiYW4zczY1bndueWEKCj4g
T24gMjggSnVsIDIwMTUsIGF0IDE5OjI4LCBBbWlyIENoYXVkaHJ5IDxhbWM3OUBjYW0u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VucHJvamVjdC5vcmcKaHR0cDov
L2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1k
ZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 29 14:57:11 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 29 Jul 2015 14:57:11 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKSn1-0005gy-3u; Wed, 29 Jul 2015 14:57:03 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <amc79@cam.ac.uk>) id 1ZKSn0-0005gp-6u
	for mirageos-devel@lists.xenproject.org; Wed, 29 Jul 2015 14:57:02 +0000
Received: from [85.158.137.68] by server-7.bemta-3.messagelabs.com id
	20/F2-16965-DB9E8B55; Wed, 29 Jul 2015 14:57:01 +0000
X-Env-Sender: amc79@cam.ac.uk
X-Msg-Ref: server-5.tower-31.messagelabs.com!1438181820!30464957!1
X-Originating-IP: [131.111.8.141]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogMTMxLjExMS44LjE0MSA9PiAxNTQ4NjI=\n
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 24225 invoked from network); 29 Jul 2015 14:57:01 -0000
Received: from ppsw-41.csi.cam.ac.uk (HELO ppsw-41.csi.cam.ac.uk)
	(131.111.8.141)
	by server-5.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 29 Jul 2015 14:57:01 -0000
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from 93-140-236-156.adsl.net.t-com.hr ([93.140.236.156]:49617
	helo=amirmacbook.sx76x.gigaset.net)
	by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587)
	with esmtpsa (PLAIN:amc79) (TLSv1:DHE-RSA-AES256-SHA:256)
	id 1ZKSmy-0003UO-Qq (Exim 4.82_3-c0e5623) for
	mirageos-devel@lists.xenproject.org
	(return-path <amc79@cam.ac.uk>); Wed, 29 Jul 2015 15:57:00 +0100
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Amir Chaudhry <amc79@cam.ac.uk>
In-Reply-To: <6AD718B2-FB0F-4665-86B9-9770B9AE0B97@cam.ac.uk>
Date: Wed, 29 Jul 2015 16:56:59 +0200
Message-Id: <2F9176AF-0AC1-4DFC-9558-4203EE5F2E0A@cam.ac.uk>
References: <6AD718B2-FB0F-4665-86B9-9770B9AE0B97@cam.ac.uk>
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
X-Mailer: Apple Mail (2.2102)
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 29th at
	4pm BST (GMT+1)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgZm9sa3MsIHRoZSBsaW5rIGZvciB0aGUgSGFuZ291dCBpbiA1bWlucyB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+IEJlc3Qgd2lzaGVzLAo+IEFtaXIKCgpfX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNaXJhZ2VPUy1kZXZl
bCBtYWlsaW5nIGxpc3QKTWlyYWdlT1MtZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDov
L2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1k
ZXZlbAo=

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 29 15:52:54 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 29 Jul 2015 15:52:54 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKTey-0001Zv-7E; Wed, 29 Jul 2015 15:52:48 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZKTew-0001Zp-So
	for mirageos-devel@lists.xenproject.org; Wed, 29 Jul 2015 15:52:46 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	C4/EB-17885-EC6F8B55; Wed, 29 Jul 2015 15:52:46 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1438185164!16904791!1
X-Originating-IP: [209.85.213.50]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21761 invoked from network); 29 Jul 2015 15:52:45 -0000
Received: from mail-vk0-f50.google.com (HELO mail-vk0-f50.google.com)
	(209.85.213.50)
	by server-3.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	29 Jul 2015 15:52:45 -0000
Received: by vkca124 with SMTP id a124so2284542vkc.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Jul 2015 08:52:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=FSYgHCyOwH0SmsNFgLuZkkfnLnmtFibz33H8PPoG41w=;
	b=Fa7sIF6Wq0aVK6/SQlIeOwM4jDmbV8Mnn0zM3kyK4mL3NMSOoykfdjPDOADS0Jqr70
	9FMZhkuzpBjg9zSIAXuoLFSf89DqeR3CuRzXFVrRfrYFblOttSHAKOLqqY+aMQ4yrrBw
	IGkLNPA9M5KRYLT2EWygua57QkKuKKEibFMfssJqWmojadTlZVGEg4H3Ju58nUFyXURl
	oV9RblNuxBM+TBpL+bpTBOjmNdFlGplgQQeq5f8wQmrVDSpgJNMJ7IWGxIlw5FQywH1w
	Xtv/olwHVx8KYygTDVk0DQy4UJYTrM5jmfef2GITHqggky2gEyvDUdtvQd+gzf1N8lLi
	BNEw==
MIME-Version: 1.0
X-Received: by 10.52.52.114 with SMTP id s18mr56273512vdo.9.1438185164035;
	Wed, 29 Jul 2015 08:52:44 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Wed, 29 Jul 2015 08:52:43 -0700 (PDT)
In-Reply-To: <2F9176AF-0AC1-4DFC-9558-4203EE5F2E0A@cam.ac.uk>
References: <6AD718B2-FB0F-4665-86B9-9770B9AE0B97@cam.ac.uk>
	<2F9176AF-0AC1-4DFC-9558-4203EE5F2E0A@cam.ac.uk>
Date: Wed, 29 Jul 2015 16:52:43 +0100
Message-ID: <CAG4opy-HBhyXoK+WhVEb4OyGFmhzEtEtGpXvd7hogdF6zKURCQ@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Geoffroy Couprie <contact@geoffroycouprie.com>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 29th at
 4pm BST (GMT+1)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

VG8gZm9sbG93IHVwIG9uIHRoZSBNaW5pLU9TIHRlc3RpbmcsIGFzIHRoZSBhdWRpbyBrZXB0IGJy
ZWFraW5nIHVwOgoKWW91IGNhbiBpbnN0YWxsIFhlbiBpbiBEZWJpYW4gaW5zaWRlIFZpcnR1YWxC
b3ggYW5kIHVzZSB0aGF0IGZvciB0ZXN0aW5nLgoKWW91IGNhbiBydW4gIm1ha2UiIGluIHRoZSBN
aW5pLU9TIGRpcmVjdG9yeSB0byBidWlsZCBhICJtaW5pLW9zIgprZXJuZWwgaW1hZ2UsIHdoaWNo
IGNhbiBiZSBydW4gZGlyZWN0bHkuIFRoZXJlIGFyZSB2YXJpb3VzIG9wdGlvbnMKdGhhdCBjYW4g
YmUgdXNlZCwgZS5nLgoKICBtYWtlIENPTkZJR19URVNUPXkKClRvIHRlc3QgYSBtb2RpZmllZCBN
aW5pLU9TIHdpdGggTWlyYWdlOgoKMS4gRmlyc3QsIGZvbGxvdyB0aGUgTWlyYWdlIGd1aWRlIHRv
IGNoZWNrIHlvdSBjYW4gcnVuIHdpdGggdGhlCmV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1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCj4gaHR0cDovL2xpc3RzLnhl
bnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAoKCgot
LSAKRHIgVGhvbWFzIExlb25hcmQgICAgICAgIGh0dHA6Ly9yb3NjaWR1cy5jb20vYmxvZy8KR1BH
OiBEQTk4IDI1QUUgQ0FEMCA4OTc1IDdDREEgIEJEOEUgMDcxMyAzRjk2IENBNzQgRDhCQQoKX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2
ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6
Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3Mt
ZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 29 15:52:54 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 29 Jul 2015 15:52:54 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKTey-0001Zv-7E; Wed, 29 Jul 2015 15:52:48 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZKTew-0001Zp-So
	for mirageos-devel@lists.xenproject.org; Wed, 29 Jul 2015 15:52:46 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	C4/EB-17885-EC6F8B55; Wed, 29 Jul 2015 15:52:46 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1438185164!16904791!1
X-Originating-IP: [209.85.213.50]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 21761 invoked from network); 29 Jul 2015 15:52:45 -0000
Received: from mail-vk0-f50.google.com (HELO mail-vk0-f50.google.com)
	(209.85.213.50)
	by server-3.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	29 Jul 2015 15:52:45 -0000
Received: by vkca124 with SMTP id a124so2284542vkc.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Jul 2015 08:52:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=FSYgHCyOwH0SmsNFgLuZkkfnLnmtFibz33H8PPoG41w=;
	b=Fa7sIF6Wq0aVK6/SQlIeOwM4jDmbV8Mnn0zM3kyK4mL3NMSOoykfdjPDOADS0Jqr70
	9FMZhkuzpBjg9zSIAXuoLFSf89DqeR3CuRzXFVrRfrYFblOttSHAKOLqqY+aMQ4yrrBw
	IGkLNPA9M5KRYLT2EWygua57QkKuKKEibFMfssJqWmojadTlZVGEg4H3Ju58nUFyXURl
	oV9RblNuxBM+TBpL+bpTBOjmNdFlGplgQQeq5f8wQmrVDSpgJNMJ7IWGxIlw5FQywH1w
	Xtv/olwHVx8KYygTDVk0DQy4UJYTrM5jmfef2GITHqggky2gEyvDUdtvQd+gzf1N8lLi
	BNEw==
MIME-Version: 1.0
X-Received: by 10.52.52.114 with SMTP id s18mr56273512vdo.9.1438185164035;
	Wed, 29 Jul 2015 08:52:44 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Wed, 29 Jul 2015 08:52:43 -0700 (PDT)
In-Reply-To: <2F9176AF-0AC1-4DFC-9558-4203EE5F2E0A@cam.ac.uk>
References: <6AD718B2-FB0F-4665-86B9-9770B9AE0B97@cam.ac.uk>
	<2F9176AF-0AC1-4DFC-9558-4203EE5F2E0A@cam.ac.uk>
Date: Wed, 29 Jul 2015 16:52:43 +0100
Message-ID: <CAG4opy-HBhyXoK+WhVEb4OyGFmhzEtEtGpXvd7hogdF6zKURCQ@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Geoffroy Couprie <contact@geoffroycouprie.com>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 29th at
 4pm BST (GMT+1)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

VG8gZm9sbG93IHVwIG9uIHRoZSBNaW5pLU9TIHRlc3RpbmcsIGFzIHRoZSBhdWRpbyBrZXB0IGJy
ZWFraW5nIHVwOgoKWW91IGNhbiBpbnN0YWxsIFhlbiBpbiBEZWJpYW4gaW5zaWRlIFZpcnR1YWxC
b3ggYW5kIHVzZSB0aGF0IGZvciB0ZXN0aW5nLgoKWW91IGNhbiBydW4gIm1ha2UiIGluIHRoZSBN
aW5pLU9TIGRpcmVjdG9yeSB0byBidWlsZCBhICJtaW5pLW9zIgprZXJuZWwgaW1hZ2UsIHdoaWNo
IGNhbiBiZ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2dpdGh1Yi5jb20vbWlyYWdlL21pcmFn
ZS13d3cvd2lraS9DYWxsLUFnZW5kYQo+Pgo+PiBKb2luIHVzIGF0IDRwbSBCU1Qgb24gV2VkbmVz
ZGF5IQo+Pgo+PiBCZXN0IHdpc2hlcywKPj4gQW1pcgo+Cj4KPiBfX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IE1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlz
dAo+IE1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCj4gaHR0cDovL2xpc3RzLnhl
bnByb2plY3Qub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9taXJhZ2Vvcy1kZXZlbAoKCgot
LSAKRHIgVGhvbWFzIExlb25hcmQgICAgICAgIGh0dHA6Ly9yb3NjaWR1cy5jb20vYmxvZy8KR1BH
OiBEQTk4IDI1QUUgQ0FEMCA4OTc1IDdDREEgIEJEOEUgMDcxMyAzRjk2IENBNzQgRDhCQQoKX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWlyYWdlT1MtZGV2
ZWwgbWFpbGluZyBsaXN0Ck1pcmFnZU9TLWRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnCmh0dHA6
Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWlyYWdlb3Mt
ZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 29 16:13:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 29 Jul 2015 16:13:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKTyb-0003LW-A6; Wed, 29 Jul 2015 16:13:05 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <geo.couprie@gmail.com>) id 1ZKTya-0003LK-4J
	for mirageos-devel@lists.xenproject.org; Wed, 29 Jul 2015 16:13:04 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	8E/3D-18886-F8BF8B55; Wed, 29 Jul 2015 16:13:03 +0000
X-Env-Sender: geo.couprie@gmail.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1438186381!36309021!1
X-Originating-IP: [209.85.212.173]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7198 invoked from network); 29 Jul 2015 16:13:02 -0000
Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com)
	(209.85.212.173)
	by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 Jul 2015 16:13:02 -0000
Received: by wibud3 with SMTP id ud3so227327068wib.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Jul 2015 09:13:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:from:date:message-id
	:subject:to:cc:content-type:content-transfer-encoding;
	bh=wBxet9lVQ5KeWfxcWT/yrpkWrKYF5ElTNl2s9GM4Htw=;
	b=Z6FCVPBm0bCcrLqPIV9DpAF6nHGvENXAFcx6ihCBZOSvqBsqr8MYK4uy/+ZOKvW32K
	yy0slHt5Ij/swcdP2FAIgRovWjSmamLvmB08G4UnxQ9sDiEOVLkXvX5JEgYQwbuNPF4t
	3PWFe4AVj/O8dP/1E0AZR/DQTU06+O1dcz4ntCJ0t4ISAytREWxBE5W41+8RJ5D8BMXh
	9+WpZXv+MdDzZIhVNSj7aY58WdvdK/QNgd5AqVnu0+ZdQN4WAqxnqoPcIf+DWsLpGTA0
	C2vsilCKcTE4M6b6spkLEnbPkrzImwKBxX2e4T4HBnyMhyo5mpSGvSRhuD9PL+1f9paj
	32Bg==
X-Received: by 10.180.90.83 with SMTP id bu19mr19051013wib.91.1438186381635;
	Wed, 29 Jul 2015 09:13:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.220.85 with HTTP; Wed, 29 Jul 2015 09:12:42 -0700 (PDT)
In-Reply-To: <CAG4opy-HBhyXoK+WhVEb4OyGFmhzEtEtGpXvd7hogdF6zKURCQ@mail.gmail.com>
References: <6AD718B2-FB0F-4665-86B9-9770B9AE0B97@cam.ac.uk>
	<2F9176AF-0AC1-4DFC-9558-4203EE5F2E0A@cam.ac.uk>
	<CAG4opy-HBhyXoK+WhVEb4OyGFmhzEtEtGpXvd7hogdF6zKURCQ@mail.gmail.com>
From: Geoffroy Couprie <contact@geoffroycouprie.com>
Date: Wed, 29 Jul 2015 18:12:42 +0200
X-Google-Sender-Auth: -cmHBlUlI5JfoBHga5demUrscZU
Message-ID: <CAAi8dZxJih7iw8u3pvoek1qdQP6-3ad=GLkerZJr7rFXYYHcgw@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 29th at
 4pm BST (GMT+1)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gV2VkLCBKdWwgMjksIDIwMTUgYXQgNTo1MiBQTSwgVGhvbWFzIExlb25hcmQgPHRhbGV4NUBn
bWFpbC5jb20+IHdyb3RlOgo+IFRvIGZvbGxvdyB1cCBvbiB0aGUgTWluaS1PUyB0ZXN0aW5nLCBh
cyB0aGUgYXVkaW8ga2VwdCBicmVha2luZyB1cDoKPgo+IFlvdSBjYW4gaW5zdGFsbCBYZW4gaW4g
RGViaWFuIGluc2lkZSBWaXJ0dWFsQm94IGFuZCB1c2UgdGhhdCBmb3IgdGVzdGluZy4KCkkgaW5z
dGFsbGVkIFhlblNlcnZlciBpbiBhIFZpcnR1YWxCb3gsIGl0IHNlZW1zIHRvIHdvcmsuIEknbGwg
aGF2ZSB0bwpsb29rIGF0IHRoZSBvcHRpb25zIHRvIGNyb3NzIGNvbXBpbGUgZnJvbSBPU1gsIHRo
b3VnaCwgYmVjYXVzZSByaWdodApub3csIEknbSBidWlsZGluZyB0aGUgaW1hZ2Ugb24gYSBzZXJ2
ZXIsIHB1dHRpbmcgaXQgb24gYSBIVFRQIHNlcnZlciwKZG93bmxvYWRpbmcgdG8gdGhlIFhlbiBt
YWNoaW5lIGFuZCBzdGFydGluZyBpdCBmcm9tIHRoZXJlLgoKPgo+IFlvdSBjYW4gcnVuICJtYWtl
IiBpbiB0aGUgTWluaS1PUyBkaXJlY3RvcnkgdG8gYnVpbGQgYSAibWluaS1vcyIKPiBrZXJuZWwg
aW1hZ2UsIHdoaWNoIGNhbiBiZSBydW4gZGlyZWN0bHkuIFRoZXJlIGFyZSB2YXJpb3VzIG9wdGlv
bnMKPiB0aGF0IGNhbiBiZSB1c2VkLCBlLmcuCj4KPiAgIG1ha2UgQ09ORklHX1RFU1Q9eQo+Cj4g
VG8gdGVzdCBhIG1vZGlmaWVkIE1pbmktT1Mgd2l0aCBNaXJhZ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HRwOi8vbGlzdHMueGVucHJvamVj
dC5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCj4KPgo+Cj4gLS0K
PiBEciBUaG9tYXMgTGVvbmFyZCAgICAgICAgaHR0cDovL3Jvc2NpZHVzLmNvbS9ibG9nLwo+IEdQ
RzogREE5OCAyNUFFIENBRDAgODk3NSA3Q0RBICBCRDhFIDA3MTMgM0Y5NiBDQTc0IEQ4QkEKCgoK
LS0gCmh0dHA6Ly9nZW9mZnJveWNvdXByaWUuY29tL2VtCmh0dHA6Ly9waWxvdHNzaC5jb20KaHR0
cHM6Ly9sZWFucHViLmNvbS9TY2FsYU9uQW5kcm9pZC8KCl9fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJh
Z2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5v
cmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 29 16:13:08 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 29 Jul 2015 16:13:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKTyb-0003LW-A6; Wed, 29 Jul 2015 16:13:05 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <geo.couprie@gmail.com>) id 1ZKTya-0003LK-4J
	for mirageos-devel@lists.xenproject.org; Wed, 29 Jul 2015 16:13:04 +0000
Received: from [193.109.254.147] by server-15.bemta-14.messagelabs.com id
	8E/3D-18886-F8BF8B55; Wed, 29 Jul 2015 16:13:03 +0000
X-Env-Sender: geo.couprie@gmail.com
X-Msg-Ref: server-14.tower-27.messagelabs.com!1438186381!36309021!1
X-Originating-IP: [209.85.212.173]
X-SpamReason: No, hits=0.6 required=7.0 tests=MAILTO_TO_SPAM_ADDR, RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7198 invoked from network); 29 Jul 2015 16:13:02 -0000
Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com)
	(209.85.212.173)
	by server-14.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 Jul 2015 16:13:02 -0000
Received: by wibud3 with SMTP id ud3so227327068wib.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Jul 2015 09:13:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:from:date:message-id
	:subject:to:cc:content-type:content-transfer-encoding;
	bh=wBxet9lVQ5KeWfxcWT/yrpkWrKYF5ElTNl2s9GM4Htw=;
	b=Z6FCVPBm0bCcrLqPIV9DpAF6nHGvENXAFcx6ihCBZOSvqBsqr8MYK4uy/+ZOKvW32K
	yy0slHt5Ij/swcdP2FAIgRovWjSmamLvmB08G4UnxQ9sDiEOVLkXvX5JEgYQwbuNPF4t
	3PWFe4AVj/O8dP/1E0AZR/DQTU06+O1dcz4ntCJ0t4ISAytREWxBE5W41+8RJ5D8BMXh
	9+WpZXv+MdDzZIhVNSj7aY58WdvdK/QNgd5AqVnu0+ZdQN4WAqxnqoPcIf+DWsLpGTA0
	C2vsilCKcTE4M6b6spkLEnbPkrzImwKBxX2e4T4HBnyMhyo5mpSGvSRhuD9PL+1f9paj
	32Bg==
X-Received: by 10.180.90.83 with SMTP id bu19mr19051013wib.91.1438186381635;
	Wed, 29 Jul 2015 09:13:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.220.85 with HTTP; Wed, 29 Jul 2015 09:12:42 -0700 (PDT)
In-Reply-To: <CAG4opy-HBhyXoK+WhVEb4OyGFmhzEtEtGpXvd7hogdF6zKURCQ@mail.gmail.com>
References: <6AD718B2-FB0F-4665-86B9-9770B9AE0B97@cam.ac.uk>
	<2F9176AF-0AC1-4DFC-9558-4203EE5F2E0A@cam.ac.uk>
	<CAG4opy-HBhyXoK+WhVEb4OyGFmhzEtEtGpXvd7hogdF6zKURCQ@mail.gmail.com>
From: Geoffroy Couprie <contact@geoffroycouprie.com>
Date: Wed, 29 Jul 2015 18:12:42 +0200
X-Google-Sender-Auth: -cmHBlUlI5JfoBHga5demUrscZU
Message-ID: <CAAi8dZxJih7iw8u3pvoek1qdQP6-3ad=GLkerZJr7rFXYYHcgw@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
Cc: mirageos-devel <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] MirageOS fortnightly call - Wednesday 29th at
 4pm BST (GMT+1)
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

T24gV2VkLCBKdWwgMjksIDIwMTUgYXQgNTo1MiBQTSwgVGhvbWFzIExlb25hcmQgPHRhbGV4NUBn
bWFpbC5jb20+IHdyb3Rl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EdQ
RzogREE5OCAyNUFFIENBRDAgODk3NSA3Q0RBICBCRDhFIDA3MTMgM0Y5NiBDQTc0IEQ4QkEKCgoK
LS0gCmh0dHA6Ly9nZW9mZnJveWNvdXByaWUuY29tL2VtCmh0dHA6Ly9waWxvdHNzaC5jb20KaHR0
cHM6Ly9sZWFucHViLmNvbS9TY2FsYU9uQW5kcm9pZC8KCl9fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fCk1pcmFnZU9TLWRldmVsIG1haWxpbmcgbGlzdApNaXJh
Z2VPUy1kZXZlbEBsaXN0cy54ZW5wcm9qZWN0Lm9yZwpodHRwOi8vbGlzdHMueGVucHJvamVjdC5v
cmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL21pcmFnZW9zLWRldmVsCg==

From mirageos-devel-bounces@lists.xenproject.org Wed Jul 29 19:12:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 29 Jul 2015 19:12:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKWmK-0004Ol-Ge; Wed, 29 Jul 2015 19:12:36 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1ZKWmI-0004Og-Jw
	for mirageos-devel@lists.xenproject.org; Wed, 29 Jul 2015 19:12:34 +0000
Received: from [193.109.254.147] by server-5.bemta-14.messagelabs.com id
	9B/D8-00475-1A529B55; Wed, 29 Jul 2015 19:12:33 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-7.tower-27.messagelabs.com!1438197151!36310312!1
X-Originating-IP: [209.85.214.181]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13729 invoked from network); 29 Jul 2015 19:12:32 -0000
Received: from mail-ob0-f181.google.com (HELO mail-ob0-f181.google.com)
	(209.85.214.181)
	by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 Jul 2015 19:12:32 -0000
Received: by obre1 with SMTP id e1so14636013obr.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Jul 2015 12:12:31 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=Hk2LfDF4+5emoEJDM/zJSNXnRLHGXeFjDlOuVoN9v3U=;
	b=HT4fjMvJw2s1BWtn+BIN+ik94N2/7Rlb5ZiD3Bvre+gjqZBgwgWjp0frZcNGCpPG2J
	MMwvBDgoI2cb+QkyR5b3jr2t2eBiP0jPyi2V9/XVUepUNHXk2ZWu6QTdhXlrAYaSVe1q
	OlyfnYfYSxM0uNtJ0DsG/qrwaXgAbhbcShzLER2rQuE9oVvmY0wISTTOFojMHsryOVJW
	uzoSK6XwYSfU4L0OkEzBlDLP8E793evLuTT6RKxhBbiFhBXhZr5DblXp+P1xkx2rWfbc
	JUR1rb6pV3D9xYhEMr0rpz4YGqFA5KT3PpP0zbizux+Rlloyz8O9wlyKBpR80z2xUFCw
	+cyQ==
X-Gm-Message-State: ALoCoQkmW4vK//EnH/6CLQ/WG0VKsz8+5XxdroYb0Ao05BZjNopkAaawAVKXFaUhbLpX4iDLoc9C
MIME-Version: 1.0
X-Received: by 10.182.252.71 with SMTP id zq7mr34351303obc.47.1438197150968;
	Wed, 29 Jul 2015 12:12:30 -0700 (PDT)
Received: by 10.202.196.20 with HTTP; Wed, 29 Jul 2015 12:12:30 -0700 (PDT)
In-Reply-To: <CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
	<CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
	<CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
Date: Wed, 29 Jul 2015 15:12:30 -0400
Message-ID: <CAHwFrZeg0zgwcGDkV6EfAy621-Jrry4z-H3vrohQr70dv=_z2A@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Thomas Leonard <talex5@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3888519897009077990=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============3888519897009077990==
Content-Type: multipart/alternative; boundary=001a1134c0464d0653051c085e25

--001a1134c0464d0653051c085e25
Content-Type: text/plain; charset=UTF-8

Hi Geoffroy and Thomas,

On Tue, Jul 28, 2015 at 4:29 AM, Thomas Leonard <talex5@gmail.com> wrote:

> On 27 July 2015 at 15:54, Thomas Leonard <talex5@gmail.com> wrote:
> > On 27 July 2015 at 09:36, Geoffroy Couprie <contact@geoffroycouprie.com>
> wrote:
>
[...]
>
> One other thing I should mention: Mini-OS runs in kernel mode and can
> be interrupted at any time. On x86, the interrupt handler uses the
> same stack as the rest of the code. Therefore, you must compile with
> the Rust equivalent of -mno-red-zone so Rust doesn't assume it can
> store things below the current stack pointer.
>

I'm just starting to learn Rust, but I managed to create a simple static
lib and link it into a standalone Mini-OS build:

* build Rust from git with static musl libc support [1]
* compile libhello.a from [2]
* declare the Rust function as an extern in mini-os/kernel.c, call it from
start_kernel()
* add -L... -lhello to the Mini-OS linker flags
* make and run

Geoffroy, how does this compare to your approach?

To understand the interactions between Xen, Mini-OS, and MirageOS, I found
[3] and [4] useful starting points.

The zinc.rs [5] project, a Rust RTOS for ARM, could provide some
inspiration for modeling low-level operations in a type-safe way.

[1]: https://doc.rust-lang.org/nightly/book/advanced-linking.html#linux
[2]: https://gist.github.com/lnmx/e7a74bacafb7e38b8355
[3]: http://roscidus.com/blog/blog/2014/07/28/my-first-unikernel/
[4]: https://mirage.io/wiki/xen-events
[5]: http://zinc.rs

--
Len


>
>
> --
> Dr Thomas Leonard        http://roscidus.com/blog/
> GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--001a1134c0464d0653051c085e25
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><br></div>Hi Geoffroy and Thomas,<br><div class=3D"gm=
ail_extra"><br><div class=3D"gmail_quote">On Tue, Jul 28, 2015 at 4:29 AM, =
Thomas Leonard <span dir=3D"ltr">&lt;<a href=3D"mailto:talex5@gmail.com" ta=
rget=3D"_blank">talex5@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5">On 27 July 2015 at 15=
:54, Thomas Leonard &lt;<a href=3D"mailto:talex5@gmail.com">talex5@gmail.co=
m</a>&gt; wrote:<br>
&gt; On 27 July 2015 at 09:36, Geoffroy Couprie &lt;<a href=3D"mailto:conta=
ct@geoffroycouprie.com">contact@geoffroycouprie.com</a>&gt; wrote:</div></d=
iv></blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div c=
lass=3D"h5">[...]<br></div></div><div><div class=3D"h5">
<br>
</div></div>One other thing I should mention: Mini-OS runs in kernel mode a=
nd can<br>
be interrupted at any time. On x86, the interrupt handler uses the<br>
same stack as the rest of the code. Therefore, you must compile with<br>
the Rust equivalent of -mno-red-zone so Rust doesn&#39;t assume it can<br>
store things below the current stack pointer.<br></blockquote><div><br></di=
v><div>I&#39;m just starting to learn Rust, but I managed to create a simpl=
e static lib and link it into a standalone Mini-OS build:<br></div><div><br=
></div><div>* build Rust from git with static musl libc support [1]</div><d=
iv>* compile libhello.a from [2]</div><div>* declare the Rust function as a=
n extern in mini-os/kernel.c, call it from start_kernel()</div><div>* add -=
L... -lhello to the Mini-OS linker flags</div><div>* make and run</div><div=
><br></div><div>Geoffroy, how does this compare to your approach?</div><div=
><br></div><div>To understand the interactions between Xen, Mini-OS, and Mi=
rageOS, I found [3] and [4] useful starting points.</div><div><br></div><di=
v>The <a href=3D"http://zinc.rs">zinc.rs</a> [5] project, a Rust RTOS for A=
RM, could provide some inspiration for modeling low-level operations in a t=
ype-safe way.</div><div><br></div><div>[1]:=C2=A0<a href=3D"https://doc.rus=
t-lang.org/nightly/book/advanced-linking.html#linux">https://doc.rust-lang.=
org/nightly/book/advanced-linking.html#linux</a></div><div>[2]: <a href=3D"=
https://gist.github.com/lnmx/e7a74bacafb7e38b8355">https://gist.github.com/=
lnmx/e7a74bacafb7e38b8355</a><br></div><div>[3]: <a href=3D"http://roscidus=
.com/blog/blog/2014/07/28/my-first-unikernel/">http://roscidus.com/blog/blo=
g/2014/07/28/my-first-unikernel/</a><br></div><div>[4]:=C2=A0<a href=3D"htt=
ps://mirage.io/wiki/xen-events">https://mirage.io/wiki/xen-events</a></div>=
<div>[5]: <a href=3D"http://zinc.rs">http://zinc.rs</a></div><div><br></div=
><div>--</div><div>Len</div><div>=C2=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
--<br>
Dr Thomas Leonard=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"http://roscidus.com=
/blog/" rel=3D"noreferrer" target=3D"_blank">http://roscidus.com/blog/</a><=
br>
GPG: DA98 25AE CAD0 8975 7CDA=C2=A0 BD8E 0713 3F96 CA74 D8BA<br>
<br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" rel=3D"noreferrer" target=3D"_blank">http://lists.xenproject.org/cgi-b=
in/mailman/listinfo/mirageos-devel</a><br>
</div></div></blockquote></div><br></div></div>

--001a1134c0464d0653051c085e25--


--===============3888519897009077990==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3888519897009077990==--


From mirageos-devel-bounces@lists.xenproject.org Wed Jul 29 19:12:44 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 29 Jul 2015 19:12:44 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKWmK-0004Ol-Ge; Wed, 29 Jul 2015 19:12:36 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1ZKWmI-0004Og-Jw
	for mirageos-devel@lists.xenproject.org; Wed, 29 Jul 2015 19:12:34 +0000
Received: from [193.109.254.147] by server-5.bemta-14.messagelabs.com id
	9B/D8-00475-1A529B55; Wed, 29 Jul 2015 19:12:33 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-7.tower-27.messagelabs.com!1438197151!36310312!1
X-Originating-IP: [209.85.214.181]
X-SpamReason: No, hits=0.9 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13729 invoked from network); 29 Jul 2015 19:12:32 -0000
Received: from mail-ob0-f181.google.com (HELO mail-ob0-f181.google.com)
	(209.85.214.181)
	by server-7.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	29 Jul 2015 19:12:32 -0000
Received: by obre1 with SMTP id e1so14636013obr.1
	for <mirageos-devel@lists.xenproject.org>;
	Wed, 29 Jul 2015 12:12:31 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=Hk2LfDF4+5emoEJDM/zJSNXnRLHGXeFjDlOuVoN9v3U=;
	b=HT4fjMvJw2s1BWtn+BIN+ik94N2/7Rlb5ZiD3Bvre+gjqZBgwgWjp0frZcNGCpPG2J
	MMwvBDgoI2cb+QkyR5b3jr2t2eBiP0jPyi2V9/XVUepUNHXk2ZWu6QTdhXlrAYaSVe1q
	OlyfnYfYSxM0uNtJ0DsG/qrwaXgAbhbcShzLER2rQuE9oVvmY0wISTTOFojMHsryOVJW
	uzoSK6XwYSfU4L0OkEzBlDLP8E793evLuTT6RKxhBbiFhBXhZr5DblXp+P1xkx2rWfbc
	JUR1rb6pV3D9xYhEMr0rpz4YGqFA5KT3PpP0zbizux+Rlloyz8O9wlyKBpR80z2xUFCw
	+cyQ==
X-Gm-Message-State: ALoCoQkmW4vK//EnH/6CLQ/WG0VKsz8+5XxdroYb0Ao05BZjNopkAaawAVKXFaUhbLpX4iDLoc9C
MIME-Version: 1.0
X-Received: by 10.182.252.71 with SMTP id zq7mr34351303obc.47.1438197150968;
	Wed, 29 Jul 2015 12:12:30 -0700 (PDT)
Received: by 10.202.196.20 with HTTP; Wed, 29 Jul 2015 12:12:30 -0700 (PDT)
In-Reply-To: <CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
	<CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
	<CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
Date: Wed, 29 Jul 2015 15:12:30 -0400
Message-ID: <CAHwFrZeg0zgwcGDkV6EfAy621-Jrry4z-H3vrohQr70dv=_z2A@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Thomas Leonard <talex5@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3888519897009077990=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============3888519897009077990==
Content-Type: multipart/alternative; boundary=001a1134c0464d0653051c085e25

--001a1134c0464d0653051c085e25
Content-Type: text/plain; charset=UTF-8

Hi Geoffroy and Thomas,

On Tue, Jul 28, 2015 at 4:29 AM, Thomas Leonard <talex5@gmail.com> wrote:

> On 27 July 2015 at 15:54, Thomas Leonard <talex5@gmail.com> wrote:
> > On 27 July 2015 at 09:36, Geoffroy Couprie <contact@geoffroycouprie.com>
> wrote:
>
[...]
>
> One other thing I should mention: Mini-OS runs in kernel mode and can
> be interrupted at any time. On x86, the interrupt handler uses the
> same stack as the rest of the code. Therefore, you must compile with
> the Rust equivalent of -mno-red-zone so Rust doesn't assume it can
> store things below the current stack pointer.
>

I'm just starting to learn Rust, but I managed to create a simple static
lib and link it into a standalone Mini-OS build:

* build Rust from git with static musl libc support [1]
* compile libhello.a from [2]
* declare the Rust function as an extern in mini-os/kernel.c, call it from
start_kernel()
* add -L... -lhello to the Mini-OS linker flags
* make and run

Geoffroy, how does this compare to your approach?

To understand the interactions between Xen, Mini-OS, and MirageOS, I found
[3] and [4] useful starting points.

The zinc.rs [5] project, a Rust RTOS for ARM, could provide some
inspiration for modeling low-level operations in a type-safe way.

[1]: https://doc.rust-lang.org/nightly/book/advanced-linking.html#linux
[2]: https://gist.github.com/lnmx/e7a74bacafb7e38b8355
[3]: http://roscidus.com/blog/blog/2014/07/28/my-first-unikernel/
[4]: https://mirage.io/wiki/xen-events
[5]: http://zinc.rs

--
Len


>
>
> --
> Dr Thomas Leonard        http://roscidus.com/blog/
> GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>

--001a1134c0464d0653051c085e25
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><br></div>Hi Geoffroy and Thomas,<br><div class=3D"gm=
ail_extra"><br><div class=3D"gmail_quote">On Tue, Jul 28, 2015 at 4:29 AM, =
Thomas Leonard <span dir=3D"ltr">&lt;<a href=3D"mailto:talex5@gmail.com" ta=
rget=3D"_blank">talex5@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5">On 27 July 2015 at 15=
:54, Thomas Leonard &lt;<a href=3D"mailto:talex5@gmail.com">talex5@gmail.co=
m</a>&gt; wrote:<br>
&gt; On 27 July 2015 at 09:36, Geoffroy Couprie &lt;<a href=3D"mailto:conta=
ct@geoffroycouprie.com">contact@geoffroycouprie.com</a>&gt; wrote:</div></d=
iv></blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div c=
lass=3D"h5">[...]<br></div></div><div><div class=3D"h5">
<br>
</div></div>One other thing I should mention: Mini-OS runs in kernel mode a=
nd can<br>
be interrupted at any time. On x86, the interrupt handler uses the<br>
same stack as the rest of the code. Therefore, you must compile with<br>
the Rust equivalent of -mno-red-zone so Rust doesn&#39;t assume it can<br>
store things below the current stack pointer.<br></blockquote><div><br></di=
v><div>I&#39;m just starting to learn Rust, but I managed to create a simpl=
e static lib and link it into a standalone Mini-OS build:<br></div><div><br=
></div><div>* build Rust from git with static musl libc support [1]</div><d=
iv>* compile libhello.a from [2]</div><div>* declare the Rust function as a=
n extern in mini-os/kernel.c, call it from start_kernel()</div><div>* add -=
L... -lhello to the Mini-OS linker flags</div><div>* make and run</div><div=
><br></div><div>Geoffroy, how does this compare to your approach?</div><div=
><br></div><div>To understand the interactions between Xen, Mini-OS, and Mi=
rageOS, I found [3] and [4] useful starting points.</div><div><br></div><di=
v>The <a href=3D"http://zinc.rs">zinc.rs</a> [5] project, a Rust RTOS for A=
RM, could provide some inspiration for modeling low-level operations in a t=
ype-safe way.</div><div><br></div><div>[1]:=C2=A0<a href=3D"https://doc.rus=
t-lang.org/nightly/book/advanced-linking.html#linux">https://doc.rust-lang.=
org/nightly/book/advanced-linking.html#linux</a></div><div>[2]: <a href=3D"=
https://gist.github.com/lnmx/e7a74bacafb7e38b8355">https://gist.github.com/=
lnmx/e7a74bacafb7e38b8355</a><br></div><div>[3]: <a href=3D"http://roscidus=
.com/blog/blog/2014/07/28/my-first-unikernel/">http://roscidus.com/blog/blo=
g/2014/07/28/my-first-unikernel/</a><br></div><div>[4]:=C2=A0<a href=3D"htt=
ps://mirage.io/wiki/xen-events">https://mirage.io/wiki/xen-events</a></div>=
<div>[5]: <a href=3D"http://zinc.rs">http://zinc.rs</a></div><div><br></div=
><div>--</div><div>Len</div><div>=C2=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
--<br>
Dr Thomas Leonard=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"http://roscidus.com=
/blog/" rel=3D"noreferrer" target=3D"_blank">http://roscidus.com/blog/</a><=
br>
GPG: DA98 25AE CAD0 8975 7CDA=C2=A0 BD8E 0713 3F96 CA74 D8BA<br>
<br>
_______________________________________________<br>
MirageOS-devel mailing list<br>
<a href=3D"mailto:MirageOS-devel@lists.xenproject.org">MirageOS-devel@lists=
.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-de=
vel" rel=3D"noreferrer" target=3D"_blank">http://lists.xenproject.org/cgi-b=
in/mailman/listinfo/mirageos-devel</a><br>
</div></div></blockquote></div><br></div></div>

--001a1134c0464d0653051c085e25--


--===============3888519897009077990==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============3888519897009077990==--


From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 09:04:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 09:04:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKjlJ-0004ei-Ew; Thu, 30 Jul 2015 09:04:25 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <geo.couprie@gmail.com>) id 1ZKjlI-0004eP-82
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 09:04:24 +0000
Received: from [193.109.254.147] by server-14.bemta-14.messagelabs.com id
	ED/36-04752-298E9B55; Thu, 30 Jul 2015 09:04:18 +0000
X-Env-Sender: geo.couprie@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1438247057!28892206!1
X-Originating-IP: [209.85.212.181]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4349 invoked from network); 30 Jul 2015 09:04:17 -0000
Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com)
	(209.85.212.181)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	30 Jul 2015 09:04:17 -0000
Received: by wicmv11 with SMTP id mv11so12427791wic.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 30 Jul 2015 02:04:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:from:date:message-id
	:subject:to:cc:content-type;
	bh=1WjW/L5vthfzrQYSyCQd8TKLytZyD7KSc2XAxpVMdwM=;
	b=Qm7NUI7c+TbGikp9PkTe2y3Rc/iG0BA649aTe3kpcl3w3hjq5cGv32QP0UGBQmV7VK
	lzhF3nCRghltwWtmbFf/NXg923aj/xYN7I3xGOK89BmtSZbLhjTSQ3cfMkoEakOJZtzy
	ceLxiHVNHDoy4DOgv6fFiBUxoesmfr8QgIbsWqPblBB8w8N3qKNwb7r37D+1zDAltRov
	2EM4z1eEzWRmpPTlphHvJPW6IvVtuc5aHa331UGCouBr2zbzGFNmdn5fMXNIXHl+wxq2
	XuEqCWEp275DYLhhy7hQRKuaG2NULiaNBsnIWBNod9z4SOQQTsJ5lGL16ALeIbcurOlQ
	oMEA==
X-Received: by 10.180.91.76 with SMTP id cc12mr4308986wib.67.1438247057024;
	Thu, 30 Jul 2015 02:04:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.220.85 with HTTP; Thu, 30 Jul 2015 02:03:57 -0700 (PDT)
In-Reply-To: <CAHwFrZeg0zgwcGDkV6EfAy621-Jrry4z-H3vrohQr70dv=_z2A@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
	<CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
	<CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
	<CAHwFrZeg0zgwcGDkV6EfAy621-Jrry4z-H3vrohQr70dv=_z2A@mail.gmail.com>
From: Geoffroy Couprie <contact@geoffroycouprie.com>
Date: Thu, 30 Jul 2015 11:03:57 +0200
X-Google-Sender-Auth: qtcTt13zC8a_OKUIc94sHAZTMJg
Message-ID: <CAAi8dZxKXRip4x9tBnuRkppvVGpjv+jf6t=OeNgYCxFERrCcHw@mail.gmail.com>
To: Len Maxwell <len@lnmx.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Len,

On Wed, Jul 29, 2015 at 9:12 PM, Len Maxwell <len@lnmx.org> wrote:
>
> Hi Geoffroy and Thomas,
>
> On Tue, Jul 28, 2015 at 4:29 AM, Thomas Leonard <talex5@gmail.com> wrote:
>>
>> On 27 July 2015 at 15:54, Thomas Leonard <talex5@gmail.com> wrote:
>> > On 27 July 2015 at 09:36, Geoffroy Couprie <contact@geoffroycouprie.com>
>> > wrote:
>>
>> [...]
>>
>> One other thing I should mention: Mini-OS runs in kernel mode and can
>> be interrupted at any time. On x86, the interrupt handler uses the
>> same stack as the rest of the code. Therefore, you must compile with
>> the Rust equivalent of -mno-red-zone so Rust doesn't assume it can
>> store things below the current stack pointer.
>
>
> I'm just starting to learn Rust, but I managed to create a simple static lib
> and link it into a standalone Mini-OS build:
>
> * build Rust from git with static musl libc support [1]

This is nice, I did not know about musl usage. This may be a bit big
for a unikernel, though. Do we need a full POSIX interface, with
threads and everything?
Thomas, what's mirage take on this?

> * compile libhello.a from [2]
Those should be the correct compilation flags

> * declare the Rust function as an extern in mini-os/kernel.c, call it from
> start_kernel()
> * add -L... -lhello to the Mini-OS linker flags
> * make and run
>
> Geoffroy, how does this compare to your approach?

See my code here: https://github.com/Geal/mini-os/compare/master...rust

Basically, I'm trying to replace some parts of Mini-OS with Rust code,
as Thomas suggested. That way, we keep an architecture and a
bootloader that work well with Xen, and it can be tested right away
with Mirage.

>
> To understand the interactions between Xen, Mini-OS, and MirageOS, I found
> [3] and [4] useful starting points.
We will need a Rust implementation of clients for Xenbus and Xen
events. Once code is running from start_kernel, the next step is
interacting with Xen's devices.

>
> The zinc.rs [5] project, a Rust RTOS for ARM, could provide some inspiration
> for modeling low-level operations in a type-safe way.

Zinc looks great, and they do something that I was planning to:
downloading the libcore part of Rust and linking to it directly. This
is the easiest way to get Rust features as needed, without having too
many dependencies. And once there's a libcore, making a libstd gets
easier.

>
> [1]: https://doc.rust-lang.org/nightly/book/advanced-linking.html#linux
> [2]: https://gist.github.com/lnmx/e7a74bacafb7e38b8355
> [3]: http://roscidus.com/blog/blog/2014/07/28/my-first-unikernel/
> [4]: https://mirage.io/wiki/xen-events
> [5]: http://zinc.rs
>

Geoffroy Couprie

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 09:04:34 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 09:04:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKjlJ-0004ei-Ew; Thu, 30 Jul 2015 09:04:25 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <geo.couprie@gmail.com>) id 1ZKjlI-0004eP-82
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 09:04:24 +0000
Received: from [193.109.254.147] by server-14.bemta-14.messagelabs.com id
	ED/36-04752-298E9B55; Thu, 30 Jul 2015 09:04:18 +0000
X-Env-Sender: geo.couprie@gmail.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1438247057!28892206!1
X-Originating-IP: [209.85.212.181]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 4349 invoked from network); 30 Jul 2015 09:04:17 -0000
Received: from mail-wi0-f181.google.com (HELO mail-wi0-f181.google.com)
	(209.85.212.181)
	by server-16.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	30 Jul 2015 09:04:17 -0000
Received: by wicmv11 with SMTP id mv11so12427791wic.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 30 Jul 2015 02:04:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:from:date:message-id
	:subject:to:cc:content-type;
	bh=1WjW/L5vthfzrQYSyCQd8TKLytZyD7KSc2XAxpVMdwM=;
	b=Qm7NUI7c+TbGikp9PkTe2y3Rc/iG0BA649aTe3kpcl3w3hjq5cGv32QP0UGBQmV7VK
	lzhF3nCRghltwWtmbFf/NXg923aj/xYN7I3xGOK89BmtSZbLhjTSQ3cfMkoEakOJZtzy
	ceLxiHVNHDoy4DOgv6fFiBUxoesmfr8QgIbsWqPblBB8w8N3qKNwb7r37D+1zDAltRov
	2EM4z1eEzWRmpPTlphHvJPW6IvVtuc5aHa331UGCouBr2zbzGFNmdn5fMXNIXHl+wxq2
	XuEqCWEp275DYLhhy7hQRKuaG2NULiaNBsnIWBNod9z4SOQQTsJ5lGL16ALeIbcurOlQ
	oMEA==
X-Received: by 10.180.91.76 with SMTP id cc12mr4308986wib.67.1438247057024;
	Thu, 30 Jul 2015 02:04:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.220.85 with HTTP; Thu, 30 Jul 2015 02:03:57 -0700 (PDT)
In-Reply-To: <CAHwFrZeg0zgwcGDkV6EfAy621-Jrry4z-H3vrohQr70dv=_z2A@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
	<CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
	<CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
	<CAHwFrZeg0zgwcGDkV6EfAy621-Jrry4z-H3vrohQr70dv=_z2A@mail.gmail.com>
From: Geoffroy Couprie <contact@geoffroycouprie.com>
Date: Thu, 30 Jul 2015 11:03:57 +0200
X-Google-Sender-Auth: qtcTt13zC8a_OKUIc94sHAZTMJg
Message-ID: <CAAi8dZxKXRip4x9tBnuRkppvVGpjv+jf6t=OeNgYCxFERrCcHw@mail.gmail.com>
To: Len Maxwell <len@lnmx.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

Hi Len,

On Wed, Jul 29, 2015 at 9:12 PM, Len Maxwell <len@lnmx.org> wrote:
>
> Hi Geoffroy and Thomas,
>
> On Tue, Jul 28, 2015 at 4:29 AM, Thomas Leonard <talex5@gmail.com> wrote:
>>
>> On 27 July 2015 at 15:54, Thomas Leonard <talex5@gmail.com> wrote:
>> > On 27 July 2015 at 09:36, Geoffroy Couprie <contact@geoffroycouprie.com>
>> > wrote:
>>
>> [...]
>>
>> One other thing I should mention: Mini-OS runs in kernel mode and can
>> be interrupted at any time. On x86, the interrupt handler uses the
>> same stack as the rest of the code. Therefore, you must compile with
>> the Rust equivalent of -mno-red-zone so Rust doesn't assume it can
>> store things below the current stack pointer.
>
>
> I'm just starting to learn Rust, but I managed to create a simple static lib
> and link it into a standalone Mini-OS build:
>
> * build Rust from git with static musl libc support [1]

This is nice, I did not know about musl usage. This may be a bit big
for a unikernel, though. Do we need a full POSIX interface, with
threads and everything?
Thomas, what's mirage take on this?

> * compile libhello.a from [2]
Those should be the correct compilation flags

> * declare the Rust function as an extern in mini-os/kernel.c, call it from
> start_kernel()
> * add -L... -lhello to the Mini-OS linker flags
> * make and run
>
> Geoffroy, how does this compare to your approach?

See my code here: https://github.com/Geal/mini-os/compare/master...rust

Basically, I'm trying to replace some parts of Mini-OS with Rust code,
as Thomas suggested. That way, we keep an architecture and a
bootloader that work well with Xen, and it can be tested right away
with Mirage.

>
> To understand the interactions between Xen, Mini-OS, and MirageOS, I found
> [3] and [4] useful starting points.
We will need a Rust implementation of clients for Xenbus and Xen
events. Once code is running from start_kernel, the next step is
interacting with Xen's devices.

>
> The zinc.rs [5] project, a Rust RTOS for ARM, could provide some inspiration
> for modeling low-level operations in a type-safe way.

Zinc looks great, and they do something that I was planning to:
downloading the libcore part of Rust and linking to it directly. This
is the easiest way to get Rust features as needed, without having too
many dependencies. And once there's a libcore, making a libstd gets
easier.

>
> [1]: https://doc.rust-lang.org/nightly/book/advanced-linking.html#linux
> [2]: https://gist.github.com/lnmx/e7a74bacafb7e38b8355
> [3]: http://roscidus.com/blog/blog/2014/07/28/my-first-unikernel/
> [4]: https://mirage.io/wiki/xen-events
> [5]: http://zinc.rs
>

Geoffroy Couprie

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 12:57:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 12:57:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKnOU-0003Kc-5S; Thu, 30 Jul 2015 12:57:06 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1ZKnOT-0003Je-Ew
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 12:57:05 +0000
Received: from [85.158.139.211] by server-15.bemta-5.messagelabs.com id
	83/F4-10422-02F1AB55; Thu, 30 Jul 2015 12:57:04 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-8.tower-206.messagelabs.com!1438261021!24675408!1
X-Originating-IP: [209.85.218.41]
X-SpamReason: No, hits=0.9 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_30_40,HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18227 invoked from network); 30 Jul 2015 12:57:02 -0000
Received: from mail-oi0-f41.google.com (HELO mail-oi0-f41.google.com)
	(209.85.218.41)
	by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	30 Jul 2015 12:57:02 -0000
Received: by oihq81 with SMTP id q81so21316078oih.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 30 Jul 2015 05:57:01 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=a4+JN55FkYikAV+fuDx7SynUtCkSzC6ZyJX90HVtx/c=;
	b=LlngwiDEjyrvIs+G3RN1410ovT+sVpFJWcnuKNAMqB+S+gSUnfltOJN0/6Nj0eVl1W
	m8bndkEKsn6wAUUyErhKKWqhjX0lJBOH/jpzB++cDnx1xVfwTqc1vtt6obkx7DraouXT
	q/os/JsdxFQCAdgdKMw6O34NF2Xkjsfj124di5pAu+F02fGzm/Sy0+PTf8Ss4nUK9Dwx
	vZ8GlicTr0rVYCQ0LZHHp6loTWhRu4NxEFOf3oVUK7L5kUSm2LDFgStbfriKTsFIATuE
	j4gXjbfn3my7yN7LRzJ3aPvyjezU4+vPbyt2em1c0fWRqFSXiCclct5gstOw6mc4jAr7
	Y8VA==
X-Gm-Message-State: ALoCoQmY/k2urALqQfRyXy2buMDWqYz2CycPsd+QJosZUv41rxzBbwsOk1o+GgTIgcS5gw6xSlRA
MIME-Version: 1.0
X-Received: by 10.202.206.84 with SMTP id e81mr9054753oig.132.1438261021199;
	Thu, 30 Jul 2015 05:57:01 -0700 (PDT)
Received: by 10.202.75.67 with HTTP; Thu, 30 Jul 2015 05:57:01 -0700 (PDT)
In-Reply-To: <CAAi8dZxKXRip4x9tBnuRkppvVGpjv+jf6t=OeNgYCxFERrCcHw@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
	<CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
	<CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
	<CAHwFrZeg0zgwcGDkV6EfAy621-Jrry4z-H3vrohQr70dv=_z2A@mail.gmail.com>
	<CAAi8dZxKXRip4x9tBnuRkppvVGpjv+jf6t=OeNgYCxFERrCcHw@mail.gmail.com>
Date: Thu, 30 Jul 2015 08:57:01 -0400
Message-ID: <CAHwFrZfjmzq0NNDiLSzUu=EdMMXP4owZxGEBFab2W9rABNhCPA@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Geoffroy Couprie <contact@geoffroycouprie.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0318427271411136472=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0318427271411136472==
Content-Type: multipart/alternative; boundary=001a113ad99c4368fd051c173dfa

--001a113ad99c4368fd051c173dfa
Content-Type: text/plain; charset=UTF-8

On Thu, Jul 30, 2015 at 5:03 AM, Geoffroy Couprie <
contact@geoffroycouprie.com> wrote:

> Hi Len,
>
> On Wed, Jul 29, 2015 at 9:12 PM, Len Maxwell <len@lnmx.org> wrote:
> >
> > Hi Geoffroy and Thomas,
> >
> > On Tue, Jul 28, 2015 at 4:29 AM, Thomas Leonard <talex5@gmail.com>
> wrote:
> >>
> >> On 27 July 2015 at 15:54, Thomas Leonard <talex5@gmail.com> wrote:
> >> > On 27 July 2015 at 09:36, Geoffroy Couprie <
> contact@geoffroycouprie.com>
> >> > wrote:
> >>
> >> [...]
> >>
> >> One other thing I should mention: Mini-OS runs in kernel mode and can
> >> be interrupted at any time. On x86, the interrupt handler uses the
> >> same stack as the rest of the code. Therefore, you must compile with
> >> the Rust equivalent of -mno-red-zone so Rust doesn't assume it can
> >> store things below the current stack pointer.
> >
> >
> > I'm just starting to learn Rust, but I managed to create a simple static
> lib
> > and link it into a standalone Mini-OS build:
> >
> > * build Rust from git with static musl libc support [1]
>
> This is nice, I did not know about musl usage. This may be a bit big
> for a unikernel, though. Do we need a full POSIX interface, with
> threads and everything?
>

Hi,

OK, now I see that targeting musl-static brings in too much
additional/unnecessary code; that was my misguided way of working around
linker errors between libhello and mini-os.  Your "mm" package imports the
"libc" crate; I suppose it adds the Rust stubs for libc functions, which
are then linked to the implementations in mini-os? (which, in turn, are not
needed for the trivial Rust code)

It looks like mirage-platform/bindings [a] captures most of the interface
between Mirage/OCaml and Mini-OS.  It uses a few functions from time.h,
string.h, and various Xen-related APIs.  There's also main.c [b] which
overrides start_kernel to kick off the OCaml runtime.  Not sure if any
additional functions are needed by OCaml itself?

Rust and OCaml also have a common dependency on libm.  For Mirage on Xen,
it is pulled in via mirage-platform/xen-posix.

[a] https://github.com/mirage/mirage-platform/tree/master/bindings
[b] https://github.com/mirage/mirage-platform/blob/master/bindings/main.c


> Thomas, what's mirage take on this?
>
> > * compile libhello.a from [2]
> Those should be the correct compilation flags
>
> > * declare the Rust function as an extern in mini-os/kernel.c, call it
> from
> > start_kernel()
> > * add -L... -lhello to the Mini-OS linker flags
> > * make and run
> >
> > Geoffroy, how does this compare to your approach?
>
> See my code here: https://github.com/Geal/mini-os/compare/master...rust
>
> Basically, I'm trying to replace some parts of Mini-OS with Rust code,
> as Thomas suggested. That way, we keep an architecture and a
> bootloader that work well with Xen, and it can be tested right away
> with Mirage.
>
> >
> > To understand the interactions between Xen, Mini-OS, and MirageOS, I
> found
> > [3] and [4] useful starting points.
> We will need a Rust implementation of clients for Xenbus and Xen
> events. Once code is running from start_kernel, the next step is
> interacting with Xen's devices.
>

I've started a learning exercise to see how much I can delete from Mini-OS
while still supporting Mirage.  Threading, POSIX emulation, HAVE_LIBC, and
all of the front/back devs can go (except console), and then I might
actually understand what's left.


>
> >
> > The zinc.rs [5] project, a Rust RTOS for ARM, could provide some
> inspiration
> > for modeling low-level operations in a type-safe way.
>
> Zinc looks great, and they do something that I was planning to:
> downloading the libcore part of Rust and linking to it directly. This
> is the easiest way to get Rust features as needed, without having too
> many dependencies. And once there's a libcore, making a libstd gets
> easier.
>

Not knowing much about libcore vs. libstd -- which parts of libstd are
important to the task of replacing C code in Mini-OS?

Speaking of ARM, it would be interesting to see if the init_mm experiment
runs on a Cubie: https://mirage.io/blog/introducing-xen-minios-arm


> >
> > [1]: https://doc.rust-lang.org/nightly/book/advanced-linking.html#linux
> > [2]: https://gist.github.com/lnmx/e7a74bacafb7e38b8355
> > [3]: http://roscidus.com/blog/blog/2014/07/28/my-first-unikernel/
> > [4]: https://mirage.io/wiki/xen-events
> > [5]: http://zinc.rs
> >
>
> Geoffroy Couprie
>

--
Len

--001a113ad99c4368fd051c173dfa
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Jul 30, 2015 at 5:03 AM, Geoffroy Couprie <span dir=3D"ltr">&lt=
;<a href=3D"mailto:contact@geoffroycouprie.com" target=3D"_blank">contact@g=
eoffroycouprie.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
Hi Len,<br>
<span class=3D""><br>
On Wed, Jul 29, 2015 at 9:12 PM, Len Maxwell &lt;<a href=3D"mailto:len@lnmx=
.org">len@lnmx.org</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Geoffroy and Thomas,<br>
&gt;<br>
</span>&gt; On Tue, Jul 28, 2015 at 4:29 AM, Thomas Leonard &lt;<a href=3D"=
mailto:talex5@gmail.com">talex5@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 27 July 2015 at 15:54, Thomas Leonard &lt;<a href=3D"mailto:tal=
ex5@gmail.com">talex5@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; On 27 July 2015 at 09:36, Geoffroy Couprie &lt;<a href=3D"mai=
lto:contact@geoffroycouprie.com">contact@geoffroycouprie.com</a>&gt;<br>
<span class=3D"">&gt;&gt; &gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; [...]<br>
&gt;&gt;<br>
&gt;&gt; One other thing I should mention: Mini-OS runs in kernel mode and =
can<br>
&gt;&gt; be interrupted at any time. On x86, the interrupt handler uses the=
<br>
&gt;&gt; same stack as the rest of the code. Therefore, you must compile wi=
th<br>
&gt;&gt; the Rust equivalent of -mno-red-zone so Rust doesn&#39;t assume it=
 can<br>
&gt;&gt; store things below the current stack pointer.<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m just starting to learn Rust, but I managed to create a simple =
static lib<br>
&gt; and link it into a standalone Mini-OS build:<br>
&gt;<br>
&gt; * build Rust from git with static musl libc support [1]<br>
<br>
</span>This is nice, I did not know about musl usage. This may be a bit big=
<br>
for a unikernel, though. Do we need a full POSIX interface, with<br>
threads and everything?<br></blockquote><div><br></div><div>Hi,</div><div><=
br></div><div>OK, now I see that targeting musl-static brings in too much a=
dditional/unnecessary code; that was my misguided way of working around lin=
ker errors between libhello and mini-os.=C2=A0 Your &quot;mm&quot; package =
imports the &quot;libc&quot; crate; I suppose it adds the Rust stubs for li=
bc functions, which are then linked to the implementations in mini-os? (whi=
ch, in turn, are not needed for the trivial Rust code)</div><div><br></div>=
<div>It looks like mirage-platform/bindings [a] captures most of the interf=
ace between Mirage/OCaml and Mini-OS.=C2=A0 It uses a few functions from ti=
me.h, string.h, and various Xen-related APIs.=C2=A0 There&#39;s also main.c=
 [b] which overrides start_kernel to kick off the OCaml runtime.=C2=A0 Not =
sure if any additional functions are needed by OCaml itself?</div><div><br>=
</div><div>Rust and OCaml also have a common dependency on libm.=C2=A0 For =
Mirage on Xen, it is pulled in via mirage-platform/xen-posix.</div><div><br=
></div><div>[a] <a href=3D"https://github.com/mirage/mirage-platform/tree/m=
aster/bindings">https://github.com/mirage/mirage-platform/tree/master/bindi=
ngs</a>=C2=A0</div><div>[b]=C2=A0<a href=3D"https://github.com/mirage/mirag=
e-platform/blob/master/bindings/main.c">https://github.com/mirage/mirage-pl=
atform/blob/master/bindings/main.c</a></div><div>=C2=A0</div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">
Thomas, what&#39;s mirage take on this?<br>
<span class=3D""><br>
&gt; * compile libhello.a from [2]<br>
</span>Those should be the correct compilation flags<br>
<span class=3D""><br>
&gt; * declare the Rust function as an extern in mini-os/kernel.c, call it =
from<br>
&gt; start_kernel()<br>
&gt; * add -L... -lhello to the Mini-OS linker flags<br>
&gt; * make and run<br>
&gt;<br>
&gt; Geoffroy, how does this compare to your approach?<br>
<br>
</span>See my code here: <a href=3D"https://github.com/Geal/mini-os/compare=
/master...rust" rel=3D"noreferrer" target=3D"_blank">https://github.com/Gea=
l/mini-os/compare/master...rust</a><br>
<br>
Basically, I&#39;m trying to replace some parts of Mini-OS with Rust code,<=
br>
as Thomas suggested. That way, we keep an architecture and a<br>
bootloader that work well with Xen, and it can be tested right away<br>
with Mirage.<br>
<span class=3D""><br>
&gt;<br>
&gt; To understand the interactions between Xen, Mini-OS, and MirageOS, I f=
ound<br>
&gt; [3] and [4] useful starting points.<br>
</span>We will need a Rust implementation of clients for Xenbus and Xen<br>
events. Once code is running from start_kernel, the next step is<br>
interacting with Xen&#39;s devices.<br></blockquote><div><br></div><div>I&#=
39;ve started a learning exercise to see how much I can delete from Mini-OS=
 while still supporting Mirage.=C2=A0 Threading, POSIX emulation, HAVE_LIBC=
, and all of the front/back devs can go (except console), and then I might =
actually understand what&#39;s left.</div><div>=C2=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
<br>
&gt;<br>
&gt; The <a href=3D"http://zinc.rs" rel=3D"noreferrer" target=3D"_blank">zi=
nc.rs</a> [5] project, a Rust RTOS for ARM, could provide some inspiration<=
br>
<span class=3D"">&gt; for modeling low-level operations in a type-safe way.=
<br>
<br>
</span>Zinc looks great, and they do something that I was planning to:<br>
downloading the libcore part of Rust and linking to it directly. This<br>
is the easiest way to get Rust features as needed, without having too<br>
many dependencies. And once there&#39;s a libcore, making a libstd gets<br>
easier.<br></blockquote><div><br></div><div>Not knowing much about libcore =
vs. libstd -- which parts of libstd are important to the task of replacing =
C code in Mini-OS?</div><div><br></div><div>Speaking of ARM, it would be in=
teresting to see if the init_mm experiment runs on a Cubie:=C2=A0<a href=3D=
"https://mirage.io/blog/introducing-xen-minios-arm">https://mirage.io/blog/=
introducing-xen-minios-arm</a></div><div><br></div><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">
<br>
&gt;<br>
&gt; [1]: <a href=3D"https://doc.rust-lang.org/nightly/book/advanced-linkin=
g.html#linux" rel=3D"noreferrer" target=3D"_blank">https://doc.rust-lang.or=
g/nightly/book/advanced-linking.html#linux</a><br>
&gt; [2]: <a href=3D"https://gist.github.com/lnmx/e7a74bacafb7e38b8355" rel=
=3D"noreferrer" target=3D"_blank">https://gist.github.com/lnmx/e7a74bacafb7=
e38b8355</a><br>
&gt; [3]: <a href=3D"http://roscidus.com/blog/blog/2014/07/28/my-first-unik=
ernel/" rel=3D"noreferrer" target=3D"_blank">http://roscidus.com/blog/blog/=
2014/07/28/my-first-unikernel/</a><br>
&gt; [4]: <a href=3D"https://mirage.io/wiki/xen-events" rel=3D"noreferrer" =
target=3D"_blank">https://mirage.io/wiki/xen-events</a><br>
&gt; [5]: <a href=3D"http://zinc.rs" rel=3D"noreferrer" target=3D"_blank">h=
ttp://zinc.rs</a><br>
&gt;<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Geoffroy Couprie<br></font></span></blockquote><div><br></div><div>--</div>=
<div>Len=C2=A0</div></div><br></div></div>

--001a113ad99c4368fd051c173dfa--


--===============0318427271411136472==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0318427271411136472==--


From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 12:57:13 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 12:57:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKnOU-0003Kc-5S; Thu, 30 Jul 2015 12:57:06 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <len@inthemail.org>) id 1ZKnOT-0003Je-Ew
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 12:57:05 +0000
Received: from [85.158.139.211] by server-15.bemta-5.messagelabs.com id
	83/F4-10422-02F1AB55; Thu, 30 Jul 2015 12:57:04 +0000
X-Env-Sender: len@inthemail.org
X-Msg-Ref: server-8.tower-206.messagelabs.com!1438261021!24675408!1
X-Originating-IP: [209.85.218.41]
X-SpamReason: No, hits=0.9 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_30_40,HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18227 invoked from network); 30 Jul 2015 12:57:02 -0000
Received: from mail-oi0-f41.google.com (HELO mail-oi0-f41.google.com)
	(209.85.218.41)
	by server-8.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	30 Jul 2015 12:57:02 -0000
Received: by oihq81 with SMTP id q81so21316078oih.2
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 30 Jul 2015 05:57:01 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=a4+JN55FkYikAV+fuDx7SynUtCkSzC6ZyJX90HVtx/c=;
	b=LlngwiDEjyrvIs+G3RN1410ovT+sVpFJWcnuKNAMqB+S+gSUnfltOJN0/6Nj0eVl1W
	m8bndkEKsn6wAUUyErhKKWqhjX0lJBOH/jpzB++cDnx1xVfwTqc1vtt6obkx7DraouXT
	q/os/JsdxFQCAdgdKMw6O34NF2Xkjsfj124di5pAu+F02fGzm/Sy0+PTf8Ss4nUK9Dwx
	vZ8GlicTr0rVYCQ0LZHHp6loTWhRu4NxEFOf3oVUK7L5kUSm2LDFgStbfriKTsFIATuE
	j4gXjbfn3my7yN7LRzJ3aPvyjezU4+vPbyt2em1c0fWRqFSXiCclct5gstOw6mc4jAr7
	Y8VA==
X-Gm-Message-State: ALoCoQmY/k2urALqQfRyXy2buMDWqYz2CycPsd+QJosZUv41rxzBbwsOk1o+GgTIgcS5gw6xSlRA
MIME-Version: 1.0
X-Received: by 10.202.206.84 with SMTP id e81mr9054753oig.132.1438261021199;
	Thu, 30 Jul 2015 05:57:01 -0700 (PDT)
Received: by 10.202.75.67 with HTTP; Thu, 30 Jul 2015 05:57:01 -0700 (PDT)
In-Reply-To: <CAAi8dZxKXRip4x9tBnuRkppvVGpjv+jf6t=OeNgYCxFERrCcHw@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
	<CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
	<CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
	<CAHwFrZeg0zgwcGDkV6EfAy621-Jrry4z-H3vrohQr70dv=_z2A@mail.gmail.com>
	<CAAi8dZxKXRip4x9tBnuRkppvVGpjv+jf6t=OeNgYCxFERrCcHw@mail.gmail.com>
Date: Thu, 30 Jul 2015 08:57:01 -0400
Message-ID: <CAHwFrZfjmzq0NNDiLSzUu=EdMMXP4owZxGEBFab2W9rABNhCPA@mail.gmail.com>
From: Len Maxwell <len@lnmx.org>
To: Geoffroy Couprie <contact@geoffroycouprie.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0318427271411136472=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============0318427271411136472==
Content-Type: multipart/alternative; boundary=001a113ad99c4368fd051c173dfa

--001a113ad99c4368fd051c173dfa
Content-Type: text/plain; charset=UTF-8

On Thu, Jul 30, 2015 at 5:03 AM, Geoffroy Couprie <
contact@geoffroycouprie.com> wrote:

> Hi Len,
>
> On Wed, Jul 29, 2015 at 9:12 PM, Len Maxwell <len@lnmx.org> wrote:
> >
> > Hi Geoffroy and Thomas,
> >
> > On Tue, Jul 28, 2015 at 4:29 AM, Thomas Leonard <talex5@gmail.com>
> wrote:
> >>
> >> On 27 July 2015 at 15:54, Thomas Leonard <talex5@gmail.com> wrote:
> >> > On 27 July 2015 at 09:36, Geoffroy Couprie <
> contact@geoffroycouprie.com>
> >> > wrote:
> >>
> >> [...]
> >>
> >> One other thing I should mention: Mini-OS runs in kernel mode and can
> >> be interrupted at any time. On x86, the interrupt handler uses the
> >> same stack as the rest of the code. Therefore, you must compile with
> >> the Rust equivalent of -mno-red-zone so Rust doesn't assume it can
> >> store things below the current stack pointer.
> >
> >
> > I'm just starting to learn Rust, but I managed to create a simple static
> lib
> > and link it into a standalone Mini-OS build:
> >
> > * build Rust from git with static musl libc support [1]
>
> This is nice, I did not know about musl usage. This may be a bit big
> for a unikernel, though. Do we need a full POSIX interface, with
> threads and everything?
>

Hi,

OK, now I see that targeting musl-static brings in too much
additional/unnecessary code; that was my misguided way of working around
linker errors between libhello and mini-os.  Your "mm" package imports the
"libc" crate; I suppose it adds the Rust stubs for libc functions, which
are then linked to the implementations in mini-os? (which, in turn, are not
needed for the trivial Rust code)

It looks like mirage-platform/bindings [a] captures most of the interface
between Mirage/OCaml and Mini-OS.  It uses a few functions from time.h,
string.h, and various Xen-related APIs.  There's also main.c [b] which
overrides start_kernel to kick off the OCaml runtime.  Not sure if any
additional functions are needed by OCaml itself?

Rust and OCaml also have a common dependency on libm.  For Mirage on Xen,
it is pulled in via mirage-platform/xen-posix.

[a] https://github.com/mirage/mirage-platform/tree/master/bindings
[b] https://github.com/mirage/mirage-platform/blob/master/bindings/main.c


> Thomas, what's mirage take on this?
>
> > * compile libhello.a from [2]
> Those should be the correct compilation flags
>
> > * declare the Rust function as an extern in mini-os/kernel.c, call it
> from
> > start_kernel()
> > * add -L... -lhello to the Mini-OS linker flags
> > * make and run
> >
> > Geoffroy, how does this compare to your approach?
>
> See my code here: https://github.com/Geal/mini-os/compare/master...rust
>
> Basically, I'm trying to replace some parts of Mini-OS with Rust code,
> as Thomas suggested. That way, we keep an architecture and a
> bootloader that work well with Xen, and it can be tested right away
> with Mirage.
>
> >
> > To understand the interactions between Xen, Mini-OS, and MirageOS, I
> found
> > [3] and [4] useful starting points.
> We will need a Rust implementation of clients for Xenbus and Xen
> events. Once code is running from start_kernel, the next step is
> interacting with Xen's devices.
>

I've started a learning exercise to see how much I can delete from Mini-OS
while still supporting Mirage.  Threading, POSIX emulation, HAVE_LIBC, and
all of the front/back devs can go (except console), and then I might
actually understand what's left.


>
> >
> > The zinc.rs [5] project, a Rust RTOS for ARM, could provide some
> inspiration
> > for modeling low-level operations in a type-safe way.
>
> Zinc looks great, and they do something that I was planning to:
> downloading the libcore part of Rust and linking to it directly. This
> is the easiest way to get Rust features as needed, without having too
> many dependencies. And once there's a libcore, making a libstd gets
> easier.
>

Not knowing much about libcore vs. libstd -- which parts of libstd are
important to the task of replacing C code in Mini-OS?

Speaking of ARM, it would be interesting to see if the init_mm experiment
runs on a Cubie: https://mirage.io/blog/introducing-xen-minios-arm


> >
> > [1]: https://doc.rust-lang.org/nightly/book/advanced-linking.html#linux
> > [2]: https://gist.github.com/lnmx/e7a74bacafb7e38b8355
> > [3]: http://roscidus.com/blog/blog/2014/07/28/my-first-unikernel/
> > [4]: https://mirage.io/wiki/xen-events
> > [5]: http://zinc.rs
> >
>
> Geoffroy Couprie
>

--
Len

--001a113ad99c4368fd051c173dfa
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Jul 30, 2015 at 5:03 AM, Geoffroy Couprie <span dir=3D"ltr">&lt=
;<a href=3D"mailto:contact@geoffroycouprie.com" target=3D"_blank">contact@g=
eoffroycouprie.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
Hi Len,<br>
<span class=3D""><br>
On Wed, Jul 29, 2015 at 9:12 PM, Len Maxwell &lt;<a href=3D"mailto:len@lnmx=
.org">len@lnmx.org</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Geoffroy and Thomas,<br>
&gt;<br>
</span>&gt; On Tue, Jul 28, 2015 at 4:29 AM, Thomas Leonard &lt;<a href=3D"=
mailto:talex5@gmail.com">talex5@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 27 July 2015 at 15:54, Thomas Leonard &lt;<a href=3D"mailto:tal=
ex5@gmail.com">talex5@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; On 27 July 2015 at 09:36, Geoffroy Couprie &lt;<a href=3D"mai=
lto:contact@geoffroycouprie.com">contact@geoffroycouprie.com</a>&gt;<br>
<span class=3D"">&gt;&gt; &gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; [...]<br>
&gt;&gt;<br>
&gt;&gt; One other thing I should mention: Mini-OS runs in kernel mode and =
can<br>
&gt;&gt; be interrupted at any time. On x86, the interrupt handler uses the=
<br>
&gt;&gt; same stack as the rest of the code. Therefore, you must compile wi=
th<br>
&gt;&gt; the Rust equivalent of -mno-red-zone so Rust doesn&#39;t assume it=
 can<br>
&gt;&gt; store things below the current stack pointer.<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m just starting to learn Rust, but I managed to create a simple =
static lib<br>
&gt; and link it into a standalone Mini-OS build:<br>
&gt;<br>
&gt; * build Rust from git with static musl libc support [1]<br>
<br>
</span>This is nice, I did not know about musl usage. This may be a bit big=
<br>
for a unikernel, though. Do we need a full POSIX interface, with<br>
threads and everything?<br></blockquote><div><br></div><div>Hi,</div><div><=
br></div><div>OK, now I see that targeting musl-static brings in too much a=
dditional/unnecessary code; that was my misguided way of working around lin=
ker errors between libhello and mini-os.=C2=A0 Your &quot;mm&quot; package =
imports the &quot;libc&quot; crate; I suppose it adds the Rust stubs for li=
bc functions, which are then linked to the implementations in mini-os? (whi=
ch, in turn, are not needed for the trivial Rust code)</div><div><br></div>=
<div>It looks like mirage-platform/bindings [a] captures most of the interf=
ace between Mirage/OCaml and Mini-OS.=C2=A0 It uses a few functions from ti=
me.h, string.h, and various Xen-related APIs.=C2=A0 There&#39;s also main.c=
 [b] which overrides start_kernel to kick off the OCaml runtime.=C2=A0 Not =
sure if any additional functions are needed by OCaml itself?</div><div><br>=
</div><div>Rust and OCaml also have a common dependency on libm.=C2=A0 For =
Mirage on Xen, it is pulled in via mirage-platform/xen-posix.</div><div><br=
></div><div>[a] <a href=3D"https://github.com/mirage/mirage-platform/tree/m=
aster/bindings">https://github.com/mirage/mirage-platform/tree/master/bindi=
ngs</a>=C2=A0</div><div>[b]=C2=A0<a href=3D"https://github.com/mirage/mirag=
e-platform/blob/master/bindings/main.c">https://github.com/mirage/mirage-pl=
atform/blob/master/bindings/main.c</a></div><div>=C2=A0</div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">
Thomas, what&#39;s mirage take on this?<br>
<span class=3D""><br>
&gt; * compile libhello.a from [2]<br>
</span>Those should be the correct compilation flags<br>
<span class=3D""><br>
&gt; * declare the Rust function as an extern in mini-os/kernel.c, call it =
from<br>
&gt; start_kernel()<br>
&gt; * add -L... -lhello to the Mini-OS linker flags<br>
&gt; * make and run<br>
&gt;<br>
&gt; Geoffroy, how does this compare to your approach?<br>
<br>
</span>See my code here: <a href=3D"https://github.com/Geal/mini-os/compare=
/master...rust" rel=3D"noreferrer" target=3D"_blank">https://github.com/Gea=
l/mini-os/compare/master...rust</a><br>
<br>
Basically, I&#39;m trying to replace some parts of Mini-OS with Rust code,<=
br>
as Thomas suggested. That way, we keep an architecture and a<br>
bootloader that work well with Xen, and it can be tested right away<br>
with Mirage.<br>
<span class=3D""><br>
&gt;<br>
&gt; To understand the interactions between Xen, Mini-OS, and MirageOS, I f=
ound<br>
&gt; [3] and [4] useful starting points.<br>
</span>We will need a Rust implementation of clients for Xenbus and Xen<br>
events. Once code is running from start_kernel, the next step is<br>
interacting with Xen&#39;s devices.<br></blockquote><div><br></div><div>I&#=
39;ve started a learning exercise to see how much I can delete from Mini-OS=
 while still supporting Mirage.=C2=A0 Threading, POSIX emulation, HAVE_LIBC=
, and all of the front/back devs can go (except console), and then I might =
actually understand what&#39;s left.</div><div>=C2=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
<br>
&gt;<br>
&gt; The <a href=3D"http://zinc.rs" rel=3D"noreferrer" target=3D"_blank">zi=
nc.rs</a> [5] project, a Rust RTOS for ARM, could provide some inspiration<=
br>
<span class=3D"">&gt; for modeling low-level operations in a type-safe way.=
<br>
<br>
</span>Zinc looks great, and they do something that I was planning to:<br>
downloading the libcore part of Rust and linking to it directly. This<br>
is the easiest way to get Rust features as needed, without having too<br>
many dependencies. And once there&#39;s a libcore, making a libstd gets<br>
easier.<br></blockquote><div><br></div><div>Not knowing much about libcore =
vs. libstd -- which parts of libstd are important to the task of replacing =
C code in Mini-OS?</div><div><br></div><div>Speaking of ARM, it would be in=
teresting to see if the init_mm experiment runs on a Cubie:=C2=A0<a href=3D=
"https://mirage.io/blog/introducing-xen-minios-arm">https://mirage.io/blog/=
introducing-xen-minios-arm</a></div><div><br></div><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">
<br>
&gt;<br>
&gt; [1]: <a href=3D"https://doc.rust-lang.org/nightly/book/advanced-linkin=
g.html#linux" rel=3D"noreferrer" target=3D"_blank">https://doc.rust-lang.or=
g/nightly/book/advanced-linking.html#linux</a><br>
&gt; [2]: <a href=3D"https://gist.github.com/lnmx/e7a74bacafb7e38b8355" rel=
=3D"noreferrer" target=3D"_blank">https://gist.github.com/lnmx/e7a74bacafb7=
e38b8355</a><br>
&gt; [3]: <a href=3D"http://roscidus.com/blog/blog/2014/07/28/my-first-unik=
ernel/" rel=3D"noreferrer" target=3D"_blank">http://roscidus.com/blog/blog/=
2014/07/28/my-first-unikernel/</a><br>
&gt; [4]: <a href=3D"https://mirage.io/wiki/xen-events" rel=3D"noreferrer" =
target=3D"_blank">https://mirage.io/wiki/xen-events</a><br>
&gt; [5]: <a href=3D"http://zinc.rs" rel=3D"noreferrer" target=3D"_blank">h=
ttp://zinc.rs</a><br>
&gt;<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Geoffroy Couprie<br></font></span></blockquote><div><br></div><div>--</div>=
<div>Len=C2=A0</div></div><br></div></div>

--001a113ad99c4368fd051c173dfa--


--===============0318427271411136472==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============0318427271411136472==--


From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 13:17:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 13:17:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKnhx-0004gV-NM; Thu, 30 Jul 2015 13:17:13 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZKnhv-0004gQ-Lx
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 13:17:12 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	F1/F6-19110-6D32AB55; Thu, 30 Jul 2015 13:17:10 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1438262228!36524917!1
X-Originating-IP: [209.85.213.53]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28038 invoked from network); 30 Jul 2015 13:17:09 -0000
Received: from mail-vk0-f53.google.com (HELO mail-vk0-f53.google.com)
	(209.85.213.53)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	30 Jul 2015 13:17:09 -0000
Received: by vkci6 with SMTP id i6so10167640vkc.3
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 30 Jul 2015 06:17:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=EJDzg9Jj/Ivgp/MAwQrScaBmf6fDLFtZDTpgJ/E6swc=;
	b=imOyg2PJ0QreENpNAI1Ge+6D06MtEWDFTsmwg09kSlSUJsxqly65j2i8YWYgNnypxt
	PEyZnZKRTZ3nHZObimhR69VqfxStS6i9bsOFvpsSj/G9DNnyuX/j5EHgIHCcWOuzE4yy
	ZDeucIzeLe9FBS3kYoRFV8J28xQ17hq2s4AVNibOOoSOW1m9TQVLy4fgRnx8I6a1q6Uq
	vtzTzOVqxxOfspNTq1H/S/CDHgJ/+dPOWoW8Vji+pcKxiBHqS88PQ0i/RGgX1O6sYUHc
	6T1DKG/pzHwFc0WqnFFIDSzGLBweYWN7F4MMm0tGUbykAJThpr/yWt5vCPCE4Z6llAih
	p6oA==
MIME-Version: 1.0
X-Received: by 10.52.31.10 with SMTP id w10mr62262158vdh.54.1438262228071;
	Thu, 30 Jul 2015 06:17:08 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Thu, 30 Jul 2015 06:17:07 -0700 (PDT)
In-Reply-To: <CAHwFrZfjmzq0NNDiLSzUu=EdMMXP4owZxGEBFab2W9rABNhCPA@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
	<CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
	<CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
	<CAHwFrZeg0zgwcGDkV6EfAy621-Jrry4z-H3vrohQr70dv=_z2A@mail.gmail.com>
	<CAAi8dZxKXRip4x9tBnuRkppvVGpjv+jf6t=OeNgYCxFERrCcHw@mail.gmail.com>
	<CAHwFrZfjmzq0NNDiLSzUu=EdMMXP4owZxGEBFab2W9rABNhCPA@mail.gmail.com>
Date: Thu, 30 Jul 2015 14:17:07 +0100
Message-ID: <CAG4opy-iAK+dpXbrB2Dcr-zpfC+mpm8tfzx_A3dM=drz8ZNsyA@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Len Maxwell <len@lnmx.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 30 July 2015 at 13:57, Len Maxwell <len@lnmx.org> wrote:
>
>
> On Thu, Jul 30, 2015 at 5:03 AM, Geoffroy Couprie
> <contact@geoffroycouprie.com> wrote:
>>
>> Hi Len,
>>
>> On Wed, Jul 29, 2015 at 9:12 PM, Len Maxwell <len@lnmx.org> wrote:
>> >
>> > Hi Geoffroy and Thomas,
>> >
>> > On Tue, Jul 28, 2015 at 4:29 AM, Thomas Leonard <talex5@gmail.com>
>> > wrote:
>> >>
>> >> On 27 July 2015 at 15:54, Thomas Leonard <talex5@gmail.com> wrote:
>> >> > On 27 July 2015 at 09:36, Geoffroy Couprie
>> >> > <contact@geoffroycouprie.com>
>> >> > wrote:
>> >>
>> >> [...]
>> >>
>> >> One other thing I should mention: Mini-OS runs in kernel mode and can
>> >> be interrupted at any time. On x86, the interrupt handler uses the
>> >> same stack as the rest of the code. Therefore, you must compile with
>> >> the Rust equivalent of -mno-red-zone so Rust doesn't assume it can
>> >> store things below the current stack pointer.
>> >
>> >
>> > I'm just starting to learn Rust, but I managed to create a simple static
>> > lib
>> > and link it into a standalone Mini-OS build:
>> >
>> > * build Rust from git with static musl libc support [1]
>>
>> This is nice, I did not know about musl usage. This may be a bit big
>> for a unikernel, though. Do we need a full POSIX interface, with
>> threads and everything?
>
>
> Hi,
>
> OK, now I see that targeting musl-static brings in too much
> additional/unnecessary code; that was my misguided way of working around
> linker errors between libhello and mini-os.  Your "mm" package imports the
> "libc" crate; I suppose it adds the Rust stubs for libc functions, which are
> then linked to the implementations in mini-os? (which, in turn, are not
> needed for the trivial Rust code)
>
> It looks like mirage-platform/bindings [a] captures most of the interface
> between Mirage/OCaml and Mini-OS.  It uses a few functions from time.h,
> string.h, and various Xen-related APIs.  There's also main.c [b] which
> overrides start_kernel to kick off the OCaml runtime.  Not sure if any
> additional functions are needed by OCaml itself?

Not much. We provide a few extra C functions here:

https://github.com/mirage/mirage-platform/blob/master/xen-posix/src/mini_libc.c

Mostly these are just stubs that abort or log if called, but make it
easier to compile other things. For example, exit calls Mini-OS's
do_exit; write calls console_print if the fd is 1 or 2; sysconf
returns EINVAL for every input; etc.

> Rust and OCaml also have a common dependency on libm.  For Mirage on Xen, it
> is pulled in via mirage-platform/xen-posix.

Yes. We're using openlibm, which is a standalone version of the BSD libm.

> [a] https://github.com/mirage/mirage-platform/tree/master/bindings
> [b] https://github.com/mirage/mirage-platform/blob/master/bindings/main.c
>
>>
>> Thomas, what's mirage take on this?
>>
>> > * compile libhello.a from [2]
>> Those should be the correct compilation flags
>>
>> > * declare the Rust function as an extern in mini-os/kernel.c, call it
>> > from
>> > start_kernel()
>> > * add -L... -lhello to the Mini-OS linker flags
>> > * make and run
>> >
>> > Geoffroy, how does this compare to your approach?
>>
>> See my code here: https://github.com/Geal/mini-os/compare/master...rust
>>
>> Basically, I'm trying to replace some parts of Mini-OS with Rust code,
>> as Thomas suggested. That way, we keep an architecture and a
>> bootloader that work well with Xen, and it can be tested right away
>> with Mirage.
>>
>> >
>> > To understand the interactions between Xen, Mini-OS, and MirageOS, I
>> > found
>> > [3] and [4] useful starting points.
>> We will need a Rust implementation of clients for Xenbus and Xen
>> events. Once code is running from start_kernel, the next step is
>> interacting with Xen's devices.
>
>
> I've started a learning exercise to see how much I can delete from Mini-OS
> while still supporting Mirage.  Threading, POSIX emulation, HAVE_LIBC, and
> all of the front/back devs can go (except console), and then I might
> actually understand what's left.

That's a good idea!

>> > The zinc.rs [5] project, a Rust RTOS for ARM, could provide some
>> > inspiration
>> > for modeling low-level operations in a type-safe way.
>>
>> Zinc looks great, and they do something that I was planning to:
>> downloading the libcore part of Rust and linking to it directly. This
>> is the easiest way to get Rust features as needed, without having too
>> many dependencies. And once there's a libcore, making a libstd gets
>> easier.
>
>
> Not knowing much about libcore vs. libstd -- which parts of libstd are
> important to the task of replacing C code in Mini-OS?
>
> Speaking of ARM, it would be interesting to see if the init_mm experiment
> runs on a Cubie: https://mirage.io/blog/introducing-xen-minios-arm
>
>>
>> >
>> > [1]: https://doc.rust-lang.org/nightly/book/advanced-linking.html#linux
>> > [2]: https://gist.github.com/lnmx/e7a74bacafb7e38b8355
>> > [3]: http://roscidus.com/blog/blog/2014/07/28/my-first-unikernel/
>> > [4]: https://mirage.io/wiki/xen-events
>> > [5]: http://zinc.rs
>> >
>>
>> Geoffroy Couprie
>
>
> --
> Len
>



-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 13:17:17 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 13:17:17 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKnhx-0004gV-NM; Thu, 30 Jul 2015 13:17:13 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <talex5@gmail.com>) id 1ZKnhv-0004gQ-Lx
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 13:17:12 +0000
Received: from [193.109.254.147] by server-8.bemta-14.messagelabs.com id
	F1/F6-19110-6D32AB55; Thu, 30 Jul 2015 13:17:10 +0000
X-Env-Sender: talex5@gmail.com
X-Msg-Ref: server-10.tower-27.messagelabs.com!1438262228!36524917!1
X-Originating-IP: [209.85.213.53]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28038 invoked from network); 30 Jul 2015 13:17:09 -0000
Received: from mail-vk0-f53.google.com (HELO mail-vk0-f53.google.com)
	(209.85.213.53)
	by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	30 Jul 2015 13:17:09 -0000
Received: by vkci6 with SMTP id i6so10167640vkc.3
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 30 Jul 2015 06:17:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=EJDzg9Jj/Ivgp/MAwQrScaBmf6fDLFtZDTpgJ/E6swc=;
	b=imOyg2PJ0QreENpNAI1Ge+6D06MtEWDFTsmwg09kSlSUJsxqly65j2i8YWYgNnypxt
	PEyZnZKRTZ3nHZObimhR69VqfxStS6i9bsOFvpsSj/G9DNnyuX/j5EHgIHCcWOuzE4yy
	ZDeucIzeLe9FBS3kYoRFV8J28xQ17hq2s4AVNibOOoSOW1m9TQVLy4fgRnx8I6a1q6Uq
	vtzTzOVqxxOfspNTq1H/S/CDHgJ/+dPOWoW8Vji+pcKxiBHqS88PQ0i/RGgX1O6sYUHc
	6T1DKG/pzHwFc0WqnFFIDSzGLBweYWN7F4MMm0tGUbykAJThpr/yWt5vCPCE4Z6llAih
	p6oA==
MIME-Version: 1.0
X-Received: by 10.52.31.10 with SMTP id w10mr62262158vdh.54.1438262228071;
	Thu, 30 Jul 2015 06:17:08 -0700 (PDT)
Received: by 10.31.65.144 with HTTP; Thu, 30 Jul 2015 06:17:07 -0700 (PDT)
In-Reply-To: <CAHwFrZfjmzq0NNDiLSzUu=EdMMXP4owZxGEBFab2W9rABNhCPA@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
	<CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
	<CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
	<CAHwFrZeg0zgwcGDkV6EfAy621-Jrry4z-H3vrohQr70dv=_z2A@mail.gmail.com>
	<CAAi8dZxKXRip4x9tBnuRkppvVGpjv+jf6t=OeNgYCxFERrCcHw@mail.gmail.com>
	<CAHwFrZfjmzq0NNDiLSzUu=EdMMXP4owZxGEBFab2W9rABNhCPA@mail.gmail.com>
Date: Thu, 30 Jul 2015 14:17:07 +0100
Message-ID: <CAG4opy-iAK+dpXbrB2Dcr-zpfC+mpm8tfzx_A3dM=drz8ZNsyA@mail.gmail.com>
From: Thomas Leonard <talex5@gmail.com>
To: Len Maxwell <len@lnmx.org>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On 30 July 2015 at 13:57, Len Maxwell <len@lnmx.org> wrote:
>
>
> On Thu, Jul 30, 2015 at 5:03 AM, Geoffroy Couprie
> <contact@geoffroycouprie.com> wrote:
>>
>> Hi Len,
>>
>> On Wed, Jul 29, 2015 at 9:12 PM, Len Maxwell <len@lnmx.org> wrote:
>> >
>> > Hi Geoffroy and Thomas,
>> >
>> > On Tue, Jul 28, 2015 at 4:29 AM, Thomas Leonard <talex5@gmail.com>
>> > wrote:
>> >>
>> >> On 27 July 2015 at 15:54, Thomas Leonard <talex5@gmail.com> wrote:
>> >> > On 27 July 2015 at 09:36, Geoffroy Couprie
>> >> > <contact@geoffroycouprie.com>
>> >> > wrote:
>> >>
>> >> [...]
>> >>
>> >> One other thing I should mention: Mini-OS runs in kernel mode and can
>> >> be interrupted at any time. On x86, the interrupt handler uses the
>> >> same stack as the rest of the code. Therefore, you must compile with
>> >> the Rust equivalent of -mno-red-zone so Rust doesn't assume it can
>> >> store things below the current stack pointer.
>> >
>> >
>> > I'm just starting to learn Rust, but I managed to create a simple static
>> > lib
>> > and link it into a standalone Mini-OS build:
>> >
>> > * build Rust from git with static musl libc support [1]
>>
>> This is nice, I did not know about musl usage. This may be a bit big
>> for a unikernel, though. Do we need a full POSIX interface, with
>> threads and everything?
>
>
> Hi,
>
> OK, now I see that targeting musl-static brings in too much
> additional/unnecessary code; that was my misguided way of working around
> linker errors between libhello and mini-os.  Your "mm" package imports the
> "libc" crate; I suppose it adds the Rust stubs for libc functions, which are
> then linked to the implementations in mini-os? (which, in turn, are not
> needed for the trivial Rust code)
>
> It looks like mirage-platform/bindings [a] captures most of the interface
> between Mirage/OCaml and Mini-OS.  It uses a few functions from time.h,
> string.h, and various Xen-related APIs.  There's also main.c [b] which
> overrides start_kernel to kick off the OCaml runtime.  Not sure if any
> additional functions are needed by OCaml itself?

Not much. We provide a few extra C functions here:

https://github.com/mirage/mirage-platform/blob/master/xen-posix/src/mini_libc.c

Mostly these are just stubs that abort or log if called, but make it
easier to compile other things. For example, exit calls Mini-OS's
do_exit; write calls console_print if the fd is 1 or 2; sysconf
returns EINVAL for every input; etc.

> Rust and OCaml also have a common dependency on libm.  For Mirage on Xen, it
> is pulled in via mirage-platform/xen-posix.

Yes. We're using openlibm, which is a standalone version of the BSD libm.

> [a] https://github.com/mirage/mirage-platform/tree/master/bindings
> [b] https://github.com/mirage/mirage-platform/blob/master/bindings/main.c
>
>>
>> Thomas, what's mirage take on this?
>>
>> > * compile libhello.a from [2]
>> Those should be the correct compilation flags
>>
>> > * declare the Rust function as an extern in mini-os/kernel.c, call it
>> > from
>> > start_kernel()
>> > * add -L... -lhello to the Mini-OS linker flags
>> > * make and run
>> >
>> > Geoffroy, how does this compare to your approach?
>>
>> See my code here: https://github.com/Geal/mini-os/compare/master...rust
>>
>> Basically, I'm trying to replace some parts of Mini-OS with Rust code,
>> as Thomas suggested. That way, we keep an architecture and a
>> bootloader that work well with Xen, and it can be tested right away
>> with Mirage.
>>
>> >
>> > To understand the interactions between Xen, Mini-OS, and MirageOS, I
>> > found
>> > [3] and [4] useful starting points.
>> We will need a Rust implementation of clients for Xenbus and Xen
>> events. Once code is running from start_kernel, the next step is
>> interacting with Xen's devices.
>
>
> I've started a learning exercise to see how much I can delete from Mini-OS
> while still supporting Mirage.  Threading, POSIX emulation, HAVE_LIBC, and
> all of the front/back devs can go (except console), and then I might
> actually understand what's left.

That's a good idea!

>> > The zinc.rs [5] project, a Rust RTOS for ARM, could provide some
>> > inspiration
>> > for modeling low-level operations in a type-safe way.
>>
>> Zinc looks great, and they do something that I was planning to:
>> downloading the libcore part of Rust and linking to it directly. This
>> is the easiest way to get Rust features as needed, without having too
>> many dependencies. And once there's a libcore, making a libstd gets
>> easier.
>
>
> Not knowing much about libcore vs. libstd -- which parts of libstd are
> important to the task of replacing C code in Mini-OS?
>
> Speaking of ARM, it would be interesting to see if the init_mm experiment
> runs on a Cubie: https://mirage.io/blog/introducing-xen-minios-arm
>
>>
>> >
>> > [1]: https://doc.rust-lang.org/nightly/book/advanced-linking.html#linux
>> > [2]: https://gist.github.com/lnmx/e7a74bacafb7e38b8355
>> > [3]: http://roscidus.com/blog/blog/2014/07/28/my-first-unikernel/
>> > [4]: https://mirage.io/wiki/xen-events
>> > [5]: http://zinc.rs
>> >
>>
>> Geoffroy Couprie
>
>
> --
> Len
>



-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 15:09:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 15:09:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKpSM-0003WD-Up; Thu, 30 Jul 2015 15:09:14 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <geo.couprie@gmail.com>) id 1ZKpSK-0003W3-OJ
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 15:09:12 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	87/80-01421-81E3AB55; Thu, 30 Jul 2015 15:09:12 +0000
X-Env-Sender: geo.couprie@gmail.com
X-Msg-Ref: server-5.tower-31.messagelabs.com!1438268951!30836839!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31565 invoked from network); 30 Jul 2015 15:09:11 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	30 Jul 2015 15:09:11 -0000
Received: by wibxm9 with SMTP id xm9so73022963wib.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 30 Jul 2015 08:09:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:from:date:message-id
	:subject:to:cc:content-type;
	bh=4f447Gy0M3HecYFkkK6XdTtbB5/gDLk/ndG8zSpG5PA=;
	b=sSYJIqPerKQf28f7filP6i9LFtRjMVPWXf2/CK62RT+G6eZqeks+mWqddG1zdhNw9z
	lYy1aTdFB3Z41pN0XwWrY5i6VWzfa1NHXltP/TLKJwoVMQLPzk81qNCHd2PMSI39LChm
	Y/2frHgYLJsm9j73OEWQNlG39oJXllA3TjNNfFg4PeSvJdvGkP6q3D/iFlOeNf7F0nTs
	zmDAjMuNghFnN1b6qCF4iRA035VwFCr87TlvOs57ts/02uHHIYFZEy/IbcutL/8R/6u8
	A/q0wuK+J2OHXNm9/4loYp8zzcZp3PBwBOd0aAiWZKebxi6y1ugqV6+OWcLcgC1lINPx
	RUHw==
X-Received: by 10.195.11.168 with SMTP id ej8mr88603865wjd.150.1438268950793; 
	Thu, 30 Jul 2015 08:09:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.220.85 with HTTP; Thu, 30 Jul 2015 08:08:51 -0700 (PDT)
In-Reply-To: <CAG4opy-iAK+dpXbrB2Dcr-zpfC+mpm8tfzx_A3dM=drz8ZNsyA@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
	<CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
	<CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
	<CAHwFrZeg0zgwcGDkV6EfAy621-Jrry4z-H3vrohQr70dv=_z2A@mail.gmail.com>
	<CAAi8dZxKXRip4x9tBnuRkppvVGpjv+jf6t=OeNgYCxFERrCcHw@mail.gmail.com>
	<CAHwFrZfjmzq0NNDiLSzUu=EdMMXP4owZxGEBFab2W9rABNhCPA@mail.gmail.com>
	<CAG4opy-iAK+dpXbrB2Dcr-zpfC+mpm8tfzx_A3dM=drz8ZNsyA@mail.gmail.com>
From: Geoffroy Couprie <contact@geoffroycouprie.com>
Date: Thu, 30 Jul 2015 17:08:51 +0200
X-Google-Sender-Auth: zQVFIahqCtLX6fLz0pdsZxoCXx4
Message-ID: <CAAi8dZzpBp27k5S-QAwX4EU5HsdVOcAu2i-n6eB9xUyhV7Fv_Q@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Thu, Jul 30, 2015 at 3:17 PM, Thomas Leonard <talex5@gmail.com> wrote:
> On 30 July 2015 at 13:57, Len Maxwell <len@lnmx.org> wrote:
>>
>>
>> On Thu, Jul 30, 2015 at 5:03 AM, Geoffroy Couprie
>> <contact@geoffroycouprie.com> wrote:
>>>
>>> Hi Len,
>>>
>>> On Wed, Jul 29, 2015 at 9:12 PM, Len Maxwell <len@lnmx.org> wrote:
>>> >
>>> > Hi Geoffroy and Thomas,
>>> >
>>> > On Tue, Jul 28, 2015 at 4:29 AM, Thomas Leonard <talex5@gmail.com>
>>> > wrote:
>>> >>
>>> >> On 27 July 2015 at 15:54, Thomas Leonard <talex5@gmail.com> wrote:
>>> >> > On 27 July 2015 at 09:36, Geoffroy Couprie
>>> >> > <contact@geoffroycouprie.com>
>>> >> > wrote:
>>> >>
>>> >> [...]
>>> >>
>>> >> One other thing I should mention: Mini-OS runs in kernel mode and can
>>> >> be interrupted at any time. On x86, the interrupt handler uses the
>>> >> same stack as the rest of the code. Therefore, you must compile with
>>> >> the Rust equivalent of -mno-red-zone so Rust doesn't assume it can
>>> >> store things below the current stack pointer.
>>> >
>>> >
>>> > I'm just starting to learn Rust, but I managed to create a simple static
>>> > lib
>>> > and link it into a standalone Mini-OS build:
>>> >
>>> > * build Rust from git with static musl libc support [1]
>>>
>>> This is nice, I did not know about musl usage. This may be a bit big
>>> for a unikernel, though. Do we need a full POSIX interface, with
>>> threads and everything?
>>
>>
>> Hi,
>>
>> OK, now I see that targeting musl-static brings in too much
>> additional/unnecessary code; that was my misguided way of working around
>> linker errors between libhello and mini-os.  Your "mm" package imports the
>> "libc" crate; I suppose it adds the Rust stubs for libc functions, which are
>> then linked to the implementations in mini-os? (which, in turn, are not
>> needed for the trivial Rust code)

The libc crate has stubs for POSIX functions, but I import it because
it defines C types for FFI. Those stubs won't matter.

>>
>> It looks like mirage-platform/bindings [a] captures most of the interface
>> between Mirage/OCaml and Mini-OS.  It uses a few functions from time.h,
>> string.h, and various Xen-related APIs.  There's also main.c [b] which
>> overrides start_kernel to kick off the OCaml runtime.  Not sure if any
>> additional functions are needed by OCaml itself?
>
> Not much. We provide a few extra C functions here:
>
> https://github.com/mirage/mirage-platform/blob/master/xen-posix/src/mini_libc.c
>
> Mostly these are just stubs that abort or log if called, but make it
> easier to compile other things. For example, exit calls Mini-OS's
> do_exit; write calls console_print if the fd is 1 or 2; sysconf
> returns EINVAL for every input; etc.

This is what RustOS does. It implements libstd with stubs where it is needed.

>
>> Rust and OCaml also have a common dependency on libm.  For Mirage on Xen, it
>> is pulled in via mirage-platform/xen-posix.
>
> Yes. We're using openlibm, which is a standalone version of the BSD libm.
>
Maybe that one could be reused for Rust.

>> [a] https://github.com/mirage/mirage-platform/tree/master/bindings
>> [b] https://github.com/mirage/mirage-platform/blob/master/bindings/main.c
>>
>>>
>>> Thomas, what's mirage take on this?
>>>
>>> > * compile libhello.a from [2]
>>> Those should be the correct compilation flags
>>>
>>> > * declare the Rust function as an extern in mini-os/kernel.c, call it
>>> > from
>>> > start_kernel()
>>> > * add -L... -lhello to the Mini-OS linker flags
>>> > * make and run
>>> >
>>> > Geoffroy, how does this compare to your approach?
>>>
>>> See my code here: https://github.com/Geal/mini-os/compare/master...rust
>>>
>>> Basically, I'm trying to replace some parts of Mini-OS with Rust code,
>>> as Thomas suggested. That way, we keep an architecture and a
>>> bootloader that work well with Xen, and it can be tested right away
>>> with Mirage.
>>>
>>> >
>>> > To understand the interactions between Xen, Mini-OS, and MirageOS, I
>>> > found
>>> > [3] and [4] useful starting points.
>>> We will need a Rust implementation of clients for Xenbus and Xen
>>> events. Once code is running from start_kernel, the next step is
>>> interacting with Xen's devices.
>>
>>
>> I've started a learning exercise to see how much I can delete from Mini-OS
>> while still supporting Mirage.  Threading, POSIX emulation, HAVE_LIBC, and
>> all of the front/back devs can go (except console), and then I might
>> actually understand what's left.
>
> That's a good idea!

Yes, this is great!

>
>>> > The zinc.rs [5] project, a Rust RTOS for ARM, could provide some
>>> > inspiration
>>> > for modeling low-level operations in a type-safe way.
>>>
>>> Zinc looks great, and they do something that I was planning to:
>>> downloading the libcore part of Rust and linking to it directly. This
>>> is the easiest way to get Rust features as needed, without having too
>>> many dependencies. And once there's a libcore, making a libstd gets
>>> easier.
>>
>>
>> Not knowing much about libcore vs. libstd -- which parts of libstd are
>> important to the task of replacing C code in Mini-OS?

Not much. For the kernel part, we only need slicing, a bit of
formatting, and a way to interact with Xen's memory zones.

For the "user" code, some kind of libstd should be available, to
leverage the existing Rust libraries (almost everything uses libstd).

>>
>> Speaking of ARM, it would be interesting to see if the init_mm experiment
>> runs on a Cubie: https://mirage.io/blog/introducing-xen-minios-arm

I don't have a Cubie, but I could test on a Beaglebone Black.

Geoffroy Couprie

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 15:09:23 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 15:09:23 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKpSM-0003WD-Up; Thu, 30 Jul 2015 15:09:14 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <geo.couprie@gmail.com>) id 1ZKpSK-0003W3-OJ
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 15:09:12 +0000
Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id
	87/80-01421-81E3AB55; Thu, 30 Jul 2015 15:09:12 +0000
X-Env-Sender: geo.couprie@gmail.com
X-Msg-Ref: server-5.tower-31.messagelabs.com!1438268951!30836839!1
X-Originating-IP: [209.85.212.182]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 31565 invoked from network); 30 Jul 2015 15:09:11 -0000
Received: from mail-wi0-f182.google.com (HELO mail-wi0-f182.google.com)
	(209.85.212.182)
	by server-5.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	30 Jul 2015 15:09:11 -0000
Received: by wibxm9 with SMTP id xm9so73022963wib.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 30 Jul 2015 08:09:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:from:date:message-id
	:subject:to:cc:content-type;
	bh=4f447Gy0M3HecYFkkK6XdTtbB5/gDLk/ndG8zSpG5PA=;
	b=sSYJIqPerKQf28f7filP6i9LFtRjMVPWXf2/CK62RT+G6eZqeks+mWqddG1zdhNw9z
	lYy1aTdFB3Z41pN0XwWrY5i6VWzfa1NHXltP/TLKJwoVMQLPzk81qNCHd2PMSI39LChm
	Y/2frHgYLJsm9j73OEWQNlG39oJXllA3TjNNfFg4PeSvJdvGkP6q3D/iFlOeNf7F0nTs
	zmDAjMuNghFnN1b6qCF4iRA035VwFCr87TlvOs57ts/02uHHIYFZEy/IbcutL/8R/6u8
	A/q0wuK+J2OHXNm9/4loYp8zzcZp3PBwBOd0aAiWZKebxi6y1ugqV6+OWcLcgC1lINPx
	RUHw==
X-Received: by 10.195.11.168 with SMTP id ej8mr88603865wjd.150.1438268950793; 
	Thu, 30 Jul 2015 08:09:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.220.85 with HTTP; Thu, 30 Jul 2015 08:08:51 -0700 (PDT)
In-Reply-To: <CAG4opy-iAK+dpXbrB2Dcr-zpfC+mpm8tfzx_A3dM=drz8ZNsyA@mail.gmail.com>
References: <CAAi8dZyzoyN_mAb74YyV7K9DOg==bOmud-i0C1ytHvPwsvhPbg@mail.gmail.com>
	<CAG4opy8hVJFnap1dW6fi8QsUUWuwoJek6hR8a8QC++mtVHUd=A@mail.gmail.com>
	<CAAi8dZyqX_nBG7iQOXCzs1SCHXT6nuwFVyNSe0mi2pvpxC4jpw@mail.gmail.com>
	<CAG4opy8-bBgE2XJXSrxprvd8gE_Ncnia1tO4FsEvB9KaVrF4QA@mail.gmail.com>
	<CAAi8dZz1uh6E5fE-ayJqsAbXojVY8YdrNwxkrA+u-8hoomc2NA@mail.gmail.com>
	<CAG4opy8a6mwEXc1MY8e4NeUQNwPL7aBT88FpZEsO413Evi1GGA@mail.gmail.com>
	<CAG4opy8kmbbwwi-MBBvKoXhRNQLNL8L=u3cbrA20+N2_7EkB7A@mail.gmail.com>
	<CAHwFrZeg0zgwcGDkV6EfAy621-Jrry4z-H3vrohQr70dv=_z2A@mail.gmail.com>
	<CAAi8dZxKXRip4x9tBnuRkppvVGpjv+jf6t=OeNgYCxFERrCcHw@mail.gmail.com>
	<CAHwFrZfjmzq0NNDiLSzUu=EdMMXP4owZxGEBFab2W9rABNhCPA@mail.gmail.com>
	<CAG4opy-iAK+dpXbrB2Dcr-zpfC+mpm8tfzx_A3dM=drz8ZNsyA@mail.gmail.com>
From: Geoffroy Couprie <contact@geoffroycouprie.com>
Date: Thu, 30 Jul 2015 17:08:51 +0200
X-Google-Sender-Auth: zQVFIahqCtLX6fLz0pdsZxoCXx4
Message-ID: <CAAi8dZzpBp27k5S-QAwX4EU5HsdVOcAu2i-n6eB9xUyhV7Fv_Q@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>
Cc: "mirageos-devel@lists.xenproject.org" <mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] Rust unikernels
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

On Thu, Jul 30, 2015 at 3:17 PM, Thomas Leonard <talex5@gmail.com> wrote:
> On 30 July 2015 at 13:57, Len Maxwell <len@lnmx.org> wrote:
>>
>>
>> On Thu, Jul 30, 2015 at 5:03 AM, Geoffroy Couprie
>> <contact@geoffroycouprie.com> wrote:
>>>
>>> Hi Len,
>>>
>>> On Wed, Jul 29, 2015 at 9:12 PM, Len Maxwell <len@lnmx.org> wrote:
>>> >
>>> > Hi Geoffroy and Thomas,
>>> >
>>> > On Tue, Jul 28, 2015 at 4:29 AM, Thomas Leonard <talex5@gmail.com>
>>> > wrote:
>>> >>
>>> >> On 27 July 2015 at 15:54, Thomas Leonard <talex5@gmail.com> wrote:
>>> >> > On 27 July 2015 at 09:36, Geoffroy Couprie
>>> >> > <contact@geoffroycouprie.com>
>>> >> > wrote:
>>> >>
>>> >> [...]
>>> >>
>>> >> One other thing I should mention: Mini-OS runs in kernel mode and can
>>> >> be interrupted at any time. On x86, the interrupt handler uses the
>>> >> same stack as the rest of the code. Therefore, you must compile with
>>> >> the Rust equivalent of -mno-red-zone so Rust doesn't assume it can
>>> >> store things below the current stack pointer.
>>> >
>>> >
>>> > I'm just starting to learn Rust, but I managed to create a simple static
>>> > lib
>>> > and link it into a standalone Mini-OS build:
>>> >
>>> > * build Rust from git with static musl libc support [1]
>>>
>>> This is nice, I did not know about musl usage. This may be a bit big
>>> for a unikernel, though. Do we need a full POSIX interface, with
>>> threads and everything?
>>
>>
>> Hi,
>>
>> OK, now I see that targeting musl-static brings in too much
>> additional/unnecessary code; that was my misguided way of working around
>> linker errors between libhello and mini-os.  Your "mm" package imports the
>> "libc" crate; I suppose it adds the Rust stubs for libc functions, which are
>> then linked to the implementations in mini-os? (which, in turn, are not
>> needed for the trivial Rust code)

The libc crate has stubs for POSIX functions, but I import it because
it defines C types for FFI. Those stubs won't matter.

>>
>> It looks like mirage-platform/bindings [a] captures most of the interface
>> between Mirage/OCaml and Mini-OS.  It uses a few functions from time.h,
>> string.h, and various Xen-related APIs.  There's also main.c [b] which
>> overrides start_kernel to kick off the OCaml runtime.  Not sure if any
>> additional functions are needed by OCaml itself?
>
> Not much. We provide a few extra C functions here:
>
> https://github.com/mirage/mirage-platform/blob/master/xen-posix/src/mini_libc.c
>
> Mostly these are just stubs that abort or log if called, but make it
> easier to compile other things. For example, exit calls Mini-OS's
> do_exit; write calls console_print if the fd is 1 or 2; sysconf
> returns EINVAL for every input; etc.

This is what RustOS does. It implements libstd with stubs where it is needed.

>
>> Rust and OCaml also have a common dependency on libm.  For Mirage on Xen, it
>> is pulled in via mirage-platform/xen-posix.
>
> Yes. We're using openlibm, which is a standalone version of the BSD libm.
>
Maybe that one could be reused for Rust.

>> [a] https://github.com/mirage/mirage-platform/tree/master/bindings
>> [b] https://github.com/mirage/mirage-platform/blob/master/bindings/main.c
>>
>>>
>>> Thomas, what's mirage take on this?
>>>
>>> > * compile libhello.a from [2]
>>> Those should be the correct compilation flags
>>>
>>> > * declare the Rust function as an extern in mini-os/kernel.c, call it
>>> > from
>>> > start_kernel()
>>> > * add -L... -lhello to the Mini-OS linker flags
>>> > * make and run
>>> >
>>> > Geoffroy, how does this compare to your approach?
>>>
>>> See my code here: https://github.com/Geal/mini-os/compare/master...rust
>>>
>>> Basically, I'm trying to replace some parts of Mini-OS with Rust code,
>>> as Thomas suggested. That way, we keep an architecture and a
>>> bootloader that work well with Xen, and it can be tested right away
>>> with Mirage.
>>>
>>> >
>>> > To understand the interactions between Xen, Mini-OS, and MirageOS, I
>>> > found
>>> > [3] and [4] useful starting points.
>>> We will need a Rust implementation of clients for Xenbus and Xen
>>> events. Once code is running from start_kernel, the next step is
>>> interacting with Xen's devices.
>>
>>
>> I've started a learning exercise to see how much I can delete from Mini-OS
>> while still supporting Mirage.  Threading, POSIX emulation, HAVE_LIBC, and
>> all of the front/back devs can go (except console), and then I might
>> actually understand what's left.
>
> That's a good idea!

Yes, this is great!

>
>>> > The zinc.rs [5] project, a Rust RTOS for ARM, could provide some
>>> > inspiration
>>> > for modeling low-level operations in a type-safe way.
>>>
>>> Zinc looks great, and they do something that I was planning to:
>>> downloading the libcore part of Rust and linking to it directly. This
>>> is the easiest way to get Rust features as needed, without having too
>>> many dependencies. And once there's a libcore, making a libstd gets
>>> easier.
>>
>>
>> Not knowing much about libcore vs. libstd -- which parts of libstd are
>> important to the task of replacing C code in Mini-OS?

Not much. For the kernel part, we only need slicing, a bit of
formatting, and a way to interact with Xen's memory zones.

For the "user" code, some kind of libstd should be available, to
leverage the existing Rust libraries (almost everything uses libstd).

>>
>> Speaking of ARM, it would be interesting to see if the init_mm experiment
>> runs on a Cubie: https://mirage.io/blog/introducing-xen-minios-arm

I don't have a Cubie, but I could test on a Beaglebone Black.

Geoffroy Couprie

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 15:13:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 15:13:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKpWE-0003at-Im; Thu, 30 Jul 2015 15:13:14 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1ZKpWD-0003an-P5
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 15:13:13 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	AC/08-06021-90F3AB55; Thu, 30 Jul 2015 15:13:13 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1438269191!26376334!1
X-Originating-IP: [209.85.160.174]
X-SpamReason: No, hits=0.1 required=7.0 tests=HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2833 invoked from network); 30 Jul 2015 15:13:12 -0000
Received: from mail-yk0-f174.google.com (HELO mail-yk0-f174.google.com)
	(209.85.160.174)
	by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	30 Jul 2015 15:13:12 -0000
Received: by ykax123 with SMTP id x123so36495608yka.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 30 Jul 2015 08:13:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:references:in-reply-to:from:date:message-id:subject:to
	:cc:content-type;
	bh=hXyzFHKVMOpYzoMYBBPYbcVEmGcaTRPLnATZW+PX1o8=;
	b=lNz0WyG3zWwaST++ibbrFpDoDPkiVwjOBlCpwAQRVZXMwFHeR1s3DeE0IwZ4/2frLd
	o6N7Pk3CmeglbZlvK2jcVMPl8KPeGBsy4RUnXC9E76NZ1gZMNSCZ9qOffclJ0K/ZZ6dl
	5egIsBi8C8wfAj3fVl/+Xq9Q/aSYjxGWRAU9h+RDPdPhYydIAK02HpJ72EFyRDZXIDpM
	MXUng8gXwJLAvmO2/kq0iUvIriKjDOEO9Ce8hyt/iESLOPUGB/BopZ61m0YtKHfBhRkC
	IO6loC1CZPczLjID8Y+sH1k1XS+9/ezcVB4wrSB1XNEtuDFiOKgh9IBdKZoHu3HFh78A
	9ugw==
X-Received: by 10.129.81.207 with SMTP id f198mr52340200ywb.78.1438269190950; 
	Thu, 30 Jul 2015 08:13:10 -0700 (PDT)
MIME-Version: 1.0
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
	<CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
	<CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
	<061FAEAA-F343-46BE-B204-AAA8D45E46B1@recoil.org>
	<CAG4opy_S9ZyJoOciXccjs7PFrc-6bhxLsR8yvkZ+zLCM+ACcdw@mail.gmail.com>
	<CAG4opy__ZYv-n1DYL9R_cYaURfA2rkoUTp0cVEvK2=9FnS_5_A@mail.gmail.com>
In-Reply-To: <CAG4opy__ZYv-n1DYL9R_cYaURfA2rkoUTp0cVEvK2=9FnS_5_A@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
Date: Thu, 30 Jul 2015 15:13:01 +0000
Message-ID: <CAEui0wWneUzr1H=AoF9hu=p6Y25K+SVSaNZEA7uhjw=Ap1BgcA@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>, Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8386090550618103366=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============8386090550618103366==
Content-Type: multipart/alternative; boundary=001a1145702e37d4ea051c192471

--001a1145702e37d4ea051c192471
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Wed, 29 Jul 2015 at 17:53 Thomas Leonard <talex5@gmail.com> wrote:

>
> This is now done. There is now a separate "minios-xen" opam package
> (and mirage-xen-minios now just depends on that). You should now be
> able to pin my minios-xen Git repository to test the latest version,
> just as for any other library, e.g.
>
>   opam pin add minios-xen https://github.com/talex5/mini-os.git
>
> As part of this, I've also made a new Mini-OS release (0.7):
>
> * First release from the separate Mini-OS repository
> * x86: Don't print a stack trace on exit
> * printf now supports %z
> * Don't use -fno-tree-loop-distribute-patterns if the compiler doesn't
> support it (@hannesm)
> * Remove "Cannot handle page request order %d!" warning - just return
> NULL on OOM
> * Add opam file for easier installation
>

On the normal Trusty cubieboard2 image I can install minios-xen fine, but
on Vivid I get an error:

$ opam install minios-xen

[ERROR] The compilation of minios-xen failed at "make debug=3Dn".
...
 ### stderr ###
# dtc/libfdt/fdt_ro.c:453:6: error: =E2=80=98nodedepth=E2=80=99 may be used=
 uninitialized
in this function [-Werror=3Dmaybe-uninitialized]
# [...]
# /home/mirage/.opam/4.02.1/build/minios-xen.0.7/include/libfdt.h: In
function =E2=80=98fdt_parent_offset=E2=80=99:
# dtc/libfdt/fdt_ro.c:468:9: error: =E2=80=98nodedepth=E2=80=99 may be used=
 uninitialized
in this function [-Werror=3Dmaybe-uninitialized]
#   return fdt_supernode_atdepth_offset(fdt, nodeoffset,
#          ^
# dtc/libfdt/fdt_ro.c:453:6: note: =E2=80=98nodedepth=E2=80=99 was declared=
 here
#   int nodedepth;
#       ^
# cc1: all warnings being treated as errors
# make: ***
[/home/mirage/.opam/4.02.1/build/minios-xen.0.7/dtc/libfdt/fdt_ro.o] Error =
1

mirage-xen-minios.0.7.0 was OK because of:

https://github.com/talex5/xen/commit/804d40b4fe00d68e1be3160f8bcc0d94f3d4ed=
f0

I'm guessing that the difference in this image is that it has GCC-4.9.2
instead of 4.8.x, but I'm not certain.

Luke

--001a1145702e37d4ea051c192471
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Wed=
, 29 Jul 2015 at 17:53 Thomas Leonard &lt;<a href=3D"mailto:talex5@gmail.co=
m">talex5@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<br>
This is now done. There is now a separate &quot;minios-xen&quot; opam packa=
ge<br>
(and mirage-xen-minios now just depends on that). You should now be<br>
able to pin my minios-xen Git repository to test the latest version,<br>
just as for any other library, e.g.<br>
<br>
=C2=A0 opam pin add minios-xen <a href=3D"https://github.com/talex5/mini-os=
.git" rel=3D"noreferrer" target=3D"_blank">https://github.com/talex5/mini-o=
s.git</a><br>
<br>
As part of this, I&#39;ve also made a new Mini-OS release (0.7):<br>
<br>
* First release from the separate Mini-OS repository<br>
* x86: Don&#39;t print a stack trace on exit<br>
* printf now supports %z<br>
* Don&#39;t use -fno-tree-loop-distribute-patterns if the compiler doesn&#3=
9;t<br>
support it (@hannesm)<br>
* Remove &quot;Cannot handle page request order %d!&quot; warning - just re=
turn<br>
NULL on OOM<br>
* Add opam file for easier installation<br></blockquote><div><br></div><div=
>On the normal Trusty cubieboard2 image I can install minios-xen fine, but =
on Vivid I get an error:</div><div><br></div><div><div>$ opam install minio=
s-xen</div></div><div><br></div><div>[ERROR] The compilation of minios-xen =
failed at &quot;make debug=3Dn&quot;.</div><div>...</div><div>=C2=A0### std=
err ###</div><div># dtc/libfdt/fdt_ro.c:453:6: error: =E2=80=98nodedepth=E2=
=80=99 may be used uninitialized in this function [-Werror=3Dmaybe-uninitia=
lized]</div><div># [...]</div><div># /home/mirage/.opam/4.02.1/build/minios=
-xen.0.7/include/libfdt.h: In function =E2=80=98fdt_parent_offset=E2=80=99:=
</div><div># dtc/libfdt/fdt_ro.c:468:9: error: =E2=80=98nodedepth=E2=80=99 =
may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized]<=
/div><div># =C2=A0 return fdt_supernode_atdepth_offset(fdt, nodeoffset,</di=
v><div># =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^</div><div># dtc/libfdt/fdt_ro.=
c:453:6: note: =E2=80=98nodedepth=E2=80=99 was declared here</div><div># =
=C2=A0 int nodedepth;</div><div># =C2=A0 =C2=A0 =C2=A0 ^</div><div># cc1: a=
ll warnings being treated as errors</div><div># make: *** [/home/mirage/.op=
am/4.02.1/build/minios-xen.0.7/dtc/libfdt/fdt_ro.o] Error 1</div><div><br><=
/div><div><div>mirage-xen-minios.0.7.0 was OK because of:</div><div><br></d=
iv><div><a href=3D"https://github.com/talex5/xen/commit/804d40b4fe00d68e1be=
3160f8bcc0d94f3d4edf0">https://github.com/talex5/xen/commit/804d40b4fe00d68=
e1be3160f8bcc0d94f3d4edf0</a><br></div></div><div><br></div><div>I&#39;m gu=
essing that the difference in this image is that it has GCC-4.9.2 instead o=
f 4.8.x, but I&#39;m not certain.</div><div><br></div><div>Luke</div><div><=
br></div></div></div>

--001a1145702e37d4ea051c192471--


--===============8386090550618103366==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8386090550618103366==--


From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 15:13:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 15:13:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKpWE-0003at-Im; Thu, 30 Jul 2015 15:13:14 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lukedunstan81@gmail.com>) id 1ZKpWD-0003an-P5
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 15:13:13 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	AC/08-06021-90F3AB55; Thu, 30 Jul 2015 15:13:13 +0000
X-Env-Sender: lukedunstan81@gmail.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1438269191!26376334!1
X-Originating-IP: [209.85.160.174]
X-SpamReason: No, hits=0.1 required=7.0 tests=HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2833 invoked from network); 30 Jul 2015 15:13:12 -0000
Received: from mail-yk0-f174.google.com (HELO mail-yk0-f174.google.com)
	(209.85.160.174)
	by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	30 Jul 2015 15:13:12 -0000
Received: by ykax123 with SMTP id x123so36495608yka.1
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 30 Jul 2015 08:13:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:references:in-reply-to:from:date:message-id:subject:to
	:cc:content-type;
	bh=hXyzFHKVMOpYzoMYBBPYbcVEmGcaTRPLnATZW+PX1o8=;
	b=lNz0WyG3zWwaST++ibbrFpDoDPkiVwjOBlCpwAQRVZXMwFHeR1s3DeE0IwZ4/2frLd
	o6N7Pk3CmeglbZlvK2jcVMPl8KPeGBsy4RUnXC9E76NZ1gZMNSCZ9qOffclJ0K/ZZ6dl
	5egIsBi8C8wfAj3fVl/+Xq9Q/aSYjxGWRAU9h+RDPdPhYydIAK02HpJ72EFyRDZXIDpM
	MXUng8gXwJLAvmO2/kq0iUvIriKjDOEO9Ce8hyt/iESLOPUGB/BopZ61m0YtKHfBhRkC
	IO6loC1CZPczLjID8Y+sH1k1XS+9/ezcVB4wrSB1XNEtuDFiOKgh9IBdKZoHu3HFh78A
	9ugw==
X-Received: by 10.129.81.207 with SMTP id f198mr52340200ywb.78.1438269190950; 
	Thu, 30 Jul 2015 08:13:10 -0700 (PDT)
MIME-Version: 1.0
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
	<CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
	<CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
	<061FAEAA-F343-46BE-B204-AAA8D45E46B1@recoil.org>
	<CAG4opy_S9ZyJoOciXccjs7PFrc-6bhxLsR8yvkZ+zLCM+ACcdw@mail.gmail.com>
	<CAG4opy__ZYv-n1DYL9R_cYaURfA2rkoUTp0cVEvK2=9FnS_5_A@mail.gmail.com>
In-Reply-To: <CAG4opy__ZYv-n1DYL9R_cYaURfA2rkoUTp0cVEvK2=9FnS_5_A@mail.gmail.com>
From: Luke Dunstan <lukedunstan81@gmail.com>
Date: Thu, 30 Jul 2015 15:13:01 +0000
Message-ID: <CAEui0wWneUzr1H=AoF9hu=p6Y25K+SVSaNZEA7uhjw=Ap1BgcA@mail.gmail.com>
To: Thomas Leonard <talex5@gmail.com>, Anil Madhavapeddy <anil@recoil.org>
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8386090550618103366=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

--===============8386090550618103366==
Content-Type: multipart/alternative; boundary=001a1145702e37d4ea051c192471

--001a1145702e37d4ea051c192471
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Wed, 29 Jul 2015 at 17:53 Thomas Leonard <talex5@gmail.com> wrote:

>
> This is now done. There is now a separate "minios-xen" opam package
> (and mirage-xen-minios now just depends on that). You should now be
> able to pin my minios-xen Git repository to test the latest version,
> just as for any other library, e.g.
>
>   opam pin add minios-xen https://github.com/talex5/mini-os.git
>
> As part of this, I've also made a new Mini-OS release (0.7):
>
> * First release from the separate Mini-OS repository
> * x86: Don't print a stack trace on exit
> * printf now supports %z
> * Don't use -fno-tree-loop-distribute-patterns if the compiler doesn't
> support it (@hannesm)
> * Remove "Cannot handle page request order %d!" warning - just return
> NULL on OOM
> * Add opam file for easier installation
>

On the normal Trusty cubieboard2 image I can install minios-xen fine, but
on Vivid I get an error:

$ opam install minios-xen

[ERROR] The compilation of minios-xen failed at "make debug=3Dn".
...
 ### stderr ###
# dtc/libfdt/fdt_ro.c:453:6: error: =E2=80=98nodedepth=E2=80=99 may be used=
 uninitialized
in this function [-Werror=3Dmaybe-uninitialized]
# [...]
# /home/mirage/.opam/4.02.1/build/minios-xen.0.7/include/libfdt.h: In
function =E2=80=98fdt_parent_offset=E2=80=99:
# dtc/libfdt/fdt_ro.c:468:9: error: =E2=80=98nodedepth=E2=80=99 may be used=
 uninitialized
in this function [-Werror=3Dmaybe-uninitialized]
#   return fdt_supernode_atdepth_offset(fdt, nodeoffset,
#          ^
# dtc/libfdt/fdt_ro.c:453:6: note: =E2=80=98nodedepth=E2=80=99 was declared=
 here
#   int nodedepth;
#       ^
# cc1: all warnings being treated as errors
# make: ***
[/home/mirage/.opam/4.02.1/build/minios-xen.0.7/dtc/libfdt/fdt_ro.o] Error =
1

mirage-xen-minios.0.7.0 was OK because of:

https://github.com/talex5/xen/commit/804d40b4fe00d68e1be3160f8bcc0d94f3d4ed=
f0

I'm guessing that the difference in this image is that it has GCC-4.9.2
instead of 4.8.x, but I'm not certain.

Luke

--001a1145702e37d4ea051c192471
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Wed=
, 29 Jul 2015 at 17:53 Thomas Leonard &lt;<a href=3D"mailto:talex5@gmail.co=
m">talex5@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<br>
This is now done. There is now a separate &quot;minios-xen&quot; opam packa=
ge<br>
(and mirage-xen-minios now just depends on that). You should now be<br>
able to pin my minios-xen Git repository to test the latest version,<br>
just as for any other library, e.g.<br>
<br>
=C2=A0 opam pin add minios-xen <a href=3D"https://github.com/talex5/mini-os=
.git" rel=3D"noreferrer" target=3D"_blank">https://github.com/talex5/mini-o=
s.git</a><br>
<br>
As part of this, I&#39;ve also made a new Mini-OS release (0.7):<br>
<br>
* First release from the separate Mini-OS repository<br>
* x86: Don&#39;t print a stack trace on exit<br>
* printf now supports %z<br>
* Don&#39;t use -fno-tree-loop-distribute-patterns if the compiler doesn&#3=
9;t<br>
support it (@hannesm)<br>
* Remove &quot;Cannot handle page request order %d!&quot; warning - just re=
turn<br>
NULL on OOM<br>
* Add opam file for easier installation<br></blockquote><div><br></div><div=
>On the normal Trusty cubieboard2 image I can install minios-xen fine, but =
on Vivid I get an error:</div><div><br></div><div><div>$ opam install minio=
s-xen</div></div><div><br></div><div>[ERROR] The compilation of minios-xen =
failed at &quot;make debug=3Dn&quot;.</div><div>...</div><div>=C2=A0### std=
err ###</div><div># dtc/libfdt/fdt_ro.c:453:6: error: =E2=80=98nodedepth=E2=
=80=99 may be used uninitialized in this function [-Werror=3Dmaybe-uninitia=
lized]</div><div># [...]</div><div># /home/mirage/.opam/4.02.1/build/minios=
-xen.0.7/include/libfdt.h: In function =E2=80=98fdt_parent_offset=E2=80=99:=
</div><div># dtc/libfdt/fdt_ro.c:468:9: error: =E2=80=98nodedepth=E2=80=99 =
may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized]<=
/div><div># =C2=A0 return fdt_supernode_atdepth_offset(fdt, nodeoffset,</di=
v><div># =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^</div><div># dtc/libfdt/fdt_ro.=
c:453:6: note: =E2=80=98nodedepth=E2=80=99 was declared here</div><div># =
=C2=A0 int nodedepth;</div><div># =C2=A0 =C2=A0 =C2=A0 ^</div><div># cc1: a=
ll warnings being treated as errors</div><div># make: *** [/home/mirage/.op=
am/4.02.1/build/minios-xen.0.7/dtc/libfdt/fdt_ro.o] Error 1</div><div><br><=
/div><div><div>mirage-xen-minios.0.7.0 was OK because of:</div><div><br></d=
iv><div><a href=3D"https://github.com/talex5/xen/commit/804d40b4fe00d68e1be=
3160f8bcc0d94f3d4edf0">https://github.com/talex5/xen/commit/804d40b4fe00d68=
e1be3160f8bcc0d94f3d4edf0</a><br></div></div><div><br></div><div>I&#39;m gu=
essing that the difference in this image is that it has GCC-4.9.2 instead o=
f 4.8.x, but I&#39;m not certain.</div><div><br></div><div>Luke</div><div><=
br></div></div></div>

--001a1145702e37d4ea051c192471--


--===============8386090550618103366==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8386090550618103366==--


From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 15:16:51 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 15:16:51 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKpZj-0003yJ-6U; Thu, 30 Jul 2015 15:16:51 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZKpZh-0003yB-Sp
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 15:16:50 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	89/AD-03763-1EF3AB55; Thu, 30 Jul 2015 15:16:49 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-31.messagelabs.com!1438269407!30734249!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.1 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15560 invoked from network); 30 Jul 2015 15:16:48 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 30 Jul 2015 15:16:48 -0000
Received: from [192.168.1.82] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 5020ad16;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 30 Jul 2015 16:16:47 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAEui0wWneUzr1H=AoF9hu=p6Y25K+SVSaNZEA7uhjw=Ap1BgcA@mail.gmail.com>
Date: Thu, 30 Jul 2015 16:16:46 +0100
Message-Id: <F79A7A81-D39D-4A04-88ED-CEAB641F8E02@recoil.org>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
	<CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
	<CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
	<061FAEAA-F343-46BE-B204-AAA8D45E46B1@recoil.org>
	<CAG4opy_S9ZyJoOciXccjs7PFrc-6bhxLsR8yvkZ+zLCM+ACcdw@mail.gmail.com>
	<CAG4opy__ZYv-n1DYL9R_cYaURfA2rkoUTp0cVEvK2=9FnS_5_A@mail.gmail.com>
	<CAEui0wWneUzr1H=AoF9hu=p6Y25K+SVSaNZEA7uhjw=Ap1BgcA@mail.gmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
X-Mailer: Apple Mail (2.2102)
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8138999253659708859=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============8138999253659708859==
Content-Type: multipart/alternative; boundary="Apple-Mail=_6BBDBE85-C252-4A84-A2E5-3D7B507FAF34"


--Apple-Mail=_6BBDBE85-C252-4A84-A2E5-3D7B507FAF34
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On 30 Jul 2015, at 16:13, Luke Dunstan <lukedunstan81@gmail.com> =
wrote:
>=20
>=20
> On the normal Trusty cubieboard2 image I can install minios-xen fine, =
but on Vivid I get an error:
>=20
> $ opam install minios-xen
>=20
> [ERROR] The compilation of minios-xen failed at "make debug=3Dn".
> ...
>  ### stderr ###
> # dtc/libfdt/fdt_ro.c:453:6: error: =E2=80=98nodedepth=E2=80=99 may be =
used uninitialized in this function [-Werror=3Dmaybe-uninitialized]
> # [...]
> # /home/mirage/.opam/4.02.1/build/minios-xen.0.7/include/libfdt.h: In =
function =E2=80=98fdt_parent_offset=E2=80=99:
> # dtc/libfdt/fdt_ro.c:468:9: error: =E2=80=98nodedepth=E2=80=99 may be =
used uninitialized in this function [-Werror=3Dmaybe-uninitialized]
> #   return fdt_supernode_atdepth_offset(fdt, nodeoffset,
> #          ^
> # dtc/libfdt/fdt_ro.c:453:6: note: =E2=80=98nodedepth=E2=80=99 was =
declared here
> #   int nodedepth;
> #       ^
> # cc1: all warnings being treated as errors
> # make: *** =
[/home/mirage/.opam/4.02.1/build/minios-xen.0.7/dtc/libfdt/fdt_ro.o] =
Error 1
>=20
> mirage-xen-minios.0.7.0 was OK because of:
>=20
> =
https://github.com/talex5/xen/commit/804d40b4fe00d68e1be3160f8bcc0d94f3d4e=
df0 =
<https://github.com/talex5/xen/commit/804d40b4fe00d68e1be3160f8bcc0d94f3d4=
edf0>
>=20
> I'm guessing that the difference in this image is that it has =
GCC-4.9.2 instead of 4.8.x, but I'm not certain.

Could we turn off -Werror for the OPAM builds, Thomas?  It's only really =
useful on Travis or other CI builds to spot regressions, but quite a =
blocker when using a varied build toolchain.

-anil=

--Apple-Mail=_6BBDBE85-C252-4A84-A2E5-3D7B507FAF34
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 30 Jul 2015, at 16:13, Luke Dunstan &lt;<a =
href=3D"mailto:lukedunstan81@gmail.com" =
class=3D"">lukedunstan81@gmail.com</a>&gt; wrote:</div><div =
class=3D""><div dir=3D"ltr" class=3D""><br class=3D""><div =
class=3D"gmail_quote"><div class=3D""><br class=3D""></div><div =
class=3D"">On the normal Trusty cubieboard2 image I can install =
minios-xen fine, but on Vivid I get an error:</div><div class=3D""><br =
class=3D""></div><div class=3D""><div class=3D"">$ opam install =
minios-xen</div></div><div class=3D""><br class=3D""></div><div =
class=3D"">[ERROR] The compilation of minios-xen failed at "make =
debug=3Dn".</div><div class=3D"">...</div><div class=3D"">&nbsp;### =
stderr ###</div><div class=3D""># dtc/libfdt/fdt_ro.c:453:6: error: =
=E2=80=98nodedepth=E2=80=99 may be used uninitialized in this function =
[-Werror=3Dmaybe-uninitialized]</div><div class=3D""># [...]</div><div =
class=3D""># =
/home/mirage/.opam/4.02.1/build/minios-xen.0.7/include/libfdt.h: In =
function =E2=80=98fdt_parent_offset=E2=80=99:</div><div class=3D""># =
dtc/libfdt/fdt_ro.c:468:9: error: =E2=80=98nodedepth=E2=80=99 may be =
used uninitialized in this function =
[-Werror=3Dmaybe-uninitialized]</div><div class=3D""># &nbsp; return =
fdt_supernode_atdepth_offset(fdt, nodeoffset,</div><div class=3D""># =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</div><div class=3D""># =
dtc/libfdt/fdt_ro.c:453:6: note: =E2=80=98nodedepth=E2=80=99 was =
declared here</div><div class=3D""># &nbsp; int nodedepth;</div><div =
class=3D""># &nbsp; &nbsp; &nbsp; ^</div><div class=3D""># cc1: all =
warnings being treated as errors</div><div class=3D""># make: *** =
[/home/mirage/.opam/4.02.1/build/minios-xen.0.7/dtc/libfdt/fdt_ro.o] =
Error 1</div><div class=3D""><br class=3D""></div><div class=3D""><div =
class=3D"">mirage-xen-minios.0.7.0 was OK because of:</div><div =
class=3D""><br class=3D""></div><div class=3D""><a =
href=3D"https://github.com/talex5/xen/commit/804d40b4fe00d68e1be3160f8bcc0=
d94f3d4edf0" =
class=3D"">https://github.com/talex5/xen/commit/804d40b4fe00d68e1be3160f8b=
cc0d94f3d4edf0</a><br class=3D""></div></div><div class=3D""><br =
class=3D""></div><div class=3D"">I'm guessing that the difference in =
this image is that it has GCC-4.9.2 instead of 4.8.x, but I'm not =
certain.</div></div></div></div></blockquote><br =
class=3D""></div><div>Could we turn off -Werror for the OPAM builds, =
Thomas? &nbsp;It's only really useful on Travis or other CI builds to =
spot regressions, but quite a blocker when using a varied build =
toolchain.</div><div><br class=3D""></div><div>-anil</div></body></html>=

--Apple-Mail=_6BBDBE85-C252-4A84-A2E5-3D7B507FAF34--


--===============8138999253659708859==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8138999253659708859==--


From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 15:16:51 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 15:16:51 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKpZj-0003yJ-6U; Thu, 30 Jul 2015 15:16:51 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <anil@recoil.org>) id 1ZKpZh-0003yB-Sp
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 15:16:50 +0000
Received: from [85.158.137.68] by server-16.bemta-3.messagelabs.com id
	89/AD-03763-1EF3AB55; Thu, 30 Jul 2015 15:16:49 +0000
X-Env-Sender: anil@recoil.org
X-Msg-Ref: server-12.tower-31.messagelabs.com!1438269407!30734249!1
X-Originating-IP: [5.153.225.51]
X-SpamReason: No, hits=1.1 required=7.0 tests=HTML_40_50,HTML_MESSAGE,
	MAILTO_TO_SPAM_ADDR,RCVD_ILLEGAL_IP
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 15560 invoked from network); 30 Jul 2015 15:16:48 -0000
Received: from bark.recoil.org (HELO bark.recoil.org) (5.153.225.51)
	by server-12.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 30 Jul 2015 15:16:48 -0000
Received: from [192.168.1.82] (cpc7-cmbg14-2-0-cust238.5-4.cable.virginm.net
	[86.30.244.239]); 
	by bark.recoil.org (OpenSMTPD) with ESMTPSA id 5020ad16;
	TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO; 
	Thu, 30 Jul 2015 16:16:47 +0100 (BST)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Anil Madhavapeddy <anil@recoil.org>
In-Reply-To: <CAEui0wWneUzr1H=AoF9hu=p6Y25K+SVSaNZEA7uhjw=Ap1BgcA@mail.gmail.com>
Date: Thu, 30 Jul 2015 16:16:46 +0100
Message-Id: <F79A7A81-D39D-4A04-88ED-CEAB641F8E02@recoil.org>
References: <DC5E0619-718D-4A85-A240-A0DD3FA0E118@recoil.org>
	<6D262DFB-EA5C-44CB-A908-FD0E28F7995D@citrix.com>
	<25D2AE7E-764E-44AE-B91E-AF0C5482D50B@recoil.org>
	<CAG4opy8Kj1qReKYs2kfvoodAL9Tre+7JfZM9c-z4SuiHHJ_PGw@mail.gmail.com>
	<CAC31103-C78B-4908-88AA-BAB6CFFFFAFE@recoil.org>
	<CAG4opy8gc3JUB0q=exT1L_UuudU=4XG0qvx3aFDBoAM-xyp7sg@mail.gmail.com>
	<061FAEAA-F343-46BE-B204-AAA8D45E46B1@recoil.org>
	<CAG4opy_S9ZyJoOciXccjs7PFrc-6bhxLsR8yvkZ+zLCM+ACcdw@mail.gmail.com>
	<CAG4opy__ZYv-n1DYL9R_cYaURfA2rkoUTp0cVEvK2=9FnS_5_A@mail.gmail.com>
	<CAEui0wWneUzr1H=AoF9hu=p6Y25K+SVSaNZEA7uhjw=Ap1BgcA@mail.gmail.com>
To: Luke Dunstan <lukedunstan81@gmail.com>
X-Mailer: Apple Mail (2.2102)
Cc: David Scott <Dave.Scott@citrix.com>, "mirageos-devel@lists.xenproject.org"
	<mirageos-devel@lists.xenproject.org>
Subject: Re: [MirageOS-devel] github xen git mirror
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8138999253659708859=="
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org


--===============8138999253659708859==
Content-Type: multipart/alternative; boundary="Apple-Mail=_6BBDBE85-C252-4A84-A2E5-3D7B507FAF34"


--Apple-Mail=_6BBDBE85-C252-4A84-A2E5-3D7B507FAF34
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On 30 Jul 2015, at 16:13, Luke Dunstan <lukedunstan81@gmail.com> =
wrote:
>=20
>=20
> On the normal Trusty cubieboard2 image I can install minios-xen fine, =
but on Vivid I get an error:
>=20
> $ opam install minios-xen
>=20
> [ERROR] The compilation of minios-xen failed at "make debug=3Dn".
> ...
>  ### stderr ###
> # dtc/libfdt/fdt_ro.c:453:6: error: =E2=80=98nodedepth=E2=80=99 may be =
used uninitialized in this function [-Werror=3Dmaybe-uninitialized]
> # [...]
> # /home/mirage/.opam/4.02.1/build/minios-xen.0.7/include/libfdt.h: In =
function =E2=80=98fdt_parent_offset=E2=80=99:
> # dtc/libfdt/fdt_ro.c:468:9: error: =E2=80=98nodedepth=E2=80=99 may be =
used uninitialized in this function [-Werror=3Dmaybe-uninitialized]
> #   return fdt_supernode_atdepth_offset(fdt, nodeoffset,
> #          ^
> # dtc/libfdt/fdt_ro.c:453:6: note: =E2=80=98nodedepth=E2=80=99 was =
declared here
> #   int nodedepth;
> #       ^
> # cc1: all warnings being treated as errors
> # make: *** =
[/home/mirage/.opam/4.02.1/build/minios-xen.0.7/dtc/libfdt/fdt_ro.o] =
Error 1
>=20
> mirage-xen-minios.0.7.0 was OK because of:
>=20
> =
https://github.com/talex5/xen/commit/804d40b4fe00d68e1be3160f8bcc0d94f3d4e=
df0 =
<https://github.com/talex5/xen/commit/804d40b4fe00d68e1be3160f8bcc0d94f3d4=
edf0>
>=20
> I'm guessing that the difference in this image is that it has =
GCC-4.9.2 instead of 4.8.x, but I'm not certain.

Could we turn off -Werror for the OPAM builds, Thomas?  It's only really =
useful on Travis or other CI builds to spot regressions, but quite a =
blocker when using a varied build toolchain.

-anil=

--Apple-Mail=_6BBDBE85-C252-4A84-A2E5-3D7B507FAF34
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 30 Jul 2015, at 16:13, Luke Dunstan &lt;<a =
href=3D"mailto:lukedunstan81@gmail.com" =
class=3D"">lukedunstan81@gmail.com</a>&gt; wrote:</div><div =
class=3D""><div dir=3D"ltr" class=3D""><br class=3D""><div =
class=3D"gmail_quote"><div class=3D""><br class=3D""></div><div =
class=3D"">On the normal Trusty cubieboard2 image I can install =
minios-xen fine, but on Vivid I get an error:</div><div class=3D""><br =
class=3D""></div><div class=3D""><div class=3D"">$ opam install =
minios-xen</div></div><div class=3D""><br class=3D""></div><div =
class=3D"">[ERROR] The compilation of minios-xen failed at "make =
debug=3Dn".</div><div class=3D"">...</div><div class=3D"">&nbsp;### =
stderr ###</div><div class=3D""># dtc/libfdt/fdt_ro.c:453:6: error: =
=E2=80=98nodedepth=E2=80=99 may be used uninitialized in this function =
[-Werror=3Dmaybe-uninitialized]</div><div class=3D""># [...]</div><div =
class=3D""># =
/home/mirage/.opam/4.02.1/build/minios-xen.0.7/include/libfdt.h: In =
function =E2=80=98fdt_parent_offset=E2=80=99:</div><div class=3D""># =
dtc/libfdt/fdt_ro.c:468:9: error: =E2=80=98nodedepth=E2=80=99 may be =
used uninitialized in this function =
[-Werror=3Dmaybe-uninitialized]</div><div class=3D""># &nbsp; return =
fdt_supernode_atdepth_offset(fdt, nodeoffset,</div><div class=3D""># =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</div><div class=3D""># =
dtc/libfdt/fdt_ro.c:453:6: note: =E2=80=98nodedepth=E2=80=99 was =
declared here</div><div class=3D""># &nbsp; int nodedepth;</div><div =
class=3D""># &nbsp; &nbsp; &nbsp; ^</div><div class=3D""># cc1: all =
warnings being treated as errors</div><div class=3D""># make: *** =
[/home/mirage/.opam/4.02.1/build/minios-xen.0.7/dtc/libfdt/fdt_ro.o] =
Error 1</div><div class=3D""><br class=3D""></div><div class=3D""><div =
class=3D"">mirage-xen-minios.0.7.0 was OK because of:</div><div =
class=3D""><br class=3D""></div><div class=3D""><a =
href=3D"https://github.com/talex5/xen/commit/804d40b4fe00d68e1be3160f8bcc0=
d94f3d4edf0" =
class=3D"">https://github.com/talex5/xen/commit/804d40b4fe00d68e1be3160f8b=
cc0d94f3d4edf0</a><br class=3D""></div></div><div class=3D""><br =
class=3D""></div><div class=3D"">I'm guessing that the difference in =
this image is that it has GCC-4.9.2 instead of 4.8.x, but I'm not =
certain.</div></div></div></div></blockquote><br =
class=3D""></div><div>Could we turn off -Werror for the OPAM builds, =
Thomas? &nbsp;It's only really useful on Travis or other CI builds to =
spot regressions, but quite a blocker when using a varied build =
toolchain.</div><div><br class=3D""></div><div>-anil</div></body></html>=

--Apple-Mail=_6BBDBE85-C252-4A84-A2E5-3D7B507FAF34--


--===============8138999253659708859==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

--===============8138999253659708859==--


From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 16:48:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 16:48:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKr04-0002Je-J0; Thu, 30 Jul 2015 16:48:08 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZKr03-0002JU-Na
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 16:48:07 +0000
Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id
	16/F5-22089-7455AB55; Thu, 30 Jul 2015 16:48:07 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-12.tower-206.messagelabs.com!1438274886!24738966!1
X-Originating-IP: [209.85.212.178]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7328 invoked from network); 30 Jul 2015 16:48:06 -0000
Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com)
	(209.85.212.178)
	by server-12.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	30 Jul 2015 16:48:06 -0000
Received: by wibxm9 with SMTP id xm9so252753147wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 30 Jul 2015 09:48:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:from:content-type:content-transfer-encoding:subject
	:message-id:date:to:mime-version;
	bh=EYswav3W8P448XKDv4hhuMfJQ2Q2GDhynCZZVkmdXvI=;
	b=JbVzlHoyL/Ua+lKNmRctX6DbpOJlwXEpDtwMgWuRS9YGZQs+XjXbtyPMoXMg7iR6X0
	3Ory76B0F5HnRTMsS/fuMTzCVOeiBEXvsN0m3xnaQ5ksihFn5w+J1muR2SAnxDlR095W
	WkKFiocOVZZFDTFh0JIPoef/iQ6PrAL00zacfZSUHCg4GxZdckMjdvYMIoO/uCBc1pjc
	iZ+TdPlBTFL7gG215DUw4kXLMxLmAiBDxJRuEik1hB6Rt7t7glSpHfzKmcwiD6Zb3e7x
	X4PfUfCzT1HyjLjqn+55+Rj601ceM5+9Ot8JBKoBfEythShjhZf5kHXOAw7JJbCEs1hz
	de+Q==
X-Received: by 10.194.62.211 with SMTP id a19mr86118015wjs.126.1438274886124; 
	Thu, 30 Jul 2015 09:48:06 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by smtp.gmail.com with ESMTPSA id ft5sm34274wib.4.2015.07.30.09.48.04
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Thu, 30 Jul 2015 09:48:04 -0700 (PDT)
From: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-Id: <A2C54875-7D37-4A29-9B8F-62A95BBF3047@gazagnaire.org>
Date: Thu, 30 Jul 2015 17:48:03 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] Release of mirage 2.6.0
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64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WlyYWdlb3Mt
ZGV2ZWwK

From mirageos-devel-bounces@lists.xenproject.org Thu Jul 30 16:48:15 2015
Return-path: <mirageos-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 30 Jul 2015 16:48:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <mirageos-devel-bounces@lists.xenproject.org>)
	id 1ZKr04-0002Je-J0; Thu, 30 Jul 2015 16:48:08 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <thomas.gazagnaire@gmail.com>) id 1ZKr03-0002JU-Na
	for mirageos-devel@lists.xenproject.org; Thu, 30 Jul 2015 16:48:07 +0000
Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id
	16/F5-22089-7455AB55; Thu, 30 Jul 2015 16:48:07 +0000
X-Env-Sender: thomas.gazagnaire@gmail.com
X-Msg-Ref: server-12.tower-206.messagelabs.com!1438274886!24738966!1
X-Originating-IP: [209.85.212.178]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.13.16; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 7328 invoked from network); 30 Jul 2015 16:48:06 -0000
Received: from mail-wi0-f178.google.com (HELO mail-wi0-f178.google.com)
	(209.85.212.178)
	by server-12.tower-206.messagelabs.com with RC4-SHA encrypted SMTP;
	30 Jul 2015 16:48:06 -0000
Received: by wibxm9 with SMTP id xm9so252753147wib.0
	for <mirageos-devel@lists.xenproject.org>;
	Thu, 30 Jul 2015 09:48:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:from:content-type:content-transfer-encoding:subject
	:message-id:date:to:mime-version;
	bh=EYswav3W8P448XKDv4hhuMfJQ2Q2GDhynCZZVkmdXvI=;
	b=JbVzlHoyL/Ua+lKNmRctX6DbpOJlwXEpDtwMgWuRS9YGZQs+XjXbtyPMoXMg7iR6X0
	3Ory76B0F5HnRTMsS/fuMTzCVOeiBEXvsN0m3xnaQ5ksihFn5w+J1muR2SAnxDlR095W
	WkKFiocOVZZFDTFh0JIPoef/iQ6PrAL00zacfZSUHCg4GxZdckMjdvYMIoO/uCBc1pjc
	iZ+TdPlBTFL7gG215DUw4kXLMxLmAiBDxJRuEik1hB6Rt7t7glSpHfzKmcwiD6Zb3e7x
	X4PfUfCzT1HyjLjqn+55+Rj601ceM5+9Ot8JBKoBfEythShjhZf5kHXOAw7JJbCEs1hz
	de+Q==
X-Received: by 10.194.62.211 with SMTP id a19mr86118015wjs.126.1438274886124; 
	Thu, 30 Jul 2015 09:48:06 -0700 (PDT)
Received: from piana.mac.cl.cam.ac.uk (piana.mac.cl.cam.ac.uk. [128.232.56.38])
	by smtp.gmail.com with ESMTPSA id ft5sm34274wib.4.2015.07.30.09.48.04
	for <mirageos-devel@lists.xenproject.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Thu, 30 Jul 2015 09:48:04 -0700 (PDT)
From: Thomas Gazagnaire <thomas@gazagnaire.org>
Message-Id: <A2C54875-7D37-4A29-9B8F-62A95BBF3047@gazagnaire.org>
Date: Thu, 30 Jul 2015 17:48:03 +0100
To: mirageos-devel <mirageos-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Subject: [MirageOS-devel] Release of mirage 2.6.0
X-BeenThere: mirageos-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:mirageos-devel@lists.xenproject.org>
List-Help: <mailto:mirageos-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel>,
	<mailto:mirageos-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: mirageos-devel-bounces@lists.xenproject.org
Errors-To: mirageos-devel-bounces@lists.xenproject.org

SGkgYWxsLAoKSSd2ZSBqdXN0IHJlbGVhc2VkIGEgbmV3IHZlcnNpb24gb2YgTWlyYWdlICgyLjYu
MCkgd2hpY2ggc3VwcG9ydCBhdHRhY2hpbmcgZmlsZXMgdmlhIGEgcmVhZC1vbmx5IHRhci1mb3Jt
YXR0ZWQgYmxvY2sgZGV2aWNlcywgYW5kIHNpbXBsaWZ5IHRoZSB3b3JrIHRvIGRvIHRvIGF0dGFj
aCBibG9jayBkZXZpY2VzIChbMV0gaGFzIGJlZW4gdXBkYXRlZCB3aXRoIG1vcmUgZGV0YWlscyku
IEl0IGFsc28gc2VwYXJhdGUgbW9yZSBjbGVhbmx5IHRoZSBBUlAgbGF5ZXIgZnJvbSB0aGUgSVAg
bGF5ZXIgaW4gdGhlIG5ldHdvcmsgc3RhY2ssIHNvIHlvdSBtaWdodCBuZWVkIHRvIHVwZGF0ZSB0
byB1bmlrZXJuZWxzIGlmIHlvdSBhcmUgYnVpbGRpbmcgU1RBQ0tWNCBpbXBsZW1lbnRhdGlvbiB5
b3Vyc2VsZi4KClRoZSBmdWxsIGxpc3Qgb2YgY2hhbmdlcyBpcyBhdmFpbGFibGUgYmVsbG93LiBU
aGFua3MgdG8gYWxsIHRoZSBjb250cmlidXRvcnMuCgpCZXN0LApUaG9tYXMKClsxXTogaHR0cHM6
Ly9taXJhZ2UuaW8vd2lraS9oZWxsby13b3JsZCNCdWlsZGluZ2FYZW51bmlrZXJuZWwKCi0tIG1p
cmFnZSAvIG1pcmFnZS10eXBlcyAyLjYuMAoK4oCiIEJldHRlciBBUlAgc3VwcG9ydC4gVGhpcyBu
ZWVkcyBtaXJhZ2Ut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