Skip to content
qemu-kvm for illumos-kvm
C C++ Haxe Assembly Perl Makefile Other
Find file
Latest commit 1291c76 Apr 8, 2016 @rmustacc rmustacc HVM-846 enable preadv/pwritev again
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Failed to load latest commit information.
QMP Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
audio
bin Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
block HVM-641 fix regression introduced between qemu 0.12.5 and 0.13.0 whic… Sep 8, 2011
bsd-user Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
compat/sys
darwin-user
default-configs
docs
etc/qemu
fpu
fsdev Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
gdb-xml Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
hw
kvm
linux-user Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
net
pc-bios OS-4975 ship iPXE ROM for PXE boot of VirtIO NICs in KVM guests Nov 19, 2015
scripts
share/qemu
slirp Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
sysconfigs/target Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
target-alpha Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
target-arm
target-cris Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
target-i386 HVM-588 Make sure copyright is updated in kvm-cmd Aug 9, 2011
target-ia64
target-m68k Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
target-microblaze Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
target-mips Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
target-ppc Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
target-s390x Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
target-sh4
target-sparc
tcg
tests Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
ui
.gitignore [HVM-489] build kvm-cmd with png support for VNC. Aug 2, 2011
.gitmodules Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
CODING_STYLE Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
COPYING
COPYING.LIB Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
Changelog
HACKING
LICENSE
MAINTAINERS
Makefile
Makefile.dis
Makefile.hw Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
Makefile.joyent OS-4220 mancheck is a flag day machine Apr 24, 2015
Makefile.objs
Makefile.target
Makefile.user
README.md
README.qemu
TODO Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
VERSION Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
a.out.h
acl.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
acl.h
aes.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
aes.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
aio.c
alpha-dis.c
alpha.ld Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
arch_init.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
arch_init.h
arm-dis.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
arm-semi.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
arm.ld Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
async.c
balloon.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
balloon.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
block-migration.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
block-migration.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
block.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
block.h
block_int.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
blockdev.c
blockdev.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
bswap.h
bt-host.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
bt-host.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
bt-vhci.c
buffered_file.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
buffered_file.h
build.sh HVM-798 qemu could know about vnd Mar 20, 2014
cache-utils.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
cache-utils.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
check-qdict.c
check-qfloat.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
check-qint.c
check-qjson.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
check-qlist.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
check-qstring.c
cmd.c
cmd.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
compatfd.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
compatfd.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
config.h
configure HVM-846 enable preadv/pwritev again Apr 12, 2016
console.c
console.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
cpu-all.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
cpu-common.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
cpu-defs.h
cpu-exec.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
cpus.c
cpus.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
cris-dis.c
ctf.sh HVM-785 kvm-cmd build should use CTFMERGE and CTFCONVERT Oct 25, 2013
cursor.c
cursor_hidden.xpm Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
cursor_left_ptr.xpm
cutils.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
def-helper.h
device_tree.c
device_tree.h
dis-asm.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
disas.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
disas.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
dma-helpers.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
dma.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
dyngen-exec.h
elf.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
envlist.c
envlist.h
exec-all.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
exec.c HVM-671 qemu cannot start due to a failing mlock() Oct 7, 2011
gdbstub.c
gdbstub.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
gen-icount.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
hmp-commands.hx
host-utils.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
host-utils.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
hpet.h
hppa-dis.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
hppa.ld
i386-dis.c
i386.ld Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
ia64-dis.c
ia64.ld
ia64intrin.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
input.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
ioport-user.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
ioport.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
ioport.h
iorange.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
iov.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
iov.h
json-lexer.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
json-lexer.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
json-parser.c
json-parser.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
json-streamer.c
json-streamer.h
kvm-all.c HVM-588 Make sure copyright is updated in kvm-cmd Aug 9, 2011
kvm-stub.c
kvm-tpr-opt.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
kvm.h
libfdt_env.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
linux-aio.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
m68k-dis.c
m68k-semi.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
m68k.ld Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
manifest
microblaze-dis.c
migration-exec.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
migration-fd.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
migration-tcp.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
migration-unix.c
migration.c
migration.h
mips-dis.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
mips.ld
module.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
module.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
monitor.c
monitor.h
nbd.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
nbd.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
net-checksum.c
net.c [HVM-636] Add support for more than one DHCP server Aug 31, 2011
net.h HVM-588 Make sure copyright is updated in kvm-cmd Aug 9, 2011
notify.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
notify.h
os-posix.c
os-win32.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
osdep.c
osdep.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
oslib-posix.c
oslib-win32.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
path.c
pci-ids.txt
pflib.c
pflib.h
poison.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
posix-aio-compat.c
ppc-dis.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
ppc.ld Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
ppc64.ld
qbool.c
qbool.h
qdict-test-data.txt Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qdict.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qdict.h
qemu-aio.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-barrier.h HVM-750 guest virtio drivers are racy with respect to interrupts Sep 24, 2012
qemu-char.c
qemu-char.h
qemu-common.h
qemu-config.c
qemu-config.h
qemu-doc.texi
qemu-error.c
qemu-error.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-img-cmds.hx Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-img.c
qemu-img.texi Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-io.c
qemu-kvm-ia64.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-kvm-x86.c
qemu-kvm.c HVM-588 Make sure copyright is updated in kvm-cmd Aug 9, 2011
qemu-kvm.h HVM-588 Make sure copyright is updated in kvm-cmd Aug 9, 2011
qemu-lock.h
qemu-log.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-malloc.c
qemu-nbd.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-nbd.texi Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-objects.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-option.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-option.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-options.h
qemu-options.hx
qemu-os-posix.h
qemu-os-win32.h
qemu-queue.h
qemu-sockets.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-tech.texi
qemu-thread.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-thread.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-timer-common.c HVM-711 need an interval timer-based alarm timer backend Jan 3, 2012
qemu-timer.c HVM-717 multiticks error message mistakenly implies spasmodic contrac… Feb 28, 2012
qemu-timer.h
qemu-tool.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu-x509.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu.sasl Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qemu_mdb.c HVM-782 want walkers for various bits of nic state Sep 9, 2013
qemu_socket.h
qerror.c
qerror.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qfloat.c
qfloat.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qint.c
qint.h
qjson.c
qjson.h
qlist.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qlist.h
qmp-commands.hx Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qobject.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
qstring.c
qstring.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
range.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
readline.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
readline.h
rules.mak HVM-785 kvm-cmd build should use CTFMERGE and CTFCONVERT Oct 25, 2013
rwhandler.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
rwhandler.h
s390-dis.c
s390.ld
savevm.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
sh4-dis.c
simpletrace.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
simpletrace.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
softmmu-semi.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
softmmu_defs.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
softmmu_exec.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
softmmu_header.h
softmmu_template.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
sparc-dis.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
sparc.ld Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
sparc64.ld Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
spice-qemu-char.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
sysemu.h HVM-758 Add a qmp entry for hw setup complete Nov 19, 2012
targphys.h
tcg-runtime.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
thunk.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
thunk.h Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
trace-events
translate-all.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
uboot_image.h
usb-bsd.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
usb-linux.c Initial commit of d32e8d0b8d9e0ef7cf7ab2e74548982972789dfc from qemu-kvm Jun 24, 2011
usb-stub.c
version.rc
vgafont.h
vl.c
x86_64.ld

