Created attachment 373884 [details] full strace log On start qemu has problem with accessing X11 socket /tmp/.X11-unix/X0, and goes into infinitive loop with messages recvmsg(14, 0x7fff66c42dc0, 0) = -1 EAGAIN (Resource temporarily unavailable) Re-emerging without gtk flag removes this bug. short strace log: socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 14 connect(14, {sa_family=AF_LOCAL, sun_path=@"/tmp/.X11-unix/X0"}, 20) = 0 getpeername(14, {sa_family=AF_LOCAL, sun_path=@"/tmp/.X11-unix/X0"}, [20]) = 0 getsockname(14, {sa_family=AF_LOCAL, NULL}, [2]) = 0 fcntl(14, F_GETFL) = 0x2 (flags O_RDWR) fcntl(14, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl(14, F_SETFD, FD_CLOEXEC) = 0 poll([{fd=14, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=14, revents=POLLOUT}]) writev(14, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"", 0}, {"MIT-MAGIC-COOKIE-1", 18}, {"\0\0", 2}, {"\224\26}\321g=\215\255\254<\32}\351-\345\312", 16}, {"", 0}], 6) = 48 recvfrom(14, 0x7f2701d73670, 8, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) Full strace atteched.
Steps to reproduce: 1. emerge qemu 1.6.1 or 1.7.0 (other versions probably affected too) with gtk flag. 2. download qemu test image linux-0.2 from http://wiki.qemu.org/Testing#QEMU_disk_images 3. run qemu-kvm -hda linux-0.2.img 4. you will not be able to load further then bios version string. (actually you will get randomly filled bios version). Expected: 4. Load lilo, then boot linux to user shell.
i've tested with qemu-2.0.0 and it works for me wget http://wiki.qemu.org/download/linux-0.2.img.bz2 bunzip2 linux-0.2.img.bz2 sudo qemu-system-i386 -enable-kvm -hda linux-0.2.img sudo qemu-system-x86_64 -enable-kvm -hda linux-0.2.img