From 76d5f0294a744fa6786683760aa33e2b7fae6d8f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20F=C3=A4rber?= Date: Tue, 18 Jun 2013 02:22:13 +0200 Subject: [PATCH] cpu: Fix cpu_class_set_vmsd() documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It's CPUClass::vmsd, not CPUState::vmsd. Reviewed-by: liguang Reviewed-by: Juan Quintela Signed-off-by: Andreas Färber --- 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, -- 2.7.4