11.8Snia$NetBSD: virtualization,v 1.8 2025/05/19 18:02:53 nia Exp $ 21.1Sagc 31.1SagcNetBSD Virtualization Roadmap 41.1Sagc============================= 51.1Sagc 61.1SagcThis is a small roadmap document, and deals with the virtualization 71.1Sagcside of the operating system. 81.1Sagc 91.5SagcFeatures that will be in 6.0: 101.4Sagc1. NetBSD/usermode 111.5Sagc5. Xen domU migration, suspend and resume 121.5Sagc 131.5SagcFeatures which may make future releases: 141.4Sagc2. virtualization jails via secmodel 151.4Sagc3. iSCSI booting 161.4Sagc4. iSCSI device cloning 171.8Snia5. Arm64 (aarch64) support in NVMM 181.1Sagc 191.1SagcWe'll continue to update this roadmap as features and dates get firmed up. 201.1Sagc 211.1Sagc 221.1SagcSome explanations 231.1Sagc================= 241.1Sagc 251.4Sagc1. NetBSD/usermode 261.1Sagc------------------ 271.1Sagc 281.7SrilligNetBSD/usermode is a port of NetBSD to a POSIX-compatible user-space, 291.4Sagcwith the intention that it should be possible to run the usermode 301.4Sagcversion of NetBSD on any POSIX-compatible operating system. This code 311.5Sagchas been committed to the repository by jmcneill, and updated by reinoud 321.5Sagcand jmcneill. usermode can now boot up to X11, can use a vnc console, 331.5Sagcand is under active development now. This is most definitely in 6.0. 341.1Sagc 351.5SagcResponsible: jmcneill, reinoud 361.1Sagc 371.4Sagc2. Virtualization Jails via secmodel 381.1Sagc------------------------------------ 391.1Sagc 401.1SagcOne novel way of creating jails for virtualization is to use a new 411.1Sagcsecmodel (part of the kauth framework), to isolate processes into 421.4Sagcjail-based virtual machines. This is the basis of a paper given by 431.5Sagcbad@ at AsiaBSDcon in March 2008. This will not make 6.0 441.1Sagc 451.1SagcResponsible: bad 461.1Sagc 471.4Sagc3. iSCSI booting 481.1Sagc---------------- 491.1Sagc 501.1SagcIn order to make Xen domains migration-friendly, the storage that the 511.1Sagcdomain uses must be based on some form of network-centric storage, either 521.4SagcNFS, or a SAN or IP-SAN. For IP-SANs, iSCSI booting will be used. This 531.5Sagcis dependent on the in-kernel iSCSI initiator project completing. This will not make 6.0 541.1Sagc 551.1SagcResponsible: agc 561.1Sagc 571.4Sagc4. iSCSI device cloning 581.1Sagc----------------------- 591.1Sagc 601.1SagcTo minimise the storage requirements for multiple domU booting, using 611.1Sagca standard root filesystem or block device for the domU is required, along 621.1Sagcwith some form of copy-on-write mechanism to preserve any modifications 631.5Sagcthat are made. This will not make 6.0 641.1Sagc 651.1SagcResponsible: agc 661.1Sagc 671.4Sagc5. Xen domU migration, suspend and resume 681.1Sagc----------------------------------------- 691.1Sagc 701.1SagcXen domU migration is where a domU domain is moved from one dom0 to 711.1Sagcanother dom0 on the same vlan (to avoid networking problems, the 721.5Sagcvirtual arp address migrates with the domU itself). jym has committed 731.5Sagcthis code, and it will be in 6.0 741.1Sagc 751.4SagcResponsible: jym, bouyer 761.1Sagc 771.8Snia6. Arm64 (aarch64) support in NVMM 781.8Snia---------------------------------- 791.8Snia 801.8SniaInitial work was done on porting nvmm(4) to ARMv8.0 by Ryo Shimizu 811.8Sniaand presented at 2023 AsiaBSDCon. Due to his very sad passing, the 821.8Sniaport is now without a maintainer. It would be amazing if someone 831.8Sniapicked up and finished this work. 841.8Snia 851.8Sniahttps://github.com/IIJ-NetBSD/netbsd-src/compare/master...ryo:netbsd-src:wip/aarch64_el2 861.8Snia 871.1SagcAlistair Crooks 881.5SagcSat Jan 14 11:38:50 PST 2012 89