diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2014-02-26 17:20:00 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-02-26 17:20:00 +0000 |
commit | d6032e06d10d20e91729816a8c9c6792e5774ab1 (patch) | |
tree | 115d84ddbd5ad161bdaa81108c4ebc0f5683cd3b /stubs/kvm.c | |
parent | 876074c228ddccffe9bfcf31920202d68777545b (diff) | |
download | qemu-d6032e06d10d20e91729816a8c9c6792e5774ab1.zip qemu-d6032e06d10d20e91729816a8c9c6792e5774ab1.tar.gz qemu-d6032e06d10d20e91729816a8c9c6792e5774ab1.tar.bz2 |
kvm: Introduce kvm_arch_irqchip_create
Introduce kvm_arch_irqchip_create an arch-specific hook in preparation
for architecture-specific use of the device control API to create IRQ
chips.
Following patches will implement the ARM irqchip create method to prefer
the device control API over the older KVM_CREATE_IRQCHIP API.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Message-id: 1392687720-26806-3-git-send-email-christoffer.dall@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'stubs/kvm.c')
-rw-r--r-- | stubs/kvm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/stubs/kvm.c b/stubs/kvm.c new file mode 100644 index 0000000..e7c60b6 --- /dev/null +++ b/stubs/kvm.c @@ -0,0 +1,7 @@ +#include "qemu-common.h" +#include "sysemu/kvm.h" + +int kvm_arch_irqchip_create(KVMState *s) +{ + return 0; +} |