From: Amit Shah Date: Mon, 21 Dec 2009 16:19:30 +0000 (+0530) Subject: virtio: console: Add file operations to ports for open/read/write/poll X-Git-Tag: v2.6.34-rc1~294^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2030fa496d74b49220308eaccf656e2338019cfd;p=pandora-kernel.git virtio: console: Add file operations to ports for open/read/write/poll Allow guest userspace applications to open, read from, write to, poll the ports via the char dev interface. When a port gets opened, a notification is sent to the host via a control message indicating a connection has been established. Similarly, on closing of the port, a notification is sent indicating disconnection. Signed-off-by: Amit Shah Signed-off-by: Rusty Russell --- Reading git-diff-tree failed