From: Marcel Apfelbaum Date: Wed, 9 Apr 2014 17:34:49 +0000 (+0300) Subject: machine: Remove obsoleted field from QEMUMachine X-Git-Tag: v2.1.0-rc0~146^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e1d668ba9783483284e081662b8a19fd48846b0;p=thirdparty%2Fqemu.git machine: Remove obsoleted field from QEMUMachine This field shouldn't be used any more since we adopted the QOM way of iterating over the types. The commit that obsoleted it is: commit 261747f176f6f2d88f8268aaebfdd1a1afe887e2 vl: Use MachineClass instead of global QEMUMachine list The machine registration flow is refactored to use the QOM functionality. Instead of linking the machines into a list, each machine has a type and the types can be traversed in the QOM way. Signed-off-by: Marcel Apfelbaum Signed-off-by: Andreas Färber --- diff --git a/include/hw/boards.h b/include/hw/boards.h index dd2c70da36c..aaaa8716875 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -46,7 +46,6 @@ struct QEMUMachine { const char *default_machine_opts; const char *default_boot_order; GlobalProperty *compat_props; - struct QEMUMachine *next; const char *hw_version; };