History | View | Annotate | Download (11.8 kB)
ram_blocks: Convert to a QLIST
This makes the RAM block list easier to manipulate. Also incorporaterelevant variables into the RAMList struct.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>Acked-by: Chris Wright <chrisw@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
migration: Fix calculation of bytes_transferred
When a page with all identical bytes is transferred, it is countedas a full page (TARGET_PAGE_SIZE) although only one byte is actuallysent. Fix this by changing ram_save_block() to return the number ofbytes sent instead of a boolean value. This makes bandwidth...
Add missing #include needed for madvise() on OpenBSD
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Refactor target specific handling, compile vl.c only once
Move target specific functions and RAM handling to arch_init.c.
Add a flag to QEMUOptions structure to indicate for whicharchitectures the option is allowed, check the flagin run time and remove conditional code in option handling....