mirror of https://gitee.com/openkylin/libvirt.git
Typo and comment fixes
* docs/schemas/*.rng: the comments were wrong * src/qemu_conf.c: typo in an error message
This commit is contained in:
parent
a11010c07d
commit
3879b33447
|
@ -1,7 +1,6 @@
|
||||||
<!-- A Relax NG schema for the libvirt node device XML format -->
|
<!-- A Relax NG schema for the libvirt capabilities XML format -->
|
||||||
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
|
||||||
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
||||||
<!-- We handle only document defining a domain -->
|
|
||||||
<start>
|
<start>
|
||||||
<ref name='capabilities'/>
|
<ref name='capabilities'/>
|
||||||
</start>
|
</start>
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
<!-- A Relax NG schema for the libvirt node device XML format -->
|
<!-- A Relax NG schema for the libvirt node device XML format -->
|
||||||
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
|
||||||
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
||||||
<!-- We handle only document defining a domain -->
|
|
||||||
<start>
|
<start>
|
||||||
<ref name='device'/>
|
<ref name='device'/>
|
||||||
</start>
|
</start>
|
||||||
|
|
||||||
<!--
|
|
||||||
We handle only document defining a domain
|
|
||||||
-->
|
|
||||||
<define name='device'>
|
<define name='device'>
|
||||||
<element name="device">
|
<element name="device">
|
||||||
<!-- The name of the network, used to refer to it through the API
|
<!-- The name of the network, used to refer to it through the API
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<!-- A Relax NG schema for the libvirt node device XML format -->
|
<!-- A Relax NG schema for the libvirt storage pool XML format -->
|
||||||
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
|
||||||
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
||||||
<!-- We handle only document defining a domain -->
|
|
||||||
<start>
|
<start>
|
||||||
<ref name='pool'/>
|
<ref name='pool'/>
|
||||||
</start>
|
</start>
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<!-- A Relax NG schema for the libvirt node device XML format -->
|
<!-- A Relax NG schema for the libvirt storage volume XML format -->
|
||||||
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
|
||||||
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
||||||
<!-- We handle only document defining a domain -->
|
|
||||||
<start>
|
<start>
|
||||||
<ref name='vol'/>
|
<ref name='vol'/>
|
||||||
</start>
|
</start>
|
||||||
|
|
|
@ -1970,7 +1970,7 @@ int qemudBuildCommandLine(virConnectPtr conn,
|
||||||
if (def->nvideos) {
|
if (def->nvideos) {
|
||||||
if (def->nvideos > 1) {
|
if (def->nvideos > 1) {
|
||||||
qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR,
|
qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR,
|
||||||
"%s", _("only one video card is currentely supported"));
|
"%s", _("only one video card is currently supported"));
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue