From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbYUy-0004Ds-W5 for qemu-devel@nongnu.org; Thu, 22 Nov 2012 10:15:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbYUt-0006xO-ET for qemu-devel@nongnu.org; Thu, 22 Nov 2012 10:15:28 -0500 Received: from greensocs.com ([87.106.252.221]:60602 helo=s15328186.onlinehome-server.info) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbYUt-0006x6-7p for qemu-devel@nongnu.org; Thu, 22 Nov 2012 10:15:23 -0500 Message-ID: <50AE4182.2090506@greensocs.com> Date: Thu, 22 Nov 2012 16:15:14 +0100 From: =?UTF-8?B?S09OUkFEIEZyw6lkw6lyaWM=?= MIME-Version: 1.0 References: <1353595852-30776-1-git-send-email-fred.konrad@greensocs.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH v2 0/3] Virtio-refactoring. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: aliguori@us.ibm.com, e.voevodin@samsung.com, mark.burton@greensocs.com, qemu-devel@nongnu.org, stefanha@redhat.com, cornelia.huck@de.ibm.com, afaerber@suse.de Did you get the full patchset ? The 01 and 02 seems to be lost on the mailing list. :s. On 22/11/2012 16:08, Peter Maydell wrote: > On 22 November 2012 14:50, wrote: >> There are still two issues with the command line : >> >> * When I use ./qemu* -device virtio-blk -device virtio-pci >> It is said that no virtio-bus are present. > Does it work if you create the devices in the other order? Yes the other order works. > >> * The virtio-blk is plugged in the last created virtio-bus if no "bus=" >> option is present. It's an issue as we can only plug one virtio-device. > Anthony said this might Just Work (ie that we should find the > first non-full bus rather than just the first one), and if it > doesn't work it should be fairly straightforward to make it work. Yes, maybe it is implemented in the QOM ? Because when I use qdev_get_parent_bus(qdev) in virtio_blk_qdev_init, it gives me the last created Virtiobus. Fred.