From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: some questions about the new blktap2 module Date: Mon, 21 Dec 2009 11:16:56 +0200 Message-ID: <20091221091656.GK16033@reaktio.net> References: <000a01ca821c$1b993100$e538a60a@china.huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <000a01ca821c$1b993100$e538a60a@china.huawei.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: fanliang Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Dec 21, 2009 at 05:00:56PM +0800, fanliang wrote: > Hi, all: > I have some questions when read the code of the new blktap2 module. > One is in function tapdisk_vbd_map_device ( ) . In this function , the > userspace proccess tapdisk2 used ioctl like this : > ioctl(ring->fd, BLKTAP_IOCTL_SETMODE, BLKTAP_MODE_INTERPOSE); > From the context , we can get that "ring->fd " is the file handle of the > ring-device [/dev/xen/blktap-2/blktap[minor] ] . In the blktap2 driver > codes , I find that blktap_ring_ioctl() didn't implement the > BLKTAP_IOCTL_SETMODE ioctl case . I used xen-unstable code package and > linux-2.6.18-xen-3.4.2 code package. > So my question is : > 1, Is blktap2 code in xen-unstable not match with linux-2.6.18-xen-3.4.2 > ? > 2, Any body used VHD disk with blktap2 ? > Hello, Afaik blktap2 is not yet ready/working on pv_ops dom0 tree (xen-unstable uses pv_ops dom0). Jeremy can possibly comment more about the status of blktap2. -- Pasi