Home
last modified time | relevance | path

Searched refs:cmdline (Results 1 – 24 of 24) sorted by relevance

/illumos-kvm-cmd/QMP/
H A Dqmp-shell88 def __build_cmd(self, cmdline): argument
95 cmdargs = cmdline.split()
106 def _execute_cmd(self, cmdline): argument
108 qmpcmd = self.__build_cmd(cmdline)
136 cmdline = raw_input(prompt)
140 if cmdline == '':
146 return self._execute_cmd(cmdline)
184 def __cmd_passthrough(self, cmdline, cpu_index = 0): argument
189 def _execute_cmd(self, cmdline): argument
190 if cmdline.split()[0] == "cpu":
[all …]
/illumos-kvm-cmd/hw/
H A Dcris-boot.c52 if (li->cmdline) { in main_cpu_reset()
89 if (li->cmdline && (kcmdline_len = strlen(li->cmdline))) { in cris_load_image()
94 pstrcpy_targphys("cmdline", 0x40000000, 256, li->cmdline); in cris_load_image()
H A Dpetalogix_s3adsp1800_mmu.c45 uint32_t cmdline; member
54 env->regs[5] = boot_info.cmdline; in main_cpu_reset()
201 boot_info.cmdline = high + 4096; in petalogix_s3adsp1800_init()
203 pstrcpy_targphys("cmdline", boot_info.cmdline, 256, kernel_cmdline); in petalogix_s3adsp1800_init()
206 boot_info.fdt = boot_info.cmdline + 4096; in petalogix_s3adsp1800_init()
H A Dxen_domainbuild.c52 const char *cmdline) in xenstore_domain_init1() argument
72 if (cmdline) in xenstore_domain_init1()
73 xenstore_write_str(vm, "image/cmdline", cmdline); in xenstore_domain_init1()
228 const char *cmdline) in xen_domain_build_pv() argument
249 xenstore_domain_init1(kernel, ramdisk, cmdline); in xen_domain_build_pv()
275 kernel, ramdisk, cmdline, in xen_domain_build_pv()
H A Dxen_domainbuild.h7 const char *cmdline);
11 const char *cmdline);
H A Dusb-bus.c347 USBDevice *usbdevice_create(const char *cmdline) in usbdevice_create() argument
356 params = strchr(cmdline,':'); in usbdevice_create()
359 len = params - cmdline; in usbdevice_create()
362 pstrcpy(driver, len, cmdline); in usbdevice_create()
365 pstrcpy(driver, sizeof(driver), cmdline); in usbdevice_create()
H A Dmultiboot.c98 static uint32_t mb_add_cmdline(MultibootState *s, const char *cmdline) in mb_add_cmdline() argument
100 int len = strlen(cmdline) + 1; in mb_add_cmdline()
103 pstrcpy((char *)s->mb_buf + p, len, cmdline); in mb_add_cmdline()
H A Dcris-boot.h5 const char *cmdline; member
H A Dnvram.h28 const char *cmdline,
H A Detraxfs.c134 li.cmdline = kernel_cmdline; in bareetraxfs_init()
H A Dppc.c1252 const char *cmdline, in PPC_NVRAM_set_params() argument
1268 if (cmdline) { in PPC_NVRAM_set_params()
1270 pstrcpy_targphys("cmdline", CMDLINE_ADDR, RAM_size - CMDLINE_ADDR, cmdline); in PPC_NVRAM_set_params()
1272 NVRAM_set_lword(nvram, 0x44, strlen(cmdline)); in PPC_NVRAM_set_params()
H A Dvirtex_ml507.c52 uint32_t cmdline; member
H A Dusb.h355 USBDevice *usbdevice_create(const char *cmdline);
H A Daxis_dev88.c342 li.cmdline = kernel_cmdline; in axisdev88_init()
H A Dusb-net.c1390 static USBDevice *usb_net_init(const char *cmdline) in usb_net_init() argument
1396 opts = qemu_opts_parse(qemu_find_opts("net"), cmdline, 0); in usb_net_init()
H A Dsun4u.c130 const char *cmdline, in sun4u_NVRAM_set_params() argument
H A Dsun4m.c171 const char *cmdline, const char *boot_devices, in nvram_init() argument
/illumos-kvm-cmd/
H A Dreadline.c213 static void readline_hist_add(ReadLineState *rs, const char *cmdline) in readline_hist_add() argument
218 if (cmdline[0] == '\0') in readline_hist_add()
225 if (strcmp(hist_entry, cmdline) == 0) { in readline_hist_add()
234 if (strcmp(hist_entry, cmdline) == 0) { in readline_hist_add()
257 new_entry = strdup(cmdline); in readline_hist_add()
280 char *cmdline; in readline_completion() local
284 cmdline = qemu_malloc(rs->cmd_buf_index + 1); in readline_completion()
285 memcpy(cmdline, rs->cmd_buf, rs->cmd_buf_index); in readline_completion()
286 cmdline[rs->cmd_buf_index] = '\0'; in readline_completion()
287 rs->completion_finder(cmdline); in readline_completion()
[all …]
H A Dcmd.c39 static char **cmdline; variable
129 cmdline = realloc(cmdline, sizeof(char*) * (ncmdline)); in add_user_command()
130 if (!cmdline) { in add_user_command()
134 cmdline[ncmdline-1] = optarg; in add_user_command()
172 input = strdup(cmdline[i]); in command_loop()
176 cmdline[i], strerror(errno)); in command_loop()
196 if (cmdline) { in command_loop()
197 free(cmdline); in command_loop()
H A Dreadline.h11 typedef void ReadLineCompletionFunc(const char *cmdline); typedef
H A Dmonitor.c3924 static const char *get_command_name(const char *cmdline, in get_command_name() argument
3930 p = cmdline; in get_command_name()
4031 monitor_printf(mon, "command='%s'\n", cmdline); in monitor_parse_command()
4427 cmd = monitor_parse_command(mon, cmdline, qdict); in handle_user_command()
4545 static void parse_cmdline(const char *cmdline, in parse_cmdline() argument
4552 p = cmdline; in parse_cmdline()
4576 static void monitor_find_completion(const char *cmdline) in monitor_find_completion() argument
4585 parse_cmdline(cmdline, &nb_args, args); in monitor_find_completion()
4594 len = strlen(cmdline); in monitor_find_completion()
4595 if (len > 0 && qemu_isspace(cmdline[len - 1])) { in monitor_find_completion()
[all …]
H A Dvl.c961 static int usb_parse(const char *cmdline) in usb_parse() argument
964 r = usb_device_add(cmdline); in usb_parse()
966 fprintf(stderr, "qemu: could not add USB device '%s'\n", cmdline); in usb_parse()
1744 const char *cmdline; member
1749 static void add_device_config(int type, const char *cmdline) in add_device_config() argument
1755 conf->cmdline = cmdline; in add_device_config()
1759 static int foreach_device_config(int type, int (*func)(const char *cmdline)) in foreach_device_config() argument
1767 rc = func(conf->cmdline); in foreach_device_config()
H A Dqemu-options.hx1686 "-append cmdline use 'cmdline' as kernel command line\n", QEMU_ARCH_ALL)
1688 @item -append @var{cmdline}
1690 Use @var{cmdline} as kernel command line
/illumos-kvm-cmd/pc-bios/
H A Dohw.diff571 &cmdline, &cmdline_size,

Completed in 106 milliseconds