bacam / qemu

QEMU with support for CHERI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Qemu-CHERI

CHERI ISA support for Qemu.

Building and Installing qemu-system-cheri

These notes are based on using a Mac OS X for the host system. Most of this should apply to a FreeBSD or Linux host as well.

  1. Install the Xcode toolchain and homebrew. Install the following dependencies, if you haven't already:
    $ brew install pkg-config

    $ brew install libtool

    $ brew install glib

    $ brew link glib
  1. Clone the qemu-cheri repository (which should default to the 'qemu-cheri' branch):
    $ git clone http://github.com/CTSRD-CHERI/qemu
  1. Configure qemu. This only configures the 'qemu-system-cheri' target and assumes that it will be installed in '/usr/local'.
    $ cd qemu

    $ ./configure --target-list=cheri-softmmu --prefix=/usr/local --disable-linux-user --disable-linux-aio --disable-kvm --disable-xen --extra-cflags=-g
  1. Make and install:
    $ make

    $ make install

About

QEMU with support for CHERI

License:Other


Languages

Language:C 91.6%Language:C++ 3.1%Language:Python 1.9%Language:Shell 1.1%Language:Haxe 0.8%Language:Assembly 0.6%Language:Perl 0.4%Language:Makefile 0.3%Language:Objective-C 0.2%Language:NSIS 0.0%Language:GLSL 0.0%Language:GDB 0.0%