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

Re: [Xen-devel] [Patch] for expanding the vbd devices

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [Patch] for expanding the vbd devices
From: Hidetoshi Nishi <nishi.hidetoshi@xxxxxxxxxxxxxx>
Date: Fri, 10 Nov 2006 21:26:43 +0900
Delivery-date: Fri, 10 Nov 2006 04:32:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <53C702EF6E271Fnishi.hidetoshi@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <53C702EF6E271Fnishi.hidetoshi@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all.

Thank you for applying the patch.

I have one question.

The patch I sent includes extending the timer of device creation.
But this change is not merged, it has some problem.

If you have some comment, please let me know.


Thanks a lot,                                    Nishi

----------------------------------------------------------------
--- a/tools/python/xen/xend/server/DevController.py     Thu Oct 26 18:
03:43 2006 +0900
+++ b/tools/python/xen/xend/server/DevController.py     Thu Oct 26 18:
22:09 2006 +0900
@@ -25,7 +25,7 @@ from xen.xend.xenstore.xstransact import
 from xen.xend.xenstore.xstransact import xstransact, complete
 from xen.xend.xenstore.xswatch import xswatch
 
-DEVICE_CREATE_TIMEOUT = 100
+DEVICE_CREATE_TIMEOUT = 600
 HOTPLUG_STATUS_NODE = "hotplug-status"
 HOTPLUG_ERROR_NODE  = "hotplug-error"
 HOTPLUG_STATUS_ERROR = "error"

-------------------------------------------------------------------

>From:     Hidetoshi Nishi <nishi.hidetoshi@xxxxxxxxxxxxxx>
>To:       xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject:  [Xen-devel] Patch for expanding the vbd devices
>
>
>Hi all.
>
>My name is Hidetoshi Nishi, work for FUJITSU.
>
>I make a patch for expanding the vbd devices up to 256.
>
>And I tested the patch, I have following problem.
>
>If the guest's kernel has SCSI driver already, guest's kernel gets major 
>number when guest is initialized, even though guest config file not 
>includes sdx device.
>And after guest is initialied, I try to attach vbd using block-attach as 
>sdx, attached vbd can't get major number of SCSI, because SCSI driver 
>get the major number already. Then I can't attach vbd.
>
>Accordingly I made SCSI driver to be moduled, and I tried to test the 
>patch.
>
>I try to increse vbd devices up to 120, and it seems be O.K.
>
>
>Best regards,                                       Nishi
>
>
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel

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