1. 29 6月, 2017 1 次提交
  2. 25 5月, 2017 1 次提交
  3. 17 5月, 2017 2 次提交
  4. 26 4月, 2017 5 次提交
    • S
      xen/9pfs: send responses back to the frontend · 4476e09e
      Stefano Stabellini 提交于
      Once a request is completed, xen_9pfs_push_and_notify gets called. In
      xen_9pfs_push_and_notify, update the indexes (data has already been
      copied to the sg by the common code) and send a notification to the
      frontend.
      
      Schedule the bottom-half to check if we already have any other requests
      pending.
      Signed-off-by: NStefano 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>
      4476e09e
    • S
      xen/9pfs: implement in/out_iov_from_pdu and vmarshal/vunmarshal · 40a23892
      Stefano Stabellini 提交于
      Implement xen_9pfs_init_in/out_iov_from_pdu and
      xen_9pfs_pdu_vmarshal/vunmarshall by creating new sg pointing to the
      data on the ring.
      
      This is safe as we only handle one request per ring at any given time.
      Signed-off-by: NStefano 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>
      40a23892
    • S
      xen/9pfs: receive requests from the frontend · 47b70fb1
      Stefano Stabellini 提交于
      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: NStefano 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>
      47b70fb1
    • S
      xen/9pfs: connect to the frontend · f23ef34a
      Stefano Stabellini 提交于
      Write the limits of the backend to xenstore. Connect to the frontend.
      Upon connection, allocate the rings according to the protocol
      specification.
      
      Initialize a QEMUBH to schedule work upon receiving an event channel
      notification from the frontend.
      Signed-off-by: NStefano 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>
      f23ef34a
    • S
      xen/9pfs: introduce Xen 9pfs backend · b37eeb02
      Stefano Stabellini 提交于
      Introduce the Xen 9pfs backend: add struct XenDevOps to register as a
      Xen backend and add struct V9fsTransport to register as v9fs transport.
      
      All functions are empty stubs for now.
      Signed-off-by: NStefano Stabellini <stefano@aporeto.com>
      Reviewed-by: NGreg Kurz <groug@kaod.org>
      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>
      b37eeb02