From: Wei Liu Subject: Re: blktap, qdisk, xl cd-eject, and xencommons Date: Tue, 30 Apr 2013 11:22:22 +0100 Message-ID: <20130430102222.GA5813@zion.uk.xensource.com> References: <517F96BE.1050705@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <517F96BE.1050705@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: Wei Liu , Ian Campbell , Stefano Stabellini , xen-devel , Dave Scott , Jan Beulich , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org On Tue, Apr 30, 2013 at 11:02:38AM +0100, George Dunlap wrote: [...] > The second is problems with xl cd-insert and eject, initially reported > by Fabio Fantoni, and then (accidentally) reproduced by me. The problem > turns out to be libxl using blktap for cdroms. Basically, AFAICT, the > whole cd-insert cd-eject thing completely doen't work if blktap is used > to provide it; and it's not a simple fix. > > To address these issue for 4.3, I would like to propose: > > 1. Have libxl default to qdev for everything, except for things that it > needs blktap for (like vhd, IIRC) > > 2. Simply remove the hard-coded modprobe from xencommons > Presumably you only mean "modprobe blktap ..."? > 3. Add code into libxl to do modprobe-ing as part of the "does this > system support blktap" check. > > But I think #3 can probably wait until 4.4. > I don't quite understand 2, 3 and the statment "#3 can probably wait until 4.4". If blktap is necessary for VHD, we can not simply remove the modprobe while not adding infrastructure in libxl to automatically load blktap. Wei. > Thoughts? > > -George