Received: from eggs.gnu.org ([2001:4830:134:3::10]:57117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0uEr-0004g0-Jd for qemu-devel@nongnu.org; Wed, 08 Jan 2014 09:36:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0uEl-00084E-L5 for qemu-devel@nongnu.org; Wed, 08 Jan 2014 09:36:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:2172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0uEl-000845-DA for qemu-devel@nongnu.org; Wed, 08 Jan 2014 09:36:03 -0500 From: Markus Armbruster References: <1387503694-11203-1-git-send-email-agraf@suse.de> <87lhzelc2k.fsf@blackfin.pond.sub.org> <52B6EC8F.8080107@redhat.com> <87k3ebddw0.fsf@blackfin.pond.sub.org> <52CC3275.9010502@redhat.com> <87iotvk863.fsf@blackfin.pond.sub.org> <52CD5AEA.4050905@redhat.com> Date: Wed, 08 Jan 2014 15:35:56 +0100 In-Reply-To: <52CD5AEA.4050905@redhat.com> (Paolo Bonzini's message of "Wed, 08 Jan 2014 15:04:26 +0100") Message-ID: <8761pufsmr.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2] qdev: Keep global allocation counter per bus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Crosthwaite , Alexander Graf , Anthony Liguori , QEMU Developers Paolo Bonzini writes: > Leaving only those that will be affected by the patch: You omitted akita, borzoi, connex, mainstone, nuri, smdkc210, spitz, terrier, tosa, verdex, z2, s390-virtio. Why won't they be affected? You also omitted the machines that I can't get to start, but I'm not overly worried by them, because they're all either Xen, where I don't expect differences to plain x86, or ppcemb, where Alex gets to clean up any mess he might make. > Il 07/01/2014 18:34, Markus Armbruster ha scritto: >> target machine bus id times >> aarch64 n800 i2c-bus.0 2 >> aarch64 n810 i2c-bus.0 2 >> arm n800 i2c-bus.0 2 >> arm n810 i2c-bus.0 2 > > Devices are created explicitly on one of the two buses, using > s->mpu->i2c[0], so no change to the guest. > >> aarch64 vexpress-a15 virtio-mmio-bus.0 4 >> aarch64 vexpress-a9 virtio-mmio-bus.0 4 >> aarch64 virt virtio-mmio-bus.0 32 >> arm vexpress-a15 virtio-mmio-bus.0 4 >> arm vexpress-a9 virtio-mmio-bus.0 4 >> arm virt virtio-mmio-bus.0 32 > > With Alex's patch we get the ability to plug the device in a particular > slot. If anyone was using virtio-mmio-bus.0 explicitly, they get the > first slot instead of the 4th or 32nd. Bugfix. Doesn't this break migration? If yes, do we care? >> aarch64 xilinx-zynq-a9 usb-bus.0 2 >> arm xilinx-zynq-a9 usb-bus.0 2 >> mips64el fulong2e usb-bus.0 2 > > With Alex's patch we get the ability to plug the device in a particular > controller. If anyone was using usb-bus.0 explicitly, they get the > "other" controller. Guest visible change and not really a bugfix but it > doesn't break working configurations (the position of USB devices should > not be part of a device tree or firmware blob). It may break migration. > >> i386 isapc ide.0 2 >> x86_64 isapc ide.0 2 > > (Ugly) fix in Alex's patch. The macio approach (using QOM children) is > better. No need for a perfect fix now. I'm fine with Alex's ugly fix. >> mips mips ide.0 2 >> mips64 mips ide.0 2 >> mips64el mips ide.0 2 >> mipsel mips ide.0 2 > > Not affected, the bus is not stored anywhere. Isn't command line use and migration affected, just like everywhere else? >> ppc g3beige ide.0 2 >> ppc mac99 ide.0 2 >> ppc prep ide.0 2 >> ppc64 g3beige ide.0 2 >> ppc64 mac99 ide.0 2 >> ppc64 prep ide.0 2 > > Trusting Alex's tests here. Our analysis should be recorded in the commit message. With that done, I could R-by the patch.