[PATCH v2 0/2] Introduce virDomainBlockRebase2 API

Nikolai Barybin via Devel posted 2 patches 1 week, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20250829080240.229601-1-nikolai.barybin@virtuozzo.com
include/libvirt/libvirt-domain.h | 43 +++++++++++++++++++++
src/driver-hypervisor.h          |  8 ++++
src/libvirt-domain.c             | 65 ++++++++++++++++++++++++++++++++
src/libvirt_public.syms          |  5 +++
src/qemu/qemu_driver.c           | 48 +++++++++++++++++++++++
src/remote/remote_driver.c       |  1 +
src/remote/remote_protocol.x     | 17 ++++++++-
src/remote_protocol-structs      | 10 +++++
8 files changed, 196 insertions(+), 1 deletion(-)
[PATCH v2 0/2] Introduce virDomainBlockRebase2 API
Posted by Nikolai Barybin via Devel 1 week, 1 day ago
During first series discussion we agreed on having API that do both -
block pull and block copy was a mistake. Thus, I present
'block-stream-only' API.

Changes since last revision:
- Dropped block-copy functionality
- Enabled bandwidth units as params, not as a flag
- Improved documentation

P.S. Not sure we need virsh support at this stage, because current
params can be covered with 'virsh blockpull'. But if you propose more
params or we want account for future changes, I can add virsh support.

Nikolai Barybin (2):
  api: remote: introduce virDomainBlockRebase2 API
  qemu: implement driver support for domainBlockRebase2 API

 include/libvirt/libvirt-domain.h | 43 +++++++++++++++++++++
 src/driver-hypervisor.h          |  8 ++++
 src/libvirt-domain.c             | 65 ++++++++++++++++++++++++++++++++
 src/libvirt_public.syms          |  5 +++
 src/qemu/qemu_driver.c           | 48 +++++++++++++++++++++++
 src/remote/remote_driver.c       |  1 +
 src/remote/remote_protocol.x     | 17 ++++++++-
 src/remote_protocol-structs      | 10 +++++
 8 files changed, 196 insertions(+), 1 deletion(-)

-- 
2.43.5