1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
QEMU Version 1.4.0 - SLIRP hangs VM
(Note: problem is not present in version 1.3.0)
Stacktrace: please see attached gdb log file.
Steps to reproduce:
1. gdb -x debug-qemu.gdb testing/qemu-1.4.0/ppc64-softmmu/qemu-system-ppc64
Contents of debug-qemu.gdb:
run -L ./testing/qemu-1.4.0/pc-bios -name "[DEBUG] Software und System-Entwicklung IBM POWER7" -cpu POWER7_v2.3 -M pseries -m 1024 -rtc base=utc -nodefaults -vga std -monitor vc -serial vc -netdev type=user,id=mynet0,hostfwd=tcp:127.0.0.1:9011-10.0.2.11:22 -device virtio-net-pci,netdev=mynet0 -drive file=images/suse-ppc.img,if=virtio,index=0,media=disk,cache=unsafe -kernel images/iso/suseboot/vmlinux -append "root=/dev/mapper/system-root ro audit=0 selinux=0 apparmor=0" -initrd images/iso/suseboot/initrd.img -drive if=scsi,bus=0,unit=0,media=cdrom
2. build information
QEMU: ppc64 full emulation, version 1.4.0
Host OS: Windows XP
Guest OS: openSUSE 12.2 kernel 3.4.6-2.10-ppc64
PATH=/usr/i686-pc-mingw32/sys-root/mingw/bin:$PATH
PKG_CONFIG_LIBDIR=/usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig
THREADS=4
export PKG_CONFIG_LIBDIR
sed -i 's/--static-libs/--static --libs/' configure
CC=i686-pc-mingw32-gcc ./configure \
--target-list=ppc64-softmmu \
--enable-debug \
--enable-sdl \
--static \
--enable-fdt && \
sed -i 's/ -Wl,--dynamicbase//g; s/-Wl,--nxcompat //g;' config-host.mak && \
make -j$THREADS && {
echo "renaming binw.exe to bin.exe..."
for i in `echo $TARGET_LIST | tr ',' ' '`; do
BINARCH=`echo $i | sed 's/-softmmu//'`
mv $i/qemu-system-${BINARCH}w.exe \
$i/qemu-system-$BINARCH.exe
done
}
3. From VM:
Command to hang VM: zypper dup
Last message before VM hang: Retrieving repository 'openSUSE-12.2-12.2-0' metadata -----------------------[|]
|