What opens /dev/cdrom when guest is started
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.
Does anybody knows what opens /dev/cdrom during guest creation?
Regards,
Miroslav Rezanina
Quoted 2 lines · Miroslav Rezanina
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
Quoted 12 lines
Does anybody knows what opens
/dev/cdromduring guest creation?Regards,
Miroslav Rezanina_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 10 lines
From: "Andrew Lyon" <[email protected]>
To: "Miroslav Rezanina" <[email protected]>
Cc: [email protected]
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/cdromwhen guest is startedQuoted 2 lines · Miroslav Rezanina
Hi,
when I start HVM guest that has assigned physical cdrom device
Quoted 8 lines
(
/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
Quoted 13 lines
Quoted 13 lines
Does anybody knows what opens
/dev/cdromduring guest creation?Regards,
Miroslav Rezanina_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 2 lines
Miroslav Rezanina Software Engineer - Virtualization Team - XEN kernel