From mboxrd@z Thu Jan 1 00:00:00 1970 From: eXeC001er Subject: [PATCH] blktap/blktap2: Fix for incorrect parse disk configuration (xen-unstable) Date: Sun, 11 Jul 2010 12:16:03 +0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016e65aef963ce06e048b183fcc 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: Xen-devel List-Id: xen-devel@lists.xenproject.org --0016e65aef963ce06e048b183fcc Content-Type: multipart/alternative; boundary=0016e65aef963ce066048b183fca --0016e65aef963ce066048b183fca Content-Type: text/plain; charset=UTF-8 Current source-code work if use following configuration: config example: disk=['tap:vhd:/path/../disk.img,xvda,w'] but not work if use: config example: disk=['tap:tapdisk:vhd:/path/../disk.img,xvda,w'] Error during start DomU: File 'vhd:/path/.../disk.img' doesn't exist. this patch fix this bug. Signed-off-by: eXeC001er Thanks. --0016e65aef963ce066048b183fca Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Current source-code work if use following configuration:
con= fig example: =C2=A0 =C2=A0disk=3D['tap:= vhd:/path/../disk.img,xvda,w']

but not work if use:
config example: =C2=A0 = =C2=A0disk=3D['tap:tapdisk:vhd:/path/..= /disk.img,xvda,w']
Error during start DomU: =C2=A0 =C2=A0= File 'vhd:/path/.../disk.img' doesn't exist.<= /span>

this patch fix this bug.

Signed-off-b= y: eXeC001er <execooler@gmail.com>

Thanks.
--0016e65aef963ce066048b183fca-- --0016e65aef963ce06e048b183fcc Content-Type: text/x-patch; charset=US-ASCII; name="blktap_incorrect_parse.patch" Content-Disposition: attachment; filename="blktap_incorrect_parse.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gbhlzwrk0 ZGlmZiAtciBhNjcyYWY2OThiYzMgdG9vbHMvcHl0aG9uL3hlbi91dGlsL2Jsa2lmLnB5Ci0tLSBh L3Rvb2xzL3B5dGhvbi94ZW4vdXRpbC9ibGtpZi5weQlGcmkgSnVsIDA5IDEyOjM1OjU4IDIwMTAg KzAxMDAKKysrIGIvdG9vbHMvcHl0aG9uL3hlbi91dGlsL2Jsa2lmLnB5CVN1biBKdWwgMTEgMTI6 MTM6MzQgMjAxMCArMDQwMApAQCAtODcsNyArODcsMTAgQEAKICAgICAgICAgICAgICAgICBmbiA9 ICIvZGV2LyVzIiAlKGZuLCkKICAgICAgICAgICAgICAgIAogICAgICAgICBpZiB0eXAgaW4gKCJ0 YXAiLCAidGFwMiIpOgotICAgICAgICAgICAgKHRhcHR5cGUsIGZuKSA9IGZuLnNwbGl0KCI6Iiwg MSkKKyAgICAgICAgICAgIGlmIGZuLmNvdW50KCI6IikgPT0gMToKKyAgICAgICAgICAgICAgICAo dGFwdHlwZSwgZm4pID0gZm4uc3BsaXQoIjoiLCAxKQorICAgICAgICAgICAgZWxzZToKKyAgICAg ICAgICAgICAgICAodGFwdHlwZSwgZm4pID0gZm4uc3BsaXQoIjoiLCAyKVsxOjNdCiAgICAgcmV0 dXJuIChmbiwgdGFwdHlwZSkKIAogZGVmIGJsa2Rldl91bmFtZV90b19maWxlKHVuYW1lKToK --0016e65aef963ce06e048b183fcc Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --0016e65aef963ce06e048b183fcc--