[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [PATCH COLO-Block v6 04/16] block: Parse "
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [Qemu-devel] [PATCH COLO-Block v6 04/16] block: Parse "backing_reference" option to reference existing BDS |
Date: |
Thu, 18 Jun 2015 11:50:25 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Jun 18, 2015 at 04:49:09PM +0800, Wen Congyang wrote:
> Usage:
> -drive file=xxx,id=Y, \
> -drive
> file=xxxx,id=X,backing_reference.drive_id=Y,backing_reference.hidden-disk.*
>
> It will create such backing chain:
> {virtio-blk dev 'Y'}
> {virtio-blk dev 'X'}
> |
> |
> |
> |
> v
> v
>
> [base] <- [mid] <- ( Y ) <----------------- (hidden target)
> <--------------- ( X )
>
> v ^
> v ^
> v ^
> v ^
> >>>> drive-backup sync=none >>>>
>
> X's backing file is hidden-disk, and hidden-disk's backing file is Y.
> Disk Y may be opened or reopened in read-write mode, so A block backup
> job is automatically created: source is Y and target is hidden disk.
> Active disk X, hidden disk, and Y are all on the same AioContext.
The command-line option name confused me. I expected "backing_reference" to
result in:
Y <- X
The backup block job and hidden target makes this option more than just
referencing the backing device.
The name "backing.backup-reference" is clearer to me, but I think Kevin
might have more idea for you on this patch.
pgpQfA5_bsq1u.pgp
Description: PGP signature
- Re: [Qemu-block] [Qemu-devel] [PATCH COLO-Block v6 07/16] Add new block driver interface to connect/disconnect the remote target, (continued)
- Re: [Qemu-block] [Qemu-devel] [PATCH COLO-Block v6 07/16] Add new block driver interface to connect/disconnect the remote target, Dr. David Alan Gilbert, 2015/06/24
- Re: [Qemu-block] [Qemu-devel] [PATCH COLO-Block v6 07/16] Add new block driver interface to connect/disconnect the remote target, Wen Congyang, 2015/06/24
- Re: [Qemu-block] [Qemu-devel] [PATCH COLO-Block v6 07/16] Add new block driver interface to connect/disconnect the remote target, Dr. David Alan Gilbert, 2015/06/26
- Re: [Qemu-block] [Qemu-devel] [PATCH COLO-Block v6 07/16] Add new block driver interface to connect/disconnect the remote target, Wen Congyang, 2015/06/28
- Re: [Qemu-block] [Qemu-devel] [PATCH COLO-Block v6 07/16] Add new block driver interface to connect/disconnect the remote target, Wen Congyang, 2015/06/23
- Re: [Qemu-block] [Qemu-devel] [PATCH COLO-Block v6 07/16] Add new block driver interface to connect/disconnect the remote target, Wen Congyang, 2015/06/23
[Qemu-block] [PATCH COLO-Block v6 04/16] block: Parse "backing_reference" option to reference existing BDS, Wen Congyang, 2015/06/18
- Re: [Qemu-block] [Qemu-devel] [PATCH COLO-Block v6 04/16] block: Parse "backing_reference" option to reference existing BDS,
Stefan Hajnoczi <=
[Qemu-block] [PATCH COLO-Block v6 09/16] Introduce a new -drive option to control whether to connect to remote target, Wen Congyang, 2015/06/18
[Qemu-block] [PATCH COLO-Block v6 10/16] NBD client: connect to nbd server later, Wen Congyang, 2015/06/18
[Qemu-block] [PATCH COLO-Block v6 08/16] NBD client: implement block driver interfaces to connect/disconnect NBD server, Wen Congyang, 2015/06/18
[Qemu-block] [PATCH COLO-Block v6 13/16] quorum: implement block driver interfaces for block replication, Wen Congyang, 2015/06/18
[Qemu-block] [PATCH COLO-Block v6 11/16] Add new block driver interfaces to control block replication, Wen Congyang, 2015/06/18
[Qemu-block] [PATCH COLO-Block v6 12/16] skip nbd_target when starting block replication, Wen Congyang, 2015/06/18
[Qemu-block] [PATCH COLO-Block v6 14/16] introduce a new API qemu_opts_absorb_qdict_by_index(), Wen Congyang, 2015/06/18
[Qemu-block] [PATCH COLO-Block v6 15/16] quorum: allow ignoring child errors, Wen Congyang, 2015/06/18