Lines Matching refs:device
55 * 'B' block device name
245 static void do_commit(Monitor *mon, const char *device)
249 all_devices = !strcmp(device, "all");
252 !strcmp(bdrv_get_device_name(drives_table[i].bdrv), device))
420 monitor_printf(mon, "device is not removable\n");
424 monitor_printf(mon, "device is locked\n");
439 monitor_printf(mon, "device not found\n");
445 static void do_change_block(Monitor *mon, const char *device,
451 bs = bdrv_find(device);
453 monitor_printf(mon, "device not found\n");
496 static void do_change(Monitor *mon, const char *device, const char *target,
499 if (strcmp(device, "vnc") == 0) {
502 do_change_block(mon, device, target, arg);
585 static void do_gdbserver(Monitor *mon, const char *device)
587 if (!device)
588 device = "tcp::" DEFAULT_GDBSTUB_PORT;
589 if (gdbserver_start(device) < 0) {
590 monitor_printf(mon, "Could not open gdbserver on device '%s'\n",
591 device);
592 } else if (strcmp(device, "none") == 0) {
595 monitor_printf(mon, "Waiting for gdb connection on device '%s'\n",
596 device);
1205 monitor_printf(mon, "boot device list now set to %s\n",
1208 monitor_printf(mon, "setting boot device list failed with "
1211 monitor_printf(mon, "no function defined to set boot device list for "
1678 "", "show block device statistics" },
1743 "", "show device tree" },
2494 monitor_printf(mon, "%s: block device name expected\n",
2905 /* block device name completion */