Lines Matching refs:value
317 static void machine_set_kernel(Object *obj, const char *value, Error **errp) in machine_set_kernel() argument
322 ms->kernel_filename = g_strdup(value); in machine_set_kernel()
332 static void machine_set_initrd(Object *obj, const char *value, Error **errp) in machine_set_initrd() argument
337 ms->initrd_filename = g_strdup(value); in machine_set_initrd()
347 static void machine_set_append(Object *obj, const char *value, Error **errp) in machine_set_append() argument
352 ms->kernel_cmdline = g_strdup(value); in machine_set_append()
362 static void machine_set_dtb(Object *obj, const char *value, Error **errp) in machine_set_dtb() argument
367 ms->dtb = g_strdup(value); in machine_set_dtb()
377 static void machine_set_dumpdtb(Object *obj, const char *value, Error **errp) in machine_set_dumpdtb() argument
382 ms->dumpdtb = g_strdup(value); in machine_set_dumpdtb()
390 int64_t value = ms->phandle_start; in machine_get_phandle_start() local
392 visit_type_int(v, name, &value, errp); in machine_get_phandle_start()
400 int64_t value; in machine_set_phandle_start() local
402 if (!visit_type_int(v, name, &value, errp)) { in machine_set_phandle_start()
406 ms->phandle_start = value; in machine_set_phandle_start()
416 static void machine_set_dt_compatible(Object *obj, const char *value, Error **errp) in machine_set_dt_compatible() argument
421 ms->dt_compatible = g_strdup(value); in machine_set_dt_compatible()
431 static void machine_set_dump_guest_core(Object *obj, bool value, Error **errp) in machine_set_dump_guest_core() argument
435 if (!value && QEMU_MADV_DONTDUMP == QEMU_MADV_INVALID) { in machine_set_dump_guest_core()
439 ms->dump_guest_core = value; in machine_set_dump_guest_core()
449 static void machine_set_mem_merge(Object *obj, bool value, Error **errp) in machine_set_mem_merge() argument
453 if (value && QEMU_MADV_MERGEABLE == QEMU_MADV_INVALID) { in machine_set_mem_merge()
457 ms->mem_merge = value; in machine_set_mem_merge()
467 static void machine_set_usb(Object *obj, bool value, Error **errp) in machine_set_usb() argument
471 ms->usb = value; in machine_set_usb()
472 ms->usb_disabled = !value; in machine_set_usb()
482 static void machine_set_graphics(Object *obj, bool value, Error **errp) in machine_set_graphics() argument
486 ms->enable_graphics = value; in machine_set_graphics()
496 static void machine_set_firmware(Object *obj, const char *value, Error **errp) in machine_set_firmware() argument
501 ms->firmware = g_strdup(value); in machine_set_firmware()
504 static void machine_set_suppress_vmdesc(Object *obj, bool value, Error **errp) in machine_set_suppress_vmdesc() argument
508 ms->suppress_vmdesc = value; in machine_set_suppress_vmdesc()
529 static void machine_set_memory_encryption(Object *obj, const char *value, in machine_set_memory_encryption() argument
533 object_resolve_path_component(object_get_objects_root(), value); in machine_set_memory_encryption()
536 error_setg(errp, "No such memory encryption object '%s'", value); in machine_set_memory_encryption()
562 static void machine_set_nvdimm(Object *obj, bool value, Error **errp) in machine_set_nvdimm() argument
566 ms->nvdimms_state->is_enabled = value; in machine_set_nvdimm()
576 static void machine_set_hmat(Object *obj, bool value, Error **errp) in machine_set_hmat() argument
580 ms->numa_state->hmat_enabled = value; in machine_set_hmat()
661 static void machine_set_nvdimm_persistence(Object *obj, const char *value, in machine_set_nvdimm_persistence() argument
667 if (strcmp(value, "cpu") == 0) { in machine_set_nvdimm_persistence()
669 } else if (strcmp(value, "mem-ctrl") == 0) { in machine_set_nvdimm_persistence()
673 value); in machine_set_nvdimm_persistence()
678 nvdimms_state->persistence_string = g_strdup(value); in machine_set_nvdimm_persistence()
706 allowed |= !!object_class_dynamic_cast(klass, wl->value); in device_type_is_dynamic_sysbus()
719 static void machine_set_audiodev(Object *obj, const char *value, in machine_set_audiodev() argument
724 if (!audio_state_by_name(value, errp)) { in machine_set_audiodev()
729 ms->audiodev = g_strdup(value); in machine_set_audiodev()