On Tuesday, 2 May 2017 15:35:53 CEST Richard W.M. Jones wrote:
In particular the virt-rescue --scratch option makes it very easy to
add huge numbers of drives. Since the per-backend max_disks limit was
never checked anywhere you could get peculiar failures. Now you'll
get a clear error message:
$ virt-rescue --scratch=256
libguestfs: error: too many drives have been added, the current backend only supports 255
drives
---
Not wrong per-se, although IMHO it could just query
g->backend_ops->max_disks with no need to go throught the
tracing/wrapping API stuff.
--
Pino Toscano