BSDCan2019 - 1.8

BSDCan 2019
The Technical BSD Conference

Kamil Rytarowski
Day Talks #2 - 18 May - 2019-05-18
Room DMS 1140
Start time 11:15
Duration 01:00
ID 1054
Event type Lecture
Track Hacking
Language used for presentation English

qemu with hardware acceleration on NetBSD

Intel HAXM as a VTx backend on NetBSD

HAXM is an open source qemu hardware acceleration engine for Intel CPUs, which has been ported to the NetBSD kernel.

HAXM (Intel Hardware Accelerated Execution Manager) has been developed as a hardware-assisted virtualization engine (hypervisor) that uses Intel Virtualization Technology (Intel VTx) to speed up Android development in the Microsoft Windows and Darwin environment.

In 2017 this virtualization technology has been open-sourced and subsequently improved, acquiring support for Linux as a host and all major Operating Systems (NetBSD, Windows, Linux, FreeBSD, DragonflyBSD, FREEDOS, Haiku, Minix3, Darwin etc) in at least a single variation as guest.

This talk discusses the technology and the process of getting a usable version on NetBSD as a host, which is probably the first functional Type 2 hypervisor to work (and today not the only one) on NetBSD.

I will discuss the HAXM in the context of adding NetBSD support, both as host and guest.