OSDN Git Service

hw/9pfs/9p-synth: added directory for readdir test
authorChristian Schoenebeck <qemu_oss@crudebyte.com>
Sat, 8 Feb 2020 08:24:19 +0000 (09:24 +0100)
committerGreg Kurz <groug@kaod.org>
Sat, 8 Feb 2020 08:29:04 +0000 (09:29 +0100)
commitaf46a3b233787323417bbca7b1aa3290935a5bdf
tree31d6e6d321ac6daaf0866c8feb0a6bca92a64624
parentd36a5c227099f3f74da27a730350b012b6e99cdd
hw/9pfs/9p-synth: added directory for readdir test

This will provide the following virtual files by the 9pfs
synth driver:

  - /ReadDirDir/ReadDirFile99
  - /ReadDirDir/ReadDirFile98
  ...
  - /ReadDirDir/ReadDirFile1
  - /ReadDirDir/ReadDirFile0

This virtual directory and its virtual 100 files will be
used by the upcoming 9pfs readdir tests.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <5408c28c8de25dd575b745cef63bf785305ccef2.1579567020.git.qemu_oss@crudebyte.com>
Signed-off-by: Greg Kurz <groug@kaod.org>
hw/9pfs/9p-synth.c
hw/9pfs/9p-synth.h