All of lore.kernel.org
 help / color / mirror / Atom feed
* some questions about the new blktap2 module
@ 2009-12-21  9:00 fanliang
  2009-12-21  9:16 ` Pasi Kärkkäinen
  0 siblings, 1 reply; 10+ messages in thread
From: fanliang @ 2009-12-21  9:00 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 751 bytes --]

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 ?
 
Thanks ,
Lyman Van

[-- Attachment #1.2: Type: text/html, Size: 1883 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread
* some questions about the new blktap2 module
@ 2009-12-21  9:00 fanliang
  0 siblings, 0 replies; 10+ messages in thread
From: fanliang @ 2009-12-21  9:00 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1749 bytes --]

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 ?
 
Thanks ,
Lyman Van

  _____  

发件人: fanliang [mailto:fanliang@huawei.com] 
发送时间: 2009年12月21日 16:44
收件人: 'xen-devel@lists.xensource.com'
抄送: 'cqj@huawei.com'
主题: some questions about the new blktap2 module


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 ?
 
Thanks ,
Lyman Van

[-- Attachment #1.2: Type: text/html, Size: 3992 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-12-21 21:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-21  9:00 some questions about the new blktap2 module fanliang
2009-12-21  9:16 ` Pasi Kärkkäinen
2009-12-21 12:10   ` 答复: [Xen-devel] " fanliang
2009-12-21 12:25     ` ??????: " Pasi Kärkkäinen
2009-12-21 12:48       ` Jan Beulich
2009-12-21 21:01         ` Ian Pratt
2009-12-21 21:10           ` Pasi Kärkkäinen
2009-12-21 12:49       ` fanliang
2009-12-21 19:06   ` Jeremy Fitzhardinge
  -- strict thread matches above, loose matches on Subject: below --
2009-12-21  9:00 fanliang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.