Browse Source
By turning the inline functions into stubs we can avoid the use of target-specific CONFIG_DEVICES include in a hw/ header, allowing to build the source files including it as common objects. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Farhan Ali<alifm@linux.ibm.com> Message-Id: <20260225031658.32095-4-philmd@linaro.org>master
3 changed files with 33 additions and 20 deletions
@ -0,0 +1,32 @@ |
|||
/*
|
|||
* s390 vfio-pci stubs |
|||
* |
|||
* SPDX-License-Identifier: GPL-2.0-or-later |
|||
*/ |
|||
|
|||
#include "qemu/osdep.h" |
|||
#include "hw/s390x/s390-pci-vfio.h" |
|||
|
|||
bool s390_pci_update_dma_avail(int fd, unsigned int *avail) |
|||
{ |
|||
return false; |
|||
} |
|||
|
|||
S390PCIDMACount *s390_pci_start_dma_count(S390pciState *s, |
|||
S390PCIBusDevice *pbdev) |
|||
{ |
|||
return NULL; |
|||
} |
|||
|
|||
void s390_pci_end_dma_count(S390pciState *s, S390PCIDMACount *cnt) |
|||
{ |
|||
} |
|||
|
|||
bool s390_pci_get_host_fh(S390PCIBusDevice *pbdev, uint32_t *fh) |
|||
{ |
|||
return false; |
|||
} |
|||
|
|||
void s390_pci_get_clp_info(S390PCIBusDevice *pbdev) |
|||
{ |
|||
} |
|||
Loading…
Reference in new issue