memory_hotplug_virshdump: add sequential attach/dump - #6912
Conversation
…lug/unplug - Implement full pool lifecycle (define > start > autostart > volume creation) - Support dirpool, fspool, and defaultpool with qcow2/raw formats - Validate attach-disk and attach-device-xml variants - Ensure cleanup via finally block (delete volume, destroy/undefine pool, remove target dir) Signed-off-by: Sneh Shikha Yadav <syadav@linux.ibm.com>
… variants - Add qcow2 disk variants for --live, --config, and --persistent attach cases - Enable attach followed by immediate detach for selected test scenarios - Introduce helpers for domblklist verification and device absence checks - Add support for non-root disk selection via /dev/disk/by-id - Handle --config attach with VM restart and verification - Validate persistent XML changes across VM restart - Extend detach verification for both active and persistent configurations Signed-off-by: Sneh Shikha Yadav <syadav@linux.ibm.com>
Add VirtualDiskQcow2Raw test variants to cover hot attach/detach of 100M qcow2 virtio disks across --live, --config, and --persistent modes. Enable attach+detach flow and validate behavior before/after attach, including restart handling for --config. Introduce VirtualDiskQcow2Raw class to support qcow2/raw formats using create_local_disk, set driver type, and verify disk via domblklist and guest checks. Signed-off-by: Sneh Shikha Yadav <syadav@linux.ibm.com>
- Validate memory hotplug followed by virsh dump per iteration - Ensure consistent VM state and avoid race conditions during runtime - Improve error handling, logging, and cleanup to prevent spurious failures Signed-off-by: Sneh Shikha Yadav <syadav@linux.ibm.com>
|
Warning Review limit reached
Next review available in: 48 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
As per initial comment, I assume it is only memory releated patch. However I see code related to disk attach and detach. Please correct me if I am wrong. |
| try: | ||
| logging.info(" [virsh dump] %s", dump_file) | ||
| dump_result = virsh.dump(vm_name, dump_file, dump_options, debug=True) | ||
|
|
There was a problem hiding this comment.
as per code for every iteration of hotplug dump is taken. is that you are planning. As dump is a distructive tests it will take good amount of time for multiple iterations. I would recommend to run virsh dump once or twice in parallel to hotplug.
Signed-off-by: Sneh Shikha Yadav syadav@linux.ibm.com