/src/qemu/accel/stubs/mshv-stub.c
Line | Count | Source |
1 | | /* |
2 | | * QEMU MSHV stub |
3 | | * |
4 | | * Copyright Red Hat, Inc. 2025 |
5 | | * |
6 | | * Author: Paolo Bonzini <pbonzini@redhat.com> |
7 | | * |
8 | | * SPDX-License-Identifier: GPL-2.0-or-later |
9 | | */ |
10 | | |
11 | | #include "qemu/osdep.h" |
12 | | #include "hw/pci/msi.h" |
13 | | #include "system/mshv.h" |
14 | | |
15 | | bool mshv_allowed; |
16 | | MshvState *mshv_state; |
17 | | |
18 | | int mshv_irqchip_add_msi_route(AccelRouteChange *c, int vector, PCIDevice *dev) |
19 | 0 | { |
20 | 0 | return -ENOSYS; |
21 | 0 | } |
22 | | |
23 | | void mshv_irqchip_release_virq(MshvState *s, int virq) |
24 | 0 | { |
25 | 0 | } |
26 | | |
27 | | int mshv_irqchip_update_msi_route(int virq, MSIMessage msg, PCIDevice *dev) |
28 | 0 | { |
29 | 0 | return -ENOSYS; |
30 | 0 | } |
31 | | |
32 | | void mshv_irqchip_commit_routes(MshvState *s) |
33 | 0 | { |
34 | 0 | } |
35 | | |
36 | | int mshv_irqchip_add_irqfd_notifier_gsi(const EventNotifier *n, |
37 | | const EventNotifier *rn, int virq) |
38 | 0 | { |
39 | 0 | return -ENOSYS; |
40 | 0 | } |
41 | | |
42 | | int mshv_irqchip_remove_irqfd_notifier_gsi(const EventNotifier *n, int virq) |
43 | 0 | { |
44 | | return -ENOSYS; |
45 | 0 | } |