]>
git.proxmox.com Git - mirror_qemu.git/blob - hw/s390x/s390-pci-kvm.c
2 * s390 zPCI KVM interfaces
4 * Copyright 2022 IBM Corp.
5 * Author(s): Matthew Rosato <mjrosato@linux.ibm.com>
7 * This work is licensed under the terms of the GNU GPL, version 2 or (at
8 * your option) any later version. See the COPYING file in the top-level
12 #include "qemu/osdep.h"
14 #include "kvm/kvm_s390x.h"
15 #include "hw/s390x/pv.h"
16 #include "hw/s390x/s390-pci-kvm.h"
17 #include "cpu_models.h"
19 bool s390_pci_kvm_interp_allowed(void)
21 return kvm_s390_get_zpci_op() && !s390_is_pv();