README.md

  ___  _____ __  __ _   _
 / _ \| ____|  \/  | | | |
| | | |  _| | |\/| | | | |
| |_| | |___| |  | | |_| |
 \__\_\_____|_|  |_|\___/

For full documentation on all the various options for QEMU please see the html docs.

BUILDING

Preparing:

Edit build.sh and change the --kerneldir option to point to the directory of the kvm repository and change the --prefix option to whatever you want.

$ ./build.sh
$ make install

USING

Follow the qemu documentation for all of the various options available. The rest of this will be examples and specific pieces about how to use things with a VNIC and a ZVOL. The following is a sample configuration for qemu running a Linux VM.

$ /smartdc/bin/qemu-system-x86_64 \
    -enable-kvm \
    -nographic \
    -drive file=smartdc.iso,media=cdrom,if=ide \
    -boot order=cd \
    -smp 4 \
    -m 1024 \
    -vnc 0.0.0.0:0 \
    -net nic,vlan=0,name=net0,model=virtio,macaddr=90:b8:d0:c0:ff:ee\
    -net vnic,vlan=0,name=net0,ifname=eth0,macaddr=90:b8:d0:c0:ff:ee,\
         ip=10.88.88.50,netmask=255.255.255.0,gateway_ip=10.88.88.2,\
         server_ip=10.88.88.200,dns_ip0=8.8.4.4,dns_ip1=8.8.4.4,\
     hostname=host1,lease_time=3600 \
    -no-hpet \
    -chardev socket,id=serial0,path=/tmp/vm.console,server,nowait \
    -serial chardev:serial0 \
    -drive file=/dev/zvol/rdsk/zones/rec-8,if=virtio,index=0

ZVOLs

It is highly desirable to be able to give a virtual machine a zvol to use as a disk. This is accomplished via the -drive option. Simply pass the block device that corresponds to the zvol.

To create a zvol use a command similar to:

$ zfs create -V 10g tank/vm-hdd

VNICs

We have added an option to have a virtual machine's network interface card directly correspond to a Crossbow vnic on the system. The -net vnic has several mandatory arguments:

  • vlan must be specified and correspond to a single -net nic line
  • name must be specified and correspond to a single -net nic line
  • macaddr must be specified if the MAC Address of the VNIC does not match the MAC address on the -net nic line.
  • ifname must be specified and correspond to the name of the crossbow vnic.

To set up the crossbow vnic, simply create it. There is no need to plumb it. The device will be opened up in promiscuous mode.

To create a vnic you'll want something akin to:

$ dladm create-vnic -l e1000g0 vnic0

The -net vnic option also supports configuring networking on the virtual machine via dhcp. In this mode, qemu acts as a DHCP server for the virtual machine. To enable vnic dhcp, specify the following arguments:

  • ip (eg: 192.168.0.2) must be specified in order to enable dhcp
  • netmask (eg: 255.255.255.0) must be specified
  • gateway_ip (eg: 192.168.0.1) must be specified
  • server_ip (eg: 192.168.0.3) is optional. This allows specifying the IP address of qemu's DHCP server.
  • dns_ip (eg: 8.8.4.4) is optional, and allows specifying the DNS server the virtual machine will use. The default value is 8.8.8.8.
  • dns_ip0, dns_ip1, dns_ip2, and dns_ip3 are optional, and allow specifying a list of DNS servers, rather than just one. These options override the dns_ip option.
  • hostname (eg: myhostname) is optional. This defaults to no hostname.
  • lease_time (eg: 3600) is optional, and allows specifying the DHCP lease time in seconds. The default value is 86400 (or 1 day).

The following is a sample -net vnic line for running with DHCP:

-net vnic,vlan=0,name=net0,ifname=eth0,macaddr=90:b8:d0:c0:ff:ee, \
    ip=10.88.88.50,netmask=255.255.255.0,gateway_ip=10.88.88.2, \
    server_ip=10.88.88.200,dns_ip=8.8.4.4,hostname=host1,lease_time=3600
Something went wrong with that request. Please try again.