]> git.proxmox.com Git - mirror_qemu.git/commit
xen/9pfs: receive requests from the frontend
authorStefano Stabellini <sstabellini@kernel.org>
Wed, 22 Mar 2017 17:16:03 +0000 (10:16 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 25 Apr 2017 18:04:33 +0000 (11:04 -0700)
commit47b70fb1e4b619c9d6de74776a6c7c8e5c7719ee
tree10d605a04ca381848433529b01093e3589364e8c
parentf23ef34a5dec56103e1348a622a6adf7c87c821f
xen/9pfs: receive requests from the frontend

Upon receiving an event channel notification from the frontend, schedule
the bottom half. From the bottom half, read one request from the ring,
create a pdu and call pdu_submit to handle it.

For now, only handle one request per ring at a time.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
CC: anthony.perard@citrix.com
CC: jgross@suse.com
CC: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
CC: Greg Kurz <groug@kaod.org>
hw/9pfs/xen-9p-backend.c