On 3/1/24 11:00, Martin Kletzander wrote: > On Mon, Jan 29, 2024 at 04:43:53PM -0500, mgal...@akamai.com wrote: >> From: Michael Galaxy <mgal...@akamai.com> >> >> We start by introducing a backwards-compatible, comma-separated >> specification that will not break existing installations, such >> as in the following example: >> >> $ cat qemu.conf | grep memory_backing_dir >> memory_backing_dir = "/path/to/pmem/0,/path/to/pmem/1" >> > > This would be better as an array, but I understand you thought it would > be easier to code for backward compatibility.
This have to be array. virConfGetValueStringList() can handle both cases just fine. And in fact, when used it'll result in cleaner code. Michal _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-le...@lists.libvirt.org