aboutsummaryrefslogtreecommitdiff
path: root/target/i386/kvm/hyperv-stub.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-11-14 13:13:51 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2024-11-18 13:44:54 +0100
commit6607b77b94c353fbe21888d216fa97df9b859f15 (patch)
tree0cdf5fb444451aaeea6cfe2257fad01d42287e91 /target/i386/kvm/hyperv-stub.c
parentf0cfd067867668870931c9411d96cd518564b7a8 (diff)
target/i386: hyperv: add stub for hyperv_syndbg_query_options
Building without CONFIG_HYPERV is currently broken due to a missing symbol 'hyperv_syndbg_query_options'. Add it to the stubs that exist for that very reasons. Reported-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/kvm/hyperv-stub.c')
-rw-r--r--target/i386/kvm/hyperv-stub.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/i386/kvm/hyperv-stub.c b/target/i386/kvm/hyperv-stub.c
index 3263dcf05d..5836f53c23 100644
--- a/target/i386/kvm/hyperv-stub.c
+++ b/target/i386/kvm/hyperv-stub.c
@@ -56,3 +56,8 @@ void hyperv_x86_synic_update(X86CPU *cpu)
void hyperv_x86_set_vmbus_recommended_features_enabled(void)
{
}
+
+uint64_t hyperv_syndbg_query_options(void)
+{
+ return 0;
+}