From: "Kasai Takanori" Subject: Re: [PATCH] fix free of event channel in blkfront Date: Thu, 1 Feb 2007 13:22:35 +0900 Message-ID: <198201c745b8$a2062840$dab2220a@VF03007L> References: <023701c73385$dbfd0e50$dab2220a@VF03007L><071e01c733b6$0845e010$dab2220a@VF03007L> <45C156EC.7020400@ncic.ac.cn> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: tgh Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Hi > I am using the xen-3.0.3 on paravirtualVM > and I try to use xm block-attach dom6 /vm1/tp.img sda2 w > It seems to be ok, no error , > but in the dom6 there is no sda2 > and xm block-detach dom6 2050,it does not work > and xm block-list dom6 as follows , The block-attach command seems to have failed because your use is wrong. # xm block-attach dom6 /vm1/tp.img sda2 w ^^^^^^^^^^^ When backend device is a file, it is necessary to specify file. Moreover, when it is a physical device, it is necessary to specify phy. The example is as follows. # xm block-attach dom6 file:/vm1/tp.img sda2 w # xm block-attach dom6 phy:/dev/sdb sda2 w The block-detach command works correctly, if the block-attach command succeeds. Best Regards, -- Takanori Kasai