Qemu on DragonFly

Matthew Dillon dillon at apollo.backplane.com
Thu Mar 12 18:32:15 PDT 2009


:Thanks to corecode for patches. I pushed these into upstream and current 
:trunk (rev 6790) compiles and works on DragonFly now. You have to disable 
:BSD usermode emulation targets though (--disable-bsd-user).
:
:Please test, report the problems (with patches, please ;) etc. I'll try to 
:take care of pkgsrc ports as well if it will be updated to 0.10.0 and 
:also trying to push patches into upstreams' stable branch.
:
:
:happy hacking,
:
:-- 
:Hasso Tepper

    I'm trying to get qemu to compile but I don't think I've got the
    right one.  I found a qemu-0.10.0.tar.gz but when I try to configure
    it it seems to want to use some sort of linux KVM feature that we
    do not have, as well as graphics libraries we do not have.

    I'd like to compile up a native software-emulation set that does
    not have any hardware, KVM, or graphics requirements.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>

apollo# ./configure --disable-bsd-user 
sdl-config: not found
sdl-config: not found
gnome-config: not found
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /netboot1/qemu-0.10.0/qemu-0.10.0
C compiler        gcc
Host C compiler   gcc
ARCH_CFLAGS       -m32
make              make
install           install
host CPU          i386
host big endian   no
target list       i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user spa
rc32plus-linux-user 
gprof enabled     no
sparse enabled    no
profiler          no
static build      no
-Werror enabled   no
SDL support       no
curses support    yes
mingw32 support   no
Audio drivers     oss
Extra audio cards ac97 es1370 sb16
Mixer emulation   no
VNC TLS support   no
kqemu support     yes
brlapi support    no
Documentation     no
NPTL support      no
vde support       no
AIO support       yes
Install blobs     yes
KVM support       no - (linux/kvm.h: No such file or directory, #error Invalid KVM version, #error Missing KVM capability KVM_CAP_USER_MEMORY, #error Missing KVM capability KVM_CAP_SET_TSS_ADDR, #error Missing KVM capability KVM_CAP_DESTROY_MEMORY_REGION_WORKS)
fdt support       no
The error log from compiling the libSDL test is: 
/tmp/qemu-conf--26692-.c:1:17: error: SDL.h: No such file or directory
/tmp/qemu-conf--26692-.c: In function 'main':
/tmp/qemu-conf--26692-.c:3: error: 'SDL_INIT_VIDEO' undeclared (first use in this function)
/tmp/qemu-conf--26692-.c:3: error: (Each undeclared identifier is reported only once
/tmp/qemu-conf--26692-.c:3: error: for each function it appears in.)
ERROR: QEMU requires SDL or Cocoa for graphical output
To build QEMU without graphical output configure with --disable-gfx-check
Note that this will disable all output from the virtual graphics card
except through VNC or curses.
apollo# 





More information about the Users mailing list