From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnEC4-0000O9-NH for qemu-devel@nongnu.org; Thu, 13 Jun 2013 16:32:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnEC3-0005Bm-Ey for qemu-devel@nongnu.org; Thu, 13 Jun 2013 16:32:28 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:34098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnEC3-0005B6-76 for qemu-devel@nongnu.org; Thu, 13 Jun 2013 16:32:27 -0400 Message-ID: <51BA2C56.80106@msgid.tls.msk.ru> Date: Fri, 14 Jun 2013 00:32:22 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <51B979E6.1030504@msgid.tls.msk.ru> In-Reply-To: <51B979E6.1030504@msgid.tls.msk.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] solaris x86 in qemu? [bisected] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: seabios 13.06.2013 11:51, Michael Tokarev wrote: > Hello. > > In order to verify some build issues on solaris, I tried to install > sol10 x86 in a kvm vm. But unfortunately it does not work: after the > grub prompt and choosing "Solaris 10 x86" boot entry, the kernel > gets loaded (there's a row of dots displayed during that), next, > the following message gets displayed: > > SunOS Release 5.10 Version Generic_147148-26 64-bit > Copyright (c) 1983, 2013 Oracle and/or its affiliates. All rights reserved. > > and the guest stays there for a long time, spinning up 100% of its CPU, > and nothing more happens. > > The same happens when run with or without kvm (ie, tcg and kvm behaves > the same way). > > When run in kvm, kvm_stats shows just a few exits (about 600/sec) and > nothing more than that. > > I think that supporting solaris as _guest_ OS is an important goal > for qemu/kvm (as opposed to _host_). I tried to bisect this. It turns out that solaris x86 does not boot in qemu/kvm for quite long time already, namely, starting from this commit: commit 6b034aa138716a515c88f7894940d5d0aff2f3ed Author: Gerd Hoffmann Date: Tue Apr 17 10:51:41 2012 +0200 seabios: update to 1.7.0 Update roms/seabios and pc-bios/bios.bin to the 1.7.0 release. Most noticable new feature is virtio-scsi support. Signed-off-by: Gerd Hoffmann So I went on and tried to bisect seabios (previous version in qemu was 1.6.3.2, and it worked). So seabios bisection with qemu-1.1 points to this commit: commit 9d3d7cb4b163d3fbcba64a01c4fa42eb6bc53128 Author: Kevin O'Connor Date: Wed Sep 21 21:19:51 2011 -0400 Move code from PCI hotplug DSDT macros to methods. Simplify the hotplug code by moving the bulk of the logic out of the macros and into static method definitions. This also reduces the ACPI DSDT code size. Signed-off-by: Kevin O'Connor Now, I don't really understand what's going on there... ;) And since this is DSDT, using seabios 1.6 with recent qemu does not solve the problem, since DSDT is now external/separate. Thanks, /mjt