« Previous | Next » 

Revision 0a6a7cca

ID0a6a7ccaae4015aa02bdbce75bafb9d868636655

Added by Christoffer Dall about 10 years ago

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 <>
Signed-off-by: Christoffer Dall <>
Message-id:
Signed-off-by: Peter Maydell <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences