[PATCH v2 0/6] Add guest device info to virDomainGetGuestInfo

Michal Privoznik via Devel posted 6 patches 1 week, 2 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1786707940.git.mprivozn@redhat.com
docs/manpages/virsh.rst          |  17 +++-
include/libvirt/libvirt-domain.h |  78 ++++++++++++++++
src/bhyve/bhyve_driver.c         |  21 ++++-
src/hypervisor/qemu_agent.c      | 155 +++++++++++++++++++++++++++++++
src/hypervisor/qemu_agent.h      |  26 ++++++
src/libvirt-domain.c             |   5 +
src/libvirt_private.syms         |   3 +
src/qemu/qemu_driver.c           |  21 ++++-
tests/qemuagenttest.c            | 123 ++++++++++++++++++++++++
tools/virsh-domain.c             |   6 ++
10 files changed, 449 insertions(+), 6 deletions(-)
[PATCH v2 0/6] Add guest device info to virDomainGetGuestInfo
Posted by Michal Privoznik via Devel 1 week, 2 days ago
Rebased and slightly amended version of:

https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/6V6K76JNJPOYYP4QJXUVGIN67BJR4CIS/

diff to v1:
- Rebase, because the original series no longer applies cleanly
- Implement the device info for the bhyve driver too

Michal Prívozník (6):
  Add guest device info to virDomainGetGuestInfo
  qemu_agent: Introduce guest-get-info
  qemuagenttest: Introduce GetGuestDeviceInfo test case
  qemu: Implement device info for virDomainGetGuestInfo() API
  bhyve: Implement device info for virDomainGetGuestInfo() API
  virsh: Add support for VIR_DOMAIN_GUEST_INFO_DEVICES

 docs/manpages/virsh.rst          |  17 +++-
 include/libvirt/libvirt-domain.h |  78 ++++++++++++++++
 src/bhyve/bhyve_driver.c         |  21 ++++-
 src/hypervisor/qemu_agent.c      | 155 +++++++++++++++++++++++++++++++
 src/hypervisor/qemu_agent.h      |  26 ++++++
 src/libvirt-domain.c             |   5 +
 src/libvirt_private.syms         |   3 +
 src/qemu/qemu_driver.c           |  21 ++++-
 tests/qemuagenttest.c            | 123 ++++++++++++++++++++++++
 tools/virsh-domain.c             |   6 ++
 10 files changed, 449 insertions(+), 6 deletions(-)

-- 
2.54.0

Re: [PATCH v2 0/6] Add guest device info to virDomainGetGuestInfo
Posted by Peter Krempa via Devel 1 week, 2 days ago
On Fri, Aug 14, 2026 at 13:47:46 +0200, Michal Privoznik via Devel wrote:
> Rebased and slightly amended version of:
> 
> https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/6V6K76JNJPOYYP4QJXUVGIN67BJR4CIS/
> 
> diff to v1:
> - Rebase, because the original series no longer applies cleanly
> - Implement the device info for the bhyve driver too
> 
> Michal Prívozník (6):
>   Add guest device info to virDomainGetGuestInfo
>   qemu_agent: Introduce guest-get-info
>   qemuagenttest: Introduce GetGuestDeviceInfo test case
>   qemu: Implement device info for virDomainGetGuestInfo() API
>   bhyve: Implement device info for virDomainGetGuestInfo() API
>   virsh: Add support for VIR_DOMAIN_GUEST_INFO_DEVICES

Series:

Reviewed-by: Peter Krempa <pkrempa@redhat.com>

provided that you fix the example timestamp in the API docs and add
emphasis on the address not being in hex format in the virsh docs and
document which unit for the timestamp exists in the code.

Other than that further patches explained my questions.