WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] change cd iso image in hvm but loop not changed?

To: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Subject: Re: [Xen-devel] change cd iso image in hvm but loop not changed?
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Mon, 27 Jul 2009 12:15:56 +0100
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Mon, 27 Jul 2009 04:16:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f4527be0907270317s54611ee9we7b86d17e3761089@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f4527be0907260700j7e641ae6r8592c49401c52d41@xxxxxxxxxxxxxx> <alpine.DEB.2.00.0907271059130.23756@kaball-desktop> <f4527be0907270317s54611ee9we7b86d17e3761089@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Mon, 27 Jul 2009, Andrew Lyon wrote:
> 
> I still dont understand why it is necessary to loopback mount the iso
> image if I can change it without the new image being loopback mounted,
> what is the loop device used for?
> 

When the vbd backend is configured by xend the iso is loopback mounted.
If you use stubdoms you are going to use the vbd backend to read from
cdrom instead of opening the iso directly.
Therefore in the stubdom case writing to params is not enough to change
the cdrom, what you would have to do is using block-detach and
block-attach to remove the old backend and create a new one for the new
cdrom.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>