问题
Recently I downloaded qemu, and ran configure, make and make install. when I run
qemu-system-sparc linux-0.2.img
I just see a message below
VNC server running on `::1:5900'
At this state, when I open vncviewer window by typing vncviewer :5900
, then I see the window.
The window shows the emulated screen
Welcome to OpenBIOS v1.1 build on Mar 10 2014 08:41
Type 'help' for detailed information
Trying disk...
No valid state has been set by load or init-program
0>
How can I make the vnc window come up automatically? and how do I supply right linux image?
when I build my linux image, I can get sImage.elf or sImage.bin which contains the file system too.
回答1:
I solved this problem by installing sdl-devel to my CentOS. I reran ./configure --target-list=sparc-softmmu --enable-sdl and did make, make install and the problem is gone!
回答2:
first
according to what @Chan Kim said, but there is nothing about qemu-system-i386
and qemu-system-x86_64
in qemu/bin
.
then
run ./configure --prefix=/data/local/qemu --target-list=i386-softmmu,arm-softmmu,x86_64-softmmu --disable-vnc --enable-sdl
, then I find all about qemu-system.
来源:https://stackoverflow.com/questions/24408248/first-time-running-qemu-vnc-viewer-not-open-automatically