Re: [Qemu-devel] [PATCH 3/3] HMP: show internal snapshots on a single device

2012-12-24 Thread Wenchao Xia
>> >> +static void do_info_snapshots_blk(Monitor *mon, const char *device) >> +{ >> +BlockDriverState *bs; >> +QEMUSnapshotInfo *sn_tab, *sn; >> +int nb_sns, i; >> +char buf[256]; >> + >> +/* find the target bs */ >> +bs = bdrv_find(device); >> +if (!bs) { >> +

Re: [Qemu-devel] [PATCH 3/3] HMP: show internal snapshots on a single device

2012-12-21 Thread Markus Armbruster
Wenchao Xia writes: > This patch add an option to show snapshots on a single block > device, so some snapshot do not exist on other block device > could be shown. > > Signed-off-by: Wenchao Xia > --- > monitor.c |6 +++--- > savevm.c | 55 +++

[Qemu-devel] [PATCH 3/3] HMP: show internal snapshots on a single device

2012-12-19 Thread Wenchao Xia
This patch add an option to show snapshots on a single block device, so some snapshot do not exist on other block device could be shown. Signed-off-by: Wenchao Xia --- monitor.c |6 +++--- savevm.c | 55 ++- 2 files changed, 57 inserti