[libvirt] [PATCHv3 1/7] xen_xm: Split the per-disk logic from xenParseXMDisk()

Ján Tomko jtomko at redhat.com
Fri Jun 8 16:27:28 UTC 2018


On Mon, May 28, 2018 at 12:28:20AM +0200, Fabiano Fidêncio wrote:
>xenParseXMDisk() does a lot of stuff and, in order to make things
>cleaner, let's split it in two new functions:
>- xenParseXMDisk(): it's a new function that keeps the old name. It's
>responsible for the whole per-disk logic from the old xenParseXMDisk();
>- xenParseXMDiskList(): it's basically the old xenParseXMDisk(), but
>now it just iterates over the list of disks, calling xenParseXMDisk()
>per each disk.
>
>This patch is basically preparing the ground for the future when
>typesafe virConf acessors will be used.
>
>Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
>---
> src/xenconfig/xen_xm.c | 304 +++++++++++++++++++++++++------------------------
> 1 file changed, 156 insertions(+), 148 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180608/66d8a918/attachment-0001.sig>


More information about the libvir-list mailing list