]> git.proxmox.com Git - mirror_qemu.git/commitdiff
cpu: Fix cpu_class_set_vmsd() documentation
authorAndreas Färber <afaerber@suse.de>
Tue, 18 Jun 2013 00:22:13 +0000 (02:22 +0200)
committerAndreas Färber <afaerber@suse.de>
Fri, 28 Jun 2013 11:25:11 +0000 (13:25 +0200)
It's CPUClass::vmsd, not CPUState::vmsd.

Reviewed-by: liguang <lig.fnst@cn.fujitsu.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/qom/cpu.h

index a5bb5159782f04b9001d571b82404a55f220ff53..55a85c1a7d2a43f68a0fedb88827522e960b9c8a 100644 (file)
@@ -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,