aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJon Doron <arilou@gmail.com>2020-04-24 15:34:39 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2020-06-10 12:09:39 -0400
commitd42cd96100724bc9fbac18cc17c5f5f9b9b2f181 (patch)
tree5b871cf39afda2af58b4aeb86345e1b9d3768135 /include
parentfdbff6bd145c1e27520cfe206f04cc664fbb2b30 (diff)
downloadqemu-d42cd96100724bc9fbac18cc17c5f5f9b9b2f181.zip
qemu-d42cd96100724bc9fbac18cc17c5f5f9b9b2f181.tar.gz
qemu-d42cd96100724bc9fbac18cc17c5f5f9b9b2f181.tar.bz2
hyperv: expose API to determine if synic is enabled
Signed-off-by: Jon Doron <arilou@gmail.com> Message-Id: <20200424123444.3481728-2-arilou@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/hyperv/hyperv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/hyperv/hyperv.h b/include/hw/hyperv/hyperv.h
index 597381c..a63ee00 100644
--- a/include/hw/hyperv/hyperv.h
+++ b/include/hw/hyperv/hyperv.h
@@ -79,5 +79,6 @@ 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);
+bool hyperv_is_synic_enabled(void);
#endif