Jason Wang 16617e36b0 vhost: correctly pass error to caller in vhost_dev_enable_notifiers()
We override the error value r in fail_vq, this will cause the caller
can't detect the failure which may cause the caller may disable the
notifiers twice if vhost is failed to start. Fix this by using another
variable to keep track the return value of set_host_notifier().

Fixes b0b3db7955 ("vhost-net: cleanup
host notifiers at last step")

Cc: qemu-stable@nongnu.org
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-06-23 17:08:21 +02:00
2015-06-18 14:12:33 +02:00
2015-06-17 20:02:15 +01:00
2015-06-17 16:03:47 +02:00
2015-06-17 20:02:15 +01:00
2015-06-12 12:02:48 +02:00
…
2015-04-04 09:45:59 +03:00
2014-06-16 13:24:35 +02:00
…
2015-06-12 06:42:34 +02:00
2015-04-28 15:36:09 +02:00
…
…
…
…
2015-06-03 14:21:24 +03:00
2015-04-30 16:05:48 +03:00
…
2015-06-12 13:42:17 +01:00
2015-06-03 14:21:24 +03:00
2015-05-22 17:08:01 +02:00
2014-05-24 00:07:29 +04:00
…
…
2015-05-11 08:59:07 -04:00
2015-05-22 15:58:22 -04:00
…
2015-06-11 10:13:28 +01:00
2015-04-25 22:05:07 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
727 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%