2012-01-15 06:45:42 +04:00
|
|
|
$NetBSD: virtualization,v 1.5 2012/01/15 02:45:42 agc Exp $
|
2008-03-19 23:12:53 +03:00
|
|
|
|
|
|
|
NetBSD Virtualization Roadmap
|
|
|
|
=============================
|
|
|
|
|
|
|
|
This is a small roadmap document, and deals with the virtualization
|
|
|
|
side of the operating system.
|
|
|
|
|
2012-01-15 06:45:42 +04:00
|
|
|
Features that will be in 6.0:
|
2009-09-16 01:07:58 +04:00
|
|
|
1. NetBSD/usermode
|
|
|
|
5. Xen domU migration, suspend and resume
|
|
|
|
6. Xen balloon driver support
|
2008-03-19 23:12:53 +03:00
|
|
|
|
2012-01-15 06:45:42 +04:00
|
|
|
Features which may make future releases:
|
|
|
|
2. virtualization jails via secmodel
|
|
|
|
3. iSCSI booting
|
|
|
|
4. iSCSI device cloning
|
2008-03-19 23:12:53 +03:00
|
|
|
|
|
|
|
We'll continue to update this roadmap as features and dates get firmed up.
|
|
|
|
|
|
|
|
|
|
|
|
Some explanations
|
|
|
|
=================
|
|
|
|
|
2009-09-16 01:07:58 +04:00
|
|
|
1. NetBSD/usermode
|
2008-03-19 23:12:53 +03:00
|
|
|
------------------
|
|
|
|
|
2009-09-16 01:07:58 +04:00
|
|
|
NetBSD/usermode is an port of NetBSD to a POSIX-compatible user-space,
|
|
|
|
with the intention that it should be possible to run the usermode
|
|
|
|
version of NetBSD on any POSIX-compatible operating system. This code
|
2012-01-15 06:45:42 +04:00
|
|
|
has been committed to the repository by jmcneill, and updated by reinoud
|
|
|
|
and jmcneill. usermode can now boot up to X11, can use a vnc console,
|
|
|
|
and is under active development now. This is most definitely in 6.0.
|
2008-03-19 23:12:53 +03:00
|
|
|
|
2012-01-15 06:45:42 +04:00
|
|
|
Responsible: jmcneill, reinoud
|
2008-03-19 23:12:53 +03:00
|
|
|
|
2009-09-16 01:07:58 +04:00
|
|
|
2. Virtualization Jails via secmodel
|
2008-03-19 23:12:53 +03:00
|
|
|
------------------------------------
|
|
|
|
|
|
|
|
One novel way of creating jails for virtualization is to use a new
|
|
|
|
secmodel (part of the kauth framework), to isolate processes into
|
2009-09-16 01:07:58 +04:00
|
|
|
jail-based virtual machines. This is the basis of a paper given by
|
2012-01-15 06:45:42 +04:00
|
|
|
bad@ at AsiaBSDcon in March 2008. This will not make 6.0
|
2008-03-19 23:12:53 +03:00
|
|
|
|
|
|
|
Responsible: bad
|
|
|
|
|
2009-09-16 01:07:58 +04:00
|
|
|
3. iSCSI booting
|
2008-03-19 23:12:53 +03:00
|
|
|
----------------
|
|
|
|
|
|
|
|
In order to make Xen domains migration-friendly, the storage that the
|
|
|
|
domain uses must be based on some form of network-centric storage, either
|
2009-09-16 01:07:58 +04:00
|
|
|
NFS, or a SAN or IP-SAN. For IP-SANs, iSCSI booting will be used. This
|
2012-01-15 06:45:42 +04:00
|
|
|
is dependent on the in-kernel iSCSI initiator project completing. This will not make 6.0
|
2008-03-19 23:12:53 +03:00
|
|
|
|
|
|
|
Responsible: agc
|
|
|
|
|
2009-09-16 01:07:58 +04:00
|
|
|
4. iSCSI device cloning
|
2008-03-19 23:12:53 +03:00
|
|
|
-----------------------
|
|
|
|
|
|
|
|
To minimise the storage requirements for multiple domU booting, using
|
|
|
|
a standard root filesystem or block device for the domU is required, along
|
|
|
|
with some form of copy-on-write mechanism to preserve any modifications
|
2012-01-15 06:45:42 +04:00
|
|
|
that are made. This will not make 6.0
|
2008-03-19 23:12:53 +03:00
|
|
|
|
|
|
|
Responsible: agc
|
|
|
|
|
2009-09-16 01:07:58 +04:00
|
|
|
5. Xen domU migration, suspend and resume
|
2008-03-19 23:12:53 +03:00
|
|
|
-----------------------------------------
|
|
|
|
|
|
|
|
Xen domU migration is where a domU domain is moved from one dom0 to
|
|
|
|
another dom0 on the same vlan (to avoid networking problems, the
|
2012-01-15 06:45:42 +04:00
|
|
|
virtual arp address migrates with the domU itself). jym has committed
|
|
|
|
this code, and it will be in 6.0
|
2008-03-19 23:12:53 +03:00
|
|
|
|
2009-09-16 01:07:58 +04:00
|
|
|
Responsible: jym, bouyer
|
2008-03-19 23:12:53 +03:00
|
|
|
|
2009-09-16 01:07:58 +04:00
|
|
|
6. Xen balloon driver support
|
2008-03-19 23:12:53 +03:00
|
|
|
-----------------------------
|
|
|
|
|
|
|
|
The balloon driver allows more memory to be added to a running Xen domU
|
|
|
|
instance; this allows extra memory to be used by the domU for resource
|
2012-01-15 06:45:42 +04:00
|
|
|
peak needs. cherry has made a preliminary balloon driver and this has been
|
|
|
|
further updated and tested by jym. This will be in 6.0.
|
2008-03-19 23:12:53 +03:00
|
|
|
|
2012-01-15 06:45:42 +04:00
|
|
|
Responsible: jym, cherry
|
2008-03-19 23:12:53 +03:00
|
|
|
|
|
|
|
|
|
|
|
Alistair Crooks
|
2012-01-15 06:45:42 +04:00
|
|
|
Sat Jan 14 11:38:50 PST 2012
|