From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YheSP-0000t7-Mr for qemu-devel@nongnu.org; Mon, 13 Apr 2015 09:31:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YheSK-0004Qx-Kr for qemu-devel@nongnu.org; Mon, 13 Apr 2015 09:31:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YheSK-0004Qm-DN for qemu-devel@nongnu.org; Mon, 13 Apr 2015 09:31:16 -0400 Message-ID: <552BC51E.5020203@redhat.com> Date: Mon, 13 Apr 2015 15:31:10 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <5527ABA3.1020109@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Changing media on network disks (was Re: can't bot from scsi http cdrom) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vasiliy Tolstov Cc: libvir-list@redhat.com, qemu-devel On 13/04/2015 14:34, Vasiliy Tolstov wrote: > Thanks! This is works fine. Last question - does it possible to create > empty cdrom with type='network'? > I'm try this, but libvrit complains with error: > > > >
> > No, unfortunately not because "virsh change-media" wouldn't be able to convert its argument to the required libvirt XML. I think you would need a new virsh change-media option, e.g. --xml, that takes a element instead of a source path + target path pair. However, I am not a libvirt developer. Paolo