Thread (79 messages) flat view 79 messages, 4 authors, 2021-12-17

Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2021-02-24 08:48:19
Also in: lkml, netdev

On Wed, Feb 24, 2021 at 04:26:43PM +0800, Jason Wang wrote:
    Basically on first guest access QEMU would tell kernel whether
    guest is using the legacy or the modern interface.
    E.g. virtio_pci_config_read/virtio_pci_config_write will call ioctl(ENABLE_LEGACY, 1)
    while virtio_pci_common_read will call ioctl(ENABLE_LEGACY, 0)


But this trick work only for PCI I think?

Thanks
ccw has a revision it can check. mmio does not have transitional devices
at all.

-- 
MST

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help