aboutsummaryrefslogtreecommitdiff
path: root/include/hw/s390x/s390-pci-kvm.h
blob: 80a2e7d0caf63d50693f3a923575e1930b62d90f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * s390 PCI KVM interfaces
 *
 * Copyright 2022 IBM Corp.
 * Author(s): Matthew Rosato <mjrosato@linux.ibm.com>
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or (at
 * your option) any later version. See the COPYING file in the top-level
 * directory.
 */

#ifndef HW_S390_PCI_KVM_H
#define HW_S390_PCI_KVM_H

#ifdef CONFIG_KVM
bool s390_pci_kvm_interp_allowed(void);
#else
static inline bool s390_pci_kvm_interp_allowed(void)
{
    return false;
}
#endif

#endif