From owner-svn-src-stable-10@freebsd.org Fri Jan 22 08:19:31 2016 Return-Path: Delivered-To: svn-src-stable-10@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DD8DA8CB1A; Fri, 22 Jan 2016 08:19:31 +0000 (UTC) (envelope-from royger@gmail.com) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F14DA1949; Fri, 22 Jan 2016 08:19:30 +0000 (UTC) (envelope-from royger@gmail.com) Received: by mail-wm0-x22b.google.com with SMTP id n5so119359689wmn.0; Fri, 22 Jan 2016 00:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=tRbOaept8Y6omr2/qEIB5+/uX9/f5iPJrenwoPnCN7E=; b=Ye9j8bBO4MJHna5/uXds0bhn4bKgKJUQPmWk/nhP+ntQ14Gl8rj4NViKhEsxsbrdWM NEw/NN8a+A4nhY+ZKN5mvg4+peOBpre9/4EfeAgiVkU4ZUzHdGwEFqgXdbpzF3IXnciE 2xUxj6kEBwlMngSDk/Mn1yjey85spLLEQ/a5vI8Zdm1ECt86tWGRNumXDsdwyWCrFP0l gj2jeFgrpu9EP2AD+uc5mu+GibKYsFMw2p5mY1d6qBqX5b9sQ4VgQy33WBANSTLN0e05 3XyZikK3LqykgUo65UC5IDGB0O0ShubRJcDHip2cHdsuhXvwnWNRVy0Nz+ExmTwj2m8U yFVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=tRbOaept8Y6omr2/qEIB5+/uX9/f5iPJrenwoPnCN7E=; b=T35wVaDpFLy2xedvo/Yjf7/vRbEf9Htn9Jv80TFdJDycC3IEG4fkFwdkIzxghsX6Ew oT7YsggaJdPZtlDASas8Qd85UzMGZK7ZDqhS6yoazHmeQRBtcPWSl08NBUM4K7YgKnFQ QKt51w76dRx5osQbQyEOM5zHeG+RHA1vGsXrb//zQmZ22JAatHOdH6yUzSjsTnkmh76i 2qoZYnjPNc0QaRIDIL/cygI1RGUMP1h3Tx9hkuRShdQIPvHG1c1I9cn+H1BK1DgGJ1IU HObxSPVeN9KNnQaGVpq8HfYj5sk9JZBuA8yUsnyg0f9Y/vv/9Vc9MN56iE07UjgmmTYf In3Q== X-Gm-Message-State: AG10YOTesBYuWGhn+rSZf0SNgfdiSsDKVgnkPuqykDLt5KFpZWrkXEldjmTlmxscaSbrcw== X-Received: by 10.194.201.134 with SMTP id ka6mr1801881wjc.116.1453450769464; Fri, 22 Jan 2016 00:19:29 -0800 (PST) Received: from [172.16.1.30] (50.Red-88-7-9.staticIP.rima-tde.net. [88.7.9.50]) by smtp.gmail.com with ESMTPSA id s2sm4781319wjs.43.2016.01.22.00.19.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jan 2016 00:19:28 -0800 (PST) Sender: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Subject: Re: svn commit: r294417 - in stable/10/sys/boot: common fdt forth i386/libi386 i386/loader To: Devin Teske References: <201601201323.u0KDN2s0057920@repo.freebsd.org> <16A6EF29-CA34-43BC-8587-51C7B71BBE72@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org, Baptiste Daroussin From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Message-ID: <56A1E60A.6080808@FreeBSD.org> Date: Fri, 22 Jan 2016 09:19:22 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <16A6EF29-CA34-43BC-8587-51C7B71BBE72@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2016 08:19:31 -0000 El 21/01/16 a les 21.38, Devin Teske ha escrit: > >> On Jan 20, 2016, at 5:23 AM, Roger Pau Monné wrote: >> >> Author: royger >> Date: Wed Jan 20 13:23:02 2016 >> New Revision: 294417 >> URL: https://svnweb.freebsd.org/changeset/base/294417 >> >> Log: >> MFC r277215, r277291, r277418, r280953 and r280954: >> >> loader: implement multiboot support for Xen Dom0 >> >> Note that only the subset of the multiboot specification needed in order to >> boot a Xen Dom0 is implemented. >> >> Sponsored by: Citrix Systems R&D >> > > > Two issues with this merge. > > First, this port now needs to be re-educated: > https://svnweb.freebsd.org/ports/head/emulators/xen-kernel/Makefile?view=markup > > 46 .if ${OSVERSION} < 1100055 > 47 IGNORE= Only supported on recent FreeBSD 11 > 48 .endif > > Looking at your MFC, it looks like the OSVERSION check should allow some version of 10. > > Unfortunately (second issue), this patch doesn't touch stable/10/sys/sys/param.h so the port has no clear way of accurately making sure you're on a 10.x release that supports Xen. Hm, no. This is a backport of the loader changes only, in order to make it possible to boot a HEAD kernel plus Xen on a 10 world (and to make it easier to MFC other loader changes to 10). The stable/10 kernel is still not able to run as Xen Dom0, so the port is correct. That's why I haven't added 'Relnotes: yes' to the commit message :). Roger.