From: Lonnie Mendez <lmendez19@austin.rr.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] About the code to detect a CD-ROM disk is unmounted
Date: Thu, 30 Nov 2006 01:08:15 -0600 [thread overview]
Message-ID: <1164870495.19394.21.camel@vaio> (raw)
In-Reply-To: <A3C277AA6499944188602D8A7168B9A7012CD3A2@bjsmsx401>
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
> should take a look. It seems to be not “monitor.c”. Any comment will
> be appreciated. Thanks in advance!
hw/ide.c, block.c:bdrv_eject()
next prev parent reply other threads:[~2006-11-30 7:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-30 7:03 [Qemu-devel] About the code to detect a CD-ROM disk is unmounted Yu, Xiaoyang
2006-11-30 7:08 ` Lonnie Mendez [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-12-01 8:21 Yu, Xiaoyang
2006-12-01 9:01 ` Lonnie Mendez
2006-12-04 7:42 Yu, Xiaoyang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1164870495.19394.21.camel@vaio \
--to=lmendez19@austin.rr.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).