[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/5] block: allow block jobs in any arbitrary no
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 1/5] block: allow block jobs in any arbitrary node |
Date: |
Tue, 24 Mar 2015 16:46:20 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 03/23/2015 09:12 AM, Alberto Garcia wrote:
> Currently, block jobs can only be owned by root nodes. This patch
> allows block jobs to be in any arbitrary node, by making the following
> changes:
>
> - Block jobs can now be identified by the node name of their
> BlockDriverState in addition to the device name. Since both device
> and node names live in the same namespace there's no ambiguity.
>
> - The "device" parameter used by all commands that operate on block
> jobs can also be a node name now.
>
> - The node name is used as a fallback to fill in the BlockJobInfo
> structure and all BLOCK_JOB_* events if there is no device name for
> that job.
>
> - When querying the list of existing block jobs, all nodes are
> searched, not just the ones at the root.
>
> Signed-off-by: Alberto Garcia <address@hidden>
> ---
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v2 0/5] Support streaming to an intermediate layer, Alberto Garcia, 2015/03/23
- [Qemu-devel] [PATCH 2/5] block: never cancel a streaming job without running stream_complete(), Alberto Garcia, 2015/03/23
- [Qemu-devel] [PATCH 1/5] block: allow block jobs in any arbitrary node, Alberto Garcia, 2015/03/23
- Re: [Qemu-devel] [PATCH 1/5] block: allow block jobs in any arbitrary node,
Eric Blake <=
- [Qemu-devel] [PATCH 3/5] block: Support streaming to an intermediate layer, Alberto Garcia, 2015/03/23
- [Qemu-devel] [PATCH 5/5] docs: Document how to stream to an intermediate layer, Alberto Garcia, 2015/03/23
- [Qemu-devel] [PATCH 4/5] block: Add QMP support for streaming to an intermediate layer, Alberto Garcia, 2015/03/23