RE: About the code to detect a CD-ROM disk is unmounted
Yu, Xiaoyang <xiaoyang.yu <at> intel.com>
2006-12-01 08:21:05 GMT
Great! Thanks a lot for the information! I found the function definition in the files you pointed out, by
looking into the latest CVS snapshot.
It seems that code changed a lot since version 0.8.2 released. So if I still use version 0.8.2, is there some
files or function I should look at instead? Thanks a lot!
From: qemu-devel-bounces+xiaoyang.yu=intel.com <at> nongnu.org
[mailto:qemu-devel-bounces+xiaoyang.yu=intel.com <at> nongnu.org] On Behalf Of Lonnie Mendez
Sent: 2006年11月30日 15:08
To: qemu-devel <at> nongnu.org
Subject: Re: [Qemu-devel] About the code to detect a CD-ROM disk is unmounted
On Thu, 2006-11-30 at 15:03 +0800, Yu, Xiaoyang wrote:
> Hi guys,
> I am using QEMU with Xen and Intel VT, and I have a question about
> detecting the CD-ROM disk unmount event: When user ejects CD-ROM in
> the guest domain, how can QEMU detect this event?
> I know if we use “info block” command before and after a CD-ROM disk
> is ejected, we can see the difference. But I want to add code to
> handle the CD-ROM unmount event, so I need to know which source file I