xref: /netbsd-src/doc/roadmaps/virtualization (revision 5b28f239895d55856221c590945769250e289f5f)
1*5b28f239Srillig$NetBSD: virtualization,v 1.7 2024/09/08 09:36:45 rillig Exp $
2f7361cf3Sagc
3f7361cf3SagcNetBSD Virtualization Roadmap
4f7361cf3Sagc=============================
5f7361cf3Sagc
6f7361cf3SagcThis is a small roadmap document, and deals with the virtualization
7f7361cf3Sagcside of the operating system.
8f7361cf3Sagc
98ac5edf2SagcFeatures that will be in 6.0:
1098697d05Sagc1. NetBSD/usermode
1198697d05Sagc5. Xen domU migration, suspend and resume
12f7361cf3Sagc
138ac5edf2SagcFeatures which may make future releases:
148ac5edf2Sagc2. virtualization jails via secmodel
158ac5edf2Sagc3. iSCSI booting
168ac5edf2Sagc4. iSCSI device cloning
17f7361cf3Sagc
18f7361cf3SagcWe'll continue to update this roadmap as features and dates get firmed up.
19f7361cf3Sagc
20f7361cf3Sagc
21f7361cf3SagcSome explanations
22f7361cf3Sagc=================
23f7361cf3Sagc
2498697d05Sagc1. NetBSD/usermode
25f7361cf3Sagc------------------
26f7361cf3Sagc
27*5b28f239SrilligNetBSD/usermode is a port of NetBSD to a POSIX-compatible user-space,
2898697d05Sagcwith the intention that it should be possible to run the usermode
2998697d05Sagcversion of NetBSD on any POSIX-compatible operating system.  This code
308ac5edf2Sagchas been committed to the repository by jmcneill, and updated by reinoud
318ac5edf2Sagcand jmcneill. usermode can now boot up to X11, can use a vnc console,
328ac5edf2Sagcand is under active development now. This is most definitely in 6.0.
33f7361cf3Sagc
348ac5edf2SagcResponsible: jmcneill, reinoud
35f7361cf3Sagc
3698697d05Sagc2. Virtualization Jails via secmodel
37f7361cf3Sagc------------------------------------
38f7361cf3Sagc
39f7361cf3SagcOne novel way of creating jails for virtualization is to use a new
40f7361cf3Sagcsecmodel (part of the kauth framework), to isolate processes into
4198697d05Sagcjail-based virtual machines. This is the basis of a paper given by
428ac5edf2Sagcbad@ at AsiaBSDcon in March 2008. This will not make 6.0
43f7361cf3Sagc
44f7361cf3SagcResponsible: bad
45f7361cf3Sagc
4698697d05Sagc3. iSCSI booting
47f7361cf3Sagc----------------
48f7361cf3Sagc
49f7361cf3SagcIn order to make Xen domains migration-friendly, the storage that the
50f7361cf3Sagcdomain uses must be based on some form of network-centric storage, either
5198697d05SagcNFS, or a SAN or IP-SAN. For IP-SANs, iSCSI booting will be used. This
528ac5edf2Sagcis dependent on the in-kernel iSCSI initiator project completing. This will not make 6.0
53f7361cf3Sagc
54f7361cf3SagcResponsible: agc
55f7361cf3Sagc
5698697d05Sagc4. iSCSI device cloning
57f7361cf3Sagc-----------------------
58f7361cf3Sagc
59f7361cf3SagcTo minimise the storage requirements for multiple domU booting, using
60f7361cf3Sagca standard root filesystem or block device for the domU is required, along
61f7361cf3Sagcwith some form of copy-on-write mechanism to preserve any modifications
628ac5edf2Sagcthat are made. This will not make 6.0
63f7361cf3Sagc
64f7361cf3SagcResponsible: agc
65f7361cf3Sagc
6698697d05Sagc5. Xen domU migration, suspend and resume
67f7361cf3Sagc-----------------------------------------
68f7361cf3Sagc
69f7361cf3SagcXen domU migration is where a domU domain is moved from one dom0 to
70f7361cf3Sagcanother dom0 on the same vlan (to avoid networking problems, the
718ac5edf2Sagcvirtual arp address migrates with the domU itself). jym has committed
728ac5edf2Sagcthis code, and it will be in 6.0
73f7361cf3Sagc
7498697d05SagcResponsible: jym, bouyer
75f7361cf3Sagc
76f7361cf3SagcAlistair Crooks
778ac5edf2SagcSat Jan 14 11:38:50 PST 2012
78