Lines Matching refs:bs1
1243 BlockDriverState *bs, *bs1;
1318 bs1 = NULL;
1319 while ((bs1 = bdrv_next(bs1))) {
1320 if (bdrv_can_snapshot(bs1)) {
1322 ret = bdrv_snapshot_delete(bs1, old_sn->id_str);
1326 bdrv_get_device_name(bs1));
1330 sn->vm_state_size = (bs == bs1 ? vm_state_size : 0);
1331 ret = bdrv_snapshot_create(bs1, sn);
1334 bdrv_get_device_name(bs1));
1346 BlockDriverState *bs, *bs1;
1365 bs1 = bs;
1367 if (bdrv_can_snapshot(bs1)) {
1368 ret = bdrv_snapshot_goto(bs1, name);
1370 if (bs != bs1)
1376 bdrv_get_device_name(bs1));
1381 name, bdrv_get_device_name(bs1));
1385 " '%s'\n", ret, bdrv_get_device_name(bs1));
1389 if (bs == bs1)
1393 } while ((bs1 = bdrv_next(bs)));
1424 BlockDriverState *bs, *bs1;
1433 bs1 = NULL;
1434 while ((bs1 = bdrv_next(bs1))) {
1435 if (bdrv_can_snapshot(bs1)) {
1436 ret = bdrv_snapshot_delete(bs1, name);
1441 bdrv_get_device_name(bs1));
1444 "'%s'\n", ret, bdrv_get_device_name(bs1));
1452 BlockDriverState *bs, *bs1;
1463 bs1 = NULL;
1464 while ((bs1 = bdrv_next(bs1))) {
1465 if (bdrv_can_snapshot(bs1)) {
1466 if (bs == bs1)
1467 monitor_printf(out, " %s", bdrv_get_device_name(bs1));