public inbox for virtio-dev@lists.linux.dev
 help / color / mirror / Atom feed
* [virtio-dev] About custom device counter
@ 2023-06-12  6:12 Xuan Zhuo
  2023-06-12  6:25 ` [virtio-dev] " Michael S. Tsirkin
  2023-06-13  1:57 ` [virtio-dev] " Parav Pandit
  0 siblings, 2 replies; 20+ messages in thread
From: Xuan Zhuo @ 2023-06-12  6:12 UTC (permalink / raw)
  To: virtio-dev; +Cc: virtio-comment, Michael S . Tsirkin, Parav Pandit, Jason Wang

We hope to support device custom counter. That is, virtio spec provides a
channel for driver and device, and both key and value are provided by device.

We discussed this issue earlier, and after some internal practice, I think it is
still necessary to discuss this again.

It is very important, each cloud vendor will always have some special counters,
these counters may not exist in another vendor. At the same time, if we have
to discuss it in the spec every time we add a counter, or add a feature, I
think it is very inconvenient. Manufacturers may add some new counters at any
time based on some new requirements. Some counters may also be removed at any
time.

Of course I know that doing this might hurt migration. But what I want to say is,
why does it affect live migration? These counters we plan to give to users
through ethtool -S, and some changes have taken place in the ethtool counters
output by users. Does this have any practical impact? Or do we directly use
some other output in a way, we can clearly tell the user that these counters
may change during the migration process. For example, the driver is migrated
to some new devices. These devices support some new counters. I think users
should be able to see these new counters. These new counters may be the
purpose of the migration.

We don't need to support live migration at this point.

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-06-20  2:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-12  6:12 [virtio-dev] About custom device counter Xuan Zhuo
2023-06-12  6:25 ` [virtio-dev] " Michael S. Tsirkin
2023-06-12 11:27   ` [virtio-dev] Re: [virtio-comment] " Xuan Zhuo
2023-06-13  9:02     ` Michael S. Tsirkin
2023-06-15  6:23       ` Xuan Zhuo
2023-06-16  0:57         ` Jason Wang
2023-06-16  1:36           ` Xuan Zhuo
2023-06-16 14:42             ` Michael S. Tsirkin
2023-06-16 14:13         ` Michael S. Tsirkin
2023-06-19  1:44           ` Xuan Zhuo
2023-06-19 12:33           ` [virtio-dev] " Parav Pandit
2023-06-19 14:20             ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 20:43               ` [virtio-dev] " Parav Pandit
2023-06-20  2:45               ` [virtio-dev] " Xuan Zhuo
2023-06-19 14:25         ` Michael S. Tsirkin
2023-06-20  2:55           ` Xuan Zhuo
2023-06-13  1:57 ` [virtio-dev] " Parav Pandit
2023-06-15  6:35   ` [virtio-dev] " Xuan Zhuo
2023-06-19 20:40     ` [virtio-dev] " Parav Pandit
2023-06-20  2:39       ` [virtio-dev] " Xuan Zhuo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox