Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
BitVisor on NetBSD
Search
Ryo ONODERA
July 14, 2018
Programming
73
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
BitVisor on NetBSD
BitVisor build on NetBSD and NetBSD on BitVisor VMM
Ryo ONODERA
July 14, 2018
More Decks by Ryo ONODERA
See All by Ryo ONODERA
NetBSD on HP Spectre x360 ae019TU
ryoon
0
80
Other Decks in Programming
See All in Programming
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
260
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
190
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
1k
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
JIS keyboard support in Omarchy
lef237
0
120
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
220
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
2
600
Domain-Driven Transformation
hschwentner
2
2.3k
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
golang-bob.pdf
iwatsukayura
0
130
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
330
First, design no harm
axbom
PRO
2
1.3k
RailsConf 2023
tenderlove
30
1.6k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
520
Build your cross-platform service in a week with App Engine
jlugia
234
19k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
560
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
How to Ace a Technical Interview
jacobian
280
24k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
550
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
59k
Designing for humans not robots
tammielis
254
26k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Transcript
1 / 7 BitVisor on NetBSD (and NetBSD on BitVisor)
2018-07-14 Ryo ONODERA <
[email protected]
> <
[email protected]
> Japan NetBSD Users’ Group BoF 2018 at Takeda blg. u-tokyo, Japan
2 / 7 BitVisor とは • bitvisor.org • https://bitbucket.org/bitvisor/bitvisor (hg)
• 準パススルー型パススルー型型 VMM – なので、基本的にはハー基本的にはハードウェにはハー型ドウェアにあるデバイにあるデバイデバイ スがそのまま見えるえるデバイ – VirtIO な Ethernet とかも場合によっては場合によっては使えによっては使えるえるデバイ (Mac のハー型ドウェアにあるデバイの場合によっては使え ?)) – ただし、基本的にはハーネストされた仮想化はされた仮想化はできないみたはできないみたい
3 / 7 BitVisor とは • USB メモリー型から UEFI で
BitVisor を起動させる起動させるさせるデバイ と、基本的にはハー内蔵ストレージにあストされた仮想化はレー型ジにあるにあるデバイ UEFI ブー型トされた仮想化はの OS を起動させる自 動させる的にはハードウェに起動させるできるデバイ • NetBSD 上でビルドできてでビルドできて、基本的にはハー NetBSD が動させるく
4 / 7 BitVisor のビルド • PATH に mingw-w64 のツー型ルチェインを追加を起動させる追加
– pkgsrc/cross/mingw-w64 を起動させるインを追加ストされた仮想化はー型ルするデバイ • cd bitvisor • gmake • gmake -C boot/loader • gmake -C boot/uefi-loader • これで、基本的にはハー bitvisor.efi 、基本的にはハー loadvmm.efi 、基本的にはハー loadvmm.dll ができるデバイ
5 / 7 USB メモリー型へのインを追加ストされた仮想化はー型ル • gpt create sd0 •
gpt add -s 128m -t efi -l EFIBOOT sd0 • newfs_msdos /dev/dk0 • mount_msdos /dev/dk0 /mnt • mkdir -p /mnt/EFI/boot • cp bitvisor.efi boot/uefi-loader/loadvmm.elf boot/uefi-loader/loadvmm.dll /mnt/EFI/boot
6 / 7 起動させる • cpuctl identify 0 するデバイと、基本的にはハー feature
から VMX 等が消が消 えているデバイ。 • BitVisor なし cpu0: features1 0x7ffafbbf<SSE3,PCLMULQDQ,DTES64,MONITOR,D S-CPL,VMX,EST,TM2> • BitVisor あり cpu0: features1 0x77fafb9f<SSE3,PCLMULQDQ,DTES64,MONITOR,D S-CPL,EST,TM2,SSSE3>
7 / 7 今後の課題の課題 • tools/log に logget-linux.c というのがあるデバイ •
これが BitVisor のログをゲストのを起動させるゲストされた仮想化はの Linux から取得すす るデバイことのできるデバイ Linux のカー型ネルモジにあるュー型ルのソー型 スコー型ド • 3-clause BSD ライセンを追加スなので、基本的にはハー NetBSD でも場合によってはログをゲストの を起動させる取得すできるデバイようにしたい