mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
hyperv: qom-ify SynIC
Make Hyper-V SynIC a device which is attached as a child to a CPU. For now it only makes SynIC visibile in the qom hierarchy, and maintains its internal fields in sync with the respecitve msrs of the parent cpu (the fields will be used in followup patches). Signed-off-by: Roman Kagan <rkagan@virtuozzo.com> Message-Id: <20180921082217.29481-3-rkagan@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Paolo Bonzini
parent
729ce7e1b6
commit
606c34bfd5
@@ -28,4 +28,9 @@ static inline uint32_t hyperv_vp_index(CPUState *cs)
|
||||
return cs->cpu_index;
|
||||
}
|
||||
|
||||
void hyperv_synic_add(CPUState *cs);
|
||||
void hyperv_synic_reset(CPUState *cs);
|
||||
void hyperv_synic_update(CPUState *cs, bool enable,
|
||||
hwaddr msg_page_addr, hwaddr event_page_addr);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user