mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-03 17:11:01 +00:00
d426d9fba8
Make use of the new s390 adapter irq routing support to enable real in-kernel irqfds for virtio-ccw with adapter interrupts. Note that s390 doesn't provide the common KVM_CAP_IRQCHIP capability, but rather needs KVM_CAP_S390_IRQCHIP to be enabled. This is to ensure backward compatibility. Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
24 lines
501 B
C
24 lines
501 B
C
/*
|
|
* s390 adapter definitions
|
|
*
|
|
* Copyright 2013,2014 IBM Corp.
|
|
* Author(s): Cornelia Huck <cornelia.huck@de.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 S390X_ADAPTER_H
|
|
#define S390X_ADAPTER_H
|
|
|
|
struct AdapterInfo {
|
|
uint64_t ind_addr;
|
|
uint64_t summary_addr;
|
|
uint64_t ind_offset;
|
|
uint32_t summary_offset;
|
|
uint32_t adapter_id;
|
|
};
|
|
|
|
#endif
|