I added recently packages for Xen domain0 support in XBPS.
There are binary packages currently in the main repo for x86_64,
for i686 you have to build them from source.
The packages contain latest stable releases, Xen 3.4.2 and Linux
2.6.31.6 dom0 kernel. To install them use:
$ xbps-bin install kernel-xen-dom0 xen
$ update-initramfs -c -k 2.6.31.6-xen-dom0
The standard kernel image provided by the 'kernel' package contains
support for unprivileged Xen domains (domUs) so you can build a VM
easily with XBPS, like:
$ xbps-bin -r /rootdir install xbps-base-system
$ chroot /rootdir passwd root
$ echo '/dev/xvda1 / ext3 defaults 0' > /etc/fstab
Basically, install the base system into the target dir, set passwd
for root and create /etc/fstab accordingly.
Enjoy.