Internships/ProjectIdeas/memhotplug test: Difference between revisions
(Created page with "=== Memory hotplug test === '''Summary:''' Implement memory hotplug testing for 'make check'. * Refactor "-m mem,slots,maxmem" to MachineClass properties and replace related...") |
(No difference)
|
Revision as of 13:03, 14 January 2019
Memory hotplug test
Summary: Implement memory hotplug testing for 'make check'.
- Refactor "-m mem,slots,maxmem" to MachineClass properties and replace related global variables where they are still used with properties. Make "set_memory_options()" use new properties leaving only CLI parsing there. Goal is to make "set_memory_options()" function a thin wrapper that takes care of CLI parsing and makes CLI option '-m' an alias to new -machine mem/mem-slots/maxmem options.
- Create a set of basic tests for 'make check' to verify that -m/-machine CLI parsing works as expected and based on that a set memory hot-add tests using QMP introspection to verify the expected behaviour.
Links:
- $(QEMU sources)/docs/memory-hotplug.txt
Details:
- Skill level: intermediate
- Language: C
- Mentor: Igor Mammedov <imammedo@redhat.com> ("imammedo" on IRC)