/openbmc/qemu/include/qapi/qmp/ |
H A D | json-writer.h | 17 JSONWriter *json_writer_new(bool pretty); 18 const char *json_writer_get(JSONWriter *); 19 GString *json_writer_get_and_free(JSONWriter *); 20 void json_writer_free(JSONWriter *); 22 G_DEFINE_AUTOPTR_CLEANUP_FUNC(JSONWriter, json_writer_free) 24 void json_writer_start_object(JSONWriter *, const char *name); 25 void json_writer_end_object(JSONWriter *); 26 void json_writer_start_array(JSONWriter *, const char *name); 27 void json_writer_end_array(JSONWriter *); 28 void json_writer_bool(JSONWriter *, const char *name, bool val); [all …]
|
/openbmc/qemu/qobject/ |
H A D | json-writer.c | 20 struct JSONWriter { struct 27 JSONWriter *json_writer_new(bool pretty) in json_writer_new() argument 29 JSONWriter *writer = g_new(JSONWriter, 1); in json_writer_new() 38 const char *json_writer_get(JSONWriter *writer) in json_writer_get() 44 GString *json_writer_get_and_free(JSONWriter *writer) in json_writer_get_and_free() 54 void json_writer_free(JSONWriter *writer) in json_writer_free() 80 static bool in_object(JSONWriter *writer) in in_object() 87 static void pretty_newline(JSONWriter *writer) in pretty_newline() 95 static void pretty_newline_or_space(JSONWriter *writer) in pretty_newline_or_space() 182 void json_writer_end_object(JSONWriter *writer) in json_writer_end_object() [all …]
|
H A D | qjson.c | 151 static void to_json(JSONWriter *writer, const char *name, in to_json() 223 JSONWriter *writer = json_writer_new(pretty); in qobject_to_json_pretty()
|
/openbmc/qemu/migration/ |
H A D | vmstate-types.c | 33 const VMStateField *field, JSONWriter *vmdesc) in put_bool() 57 const VMStateField *field, JSONWriter *vmdesc) in put_int8() 81 const VMStateField *field, JSONWriter *vmdesc) in put_int16() 105 const VMStateField *field, JSONWriter *vmdesc) in put_int32() 182 const VMStateField *field, JSONWriter *vmdesc) in put_int64() 206 const VMStateField *field, JSONWriter *vmdesc) in put_uint8() 230 const VMStateField *field, JSONWriter *vmdesc) in put_uint16() 254 const VMStateField *field, JSONWriter *vmdesc) in put_uint32() 304 const VMStateField *field, JSONWriter *vmdesc) in put_uint64() 534 const VMStateField *field, JSONWriter *vmdesc) in put_tmp() [all …]
|
H A D | vmstate.c | 25 void *opaque, JSONWriter *vmdesc, 273 JSONWriter *vmdesc, in vmsd_desc_field_start() 313 JSONWriter *vmdesc, in vmsd_desc_field_end() 341 void *opaque, JSONWriter *vmdesc_id) in vmstate_save_state() 347 void *opaque, JSONWriter *vmdesc_id, Error **errp) in vmstate_save_state_with_err() 353 void *opaque, JSONWriter *vmdesc, int version_id, Error **errp) in vmstate_save_state_v() 381 JSONWriter *vmdesc_loop = vmdesc; in vmstate_save_state_v() 523 void *opaque, JSONWriter *vmdesc, in vmstate_subsection_save()
|
H A D | migration.h | 451 JSONWriter *vmdesc;
|
H A D | savevm.c | 183 const VMStateField *field, JSONWriter *vmdesc) in put_timer() 405 const VMStateField *field, JSONWriter *vmdesc) in put_capability() 962 JSONWriter *vmdesc) in vmstate_save_old_style() 1013 static int vmstate_save(QEMUFile *f, SaveStateEntry *se, JSONWriter *vmdesc, in vmstate_save() 1541 JSONWriter *vmdesc = ms->vmdesc; in qemu_savevm_state_complete_precopy_non_iterable()
|
/openbmc/qemu/target/avr/ |
H A D | machine.c | 37 const VMStateField *field, JSONWriter *vmdesc) in put_sreg() 64 const VMStateField *field, JSONWriter *vmdesc) in put_segment()
|
/openbmc/qemu/include/qemu/ |
H A D | typedefs.h | 60 typedef struct JSONWriter JSONWriter; typedef
|
/openbmc/qemu/target/sparc/ |
H A D | machine.c | 68 const VMStateField *field, JSONWriter *vmdesc) in put_psr() 97 const VMStateField *field, JSONWriter *vmdesc) in put_fsr() 130 const VMStateField *field, JSONWriter *vmdesc) in put_xcc()
|
/openbmc/qemu/target/hppa/ |
H A D | machine.c | 34 const VMStateField *field, JSONWriter *vmdesc) in put_psw() 75 const VMStateField *field, JSONWriter *vmdesc) in put_tlb()
|
/openbmc/qemu/target/ppc/ |
H A D | machine.c | 38 const VMStateField *field, JSONWriter *vmdesc) in put_avr() 70 const VMStateField *field, JSONWriter *vmdesc) in put_fpr() 101 const VMStateField *field, JSONWriter *vmdesc) in put_vsr() 377 const VMStateField *field, JSONWriter *vmdesc) in put_vscr() 501 const VMStateField *field, JSONWriter *vmdesc) in put_slbe()
|
/openbmc/qemu/target/alpha/ |
H A D | machine.c | 14 const VMStateField *field, JSONWriter *vmdesc) in put_fpcr()
|
/openbmc/qemu/target/microblaze/ |
H A D | machine.c | 49 const VMStateField *field, JSONWriter *vmdesc) in put_msr()
|
/openbmc/qemu/target/openrisc/ |
H A D | machine.c | 57 const VMStateField *field, JSONWriter *vmdesc) in put_sr()
|
/openbmc/qemu/target/arm/ |
H A D | machine.c | 65 const VMStateField *field, JSONWriter *vmdesc) in put_fpscr() 93 const VMStateField *field, JSONWriter *vmdesc) in put_fpcr() 120 const VMStateField *field, JSONWriter *vmdesc) in put_fpsr() 796 const VMStateField *field, JSONWriter *vmdesc) in put_cpsr() 831 const VMStateField *field, JSONWriter *vmdesc) in put_power()
|
/openbmc/qemu/target/mips/sysemu/ |
H A D | machine.c | 35 const VMStateField *field, JSONWriter *vmdesc) in put_fpr() 165 const VMStateField *field, JSONWriter *vmdesc) in put_tlb()
|
/openbmc/qemu/hw/nvram/ |
H A D | eeprom93xx.c | 107 const VMStateField *field, JSONWriter *vmdesc) in put_unused()
|
/openbmc/qemu/include/migration/ |
H A D | vmstate.h | 48 JSONWriter *vmdesc); 1188 void *opaque, JSONWriter *vmdesc); 1190 void *opaque, JSONWriter *vmdesc, Error **errp); 1192 void *opaque, JSONWriter *vmdesc,
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-user-fs.c | 306 const VMStateField *field, JSONWriter *vmdesc) in vuf_save_state()
|
/openbmc/qemu/hw/intc/ |
H A D | s390_flic_kvm.c | 415 const VMStateField *field, JSONWriter *vmdesc) in kvm_flic_save()
|
/openbmc/qemu/hw/pci/ |
H A D | msix.c | 674 const VMStateField *field, JSONWriter *vmdesc) in put_msix_state()
|
H A D | shpc.c | 763 const VMStateField *field, JSONWriter *vmdesc) in shpc_save()
|
/openbmc/qemu/hw/usb/ |
H A D | redirect.c | 2236 const VMStateField *field, JSONWriter *vmdesc) in usbredir_put_parser() 2306 const VMStateField *field, JSONWriter *vmdesc) in usbredir_put_bufpq() 2438 JSONWriter *vmdesc) in usbredir_put_packet_id_q()
|
/openbmc/qemu/hw/rtc/ |
H A D | twl92230.c | 749 const VMStateField *field, JSONWriter *vmdesc) in put_int32_as_uint16()
|