[SLOF] [PATCH v4 19/23] virtio: 1.0 guest features negotiation

Thomas Huth thuth at redhat.com
Fri Jan 29 04:26:47 AEDT 2016


On 28.01.2016 11:24, Nikunj A Dadhania wrote:
> With virtio 1.0, there feature negotiation step needs to be completed
> before starting to notify the device.
> 
> This includes following steps:
> * Read host supported features
> * Check if virtio 1.0 is supported
> * Set guest supported features
> * Read host features and compare with the guest features.
> * Write FEATURES_OK and check it back to confirm.
> 
> Add virtio_get_status supporting routine.
> 
> Signed-off-by: Nikunj A Dadhania <nikunj at linux.vnet.ibm.com>
> ---
>  lib/libvirtio/virtio.c | 42 ++++++++++++++++++++++++++++++++++++++++++
>  lib/libvirtio/virtio.h |  2 ++
>  2 files changed, 44 insertions(+)

Reviewed-by: Thomas Huth <thuth at redhat.com>




More information about the SLOF mailing list