mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-06-16 02:15:47 +00:00
9dc5430ce7
All architectures are now doing the same thing for irq__alloc_line: 1. Initialise a global counter to some fixed offset 2. Return the current value of the counter and increment it This is better off in core code, with each architecture specifying the initial offset, which is specific to the interrupt controller being used by the guest. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
10 lines
162 B
C
10 lines
162 B
C
#include "kvm/irq.h"
|
|
#include "kvm/kvm.h"
|
|
#include "kvm/util.h"
|
|
|
|
int irq__add_msix_route(struct kvm *kvm, struct msi_msg *msg)
|
|
{
|
|
die(__FUNCTION__);
|
|
return 0;
|
|
}
|