Correctly pass log enable value from memory client to vhost device.

---
 hw/vhost.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/vhost.c b/hw/vhost.c
index 7391bd1..019afc2 100644
--- a/hw/vhost.c
+++ b/hw/vhost.c
@@ -387,7 +387,7 @@ static int vhost_client_migration_log(struct 
CPUPhysMemoryClient *client,
                dev->log_size = 0;
        } else {
                vhost_dev_log_resize(dev, vhost_get_log_size(dev));
-               r = vhost_dev_set_log(dev, false);
+               r = vhost_dev_set_log(dev, true);
                if (r < 0) {
                        return r;
                }
-- 
1.7.0.18.g0d53a5

_______________________________________________
virt mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/virt

Reply via email to