diff options
author | Li Qiang <liq3ea@163.com> | 2020-08-13 09:51:25 -0700 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-09-29 03:06:12 -0400 |
commit | 2bc9e0da573f77b2f21cc6e4a681c31ddeccfd1d (patch) | |
tree | c9ae59bc4e68d79f316365359991fb5819d492d6 /scripts/qapi/parser.py | |
parent | 0ed93f4c05896145434adbce5fa328643260dd2e (diff) | |
download | qemu-2bc9e0da573f77b2f21cc6e4a681c31ddeccfd1d.zip qemu-2bc9e0da573f77b2f21cc6e4a681c31ddeccfd1d.tar.gz qemu-2bc9e0da573f77b2f21cc6e4a681c31ddeccfd1d.tar.bz2 |
hw: virtio-pmem: detach the element fromt the virtqueue when error occurs
If error occurs while processing the virtio request we should call
'virtqueue_detach_element' to detach the element from the virtqueue
before free the elem.
Signed-off-by: Li Qiang <liq3ea@163.com>
Message-Id: <20200813165125.59928-1-liq3ea@163.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Fixes: 5f503cd9f3 ("virtio-pmem: add virtio device")
Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions