diff options
| author | Li Qiang | 2016-11-23 13:53:34 +0100 |
|---|---|---|
| committer | Greg Kurz | 2016-11-23 13:53:34 +0100 |
| commit | 971f406b77a6eb84e0ad27dcc416b663765aee30 (patch) | |
| tree | d55a829a9895302a62aa3a15eb89197cba580b5a /cpu-exec.c | |
| parent | 9pfs: add cleanup operation in FileOperations (diff) | |
| download | qemu-971f406b77a6eb84e0ad27dcc416b663765aee30.tar.gz qemu-971f406b77a6eb84e0ad27dcc416b663765aee30.tar.xz qemu-971f406b77a6eb84e0ad27dcc416b663765aee30.zip | |
9pfs: add cleanup operation for handle backend driver
In the init operation of handle backend dirver, it allocates a
handle_data struct and opens a mount file. We should free these
resources when the 9pfs device is unrealized. This is what this
patch does.
Signed-off-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'cpu-exec.c')
0 files changed, 0 insertions, 0 deletions
