Commit graph

12 commits

Author SHA1 Message Date
jlam
279bbadaa5 Improve the block-file-nbsd script slightly so that it's possible to
force a read-only bind of the image file to a vnd(4) device.  Bump
the PKGREVISION.
2006-04-18 15:29:36 +00:00
xtraeme
f5750a99ec Do not try to start the domains unless @PROCPATH@/xen/privcmd is
present (consistency with the xend script).
2006-01-15 01:56:48 +00:00
jlam
8e6f1ae3d1 * Add a MESSAGE file with helpful information for NetBSD domain0
installations.

* Modify the package to not install all of the configuration files with
  the execute bit set -- only install the helper scripts that way.

* Update the block-file-nbsd script to not blindly try to configure (and
  often fail to configure) every vnd(4) device until it finds one that
  works.  We now just determine what the next free vnd(4) device is and
  configure it directly.

* Add a netbsd-nbsd script that avoids trying to do all the Linux-specific
  that just filled the log files with garbage on NetBSD.

* Update the vif-bridge-nbsd script to check that the bridge device is
  configured before using it.

* Add clear comments at the top of scripts that can be customized so that
  the user has enough information to know how to do the customization.

* Add a xendomains rc.d script that can be used to start and stop guest
  domains at system boot- or shutdown-time.

Bump the PKGREVISION to 5.
2005-11-08 00:47:35 +00:00
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
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
grant
e8dbbcb481 don't hardcode /kern/xen/privcmd in xend startup script. 2005-07-13 02:12:59 +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
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
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
d24fdd5ce6 Initial import of xentools 2.0, for use with NetBSD as a xen2 domain0. 2005-03-07 15:59:08 +00:00