From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtZTx-0003oh-Ae for qemu-devel@nongnu.org; Wed, 26 Nov 2014 05:06:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtZTr-00070D-NB for qemu-devel@nongnu.org; Wed, 26 Nov 2014 05:05:57 -0500 Received: from indium.canonical.com ([91.189.90.7]:56296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtZTr-0006zz-G9 for qemu-devel@nongnu.org; Wed, 26 Nov 2014 05:05:51 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1XtZTq-0002ZJ-Ok for ; Wed, 26 Nov 2014 10:05:50 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id B01062E80C1 for ; Wed, 26 Nov 2014 10:05:50 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 26 Nov 2014 09:54:53 -0000 From: Tim Dawson Sender: bounces@canonical.com References: <20141121223040.7362.48987.malonedeb@gac.canonical.com> Message-Id: <20141126095454.27095.96685.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1395217] Re: Networking in qemu 2.0.0 and beyond is not compatible with Open Solaris (Illumos) 5.11 Reply-To: Bug 1395217 <1395217@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Bisected merrily away, and this is where it definitively begins to fail . . . To verify, I checked out both commits, and confirmed change in function at this point. I attempted a revoke of this commit on my clone to test, but too many merge errors to make that a simple task, so that was not done. commit ef02ef5f4536dba090b12360a6c862ef0e57e3bc Author: Eduardo Habkost Date: Wed Feb 19 11:58:12 2014 -0300 target-i386: Enable x2apic by default on KVM When on KVM mode, enable x2apic by default on all CPU models. Normally we try to keep the CPU model definitions as close as the real CPUs as possible, but x2apic can be emulated by KVM without host CPU support for x2apic, and it improves performance by reducing APIC access overhead. x2apic emulation is available on KVM since 2009 (Linux 2.6.32-rc1), there's no reason for not enabling x2apic by default when running KVM. Signed-off-by: Eduardo Habkost Acked-by: Michael S. Tsirkin Signed-off-by: Andreas F=C3=83=C2=A4rber :040000 040000 ebdc1ecd08cb507db62cc465696925a4cde6174f e83d9c32f821714600c= 48594 15911910d4b37c0d M hw :040000 040000 9064bc796128ba1380b67a86af9718dcc1022f0d 5cb337c72259b547808= 56806 8f56f4abfa628579 M target-i386 -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1395217 Title: Networking in qemu 2.0.0 and beyond is not compatible with Open Solaris (Illumos) 5.11 Status in QEMU: New Bug description: The networking code in qemu in versions 2.0.0 and beyond is non- functional with Solaris/Illumos 5.11 images. Building 1.7.1, 2.0.0, 2.0.2, 2.1.2,and 2.2.0rc1with the following standard Slackware config: # From Slackware build tree . . . = ./configure \ --prefix=3D/usr \ --libdir=3D/usr/lib64 \ --sysconfdir=3D/etc \ --localstatedir=3D/var \ --enable-gtk \ --enable-system \ --enable-kvm \ --disable-debug-info \ --enable-virtfs \ --enable-sdl \ --audio-drv-list=3Dalsa,oss,sdl,esd \ --enable-libusb \ --disable-vnc \ --target-list=3Dx86_64-linux-user,i386-linux-user,x86_64-softmmu,i386-s= oftmmu \ --enable-spice \ --enable-usb-redir = = And attempting to run the same VM image with the following command (or vi= a virt-manager): macaddress=3D"DE:AD:BE:EF:3F:A4" qemu-system-x86_64 nex4x -cdrom /dev/cdrom -name "Nex41" -cpu Westmere -machine accel=3Dkvm -smp 2 -m 4000 -net nic,macaddr=3D$macaddress -net = bridge,br=3Db r0 -net dump,file=3D/usr1/tmp/ -drive file=3Dnex4x_d1 -drive fi= le=3Dnex4x_d2 -enable-kvm Gives success on 1.7.1, and a deaf VM on all subsequent versions. Notable in validating my config, is that a Windows 7 image runs cleanly with networking on *all* builds, so my configuration appears to be good - qemu just hates Solaris at this point. Watching with wireshark (as well as pulling network traces from qemu as noted above) it appears that the notable difference in the two configs is that for some reason, Solaris gets stuck arping for it's own interface on startup, and never really comes on line on the network. If other hosts attempt to ping the Solaris instance, they can successfully arp the bad VM, but not the other way around. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1395217/+subscriptions