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 <d...@openvz.org>
CC: Michael S. Tsirkin <m...@redhat.com>
CC: Eric Blake <ebl...@redhat.com>

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(-)

-- 
2.5.0


Reply via email to