diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2015-06-04 12:34:14 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-06-10 18:15:04 +0200 |
commit | 6c0196d702e8482a17638ee79f45ce27cdd1ef5d (patch) | |
tree | fa1acb490639089eaf69d9684f95b5b54ca877d5 /hw/net/virtio-net.c | |
parent | f5a5628cf0b65b223fa0c9031714578dfac4cf04 (diff) |
virtio: disallow late feature changes for virtio-1
For virtio-1 devices, the driver must not attempt to set feature bits
after it set FEATURES_OK in the device status. Simply reject it in
that case.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions