virtualization revision 1.4 1 1.4 agc $NetBSD: virtualization,v 1.4 2009/09/15 21:07:58 agc Exp $
2 1.1 agc
3 1.1 agc NetBSD Virtualization Roadmap
4 1.1 agc =============================
5 1.1 agc
6 1.1 agc This is a small roadmap document, and deals with the virtualization
7 1.1 agc side of the operating system.
8 1.1 agc
9 1.4 agc 1. NetBSD/usermode
10 1.4 agc 2. virtualization jails via secmodel
11 1.4 agc 3. iSCSI booting
12 1.4 agc 4. iSCSI device cloning
13 1.4 agc 5. Xen domU migration, suspend and resume
14 1.4 agc 6. Xen balloon driver support
15 1.1 agc
16 1.4 agc We currently expect to branch 6.0 in the March 2010 timeframe, with a view
17 1.4 agc to a 6.0 release later in 2010.
18 1.1 agc
19 1.1 agc We'll continue to update this roadmap as features and dates get firmed up.
20 1.1 agc
21 1.1 agc
22 1.1 agc Some explanations
23 1.1 agc =================
24 1.1 agc
25 1.4 agc 1. NetBSD/usermode
26 1.1 agc ------------------
27 1.1 agc
28 1.4 agc NetBSD/usermode is an port of NetBSD to a POSIX-compatible user-space,
29 1.4 agc with the intention that it should be possible to run the usermode
30 1.4 agc version of NetBSD on any POSIX-compatible operating system. This code
31 1.4 agc has been committed to the repository, but more work is needed.
32 1.1 agc
33 1.1 agc Responsible: jmcneill
34 1.1 agc
35 1.4 agc 2. Virtualization Jails via secmodel
36 1.1 agc ------------------------------------
37 1.1 agc
38 1.1 agc One novel way of creating jails for virtualization is to use a new
39 1.1 agc secmodel (part of the kauth framework), to isolate processes into
40 1.4 agc jail-based virtual machines. This is the basis of a paper given by
41 1.4 agc bad@ at AsiaBSDcon in March 2008.
42 1.1 agc
43 1.1 agc Responsible: bad
44 1.1 agc
45 1.4 agc 3. iSCSI booting
46 1.1 agc ----------------
47 1.1 agc
48 1.1 agc In order to make Xen domains migration-friendly, the storage that the
49 1.1 agc domain uses must be based on some form of network-centric storage, either
50 1.4 agc NFS, or a SAN or IP-SAN. For IP-SANs, iSCSI booting will be used. This
51 1.4 agc is dependent on the in-kernel iSCSI initiator project completing.
52 1.1 agc
53 1.1 agc Responsible: agc
54 1.1 agc
55 1.4 agc 4. iSCSI device cloning
56 1.1 agc -----------------------
57 1.1 agc
58 1.1 agc To minimise the storage requirements for multiple domU booting, using
59 1.1 agc a standard root filesystem or block device for the domU is required, along
60 1.1 agc with some form of copy-on-write mechanism to preserve any modifications
61 1.1 agc that are made.
62 1.1 agc
63 1.1 agc Responsible: agc
64 1.1 agc
65 1.4 agc 5. Xen domU migration, suspend and resume
66 1.1 agc -----------------------------------------
67 1.1 agc
68 1.1 agc Xen domU migration is where a domU domain is moved from one dom0 to
69 1.1 agc another dom0 on the same vlan (to avoid networking problems, the
70 1.4 agc virtual arp address migrates with the domU itself). jym is actively
71 1.4 agc working on this, and preliminary results are good.
72 1.1 agc
73 1.4 agc Responsible: jym, bouyer
74 1.1 agc
75 1.4 agc 6. Xen balloon driver support
76 1.1 agc -----------------------------
77 1.1 agc
78 1.1 agc The balloon driver allows more memory to be added to a running Xen domU
79 1.1 agc instance; this allows extra memory to be used by the domU for resource
80 1.4 agc peak needs. cherry has made a preliminary balloon driver - some testing
81 1.4 agc is needed before it can be committed.
82 1.1 agc
83 1.4 agc Responsible: cherry
84 1.1 agc
85 1.1 agc
86 1.1 agc Alistair Crooks
87 1.4 agc Tue 15 Sep 2009 08:06:34 PDT
88