Re: [PATCH 1/7] KVM: userspace interface

From: Avi Kivity
Date: Thu Oct 19 2006 - 10:44:42 EST


John Stoffel wrote:
Avi> This patch defines a bunch of ioctl()s on /dev/kvm. The ioctl()s
Avi> allow adding memory to a virtual machine, adding a virtual cpu to
Avi> a virtual machine (at most one at this time), transferring
Avi> control to the virtual cpu, and querying about guest pages
Avi> changed by the virtual machine.

Yuck. ioclts are deprecated, you should be using /sysfs instead for
stuff like this, or configfs.

I need to pass small amounts of data back and forth very efficiently. sysfs and configfs are more for one-time admin stuff, not for continuous device control.


--
error compiling committee.c: too many arguments to function

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/