All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: Samuel Thibault <samuel.thibault@ens-lyon.org>,
	minios-devel@lists.xenproject.org,
	xen-devel@lists.xenproject.org, wei.liu2@citrix.com
Subject: Re: [PATCH 3/3] mini-os: support "make config" for out-of-tree users
Date: Thu, 1 Sep 2016 08:21:33 +0200	[thread overview]
Message-ID: <e98a93f2-4172-94de-d5a8-20a23d78a62b@suse.com> (raw)
In-Reply-To: <20160830213849.GT4435@var.home>

On 30/08/16 23:38, Samuel Thibault wrote:
> Hello,
> 
> Juergen Gross, on Tue 30 Aug 2016 13:51:23 +0200, wrote:
>> @@ -51,7 +51,7 @@ endif
>>  
>>  libc = $(stubdom)
>>  
>> -XEN_INTERFACE_VERSION := 0x00030205
>> +XEN_INTERFACE_VERSION ?= 0x00030205
> 
> Why making it overridable?  AIUI changing the version would change the
> xen headers API, and thus the existing mini-os source would possibly not
> even compile any more.  I also don't see the relation with the commit
> log :)

Hmm, I should have included more reasoning.

I stumbled over the problem with xenstore-stubdom: xenstore is using
__XEN_LATEST_INTERFACE_VERSION__ when being compiled. This produced a
build error with Mini-OS (console_evtchn in include/console.h was
#define'd to console.domU.evtchn by include/xen/xen.h). It was pure
luck such a problem didn't occur before my recent changes.

I think it is much more reasonable to compile all parts of a stubdom
with the same Xen interface version instead of letting use the core of
Mini-OS an ancient version and the App using Mini-OS another one. So I
added XEN_INTERFACE_VERSION to be configurable.

This requires some adjustments in Mini-OS, of course. That is the
purpose of patch 1 of this series.


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2016-09-01  6:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-30 11:51 [PATCH 0/3] repair stubdoms Juergen Gross
2016-08-30 11:51 ` [PATCH 1/3] mini-os: support newer xen interface Juergen Gross
2016-08-30 13:53   ` Wei Liu
2016-08-30 21:30     ` Samuel Thibault
2016-08-30 11:51 ` [PATCH 2/3] mini-os: provide irq on/off/save/restore functions for Mini-OS apps Juergen Gross
2016-08-30 13:54   ` [Minios-devel] " Wei Liu
2016-08-30 14:08     ` Juergen Gross
2016-08-30 21:34       ` Samuel Thibault
2016-08-30 11:51 ` [PATCH 3/3] mini-os: support "make config" for out-of-tree users Juergen Gross
2016-08-30 13:57   ` [Minios-devel] " Wei Liu
2016-09-02  1:22     ` Samuel Thibault
2016-08-30 21:38   ` Samuel Thibault
2016-09-01  6:21     ` Juergen Gross [this message]
2016-09-02  1:21       ` Samuel Thibault
2016-09-02  5:42         ` Juergen Gross
2016-09-02  7:02           ` Samuel Thibault
2016-09-02  8:26 ` [Minios-devel] [PATCH 0/3] repair stubdoms Wei Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e98a93f2-4172-94de-d5a8-20a23d78a62b@suse.com \
    --to=jgross@suse.com \
    --cc=minios-devel@lists.xenproject.org \
    --cc=samuel.thibault@ens-lyon.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.