diff options
| author | Rafael David Tinoco | 2016-10-24 17:35:03 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-11-15 16:20:37 +0100 |
| commit | 0d34fbabc13891da41582b0823867dc5733fffef (patch) | |
| tree | 9a73301710d2f8495da0dc9cf5af2f15daf097f7 /include | |
| parent | virtio-net: mark VIRTIO_NET_F_GSO as legacy (diff) | |
| download | qemu-0d34fbabc13891da41582b0823867dc5733fffef.tar.gz qemu-0d34fbabc13891da41582b0823867dc5733fffef.tar.xz qemu-0d34fbabc13891da41582b0823867dc5733fffef.zip | |
vhost: migration blocker only if shared log is used
Commit 31190ed7 added a migration blocker in vhost_dev_init() to
check if memfd would succeed. It is better if this blocker first
checks if vhost backend requires shared log. This will avoid a
situation where a blocker is added inappropriately (e.g. shared
log allocation fails when vhost backend doesn't support it).
Signed-off-by: Rafael David Tinoco <rafael.tinoco@canonical.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
