]> Git Repo - qemu.git/commit
vhost: migration blocker only if shared log is used
authorRafael David Tinoco <[email protected]>
Mon, 24 Oct 2016 15:35:03 +0000 (15:35 +0000)
committerMichael S. Tsirkin <[email protected]>
Tue, 15 Nov 2016 15:20:37 +0000 (17:20 +0200)
commit0d34fbabc13891da41582b0823867dc5733fffef
tree9a73301710d2f8495da0dc9cf5af2f15daf097f7
parent2a083ffd2e37ef08769749a5c7cfc6ca65c9f8ea
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 <[email protected]>
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/virtio/vhost.c
This page took 0.024613 seconds and 4 git commands to generate.