[Qemu-devel] [PATCH 0/2] cleanup select_machine

Wei Yang posted 2 patches 6 years, 8 months ago
Test checkpatch passed
Test asan failed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190311060823.18360-1-richardw.yang@linux.intel.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Eduardo Habkost <ehabkost@redhat.com>
There is a newer version of this series
include/hw/boards.h |  1 -
vl.c                | 24 +++++++++++-------------
2 files changed, 11 insertions(+), 14 deletions(-)
[Qemu-devel] [PATCH 0/2] cleanup select_machine
Posted by Wei Yang 6 years, 8 months ago
Here is two simple change related to select_machine()

[1]: make find_default_machine() local since no one outside file use it
[2]: allocate TYPE_MACHINE list only once to select machine type

Wei Yang (2):
  vl.c: make find_default_machine() local
  vl.c: allocate TYPE_MACHINE list once during bootup

 include/hw/boards.h |  1 -
 vl.c                | 24 +++++++++++-------------
 2 files changed, 11 insertions(+), 14 deletions(-)

-- 
2.19.1