[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] ioemu: need probe backing file format


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Wei Kong <weikong.cn@xxxxxxxxx>
  • Date: Tue, 18 Aug 2009 10:42:12 +0800
  • Delivery-date: Mon, 17 Aug 2009 19:42:46 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GTBnaDTuYwJz/yyWSft77i0E6R+jedeNG+Jx/fQyYl6v+v5mmsxrHKV5vazsXNMhmS ybSwgwvFUvwwDe2uPVAOsUGu99RH8XYU4L5cO7JC0xvyILivNmoJnF4kV21HhUuJi9BH h/K8zaiDVA5ggEkdOK8jrGHcDSN4s0MjSEh5Q=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Revert changeset 17646

Due to qcow2 also has backing file.

Signed-off-by: Wei Kong <weikong.cn@gmail.com>

--- xen-3.4.0-testing/tools/ioemu-remote/block.cÂÂ 2009-08-18 18:35:42.000000000 +0800
+++ xen-3.4.0-testing/tools/ioemu-remote/block.cÂÂÂÂÂÂÂ 2009-08-18 18:35:46.000000000 +0800
@@ -450,7 +450,7 @@ int bdrv_open2(BlockDriverState *bs, con
ÂÂÂÂÂÂÂÂ bs->backing_hd = bdrv_new("");
ÂÂÂÂÂÂÂÂ path_combine(backing_filename, sizeof(backing_filename),
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ filename, bs->backing_file);
-ÂÂÂÂÂÂÂ ret = bdrv_open2(bs->backing_hd, backing_filename, open_flags, &bdrv_raw);
+ÂÂÂÂÂÂÂ ret = bdrv_open(bs->backing_hd, backing_filename, open_flags, &bdrv_raw);
ÂÂÂÂÂÂÂÂ if (ret < 0) {
ÂÂÂÂÂÂÂÂÂÂÂÂ bdrv_close(bs);
ÂÂÂÂÂÂÂÂÂÂÂÂ return ret;

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.