<feed xmlns='http://www.w3.org/2005/Atom'>
<title>passt, branch vhost-user-migration</title>
<subtitle>Plug A Simple Socket Transport</subtitle>
<link rel='alternate' type='text/html' href='https://passt.top/passt/'/>
<entry>
<title>vhost-user: Report to front-end we support VHOST_USER_PROTOCOL_F_DEVICE_STATE</title>
<updated>2024-12-19T11:10:15+00:00</updated>
<author>
<name>Laurent Vivier</name>
<email>lvivier@redhat.com</email>
</author>
<published>2024-12-18T16:31:20+00:00</published>
<link rel='alternate' type='text/html' href='https://passt.top/passt/commit/?id=14ab2b9eaecc5772a6ebcc4142603d625141f51b'/>
<id>14ab2b9eaecc5772a6ebcc4142603d625141f51b</id>
<content type='text'>
Report to front-end that we support device state commands:
VHOST_USER_CHECK_DEVICE_STATE
VHOST_USER_SET_LOG_BASE

These feature is needed to transfer backend state using frontend
channel.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Report to front-end that we support device state commands:
VHOST_USER_CHECK_DEVICE_STATE
VHOST_USER_SET_LOG_BASE

These feature is needed to transfer backend state using frontend
channel.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vhost-user: add VHOST_USER_SET_DEVICE_STATE_FD command</title>
<updated>2024-12-19T11:08:20+00:00</updated>
<author>
<name>Laurent Vivier</name>
<email>lvivier@redhat.com</email>
</author>
<published>2024-12-13T13:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://passt.top/passt/commit/?id=5dbe6a775b09243ecdd04c17a26e068ece49632f'/>
<id>5dbe6a775b09243ecdd04c17a26e068ece49632f</id>
<content type='text'>
Set the file descriptor to use to transfer the
backend device state during migration.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set the file descriptor to use to transfer the
backend device state during migration.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vhost-user: add VHOST_USER_CHECK_DEVICE_STATE command</title>
<updated>2024-12-19T11:08:20+00:00</updated>
<author>
<name>Laurent Vivier</name>
<email>lvivier@redhat.com</email>
</author>
<published>2024-12-13T13:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://passt.top/passt/commit/?id=b84026c37ff59719313201feda574ef2112da697'/>
<id>b84026c37ff59719313201feda574ef2112da697</id>
<content type='text'>
After transferring the back-end’s internal state during migration,
check whether the back-end was able to successfully fully process
the state.

The value returned indicates success or error;
0 is success, any non-zero value is an error.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After transferring the back-end’s internal state during migration,
check whether the back-end was able to successfully fully process
the state.

The value returned indicates success or error;
0 is success, any non-zero value is an error.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vhost-user: Report to front-end we support VHOST_USER_PROTOCOL_F_LOG_SHMFD</title>
<updated>2024-12-19T11:08:20+00:00</updated>
<author>
<name>Laurent Vivier</name>
<email>lvivier@redhat.com</email>
</author>
<published>2024-12-18T16:35:48+00:00</published>
<link rel='alternate' type='text/html' href='https://passt.top/passt/commit/?id=73e8444803903f1fed871dbb09aaebed6b037822'/>
<id>73e8444803903f1fed871dbb09aaebed6b037822</id>
<content type='text'>
This features allows QEMU to be migrated. We need also to report
VHOST_F_LOG_ALL.

This protocol feature reports we can log the page update and
implement VHOST_USER_SET_LOG_BASE and VHOST_USER_SET_LOG_FD.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This features allows QEMU to be migrated. We need also to report
VHOST_F_LOG_ALL.

This protocol feature reports we can log the page update and
implement VHOST_USER_SET_LOG_BASE and VHOST_USER_SET_LOG_FD.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vhost-user: add VHOST_USER_SET_LOG_BASE command</title>
<updated>2024-12-19T11:08:20+00:00</updated>
<author>
<name>Laurent Vivier</name>
<email>lvivier@redhat.com</email>
</author>
<published>2024-12-13T13:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://passt.top/passt/commit/?id=26190d93c0d6506edb5409831aefbb920525002d'/>
<id>26190d93c0d6506edb5409831aefbb920525002d</id>
<content type='text'>
Sets logging shared memory space.

