]> git.proxmox.com Git - mirror_qemu.git/commit
plugins: Expose physical addresses instead of device offsets
authorAaron Lindsay <aaron@os.amperecomputing.com>
Fri, 12 Mar 2021 17:28:09 +0000 (17:28 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 17 Mar 2021 07:17:46 +0000 (07:17 +0000)
commit787148bf928a54b5cc86f5b434f9399e9737679c
tree11c5c460da6162f70d9b70b2a59ae57a8bf7cbb5
parent279d0a5b1e6b81f88f95b889de8356a331ea8380
plugins: Expose physical addresses instead of device offsets

This allows plugins to query for full virtual-to-physical address
translation for a given `qemu_plugin_hwaddr` and stops exposing the
offset within the device itself. As this change breaks the API,
QEMU_PLUGIN_VERSION is incremented.

Signed-off-by: Aaron Lindsay <aaron@os.amperecomputing.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210309202802.211756-1-aaron@os.amperecomputing.com>
Message-Id: <20210312172821.31647-3-alex.bennee@linaro.org>
contrib/plugins/hotpages.c
contrib/plugins/hwprofile.c
include/qemu/qemu-plugin.h
plugins/api.c