]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commit
implement cdrom eject from the guest xen-3.4.3-rc1
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 4 Jan 2010 16:21:55 +0000 (16:21 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 12 Jan 2010 17:55:48 +0000 (17:55 +0000)
commit27698181c3dec576c6abbfc38f289f175eb9ec66
treea770fe00cafb93e4db4893e00b7ae2678a0e06d3
parent07fd010f8c4d5ae19ecdb202819a03579009da43
implement cdrom eject from the guest

Hi all,
this patch allows a guest to eject the cdrom: when qemu detects that a
cdrom eject request ahs been issued by the guest, it writes eject to the
corresponding xenstore frontend, so that the toolstack can take care of
removing the current cdrom frontend\backend couple and create an empty one
instead.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
(cherry picked from commit 9bac5357507958e2eabcf96bce40cca336fa46ac)
hw/ide.c
qemu-xen.h
xenstore.c