Re: [PATCH 1/5] qemu.conf changes to support multiple memory backend directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/1/24 11:00, Martin Kletzander wrote:
> On Mon, Jan 29, 2024 at 04:43:53PM -0500, mgalaxy@xxxxxxxxxx wrote:
>> From: Michael Galaxy <mgalaxy@xxxxxxxxxx>
>>
>> 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@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux