xhyve hypervisor

xhyve,一个轻量级的 OS X 虚拟化解决方案。「xhyve, a lightweight OS X virtualization solution」

  • 所有者: machyve/xhyve
  • 平台: BSD, Linux, Windows 10
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

xhyve.xyz

About

The xhyve hypervisor is a port of bhyve to macOS. It is built on top of Hypervisor.framework in OS X 10.10 Yosemite and higher, runs entirely in userspace, and has no other dependencies. It can run FreeBSD, some Linux distributions, and Windows 10 and may gain support for other guest operating systems in the future.

License: BSD-2-Clause

Introduction: http://www.pagetable.com/?p=831

Requirements

  • OS X 10.10.3 Yosemite or later
  • a 2010 or later Mac (i.e. a CPU that supports EPT: sysctl kern.hv_support = 1)

Installation

If you have homebrew, then simply:

$ brew update
$ brew install --HEAD xhyve

The --HEAD in the brew command ensures that you always get the latest changes, even if the homebrew database is not yet updated. If for any reason you don't want that simply do brew install xhyve .

If you have MacPorts, then simply:

$ sudo port selfupdate
$ sudo port install xhyve

MacPorts is up to date with the GitHub ref listed in the port info

$ port info xhyve
xhyve @20170117 (emulators)
...

Otherwise:

Building

$ git clone https://github.com/machyve/xhyve.git
$ cd xhyve
$ xcodebuild

The resulting binary will be in build/Release/xhyve

Usage

$ xhyve -h

See below for steps to boot various OSs

What is bhyve?

bhyve is the FreeBSD hypervisor, roughly analogous to KVM + QEMU on Linux. It has a focus on simplicity.

It exposes the following peripherals to virtual machines:

  • Local x(2)APIC
  • IO-APIC
  • 8259A PIC
  • 8253/8254 PIT
  • HPET
  • PM Timer
  • RTC
  • PS/2 Keyboard and Mouse (via VNC)
  • PCI
    • host bridge
    • passthrough
    • UART
    • AHCI (i.e. HDD and CD)
    • VirtIO block device
    • VirtIO networking
    • VirtIO RNG
    • Intel e1000 (aka e82545)
    • VGA/Framebuffer (exposed with a minimal VNC server)
    • XHCI USB support with one device defined - a tablet for Windows guest support

bhyve architecture

                                                       Linux
           I/O        VM control       FreeBSD        NetBSD
                                                      OpenBSD

主要指标

概览
名称与所有者machyve/xhyve
主编程语言C
编程语言Makefile (语言数: 5)
平台BSD, Linux, Windows 10
许可证Other
所有者活动
创建于2015-06-10 04:45:42
推送于2022-01-29 15:33:45
最后一次提交2021-10-02 06:16:50
发布数2
最新版本名称v0.2.0 (发布于 )
第一版名称v0.1.0 (发布于 )
用户参与
星数6.5k
关注者数194
派生数353
提交数204
已启用问题?
问题数141
打开的问题数73
拉请求数51
打开的拉请求数16
关闭的拉请求数21
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?