diff mbox

[qom-cpu,v3,1/6] cpu: Fix cpu_class_set_vmsd() documentation

Message ID 1371515385-32203-2-git-send-email-afaerber@suse.de
State New
Headers show

Commit Message

Andreas Färber June 18, 2013, 12:29 a.m. UTC
It's CPUClass::vmsd, not CPUState::vmsd.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 include/qom/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

liguang June 18, 2013, 2:30 a.m. UTC | #1
在 2013-06-18二的 02:29 +0200,Andreas Färber写道:
> It's CPUClass::vmsd, not CPUState::vmsd.
> 
> Signed-off-by: Andreas Färber <afaerber@suse.de>

Reviewed-by: liguang <lig.fnst@cn.fujitsu.com>

> ---
>  include/qom/cpu.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/qom/cpu.h b/include/qom/cpu.h
> index a5bb515..55a85c1 100644
> --- a/include/qom/cpu.h
> +++ b/include/qom/cpu.h
> @@ -226,7 +226,7 @@ ObjectClass *cpu_class_by_name(const char *typename, const char *cpu_model);
>   *
>   * The @value argument is intentionally discarded for the non-softmmu targets
>   * to avoid linker errors or excessive preprocessor usage. If this behavior
> - * is undesired, you should assign #CPUState.vmsd directly instead.
> + * is undesired, you should assign #CPUClass.vmsd directly instead.
>   */
>  #ifndef CONFIG_USER_ONLY
>  static inline void cpu_class_set_vmsd(CPUClass *cc,
Juan Quintela June 18, 2013, 11:43 a.m. UTC | #2
Andreas Farber <afaerber@suse.de> wrote:
> It's CPUClass::vmsd, not CPUState::vmsd.
>
> Signed-off-by: Andreas Färber <afaerber@suse.de>

Reviewed-by: Juan Quintela <quintela@redhat.com>
diff mbox

Patch

diff --git a/include/qom/cpu.h b/include/qom/cpu.h
index a5bb515..55a85c1 100644
--- a/include/qom/cpu.h
+++ b/include/qom/cpu.h
@@ -226,7 +226,7 @@  ObjectClass *cpu_class_by_name(const char *typename, const char *cpu_model);
  *
  * The @value argument is intentionally discarded for the non-softmmu targets
  * to avoid linker errors or excessive preprocessor usage. If this behavior
- * is undesired, you should assign #CPUState.vmsd directly instead.
+ * is undesired, you should assign #CPUClass.vmsd directly instead.
  */
 #ifndef CONFIG_USER_ONLY
 static inline void cpu_class_set_vmsd(CPUClass *cc,