From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIbqY-0002FG-Rv for qemu-devel@nongnu.org; Thu, 21 Mar 2013 05:31:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIbqX-0005XQ-GH for qemu-devel@nongnu.org; Thu, 21 Mar 2013 05:31:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIbqX-0005XE-8Q for qemu-devel@nongnu.org; Thu, 21 Mar 2013 05:31:41 -0400 Message-ID: <514AD379.1020504@redhat.com> Date: Thu, 21 Mar 2013 10:31:37 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1363758968-28549-1-git-send-email-asias@redhat.com> <20130320075257.GA5913@stefanha-thinkpad.muc.redhat.com> <20130320083422.GC23497@hj.localdomain> In-Reply-To: <20130320083422.GC23497@hj.localdomain> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] virtio-blk: Set default serial id List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Asias He Cc: qemu-devel@nongnu.org, Stefan Hajnoczi , kvm@vger.kernel.org Il 20/03/2013 09:34, Asias He ha scritto: >> The solution is to do persistent naming either by really passing -device >> virtio-blk-pci,serial= or with udev inside the guest using the bus >> address (PCI devfn) like the new persistent network interface naming for >> Linux. > > '-virtio-blk-pci,serial=' specified by user would be persistent, but pci > id might be changed as well. Yes, but '-device virtio-blk-pci,addr=10.0' would be persistent too. :) Also, management may try to keep addresses persistent (libvirt does). Paolo