diff options
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2024-05-22 19:01:06 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-06-24 08:03:34 +0200 |
commit | fa8053841efebab7fcdc76252b953f8dafe7a343 (patch) | |
tree | 6e47ec42e7a08d5aa06838bbc55e8846cf9ec3dc /qapi/qobject-output-visitor.c | |
parent | 1aeebbd6213af1aef09b4906c487f9079a5d8947 (diff) | |
download | qemu-fa8053841efebab7fcdc76252b953f8dafe7a343.zip qemu-fa8053841efebab7fcdc76252b953f8dafe7a343.tar.gz qemu-fa8053841efebab7fcdc76252b953f8dafe7a343.tar.bz2 |
vfio/ccw: Fix the missed unrealize() call in error path
When get name failed, we should call unrealize() so that
vfio_ccw_realize() is self contained.
Fixes: 909a6254eda ("vfio/ccw: Make vfio cdev pre-openable by passing a file handle")
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240522170107.289532-7-clg@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'qapi/qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions