diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-01-30 23:02:25 +0900 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2023-02-09 10:21:11 -0500 |
commit | 331acddc87b739c64b936ba4e58518f8491f1c6b (patch) | |
tree | ea9a81915eaed07ae5574c1cc5a0cd6316758421 /hw/arm/npcm7xx.c | |
parent | 417296c8d8588f782018d01a317f88957e9786d6 (diff) | |
download | qemu-331acddc87b739c64b936ba4e58518f8491f1c6b.zip qemu-331acddc87b739c64b936ba4e58518f8491f1c6b.tar.gz qemu-331acddc87b739c64b936ba4e58518f8491f1c6b.tar.bz2 |
vhost-user-fs: Back up vqs before cleaning up vhost_dev
vhost_dev_cleanup() clears vhost_dev so back up its vqs member to free
the memory pointed by the member.
Fixes: 98fc1ada4c ("virtio: add vhost-user-fs base device")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20230130140225.77964-1-akihiko.odaki@daynix.com>
Diffstat (limited to 'hw/arm/npcm7xx.c')
0 files changed, 0 insertions, 0 deletions