From: Andrew Lyon Subject: Re: What opens /dev/cdrom when guest is started Date: Wed, 26 Aug 2009 15:31:12 +0100 Message-ID: References: <948867262.254341251293535927.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <948867262.254341251293535927.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Miroslav Rezanina Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Aug 26, 2009 at 2:32 PM, Miroslav Rezanina wrote: > Hi, > when I start HVM guest that has assigned physical cdrom device (/dev/cdrom), I see there are two handles open. One is open by qemu-dm and is used by guest. However, what holds second handle? This is hold for whole time guest is running. Try losetup -a , it may have been setup as a loop device for use with stubdom, that certainly happens with iso images Andy > > Does anybody knows what opens /dev/cdrom during guest creation? > > Regards, > Miroslav Rezanina > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >