Re: [Qemu-devel] [RFC PATCH v2 3/4] kvm: Common device control API functions

2013-10-14 Thread Peter Maydell
On 26 September 2013 20:56, Christoffer Dall wrote: > 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 o

[Qemu-devel] [RFC PATCH v2 3/4] kvm: Common device control API functions

2013-09-26 Thread Christoffer Dall
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. Signed-off-by: Christoffer Dall ---