qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC for 2.7 0/2] virtio: show guest features in 'info


From: Denis V. Lunev
Subject: Re: [Qemu-devel] [RFC for 2.7 0/2] virtio: show guest features in 'info qtree'
Date: Wed, 11 May 2016 13:39:48 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

On 05/11/2016 12:52 PM, Denis V. Lunev wrote:
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(-)

alternatively, we can define new property type, which
will set bit in one place and shows the value of two bits.

Any suggestion would be welcome.

Den



reply via email to

[Prev in Thread] Current Thread [Next in Thread]