From: Masaki Kanno Subject: Re: [PATCH 4/4] [XEND] add scsihost interface Date: Sun, 15 Jul 2007 13:34:36 +0900 Message-ID: <81C7C69972F3B5kanno.masaki@jp.fujitsu.com> References: <78C7C540C3707Dt.horikoshi@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <78C7C540C3707Dt.horikoshi@jp.fujitsu.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: Tomonari Horikoshi , xen-devel List-Id: xen-devel@lists.xenproject.org Hi Tomonari, I have two comments. XendDevices.py: @@ -36,6 +36,7 @@ class XendDevices: controllers = { 'vbd': blkif.BlkifController, + 'scsihost': scsihostif.SCSIHostController, 'vif': netif.NetifController, 'vtpm': tpmif.TPMifController, 'pci': pciif.PciController, The added line includes a tab. main.py: @@ -2213,6 +2262,10 @@ def xm_block_detach(args): except: pass detach(args, 'tap') + +def xm_scsihost_detach(args): + arg_check(args, "xm_scsihost_detach", 2, 3) + detach(args, 'scsihost-detach', 'scsihost') def xm_network_detach(args): if serverType == SERVER_XEN_API: The number of argument of detach() is two. 'scsihost-detach' is unnecessary. Best regards, Kan > >[PATCH 4/4] [XEND] add scsihost interface > > >Best regards, >Tomonari Horikoshi > > >-------------------------------text/plain------------------------------- >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel