Re: [Qemu-devel] [PATCH V5 1/5] snapshot: distinguish id and name in load_tmp

2013-11-21 Thread Wenchao Xia
于 2013/11/19 19:20, Kevin Wolf 写道: Am 10.11.2013 um 23:03 hat Wenchao Xia geschrieben: Since later this function will be used so improve it. The only caller of it now is qemu-img, and it is not impacted by introduce function bdrv_snapshot_load_tmp_by_id_or_name() that call

Re: [Qemu-devel] [PATCH V5 1/5] snapshot: distinguish id and name in load_tmp

2013-11-19 Thread Kevin Wolf
Am 10.11.2013 um 23:03 hat Wenchao Xia geschrieben: Since later this function will be used so improve it. The only caller of it now is qemu-img, and it is not impacted by introduce function bdrv_snapshot_load_tmp_by_id_or_name() that call bdrv_snapshot_load_tmp() twice to keep old search

[Qemu-devel] [PATCH V5 1/5] snapshot: distinguish id and name in load_tmp

2013-11-10 Thread Wenchao Xia
Since later this function will be used so improve it. The only caller of it now is qemu-img, and it is not impacted by introduce function bdrv_snapshot_load_tmp_by_id_or_name() that call bdrv_snapshot_load_tmp() twice to keep old search logic. bdrv_snapshot_load_tmp_by_id_or_name() return int to