From: Miroslav Rezanina Subject: Re: What opens /dev/cdrom when guest is started Date: Wed, 26 Aug 2009 11:09:16 -0400 (EDT) Message-ID: <699234773.266231251299356658.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andrew Lyon Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > From: "Andrew Lyon" > To: "Miroslav Rezanina" > Cc: xen-devel@lists.xensource.com > Sent: Wednesday, August 26, 2009 4:31:12 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna > Subject: Re: [Xen-devel] What opens /dev/cdrom when guest is started > > 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 Hi Andy, thanks for answer. Unfortunately this is not my case. There is only guest image mapped to loop device. Regards, Mirek > > > > > 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 > > -- Miroslav Rezanina Software Engineer - Virtualization Team - XEN kernel