version 1.13, 2014/12/23 23:40:11
|
version 1.14, 2014/12/23 23:43:27
|
Line 50 hardware and installing software from pk
|
Line 50 hardware and installing software from pk
|
|
|
For more details on Xen, see [](http://www.xen.org/). |
For more details on Xen, see [](http://www.xen.org/). |
|
|
Installing Xen with NetBSD as privileged domain (Dom0) |
Installing Xen with NetBSD as privileged domain (dom0) |
====================================================== |
====================================================== |
|
|
Note that it doesn't make sense to talk about installing a dom0 OS |
Note that it doesn't make sense to talk about installing a dom0 OS |
Line 210 Install grub with the following command:
|
Line 210 Install grub with the following command:
|
Done. |
Done. |
|
|
|
|
Creating an unprivileged NetBSD domain (DomU) |
Creating unprivileged domains (domU) |
============================================= |
==================================== |
|
|
|
Creating domUs is almost entirely independent of operating system. We |
|
first explain NetBSD, and then differences for Linux and Solaris. |
|
|
|
Creating an unprivileged NetBSD domain (domU) |
|
--------------------------------------------- |
|
|
Once you have *domain0* running, you need to start the xen tool daemon |
Once you have *domain0* running, you need to start the xen tool daemon |
(`/usr/pkg/share/examples/rc.d/xend start`) and the xen backend daemon |
(`/usr/pkg/share/examples/rc.d/xend start`) and the xen backend daemon |
Line 353 working vif-bridge is also provided with
|
Line 359 working vif-bridge is also provided with
|
|
|
#!/bin/sh |
#!/bin/sh |
#============================================================================ |
#============================================================================ |
# $NetBSD: howto.mdwn,v 1.12 2014/12/23 23:37:56 gdt Exp $ |
# $NetBSD: howto.mdwn,v 1.13 2014/12/23 23:40:11 gdt Exp $ |
# |
# |
# /usr/pkg/etc/xen/vif-bridge |
# /usr/pkg/etc/xen/vif-bridge |
# |
# |
Line 477 in rc.conf. This way, the domain will be
|
Line 483 in rc.conf. This way, the domain will be
|
|
|
Your domain should be now ready to work, enjoy. |
Your domain should be now ready to work, enjoy. |
|
|
Creating an unprivileged Linux domain (DomU) |
Creating an unprivileged Linux domain (domU) |
-------------------------------------------- |
-------------------------------------------- |
|
|
Creating unprivileged Linux domains isn't much different from |
Creating unprivileged Linux domains isn't much different from |
Line 521 To get the linux console right, you need
|
Line 527 To get the linux console right, you need
|
to your configuration since not all linux distributions auto-attach a |
to your configuration since not all linux distributions auto-attach a |
tty to the xen console. |
tty to the xen console. |
|
|
Creating an unprivileged Solaris domain (DomU) |
Creating an unprivileged Solaris domain (domU) |
---------------------------------------------- |
---------------------------------------------- |
|
|
Download an Opensolaris [release](http://opensolaris.org/os/downloads/) |
Download an Opensolaris [release](http://opensolaris.org/os/downloads/) |
Line 658 Restart the guest to verify it works cor
|
Line 664 Restart the guest to verify it works cor
|
|
|
|
|
Using PCI devices in guest domains |
Using PCI devices in guest domains |
================================== |
---------------------------------- |
|
|
The domain0 can give other domains access to selected PCI devices. This |
The domain0 can give other domains access to selected PCI devices. This |
can allow, for example, a non-privileged domain to have access to a |
can allow, for example, a non-privileged domain to have access to a |