mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-24 21:45:21 +00:00
conf: remove outdated comments
Some *ParseXML functions have comments stating what kind of device they parse with an outdated list of parameters, with the exception of virDomainFSDefParseXML which claims to parse a disk. Remove them, assuming the function names are descriptive enough. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
d5256cbd55
commit
31375a0842
@ -7598,9 +7598,6 @@ virDomainDeviceAliasIsUserAlias(const char *aliasStr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Parse the XML definition for a device address
|
|
||||||
* @param node XML nodeset to parse for device address definition
|
|
||||||
*/
|
|
||||||
static int
|
static int
|
||||||
virDomainDeviceInfoParseXML(virDomainXMLOptionPtr xmlopt G_GNUC_UNUSED,
|
virDomainDeviceInfoParseXML(virDomainXMLOptionPtr xmlopt G_GNUC_UNUSED,
|
||||||
xmlNodePtr node,
|
xmlNodePtr node,
|
||||||
@ -10040,9 +10037,6 @@ virDomainDiskDefParsePrivateData(xmlXPathContextPtr ctxt,
|
|||||||
#define VENDOR_LEN 8
|
#define VENDOR_LEN 8
|
||||||
#define PRODUCT_LEN 16
|
#define PRODUCT_LEN 16
|
||||||
|
|
||||||
/* Parse the XML definition for a disk
|
|
||||||
* @param node XML nodeset to parse for disk definition
|
|
||||||
*/
|
|
||||||
static virDomainDiskDefPtr
|
static virDomainDiskDefPtr
|
||||||
virDomainDiskDefParseXML(virDomainXMLOptionPtr xmlopt,
|
virDomainDiskDefParseXML(virDomainXMLOptionPtr xmlopt,
|
||||||
xmlNodePtr node,
|
xmlNodePtr node,
|
||||||
@ -10721,9 +10715,6 @@ virDomainControllerModelTypeToString(virDomainControllerDefPtr def,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Parse the XML definition for a controller
|
|
||||||
* @param node XML nodeset to parse for controller definition
|
|
||||||
*/
|
|
||||||
static virDomainControllerDefPtr
|
static virDomainControllerDefPtr
|
||||||
virDomainControllerDefParseXML(virDomainXMLOptionPtr xmlopt,
|
virDomainControllerDefParseXML(virDomainXMLOptionPtr xmlopt,
|
||||||
xmlNodePtr node,
|
xmlNodePtr node,
|
||||||
@ -11094,9 +11085,6 @@ virDomainNetGenerateMAC(virDomainXMLOptionPtr xmlopt,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Parse the XML definition for a disk
|
|
||||||
* @param node XML nodeset to parse for disk definition
|
|
||||||
*/
|
|
||||||
static virDomainFSDefPtr
|
static virDomainFSDefPtr
|
||||||
virDomainFSDefParseXML(virDomainXMLOptionPtr xmlopt,
|
virDomainFSDefParseXML(virDomainXMLOptionPtr xmlopt,
|
||||||
xmlNodePtr node,
|
xmlNodePtr node,
|
||||||
@ -11521,10 +11509,6 @@ virDomainChrSourceReconnectDefParseXML(virDomainChrSourceReconnectDefPtr def,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Parse the XML definition for a network interface
|
|
||||||
* @param node XML nodeset to parse for net definition
|
|
||||||
* @return 0 on success, -1 on failure
|
|
||||||
*/
|
|
||||||
static virDomainNetDefPtr
|
static virDomainNetDefPtr
|
||||||
virDomainNetDefParseXML(virDomainXMLOptionPtr xmlopt,
|
virDomainNetDefParseXML(virDomainXMLOptionPtr xmlopt,
|
||||||
xmlNodePtr node,
|
xmlNodePtr node,
|
||||||
@ -12909,7 +12893,6 @@ virDomainChrDefNew(virDomainXMLOptionPtr xmlopt)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Parse the XML definition for a character device
|
/* Parse the XML definition for a character device
|
||||||
* @param node XML nodeset to parse for net definition
|
|
||||||
*
|
*
|
||||||
* The XML we're dealing with looks like
|
* The XML we're dealing with looks like
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user