[rumpkernel/rumprun] 310439: Search existing value of XEN_HEADERS for Xen heade...

  • From: GitHub <noreply@xxxxxxxxxx>
  • To: rumpkernel-builds@xxxxxxxxxxxxx
  • Date: Tue, 18 Oct 2016 10:40:44 -0700

  Branch: refs/heads/master
  Home:   https://github.com/rumpkernel/rumprun
  Commit: 3104392cc1073e1a30d9c8baf5d44a9e162e816e
      
https://github.com/rumpkernel/rumprun/commit/3104392cc1073e1a30d9c8baf5d44a9e162e816e
  Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M build-rr.sh

  Log Message:
  -----------
  Search existing value of XEN_HEADERS for Xen headers

This allows a caller to specify a specific location for the Xen
headers.  For example, from a version of Xen just built in a
neighbouring directory.

(Without this it is not possible to build against a specific Xen
without being able to overwrite system header areas.)

If XEN_HEADERS is unset, or not suitable, use the existing search
strategy.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>


  Commit: 1c330ae029fbc73886a77140216fed94bc0772d9
      
https://github.com/rumpkernel/rumprun/commit/1c330ae029fbc73886a77140216fed94bc0772d9
  Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M platform/xen/librumpxen_xendev/Makefile
    M platform/xen/librumpxen_xendev/busdev.c
    A platform/xen/librumpxen_xendev/busdev_user.c
    A platform/xen/librumpxen_xendev/busdev_user.h
    M platform/xen/librumpxen_xendev/rumpxen_xendev.h

  Log Message:
  -----------
  librumpxen_xendev: xenbus: Reorganise to split minios from rumpkernel parts

Split the xenbus driver into two pieces, busdev.c (in the netbsd
kernel namespacve) and busdev_user.c (in the minios namespace).  They
communicate via the (somewhat ad-hoc) interface in busdev_user.h.  The
interface uses `rumpxenbus_*' names so that the two sides can call
each other.  We split the state structure up into three: a netbsd
part, a minios part, and a common part.

This is actually largely a combination of code motion and function and
type renaming.  There is little functional change from the previous
"header abuse" approach, other than some minor interface adjustments.

In much of the code `d' was used to refer to the device struct.  Now
there are three context stucts.  For now I have retained in each
function the use of `d' which producese the lowest amount of code
churn.  The compiler makes sure the types all line up right.

Later, the uses of `d' will each be changed to `dc', `du' or `dd'.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>


  Commit: 1cfe2a38f8099f34f2e649c41b201d5d28ad55ed
      
https://github.com/rumpkernel/rumprun/commit/1cfe2a38f8099f34f2e649c41b201d5d28ad55ed
  Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M platform/xen/librumpxen_xendev/Makefile
    M platform/xen/librumpxen_xendev/xendev_component.c

  Log Message:
  -----------
  librumpxen_xendev: Disable privcmd and evtchn drivers for now

We have fixed the xenbus driver, but the privcmd and evtchn drivers
are still broken.  (Issue 73.)

Disable these two (and add the note about the issue number).  This
will allow us to enable the libbrumpxen_xendev build to get the xenbus
driver.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>


  Commit: 92dd08ba3125b4438ffe86ea99de77bc5957fb1b
      
https://github.com/rumpkernel/rumprun/commit/92dd08ba3125b4438ffe86ea99de77bc5957fb1b
  Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M platform/xen/librumpxen_xendev/busdev_user.c

  Log Message:
  -----------
  librumpxen_xendev: xenbus: Remove dependency on <inttypes.h> in "user" code

