It is very convinient and useful for debug purpose to expose the set of
features negotiated with guest. The patch exports those features via
read-only bit properties.
This patchset is a proof-of-concept on a base of virtio network device.
Signed-off-by: Denis V. Lunev <address@hidden>
CC: Michael S. Tsirkin <address@hidden>
CC: Eric Blake <address@hidden>
Denis V. Lunev (2):
qdev: add read-only bit/bit64 property
virtio: show features acked by guest in 'info qtree' dump
hw/core/qdev-properties.c | 29 +++++++++++++++++++++++++++--
hw/net/virtio-net.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
include/hw/qdev-properties.h | 18 ++++++++++++++++++
3 files changed, 89 insertions(+), 2 deletions(-)