Re: [Qemu-devel] [RFC 22/24] qemu-io: make map command use new block mapping function

2011-08-01 Thread Devin Nakamura
On Mon, Aug 1, 2011 at 11:38 AM, Kevin Wolf wrote: > Am 29.07.2011 06:49, schrieb Devin Nakamura: >> bdrv_get_mapping will be used when it is defined, >> otherwise default to old behaviour. >> >> Signed-off-by: Devin Nakamura > > Hm, I think I would use a new command for this, like 'get_mapping'.

Re: [Qemu-devel] [RFC 22/24] qemu-io: make map command use new block mapping function

2011-08-01 Thread Kevin Wolf
Am 29.07.2011 06:49, schrieb Devin Nakamura: > bdrv_get_mapping will be used when it is defined, > otherwise default to old behaviour. > > Signed-off-by: Devin Nakamura Hm, I think I would use a new command for this, like 'get_mapping'. The old 'map' command can still be useful even for formats

[Qemu-devel] [RFC 22/24] qemu-io: make map command use new block mapping function

2011-07-28 Thread Devin Nakamura
bdrv_get_mapping will be used when it is defined, otherwise default to old behaviour. Signed-off-by: Devin Nakamura --- qemu-io.c | 23 ++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/qemu-io.c b/qemu-io.c index a553d0c..caf51fe 100644 --- a/qemu-io.c ++