why not have a database instead of an xml file ?
would it not be easier?
would be easier because can just update on the fly and do requests as needed from any script without saving and loading xml files all over the place.
why not have a database instead of an xml file ?
would it not be easier?
would be easier because can just update on the fly and do requests as needed from any script without saving and loading xml files all over the place.
Are you talking about Qubes settings files? Salt formula?
Can you post an example please?
(moved to General Discussion since this is not a Support question)
In case you’re talking about vm definition files, this is a question for libvirt.
Nonetheless it probably has something to do with files being human readable and accessible directly instead of pieces of data in an obscure database.
Even with xml, libvirt often can update settings on the fly. It should not be a flaw of this data format, unless I don’t know what I’m talking about lolol
This is more related to qubes related settings and files. But there are other things that would be better to have as a database as it can be updated and manipulated easier and also allow for better manipulation of data.
Since saving the information writes to only qubes files then it can update virtual in the libvirt for xen on the same for that virtual. But it would mean not having to rewrite the whole hing all he time.