hyperv.c (1be5a765c08cee3a9587c8a8d3fc2ea247b13f9c) hyperv.c (7764963b9239dc966122617cc8b61d4530d6ce2a)
1/*
2 * Hyper-V guest/hypervisor interaction
3 *
4 * Copyright (c) 2015-2018 Virtuozzo International GmbH.
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */

--- 143 unchanged lines hidden (view full) ---

152 synic_enabled = true;
153}
154
155void hyperv_synic_reset(CPUState *cs)
156{
157 SynICState *synic = get_synic(cs);
158
159 if (synic) {
1/*
2 * Hyper-V guest/hypervisor interaction
3 *
4 * Copyright (c) 2015-2018 Virtuozzo International GmbH.
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */

--- 143 unchanged lines hidden (view full) ---

152 synic_enabled = true;
153}
154
155void hyperv_synic_reset(CPUState *cs)
156{
157 SynICState *synic = get_synic(cs);
158
159 if (synic) {
160 device_legacy_reset(DEVICE(synic));
160 device_cold_reset(DEVICE(synic));
161 }
162}
163
164static const TypeInfo synic_type_info = {
165 .name = TYPE_SYNIC,
166 .parent = TYPE_DEVICE,
167 .instance_size = sizeof(SynICState),
168 .class_init = synic_class_init,

--- 781 unchanged lines hidden ---
161 }
162}
163
164static const TypeInfo synic_type_info = {
165 .name = TYPE_SYNIC,
166 .parent = TYPE_DEVICE,
167 .instance_size = sizeof(SynICState),
168 .class_init = synic_class_init,

--- 781 unchanged lines hidden ---