On 2/12/24 23:39, Pierrick Bouvier wrote:
This information is already accessible using qemu_info_t during plugin
install.

We will introduce another function (qemu_plugin_num_vcpus) which
represent how many cpus were enabled, by tracking new cpu indexes.

It's a breaking change, so we bump API version.

Signed-off-by: Pierrick Bouvier<[email protected]>
---
  include/qemu/qemu-plugin.h   | 10 +++-------
  plugins/plugin.h             |  2 +-
  contrib/plugins/cache.c      |  2 +-
  plugins/api.c                | 30 ------------------------------
  plugins/qemu-plugins.symbols |  2 --
  5 files changed, 5 insertions(+), 41 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>


r~

Reply via email to