test-bdrv-drain: AIO_WAIT_WHILE() in job .commit/.abort
[qemu/ar7.git] / hw / s390x / s390-pci-stub.c
blobad4c5a77198f573fbb3c752981856245d4af3e9b
1 /* stubs for non-pci builds */
3 #include "qemu/osdep.h"
4 #include "qemu-common.h"
5 #include "cpu.h"
6 #include "s390-pci-inst.h"
7 #include "s390-pci-bus.h"
9 /* target/s390x/ioinst.c */
10 int pci_chsc_sei_nt2_get_event(void *res)
12 return 1;
15 int pci_chsc_sei_nt2_have_event(void)
17 return 0;
20 /* hw/s390x/sclp.c */
21 void s390_pci_sclp_configure(SCCB *sccb)
23 sccb->h.response_code = cpu_to_be16(SCLP_RC_ADAPTER_TYPE_NOT_RECOGNIZED);
26 void s390_pci_sclp_deconfigure(SCCB *sccb)
28 sccb->h.response_code = cpu_to_be16(SCLP_RC_ADAPTER_TYPE_NOT_RECOGNIZED);
31 /* target/s390x/kvm.c */
32 int clp_service_call(S390CPU *cpu, uint8_t r2)
34 return -1;
37 int pcilg_service_call(S390CPU *cpu, uint8_t r1, uint8_t r2)
39 return -1;
42 int pcistg_service_call(S390CPU *cpu, uint8_t r1, uint8_t r2)
44 return -1;
47 int stpcifc_service_call(S390CPU *cpu, uint8_t r1, uint64_t fiba, uint8_t ar)
49 return -1;
52 int rpcit_service_call(S390CPU *cpu, uint8_t r1, uint8_t r2)
54 return -1;
57 int pcistb_service_call(S390CPU *cpu, uint8_t r1, uint8_t r3, uint64_t gaddr,
58 uint8_t ar)
60 return -1;
63 int mpcifc_service_call(S390CPU *cpu, uint8_t r1, uint64_t fiba, uint8_t ar)
65 return -1;
68 S390pciState *s390_get_phb(void)
70 return NULL;
73 S390PCIBusDevice *s390_pci_find_dev_by_target(S390pciState *s,
74 const char *target)
76 return NULL;