Re: [PATCH 3/3] qemu: Use virJSONValueObjectGetStringArray() more

2020-12-01 Thread Ján Tomko
On a Tuesday in 2020, Michal Privoznik wrote: In a few commit back (v6.10.0-5-gb3dad96972) a new helper for obtaining string arrays from a virJSONObject was introduced: virJSONValueObjectGetStringArray(). I've identified three places where it can be used instead of open coding it: qemuAgentSSHGet

[PATCH 3/3] qemu: Use virJSONValueObjectGetStringArray() more

2020-12-01 Thread Michal Privoznik
In a few commit back (v6.10.0-5-gb3dad96972) a new helper for obtaining string arrays from a virJSONObject was introduced: virJSONValueObjectGetStringArray(). I've identified three places where it can be used instead of open coding it: qemuAgentSSHGetAuthorizedKeys(), qemuMonitorJSONGetStringListPr