docs/devel/qom: Fix some editing errors
PATCH 1/1 docs/devel/qom: Fix some editing errors
"devices have an two additional [...]" -> "devices have two additional", and also a case of "were" vs. "where".
--- docs/devel/qom.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
docs/devel/qom.rst +2 -2
@@ -435,14 +435,14 @@ OBJECT_DEFINE_ABSTRACT_TYPE() macro can be used instead: Device Life-cycle ================= -As class initialisation cannot fail devices have an two additional +As class initialisation cannot fail, devices have two additional methods to handle the creation of dynamic devices. The ``realize`` function is called with ``Error **`` pointer which should be set if the device cannot complete its setup. Otherwise on successful completion of the ``realize`` method the device object is added to the QOM tree and made visible to the guest. -The reverse function is ``unrealize`` and should be were clean-up +The reverse function is ``unrealize`` and should be where clean-up code lives to tidy up after the system is done with the device. All devices can be instantiated by C code, however only some can
---
base-commit: e89049b3ba5f1f0468bc0d294173345597514a1b
change-id: 20260520-qom-76537da673b6
Best regards,
Signature · 1 line
J. Neuschäfer <[email protected]>
Quoted 34 lines · J. Neuschäfer
"devices have an two additional [...]" -> "devices have two additional", and also a case of "were" vs. "where".
Signed-off-by J. Neuschäfer <[email protected]>--- docs/devel/qom.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)docs/devel/qom.rst +2
-3@@ -435,14 +435,14 @@ OBJECT_DEFINE_ABSTRACT_TYPE() macro can be used instead: Device Life-cycle ================= -As class initialisation cannot fail devices have an two additional +As class initialisation cannot fail, devices have two additional methods to handle the creation of dynamic devices. The ``realize`` function is called with ``Error **`` pointer which should be set if the device cannot complete its setup. Otherwise on successful completion of the ``realize`` method the device object is added to the QOM tree and made visible to the guest. -The reverse function is ``unrealize`` and should be were clean-up +The reverse function is ``unrealize`` and should be where clean-up code lives to tidy up after the system is done with the device. All devices can be instantiated by C code, however only some can ---base-commit:
e89049b3ba5f1f0468bc0d294173345597514a1b
change-id: 20260520-qom-76537da673b6
Quoted 1 line
Best regards,
Perhaps this could go via qemu-trivial (cc'ed).
Quoted 34 lines · J. Neuschäfer
"devices have an two additional [...]" -> "devices have two additional", and also a case of "were" vs. "where".
Signed-off-by J. Neuschäfer <[email protected]>--- docs/devel/qom.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)docs/devel/qom.rst +2
-3@@ -435,14 +435,14 @@ OBJECT_DEFINE_ABSTRACT_TYPE() macro can be used instead: Device Life-cycle ================= -As class initialisation cannot fail devices have an two additional +As class initialisation cannot fail, devices have two additional methods to handle the creation of dynamic devices. The ``realize`` function is called with ``Error **`` pointer which should be set if the device cannot complete its setup. Otherwise on successful completion of the ``realize`` method the device object is added to the QOM tree and made visible to the guest. -The reverse function is ``unrealize`` and should be were clean-up +The reverse function is ``unrealize`` and should be where clean-up code lives to tidy up after the system is done with the device. All devices can be instantiated by C code, however only some can ---base-commit:
e89049b3ba5f1f0468bc0d294173345597514a1b
change-id: 20260520-qom-76537da673b6
Quoted 1 line
Best regards,
Thanks,
I'll pull this through docs subsystem.
Regards,
Pierrick
Quoted 34 lines · J. Neuschäfer
"devices have an two additional [...]" -> "devices have two additional", and also a case of "were" vs. "where".
Signed-off-by J. Neuschäfer <[email protected]>--- docs/devel/qom.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)docs/devel/qom.rst +2
-3@@ -435,14 +435,14 @@ OBJECT_DEFINE_ABSTRACT_TYPE() macro can be used instead: Device Life-cycle ================= -As class initialisation cannot fail devices have an two additional +As class initialisation cannot fail, devices have two additional methods to handle the creation of dynamic devices. The ``realize`` function is called with ``Error **`` pointer which should be set if the device cannot complete its setup. Otherwise on successful completion of the ``realize`` method the device object is added to the QOM tree and made visible to the guest. -The reverse function is ``unrealize`` and should be were clean-up +The reverse function is ``unrealize`` and should be where clean-up code lives to tidy up after the system is done with the device. All devices can be instantiated by C code, however only some can ---base-commit:
e89049b3ba5f1f0468bc0d294173345597514a1b
change-id: 20260520-qom-76537da673b6
Quoted 1 line
Best regards,
This was merged into master (cbf877d67a812be17a9ce404a589e1bdf722c1f6). Thank you for your contribution!
Regards,
Pierrick