From: "Kasai Takanori" Subject: [PATCH ]Fix of floppy disk configuration check Date: Thu, 16 Nov 2006 19:28:15 +0900 Message-ID: <363301c70969$ee2c86a0$dab2220a@VF03007L> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_3630_01C709B5.5CD4D0D0" 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 This is a multi-part message in MIME format. ------=_NextPart_000_3630_01C709B5.5CD4D0D0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit Hi all, We were testing on VTx domain. The error occurs as follows if the floppy disk is specified. config should like: fda = '/dev/sdb' # xm create -f test.conf Error: Floppy file /dev/sdb does not exist. ^^^^^^^^ => USB Floppy device I think that it is problem in the interpretation part of the floppy disk definition. This patch fixes it. Best regards, Takanori Kasai ------=_NextPart_000_3630_01C709B5.5CD4D0D0 Content-Type: application/octet-stream; name="floppy.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="floppy.patch" # HG changeset patch=0A= # User kasai.takanori@jp.fujitsu.com =0A= # Node ID b3e4d6c6cf4e3ae251f8108b4805bda581976b3b=0A= # Parent 6e22ba7217201f3c3d7219d824f7aa80cd431c36=0A= Fix of floppy disk configuration check=0A= =0A= Signed-off-by: Takanori Kasai =0A= Signed-off-by: Tomonari Horikoshi =0A= =0A= diff -r 6e22ba721720 -r b3e4d6c6cf4e tools/python/xen/xend/image.py=0A= --- a/tools/python/xen/xend/image.py Wed Nov 15 09:44:12 2006 +0000=0A= +++ b/tools/python/xen/xend/image.py Thu Nov 16 19:10:23 2006 +0900=0A= @@ -328,7 +328,7 @@ class HVMImageHandler(ImageHandler):=0A= =0A= if a in ['fda', 'fdb' ]:=0A= if v:=0A= - if not os.path.isfile(v):=0A= + if not os.path.isabs(v):=0A= raise VmError("Floppy file %s does not exist." = % v)=0A= log.debug("args: %s, val: %s" % (a,v))=0A= =0A= ------=_NextPart_000_3630_01C709B5.5CD4D0D0 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 ------=_NextPart_000_3630_01C709B5.5CD4D0D0--