In some situations (for instance, debug), we want to be able to see the features that were confirmed by the guest. At the same time, we would like to do this safely, without the possibility of setting bits of guest features from the outside.
Maxim Davydov (8): qdev-properties: Add read-only 64 bit property virtio: Add tracking of the common virtio guest features virtio-gpu: Add tracking of the virtio guest feature bits virtio-serial: Add tracking of the virtio guest feature bits virtio-net: Add tracking of the virtio guest feature bits scsi: Add tracking of the acknowledged feature bits virtio-blk: Add tracking of the virtio guest feature bits virtio-balloon: Add tracking of the virtio guest feature bits hw/block/virtio-blk.c | 20 ++++--- hw/char/virtio-serial-bus.c | 5 +- hw/core/qdev-properties.c | 32 +++++++++++ hw/display/vhost-user-gpu.c | 3 +- hw/display/virtio-gpu.c | 8 +-- hw/net/virtio-net.c | 118 +++++++++++++++++++++++++---------------- hw/scsi/vhost-scsi.c | 6 +-- hw/scsi/vhost-user-scsi.c | 18 +++---- hw/scsi/virtio-scsi.c | 10 ++-- hw/virtio/virtio-balloon.c | 20 ++++--- hw/virtio/virtio.c | 2 +- include/hw/qdev-properties.h | 5 ++ include/hw/virtio/virtio-gpu.h | 10 ++-- include/hw/virtio/virtio.h | 39 +++++++++----- 14 files changed, 193 insertions(+), 103 deletions(-) -- 1.8.3.1