Displaying 2 results from an estimated 2 matches for "backing_hd".
2012 Dec 19
3
!!!!!help!I wouldn't be able to meet the deadline!(qcow format image file read operation in qemu-img-xen)[updated]
...pose is to cache the data that is read from the backingfile when the hvm is running .
Now what I concern is the following (which is in the /xen-4.1.2/tools/ioemu-qemu-xen/block-qcow.c) :
static void qcow_aio_read_cb(void *opaque, int ret)
{
........
if (!acb->cluster_offset) {
if (bs->backing_hd) {
/* read from the base image */
acb->hd_aiocb = bdrv_aio_read(bs->backing_hd, //*************
acb->sector_num, acb->buf, acb->n, qcow_aio_read_cb, acb); //**************
//I read what the acb->buf points to, but...
2008 Sep 10
2
Bug#490409: xen-3: diff for NMU version 3.2.1-2.1
...{
+ if (!drv) {
+ drv = find_image_format(filename);
+@@ -434,7 +454,7 @@ int bdrv_open2(BlockDriverState *bs, con
+ }
+ path_combine(backing_filename, sizeof(backing_filename),
+ filename, bs->backing_file);
+- if (bdrv_open(bs->backing_hd, backing_filename, 0) < 0)
++ if (bdrv_open2(bs->backing_hd, backing_filename, 0, &bdrv_raw) < 0)
+ goto fail;
+ }
+
+--- a/tools/ioemu/xenstore.c Thu May 15 09:59:19 2008 +0100
++++ b/tools/ioemu/xenstore.c Thu May 15 15:11:29 2008 +0100
+@@ -247,6 +247,8 @@ vo...