From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl5uv-0005uo-01 for qemu-devel@nongnu.org; Tue, 18 Dec 2012 17:45:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tl5uq-00034f-5G for qemu-devel@nongnu.org; Tue, 18 Dec 2012 17:45:40 -0500 Received: from indium.canonical.com ([91.189.90.7]:39972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl5up-00034a-Tj for qemu-devel@nongnu.org; Tue, 18 Dec 2012 17:45:36 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Tl5uo-00032L-0w for ; Tue, 18 Dec 2012 22:45:34 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id F1C772E807E for ; Tue, 18 Dec 2012 22:45:33 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 18 Dec 2012 22:37:25 -0000 From: john fisher <1089006@bugs.launchpad.net> Sender: bounces@canonical.com References: <20121211164913.12221.91398.malonedeb@soybean.canonical.com> <20121212195959.25882.72762.malone@gac.canonical.com> Message-Id: <50D0F025.10304@jpfisher.net> Errors-To: bounces@canonical.com Subject: Re: [Qemu-devel] [Bug 1089006] Re: Qemu scrambles order of eth devices in vm Reply-To: Bug 1089006 <1089006@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org For the benefit of 1) others and 2) me when I forget how this works- I did find a solution in formatting the xml file. If you leave the vnets out completely, see file below, the generic xml fil= e will cooperate with libvirt and qemu and order the VM's eth devices as they are ordered on the hypervisor. (note: the macvtap entries seen below may also not be needed, sound and usb not tested) ## sample xml file for libvirt 1.0.0 showing some bridges and some SRIOV ports too ## sample sample 524288 524288 1 hvm destroy restart restart /usr/bin/kvm
=
=
=
=