Commit 76d5f029 authored by Andreas Färber's avatar Andreas Färber
Browse files

cpu: Fix cpu_class_set_vmsd() documentation



It's CPUClass::vmsd, not CPUState::vmsd.

Reviewed-by: default avatarliguang <lig.fnst@cn.fujitsu.com>
Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
parent ec3f8c99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,