xen/pvcalls: implement bind command
authorStefano Stabellini <sstabellini@kernel.org>
Mon, 30 Oct 2017 22:40:56 +0000 (15:40 -0700)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 31 Oct 2017 13:05:53 +0000 (09:05 -0400)
commit67ea9893cbc2f892f491ec620d6bbab262b80770
tree6325a0e93ef322425acd5d0d113190ad329fc1ac
parentcb1c7d9bbc878a67af270ccd2d23f6d1450579db
xen/pvcalls: implement bind command

Send PVCALLS_BIND to the backend. Introduce a new structure, part of
struct sock_mapping, to store information specific to passive sockets.

Introduce a status field to keep track of the status of the passive
socket.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
CC: boris.ostrovsky@oracle.com
CC: jgross@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/pvcalls-front.c
drivers/xen/pvcalls-front.h