public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH qemu-server v6 0/2] hotplug: improve and fix cleanup/error handling
@ 2026-11-04  6:48 Dominik Csapak
  2026-11-04  6:48 ` [PATCH qemu-server v6 1/2] hotplug: factor out cleanup of disk devices Dominik Csapak
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dominik Csapak @ 2026-11-04  6:48 UTC (permalink / raw)
  To: pve-devel

This replaces my earlier v4 9/9 patch[0]

It uses a different approach now by unifying the cleanup and removal of
disks and their controllers.

It also fixes a related bug in 1/4 that was uncovered.

changes from v5:
* rebase on master
* rename helper to 'delete_disk_hardwware'
* don't eval the individual calls, but always the whole function
  (drops noerr parameter)

changes from v4:
* rebase on master
* new bugfix (1/4)
* new patch for iothread deletion
* new patch for refactoring the cleanup

0: https://lore.proxmox.com/pve-devel/20261023130324.451252-10-d.csapak@proxmox.com/

Dominik Csapak (2):
  hotplug: factor out cleanup of disk devices
  hotplug: clean up disk devices/objects if adding them failed

 src/PVE/QemuServer.pm                         | 70 ++++++++++++-------
 src/test/hotplug/disk-add-fail.conf           | 19 +++++
 src/test/hotplug/disk-add-fail.conf.expected  | 10 +++
 .../disk-add-scsi-single-disk-fail.conf       | 19 +++++
 ...sk-add-scsi-single-disk-fail.conf.expected | 12 ++++
 .../hotplug/disk-add-scsi-single-fail.conf    | 19 +++++
 .../disk-add-scsi-single-fail.conf.expected   |  5 ++
 7 files changed, 127 insertions(+), 27 deletions(-)
 create mode 100644 src/test/hotplug/disk-add-fail.conf
 create mode 100644 src/test/hotplug/disk-add-fail.conf.expected
 create mode 100644 src/test/hotplug/disk-add-scsi-single-disk-fail.conf
 create mode 100644 src/test/hotplug/disk-add-scsi-single-disk-fail.conf.expected
 create mode 100644 src/test/hotplug/disk-add-scsi-single-fail.conf
 create mode 100644 src/test/hotplug/disk-add-scsi-single-fail.conf.expected

-- 
2.47.3





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

end of thread, other threads:[~2026-11-05  8:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-04  6:48 [PATCH qemu-server v6 0/2] hotplug: improve and fix cleanup/error handling Dominik Csapak
2026-11-04  6:48 ` [PATCH qemu-server v6 1/2] hotplug: factor out cleanup of disk devices Dominik Csapak
2026-11-04  6:48 ` [PATCH qemu-server v6 2/2] hotplug: clean up disk devices/objects if adding them failed Dominik Csapak
2026-11-05  8:27 ` superseded: [PATCH qemu-server v6 0/2] hotplug: improve and fix cleanup/error handling Dominik Csapak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal