Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
46 lines
862 B
C
46 lines
862 B
C
/*
|
|
* QEMU MSHV stub
|
|
*
|
|
* Copyright Red Hat, Inc. 2025
|
|
*
|
|
* Author: Paolo Bonzini <[email protected]>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "hw/pci/msi.h"
|
|
#include "system/mshv.h"
|
|
|
|
bool mshv_allowed;
|
|
MshvState *mshv_state;
|
|
|
|
int mshv_irqchip_add_msi_route(AccelRouteChange *c, int vector, PCIDevice *dev)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
void mshv_irqchip_release_virq(MshvState *s, int virq)
|
|
{
|
|
}
|
|
|
|
int mshv_irqchip_update_msi_route(int virq, MSIMessage msg, PCIDevice *dev)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
void mshv_irqchip_commit_routes(MshvState *s)
|
|
{
|
|
}
|
|
|
|
int mshv_irqchip_add_irqfd_notifier_gsi(const EventNotifier *n,
|
|
const EventNotifier *rn, int virq)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
int mshv_irqchip_remove_irqfd_notifier_gsi(const EventNotifier *n, int virq)
|
|
{
|
|
return -ENOSYS;
|
|
}
|