Lines Matching +full:global +full:- +full:reset
6 * Authors: Marc-André Lureau <marcandre.lureau@redhat.com>
9 * See the COPYING file in the top-level directory.
16 #include "system/reset.h"
25 s->has_vmcoreinfo = offset == 0 && len == sizeof(s->vmcoreinfo) in fw_cfg_vmci_write()
26 && s->vmcoreinfo.guest_format != FW_CFG_VMCOREINFO_FORMAT_NONE; in fw_cfg_vmci_write()
33 s->has_vmcoreinfo = false; in vmcoreinfo_reset_hold()
34 memset(&s->vmcoreinfo, 0, sizeof(s->vmcoreinfo)); in vmcoreinfo_reset_hold()
35 s->vmcoreinfo.host_format = cpu_to_le16(FW_CFG_VMCOREINFO_FORMAT_ELF); in vmcoreinfo_reset_hold()
42 /* for gdb script dump-guest-memory.py */ in vmcoreinfo_realize()
54 if (!fw_cfg || !fw_cfg->dma_enabled) { in vmcoreinfo_realize()
62 &s->vmcoreinfo, sizeof(s->vmcoreinfo), false); in vmcoreinfo_realize()
65 * This device requires to register a global reset because it is in vmcoreinfo_realize()
66 * not plugged to a bus (which, as its QOM parent, would reset it). in vmcoreinfo_realize()
91 dc->vmsd = &vmstate_vmcoreinfo; in vmcoreinfo_device_class_init()
92 dc->realize = vmcoreinfo_realize; in vmcoreinfo_device_class_init()
93 dc->hotpluggable = false; in vmcoreinfo_device_class_init()
94 set_bit(DEVICE_CATEGORY_MISC, dc->categories); in vmcoreinfo_device_class_init()
95 rc->phases.hold = vmcoreinfo_reset_hold; in vmcoreinfo_device_class_init()