]> xenbits.xensource.com Git - qemu-xen-4.0-testing.git/commit
Fix to eject cdrom on HVM Domain
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 4 Sep 2009 15:19:54 +0000 (16:19 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 4 Sep 2009 15:19:54 +0000 (16:19 +0100)
commit2836e73adcd994de071f4eec1aa538a5ca849118
treeb1feada1da0454f946cb64f23c965b3f52a8a32f
parent8f09f47af0a074c97351b53c178267d670d24686
Fix to eject cdrom on HVM Domain

We tried to eject cdrom(/dev/hdc) on HVM Domain.
But, cdrom media are not ejected from the cdrom device on HostOS.

The module to eject the cdrom device has already been implemented in
qemu-dm.
 But, all devices are opened as raw device for VBD.
Therefore, the module to eject the cdrom device is not work.

The cdrom device was corrected to open as a physical device on HostOS.
When eject is executed on HVM Domain, cdrom media are ejected from the
cdrom device on HostOS.

This patch corrected the problem.
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
xenstore.c