diff options
| author | Christoffer Dall | 2014-02-26 18:20:00 +0100 |
|---|---|---|
| committer | Peter Maydell | 2014-02-26 18:20:00 +0100 |
| commit | 0a6a7ccaae4015aa02bdbce75bafb9d868636655 (patch) | |
| tree | d3d2f835e20b7f573867ad4c64fbca2825a6beaf /include/hw | |
| parent | kvm: Introduce kvm_arch_irqchip_create (diff) | |
| download | qemu-0a6a7ccaae4015aa02bdbce75bafb9d868636655.tar.gz qemu-0a6a7ccaae4015aa02bdbce75bafb9d868636655.tar.xz qemu-0a6a7ccaae4015aa02bdbce75bafb9d868636655.zip | |
kvm: Common device control API functions
Introduces two simple functions:
int kvm_device_ioctl(int fd, int type, ...);
int kvm_create_device(KVMState *s, uint64_t type, bool test);
These functions wrap the basic ioctl-based interactions with KVM in a
way similar to other KVM ioctl wrappers.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Message-id: 1392687720-26806-4-git-send-email-christoffer.dall@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions
