WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] PV driver 'tap:aio' support

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] PV driver 'tap:aio' support
From: Wayne Gong <wayne.gong@xxxxxxxxxx>
Date: Thu, 09 Apr 2009 17:33:53 +0800
Delivery-date: Thu, 09 Apr 2009 02:34:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)
Hi,

Sorry to post again about windows PV driver 'tap:aio' backend support issue in xen 3.1 series.

It is seems that my windows pv driver cannot reinitialize 'tap:aio' backend block device. Here is the scenario.

First initialize,
1, Frontend initialize ring ref, allocate event channel and set them to xenstore.
2, Set frontend state to 2.
3, Backend will set 'sectors', 'sector-size' and something else to xenstore.
4, Frontend driver will set state to 4.
5, backend set state to 4. Such block device works fine.

Disable such device in windows device manager
1, Frontend set state to 5 and wait backend state changing to 5.
2, Frontend set state to 6 and wait backend state changing to 6.
3, Release ring ref, event channel and related memory.
4, Frontend set state to 1 and wait backend state changing to 2.

Enable such device in windows device manager
1, Frontend reinitialize ring ref, allocate event channel and set them to xenstore
2, Set frontend state to 2,
3, Backend will set 'sectors', 'sector-size' and something else to xenstore.
4, Frontend set state to 4.
5, backend set state to 4. Such block device cannot work. Frontend cannot get any response for R/W command.

For a 'file' backend, all things go well. Does anybody can tell me the difference between 'file' and 'tap:aio' backend in this case? Anything wrong or I missed? Any advice is appreciate.

Best regards,
Wayne Gong
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>