Re: [PATCH v2] Conf: Move validation of virDomainGraphicsListenDef out of Parser

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

 



Greetings Sir

My apologies for the incorrect formats as I am a beginner to git. Thank you very much for your corrections.

I have a few questions:

Can Questions and doubts be posted within the same mail that consists a patch file? Or should they be put in a separate email (as I am attempting to do now)?

As per your instruction to make the functions static, I was able to make the below function (created by me) static by calling it from virDomainGraphicsDefListensValidate() within domain_validate.c

static int
virDomainGraphicsListenDefValidate(const virDomainGraphicsListenDef *def,
                                   const virDomainGraphicsDef *graphics)

Similarly,
In this patch: Link
I had created a function named;
 int virDomainStorageNetHostSocketValidate(const virStorageNetHostDef *host,
                                     const char *transport);

that removes the validation checks of socket in virDomainStorageNetworkParseHost().
While I found a function to call Graphics Validation within validate.c, I am unable to find a function that can be used to call NetworkHostSocketValidate() from within domain_validate.c. Could you please provide a pointer on how it could be done?

Thank you in advance.

Shiva



[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