busdev_user.c is compiled in a minios context which sadly lacks
<inttypes.h>.  Drop it, and change the one use of PRIx32 to a %lx
(fixing the type of the cast, while we're at it).

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>


  Commit: 0c83c344c98fe36595d5ba310a2bea43f02216df
      
https://github.com/rumpkernel/rumprun/commit/0c83c344c98fe36595d5ba310a2bea43f02216df
  Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M app-tools/rumprun-bake.conf
    M platform/xen/Makefile
    M platform/xen/librumpxen_xendev/xendev_component.c

  Log Message:
  -----------
  librumpxen_xendev: Re-enable build for xenbus, and add it to the default bake

Fixes issue #73 for the xenbus driver.

privcmd and evtchn are not fixed yet - they are still disabled.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>


  Commit: 40e2c5ec2ca93e7f06b320ba01f7be36ef254cd4
      
https://github.com/rumpkernel/rumprun/commit/40e2c5ec2ca93e7f06b320ba01f7be36ef254cd4
  Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M platform/xen/librumpxen_xendev/Makefile
    M platform/xen/librumpxen_xendev/rumpxen_xendev.h

  Log Message:
  -----------
  librumpxen_xendev: Reorganise debug enablement slightly

Invite people to turn on debug by defining the make variable
RUMP_DEV_XEN_DEBUG rather than by editing .c files.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>


  Commit: 343526e02a19c99459ad48d895f8615faf57032e
      
https://github.com/rumpkernel/rumprun/commit/343526e02a19c99459ad48d895f8615faf57032e
  Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M platform/xen/librumpxen_xendev/busdev.c
    M platform/xen/librumpxen_xendev/busdev_user.c

  Log Message:
  -----------
  librumpxen_xendev: Add more debug

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>


  Commit: 928e296b3968c657122b3a8c49b1cb2059324e81
      
https://github.com/rumpkernel/rumprun/commit/928e296b3968c657122b3a8c49b1cb2059324e81
  Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M platform/xen/librumpxen_xendev/busdev.c
    M platform/xen/librumpxen_xendev/busdev_user.c

  Log Message:
  -----------
  librumpxen_xendev: Rename applicable `d' variables to `dd'

This used to be a reference to the shared device context structure.
Now there are three structures.  Change all the variables referring to
what is now struct rumpxenbus_data_dev to `dd'.  This includes all the
references in busdev.c.

No functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>


  Commit: d25ab6fc68b559934a4556620a129a022077c617
      
https://github.com/rumpkernel/rumprun/commit/d25ab6fc68b559934a4556620a129a022077c617
  Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M platform/xen/librumpxen_xendev/busdev_user.c
    M platform/xen/librumpxen_xendev/busdev_user.h

  Log Message:
  -----------
  librumpxen_xendev: Rename applicable `d' variables to `dc'

This used to be a reference to the shared device context structure.
Now there are three structures.  Change all the variables referring to
what is now struct rumpxenbus_data_common to `dc'.  This includes
about half of the refernces in busdev_user.c.  No functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>


  Commit: b3d9b301dcef0470f0e98a40e25f35361aecb5ef
      
https://github.com/rumpkernel/rumprun/commit/b3d9b301dcef0470f0e98a40e25f35361aecb5ef
  Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M platform/xen/librumpxen_xendev/busdev_user.c

  Log Message:
  -----------
  librumpxen_xendev: Rename applicable `d' variables to `du'

This used to be a reference to the shared device context structure.
Now there are three structures.  Now there are three structures.
Change all the variables referring to what is now struct
rumpxenbus_data_user to `du'.  This completes the elimination of the
conventional variable name `d'.  No functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>


  Commit: 2f23dc0d5a0e84e91ca7d23b993f36810d9cd198
      
https://github.com/rumpkernel/rumprun/commit/2f23dc0d5a0e84e91ca7d23b993f36810d9cd198
  Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M platform/xen/librumpxen_xendev/busdev.c
    M platform/xen/librumpxen_xendev/busdev_user.c
    M platform/xen/librumpxen_xendev/busdev_user.h

  Log Message:
  -----------
  librumpxen_xendev: Make WTROUBLE more anaphoric again

In "librumpxen_xendev: xenbus: Reorganise to split minios from
rumpkernel parts" WTROUBLE gained an argument for the common struct
pointer, because the different call sites did (in that patch) call
that struct pointer by different names.

Since "librumpxen_xendev: busdev.c: Rename applicable `d' variables to
`dc'" the common pointer is always `dc', so WTROUBLE can rely on that
again.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>


  Commit: ef0bfb8dbc1927c98cba185534b48cf87efa11ab
      
https://github.com/rumpkernel/rumprun/commit/ef0bfb8dbc1927c98cba185534b48cf87efa11ab
  Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M platform/xen/librumpxen_xendev/busdev.c

  Log Message:
  -----------
  librumpxen_xendev: Do not test uio->uio_offset in xenbus_dev_write

This field is undefined on entry to f_write functions.

(The copying of the file offset to and from this field is done by
vn_read and vn_write, only for vnode entries, which this isn't.)

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>


  Commit: 39a97f37a85e44c69b662f6b97b688fbe892603b
      
https://github.com/rumpkernel/rumprun/commit/39a97f37a85e44c69b662f6b97b688fbe892603b
  Author: Ian Jackson <ian.jackson@xxxxxxxxxx>
  Date:   2016-10-18 (Tue, 18 Oct 2016)

  Changed paths:
    M app-tools/rumprun-bake.conf
    M build-rr.sh
    M platform/xen/Makefile
    M platform/xen/librumpxen_xendev/Makefile
    M platform/xen/librumpxen_xendev/busdev.c
    A platform/xen/librumpxen_xendev/busdev_user.c
    A platform/xen/librumpxen_xendev/busdev_user.h
    M platform/xen/librumpxen_xendev/rumpxen_xendev.h
    M platform/xen/librumpxen_xendev/xendev_component.c

  Log Message:
  -----------
  Merge pull request #83 from ijackson-citrix/xendev-xenbus-fix

Xendev xenbus fix


Compare: 
https://github.com/rumpkernel/rumprun/compare/ad23d14e0fb5...39a97f37a85e

Other related posts:

  • » [rumpkernel/rumprun] 310439: Search existing value of XEN_HEADERS for Xen heade... - GitHub