When the back-end has VHOST_USER_PROTOCOL_F_LOG_SHMFD protocol feature,
the log memory fd is provided in the ancillary data of
VHOST_USER_SET_LOG_BASE message, the size and offset of shared memory
area provided in the message.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sets logging shared memory space.

When the back-end has VHOST_USER_PROTOCOL_F_LOG_SHMFD protocol feature,
the log memory fd is provided in the ancillary data of
VHOST_USER_SET_LOG_BASE message, the size and offset of shared memory
area provided in the message.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vhost-user: Pass vu_dev to more virtio functions</title>
<updated>2024-12-19T11:08:20+00:00</updated>
<author>
<name>Laurent Vivier</name>
<email>lvivier@redhat.com</email>
</author>
<published>2024-12-13T13:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://passt.top/passt/commit/?id=ebdc7c6fbcc49d53eabeab3df99e58891383bff1'/>
<id>ebdc7c6fbcc49d53eabeab3df99e58891383bff1</id>
<content type='text'>
vu_dev will be needed to log page update.

Add the parameter to:

  vring_used_write()
  vu_queue_fill_by_index()
  vu_queue_fill()
  vring_used_idx_set()
  vu_queue_flush()

The new parameter is unused for now.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vu_dev will be needed to log page update.

Add the parameter to:

  vring_used_write()
  vu_queue_fill_by_index()
  vu_queue_fill()
  vring_used_idx_set()
  vu_queue_flush()

The new parameter is unused for now.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vhost-user: add VHOST_USER_SET_LOG_FD command</title>
<updated>2024-12-19T11:08:20+00:00</updated>
<author>
<name>Laurent Vivier</name>
<email>lvivier@redhat.com</email>
</author>
<published>2024-12-13T14:15:20+00:00</published>
<link rel='alternate' type='text/html' href='https://passt.top/passt/commit/?id=749a3db4714db0cccc49dde7b9fb216b924e0bd6'/>
<id>749a3db4714db0cccc49dde7b9fb216b924e0bd6</id>
<content type='text'>
VHOST_USER_SET_LOG_FD is an optional message with an eventfd
in ancillary data, it may be used to inform the front-end that the
log has been modified.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
VHOST_USER_SET_LOG_FD is an optional message with an eventfd
in ancillary data, it may be used to inform the front-end that the
log has been modified.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vhost-user: update protocol features and commands list</title>
<updated>2024-12-19T11:08:20+00:00</updated>
<author>
<name>Laurent Vivier</name>
<email>lvivier@redhat.com</email>
</author>
<published>2024-12-13T13:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://passt.top/passt/commit/?id=12c90b9e03251a62acb98846e7b82018d7f58f86'/>
<id>12c90b9e03251a62acb98846e7b82018d7f58f86</id>
<content type='text'>
vhost-user protocol specification has been updated with
feature flags and commands we will need to implement migration.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vhost-user protocol specification has been updated with
feature flags and commands we will need to implement migration.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>virtio: Use const pointer for vu_dev</title>
<updated>2024-12-19T11:07:46+00:00</updated>
<author>
<name>Laurent Vivier</name>
<email>lvivier@redhat.com</email>
</author>
<published>2024-12-13T15:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://passt.top/passt/commit/?id=5e62fe3715cb0a216976a6f5e4605b30ec718bd7'/>
<id>5e62fe3715cb0a216976a6f5e4605b30ec718bd7</id>
<content type='text'>
We don't modify the structure in some virtio functions.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't modify the structure in some virtio functions.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>README: Mark vhost-user as supported</title>
<updated>2024-12-12T09:50:48+00:00</updated>
<author>
<name>Stefano Brivio</name>
<email>sbrivio@redhat.com</email>
</author>
<published>2024-12-12T09:50:48+00:00</published>
<link rel='alternate' type='text/html' href='https://passt.top/passt/commit/?id=e5ba8adef71ec53e192373ed1267dc338719dda0'/>
<id>e5ba8adef71ec53e192373ed1267dc338719dda0</id>
<content type='text'>
Signed-off-by: Stefano Brivio &lt;sbrivio@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefano Brivio &lt;sbrivio@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
