Message ID | 1466503372-28334-20-git-send-email-marcandre.lureau@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c index 22ea653..cc2f68a 100644 --- a/hw/net/vhost_net.c +++ b/hw/net/vhost_net.c @@ -383,7 +383,7 @@ void vhost_net_cleanup(struct vhost_net *net) int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) { const VhostOps *vhost_ops = net->dev.vhost_ops; - int r = -1; + int r = 0; if (vhost_ops->vhost_migration_done) { r = vhost_ops->vhost_migration_done(&net->dev, mac_addr);