]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commit
Allow changing CD for /dev/xvdX devices. xen-3.4.3-rc4
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 18 Mar 2010 16:50:44 +0000 (16:50 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 8 Apr 2010 16:01:08 +0000 (17:01 +0100)
commit1e704908329b9cfc9fd653b977671629cfab22a8
tree57c068c292d4463623896eaf164ec5becce1ccef
parentf9efbe4af919aa80fd9a9f7122105b2cf33cab9e
Allow changing CD for /dev/xvdX devices.

We found the issue being not able to change CD on the HVM-Domain.
It is possible on the /dev/hdc device,
but it is impossible on the/dev/xvdc device.

We want to work it as all /dev/xvdX devices on the HVM-domain
 as well as on the PV-domain.

Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
The execution method is as follows.
----------------------------------------------------------------------
Domain configuration file:
 disk = ["tap:aio:/<guest image file>,xvda,w", ",xvdc:cdrom,r"]

Operation that assign CD:
 # xm block-configure <domain> file:<iso image> xvdc:cdrom r

Operation that releases CD
 # xm block-configure <domain> '' xvdc:cdrom r
----------------------------------------------------------------------
(cherry picked from commit 73cef2cca413c17f314724c66194315038ea66c3)
xenstore.c