Re: [PATCH v2 1/2] qemu: Check empty drives in block I/O throttle API

2025-01-29 Thread Peter Krempa
On Tue, Jan 21, 2025 at 14:33:25 +, Fabian Leditzky via Devel wrote: > Provide a proper user facing error when attempting to query block > I/O throttling settings for an empty drive. Without this patch, a less > meaningful internal error produced by qemuMonitorJSONBlockIoThrottleInfo > would be

[PATCH v2 1/2] qemu: Check empty drives in block I/O throttle API

2025-01-21 Thread Fabian Leditzky via Devel
Provide a proper user facing error when attempting to query block I/O throttling settings for an empty drive. Without this patch, a less meaningful internal error produced by qemuMonitorJSONBlockIoThrottleInfo would be propagated to the user. Signed-off-by: Fabian Leditzky --- src/qemu/qemu_driv