target/i386: hyperv: add stub for hyperv_syndbg_query_options
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Nov 2024 12:13:51 +0000 (13:13 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Nov 2024 12:44:54 +0000 (13:44 +0100)
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>
target/i386/kvm/hyperv-stub.c

index 3263dcf05d312636e46ae2769eef48bde4f56aa2..5836f53c23b4e68bf95c3417c08f89b8d2f145b9 100644 (file)
@@ -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;
+}