Commit graph

27 commits

Author SHA1 Message Date
xtraeme
b43a7d7d54 vif devices on NetBSD are called "xvif" not "vif", now it works
perfectly.
2005-10-01 02:38:51 +00:00
xtraeme
9406086e53 * Add modified scripts for NetBSD (block-file and vif-bridge) from
Ceri Storey via port-xen@, previous scripts were only useful for
  Linux.
* Install the scripts with INSTALL_SCRIPT not INSTALL_DATA.

Bump PKGREVISION.
2005-10-01 02:10:10 +00:00
bouyer
73cc7fc036 Add patch from Jed Davis on port-xen:
| xfrd reads from the network socket using
| fread() on an _IONBF'ed stream; under NetBSD, this results in a
| sequence of one-character reads.  This behavior, as far as I can tell,
| goes back all the way to V7 Unix; i.e., it's older than me.
|
| So I've modified libxutil, which has its own IO indirection layer, to
| switch to read(2) in the "unbuffered" case"

bump PKGREVISION
2005-09-16 18:14:49 +00:00
bouyer
780ec86730 Sync xenio.h with kernel, and apply patch from Jed Davis on port-xen:
| libxc change #1 is to have xfrd's forked child munmap each 4MB batch
| of foreign RAM after it's done writing it, rather than unmapping only
| the last one and letting the process's exit clean up the rest.  This
| really does look like a simple mistake, and strictly speaking it's not
| that big a deal -- but on NetBSD, the foreign mappings count against
| the process's locked memory rlimit as if it were the dom0's own RAM.
|
| libxc change #2... I don't really understand the problem; it has
| something to do with live migration and the domU releasing
| pseudo-physical pages after they were sent but before it's suspended.
| Except that, for non-live mode, I think it's reporting all the holes
| in the pseudo-physical range, even though those pages haven't been
| sent.  In any case, the result is that the restoring xfrd fails to
| decrease_reservation the pages away.  And I distinctly recall this
| working at least once under Linux with Xen 2, but I have little idea
| what NetBSD might be doing differently.

Bump PKGREVISION. This, along with a up to date -current kernel,
make xm (save|restore) work properly for a linux domU.
2005-09-10 15:54:38 +00:00
jlam
bd2788d930 Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
2005-08-19 18:12:36 +00:00
bouyer
7b992b3f63 Add a patch from Jed Davis posted to port-xen which allows xend to be
gracefully restarted. See
http://mail-index.netbsd.org/port-xen/2005/08/17/0003.html
for details.
Bump PKGREVISION.
2005-08-19 13:06:31 +00:00
bouyer
3aab0e5034 Upgrade to xentools20-2.0.7, from Martti Kuparinen in private mail.
Changes unknown, but probably only bugfixes.
2005-08-06 17:43:14 +00:00
grant
e8dbbcb481 don't hardcode /kern/xen/privcmd in xend startup script. 2005-07-13 02:12:59 +00:00
grant
0aef46b77d correct HOMEPAGE. 2005-07-13 01:30:17 +00:00
grant
93f8c4e6d5 fix build on Linux:
- add some missing #ifdef __NetBSD__ and restore some Linux #includes
- use subst framework instead of hardcoding /kern paths in patches
2005-07-13 01:28:37 +00:00
yamt
d8e0a72415 xentools20: switch to use the new version of IOCTL_PRIVCMD_INITDOMAIN_EVTCHN.
bump PKGREVISION to nb1.
2005-06-04 11:34:30 +00:00
xtraeme
d62c883615 Update to 2.0.6 (latest stable distribution).
Lots of changes, notably now it uses Linux-2.6.11.x, a NetBSD
bug was fixed.

pkgsrc changes:

* Honor PKG_SYSCONFDIR and SUPPORT_FILES for configuration files.
* xend.sh: no more python warning messages when the script is used
  on non NetBSD/Xen systems.
2005-05-24 16:02:08 +00:00
bouyer
a654d97034 Don't mmap /kern/xen/privcmd (this doesn't work any more on current), use
MAP_ANON instead. Bump pkgrevision.
2005-05-23 22:02:04 +00:00
xtraeme
7e46ac7477 Fix build on NetBSD/-current by including <sys/select.h>. 2005-05-23 18:05:16 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
wiz
d26e5e92db Remove empty line. 2005-05-03 15:59:55 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
wiz
28a09addfc Fix dependency pattern to include [0-9]. 2005-04-16 13:35:29 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
bouyer
68fdfc4859 xend.sh fixes:
- set command_interpreter, so that rc.subr(8) can find the process(es).
- /usr/pkg/sbin/xend {stop,restart} don't to what we expect, to
  let rc.subr do it instead.
Bump PKGREVISION.
Should fix pkg/29847.
2005-04-01 19:06:12 +00:00
bouyer
1820903956 Add shared library symlinks to PLIST, noted by Martti Kuparinen.
Bump PKGREVISION.
2005-03-27 15:58:24 +00:00
bouyer
9435e0444c Add a rc.d script to start xend. Bump pkgrevision.
While here, clean up some complains from pkgling.
2005-03-17 23:53:56 +00:00
bouyer
dbbfe8122c Sort. 2005-03-17 23:47:12 +00:00
bouyer
aaadd78297 Fix the 16 vs 32 bit dev_t problem by moving blkif_pdev_t from u16 to
u32, and removing the padding bits in blkif_extent_t. This way the size
of the message doesn't change, and new tools are compatible with
older kernel (I will commit this change to kernel shortly too).
This has also been commited to xen-2.0-testing by Christian, and will be
in xen-2.0.5.
While here, remove the PKG_SYSCONFSUBDIR, as nothing looks for config files
here yet.
Bump PKGREVISION.
2005-03-10 19:43:25 +00:00
bouyer
4e5683fbea Regen for RMD160 digest. 2005-03-07 17:29:06 +00:00
bouyer
3740d97484 Adjust for newer python framework. 2005-03-07 17:27:25 +00:00
bouyer
d24fdd5ce6 Initial import of xentools 2.0, for use with NetBSD as a xen2 domain0. 2005-03-07 15:59:08 +00:00