#
e67db06e |
| 20-Jul-2012 |
Jia Liu <proljc@gmail.com> |
target-or32: Add target stubs and QOM cpu
Add OpenRISC target stubs, QOM cpu and basic machine.
Signed-off-by: Jia Liu <proljc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
#
6c779f22 |
| 10-Jul-2012 |
Orit Wasserman <owasserm@redhat.com> |
Change ram_save_block to return -1 if there are no more changes
It will return 0 if the page is unmodifed.
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
|
#
6d2fe810 |
| 28-Jun-2012 |
Juan Quintela <quintela@redhat.com> |
ram: save_live_setup() we don't need to synchronize the dirty bitmap.
1st: we were synchonizing the dirty bitmap before calling memory_global_dirty_log_start().
2nd: We are marking all pages
ram: save_live_setup() we don't need to synchronize the dirty bitmap.
1st: we were synchonizing the dirty bitmap before calling memory_global_dirty_log_start().
2nd: We are marking all pages as dirty anywhere, no reason to go through all the bitmap to "mark" dirty same pages twice.
So, call removed.
Signed-off-by: Juan Quintela <quintela@redhat.com>
show more ...
|
#
00d94f3f |
| 28-Jun-2012 |
Juan Quintela <quintela@redhat.com> |
ram: iterate phase
We only need to synchronize the bitmap when the number of dirty pages is low. Not every time that we call the function.
Signed-off-by: Juan Quintela <quintela@redhat.com>
|
#
b81e712d |
| 28-Jun-2012 |
Juan Quintela <quintela@redhat.com> |
ram: save_live_complete() only do one loop
We were doing the same loop that stage2, and a new one for stage3. We only need the one for stage3.
Signed-off-by: Juan Quintela <quintela@redhat.com>
|
#
5910d1e6 |
| 28-Jun-2012 |
Juan Quintela <quintela@redhat.com> |
ram: save_live_setup() don't need to sent pages
We should send pages on interate phase, not in setup one. This was a "bug". Just removing the loop does what we want. Tested that it works with cur
ram: save_live_setup() don't need to sent pages
We should send pages on interate phase, not in setup one. This was a "bug". Just removing the loop does what we want. Tested that it works with current ram_load().
Signed-off-by: Juan Quintela <quintela@redhat.com>
show more ...
|
#
16310a3c |
| 28-Jun-2012 |
Juan Quintela <quintela@redhat.com> |
savevm: split save_live into stage2 and stage3
We split it into 2 functions, foo_live_iterate, and foo_live_complete. At this point, we only remove the bits that are for the other stage, functionall
savevm: split save_live into stage2 and stage3
We split it into 2 functions, foo_live_iterate, and foo_live_complete. At this point, we only remove the bits that are for the other stage, functionally this is equivalent to previous code.
Signed-off-by: Juan Quintela <quintela@redhat.com>
show more ...
|
#
d1315aac |
| 28-Jun-2012 |
Juan Quintela <quintela@redhat.com> |
savevm: split save_live_setup from save_live_state
This patch splits stage 1 to its own function for both save_live users, ram and block. It is just a copy of the function, removing the parts of th
savevm: split save_live_setup from save_live_state
This patch splits stage 1 to its own function for both save_live users, ram and block. It is just a copy of the function, removing the parts of the other stages. Optimizations would came later.
Signed-off-by: Juan Quintela <quintela@redhat.com>
show more ...
|
#
9b5bfab0 |
| 26-Jun-2012 |
Juan Quintela <quintela@redhat.com> |
savevm: Refactor cancel operation in its own operation
Intead of abusing stage with value -1.
Signed-off-by: Juan Quintela <quintela@redhat.com>
|
#
7908c78d |
| 26-Jun-2012 |
Juan Quintela <quintela@redhat.com> |
savevm: Live migration handlers register the struct directly
Notice that the live migration users never unregister, so no problem about freeing the ops structure.
Signed-off-by: Juan Quintela <quin
savevm: Live migration handlers register the struct directly
Notice that the live migration users never unregister, so no problem about freeing the ops structure.
Signed-off-by: Juan Quintela <quintela@redhat.com>
show more ...
|
#
45f33f01 |
| 22-Jun-2012 |
Juan Quintela <quintela@redhat.com> |
Maintain the number of dirty pages
Calculate the number of dirty pages takes a lot on hosts with lots of memory. Just maintain how many pages are dirty.
Signed-off-by: Juan Quintela <quintela@redh
Maintain the number of dirty pages
Calculate the number of dirty pages takes a lot on hosts with lots of memory. Just maintain how many pages are dirty.
Signed-off-by: Juan Quintela <quintela@redhat.com>
show more ...
|
#
4508bd9e |
| 22-May-2012 |
Juan Quintela <quintela@redhat.com> |
Exit loop if we have been there too long
Checking each 64 pages is a random magic number as good as any other. We don't want to test too many times, but on the other hand, qemu_get_clock_ns() is not
Exit loop if we have been there too long
Checking each 64 pages is a random magic number as good as any other. We don't want to test too many times, but on the other hand, qemu_get_clock_ns() is not so expensive either. We want to be sure that we spent less than 50ms (half of buffered_file timer), if we spent more than 100ms, all the accounting got wrong.
Signed-off-by: Juan Quintela <quintela@redhat.com>
show more ...
|
#
5b3c9638 |
| 21-May-2012 |
Juan Quintela <quintela@redhat.com> |
Only calculate expected_time for stage 2
ram_save_remaining() is an expensive operation when there is a lot of memory. So we only call the function when we need it.
Signed-off-by: Juan Quintela <qu
Only calculate expected_time for stage 2
ram_save_remaining() is an expensive operation when there is a lot of memory. So we only call the function when we need it.
Signed-off-by: Juan Quintela <quintela@redhat.com>
show more ...
|
#
8e21cd32 |
| 19-Jun-2012 |
Orit Wasserman <owasserm@redhat.com> |
Add migration_end function
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
|
#
3a697f69 |
| 19-Jun-2012 |
Orit Wasserman <owasserm@redhat.com> |
Add debugging infrastructure
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
|
#
0c51f43d |
| 19-Jun-2012 |
Orit Wasserman <owasserm@redhat.com> |
Add save_block_hdr function
Signed-off-by: Benoit Hudzia <benoit.hudzia@sap.com> Signed-off-by: Petter Svard <petters@cs.umu.se> Signed-off-by: Aidan Shribman <aidan.shribman@sap.com> Signed-off-by:
Add save_block_hdr function
Signed-off-by: Benoit Hudzia <benoit.hudzia@sap.com> Signed-off-by: Petter Svard <petters@cs.umu.se> Signed-off-by: Aidan Shribman <aidan.shribman@sap.com> Signed-off-by: Orit Wasserman <owasserm@redhat.com>
show more ...
|
#
0ff1f9f5 |
| 19-Jun-2012 |
Orit Wasserman <owasserm@redhat.com> |
Add missing check for host_from_stream_offset return value for RAM_SAVE_FLAG_PAGE
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
|
#
f283edc4 |
| 27-May-2012 |
Andreas Färber <andreas.faerber@web.de> |
arch_init: Fix AltiVec build on Darwin/ppc
Commit f29a56147b66845914d0a645bf9b4c5bb9a6af57 (implement -no-user-config command-line option (v3)) introduced uses of bool in arch_init.c. Shortly before
arch_init: Fix AltiVec build on Darwin/ppc
Commit f29a56147b66845914d0a645bf9b4c5bb9a6af57 (implement -no-user-config command-line option (v3)) introduced uses of bool in arch_init.c. Shortly before that usage is support code for AltiVec (conditional to __ALTIVEC__).
GCC's altivec.h may in a !__APPLE_ALTIVEC__ code path redefine bool, leading to type mismatches. altivec.h recommends to #undef for C++ compatibility, but doing so in C leads to bool remaining undefined.
Fix by redefining bool to _Bool as mandated for stdbool.h by POSIX.
Signed-off-by: Andreas Färber <andreas.faerber@web.de> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
e2d87bff |
| 02-May-2012 |
Eduardo Habkost <ehabkost@redhat.com> |
move CPU definitions to /usr/share/qemu/cpus-x86_64.conf (v2)
Changes v1 -> v2: - userconfig variable is now bool, not int
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Antho
move CPU definitions to /usr/share/qemu/cpus-x86_64.conf (v2)
Changes v1 -> v2: - userconfig variable is now bool, not int
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
f29a5614 |
| 02-May-2012 |
Eduardo Habkost <ehabkost@redhat.com> |
implement -no-user-config command-line option (v3)
Changes v2 -> v3: - Rebase against latest qemu.git
Changes v1 -> v2: - Change 'userconfig' field/variables to bool instead of int - Coding styl
implement -no-user-config command-line option (v3)
Changes v2 -> v3: - Rebase against latest qemu.git
Changes v1 -> v2: - Change 'userconfig' field/variables to bool instead of int - Coding style change
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
756557de |
| 02-May-2012 |
Eduardo Habkost <ehabkost@redhat.com> |
move list of default config files to an array
More files will be added to the list, with additional attributes, later.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Li
move list of default config files to an array
More files will be added to the list, with additional attributes, later.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
c8262a47 |
| 02-May-2012 |
Eduardo Habkost <ehabkost@redhat.com> |
eliminate arch_config_name variable
Not needed anymore, as the code that uses the variable is already inside arch_init.c.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony
eliminate arch_config_name variable
Not needed anymore, as the code that uses the variable is already inside arch_init.c.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
b5a8fe5e |
| 02-May-2012 |
Eduardo Habkost <ehabkost@redhat.com> |
move code to read default config files to a separate function (v2)
Function added to arch_init.c because it depends on arch-specific settings.
Changes v1 -> v2: - Move qemu_read_default_config_fil
move code to read default config files to a separate function (v2)
Function added to arch_init.c because it depends on arch-specific settings.
Changes v1 -> v2: - Move qemu_read_default_config_file() prototype to qemu-config.h
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
da12872a |
| 14-Apr-2012 |
Hervé Poussineau <hpoussin@reactos.org> |
pcspk: initialize PC speaker if compiled in
PC speaker has been moved to target-independant code in 71093711589dafcb920dc3bc9bb811eaf8b14101, so do not depend of target to include it or not.
Cc: ma
pcspk: initialize PC speaker if compiled in
PC speaker has been moved to target-independant code in 71093711589dafcb920dc3bc9bb811eaf8b14101, so do not depend of target to include it or not.
Cc: malc <av1474@comtv.ru> Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Herv? Poussineau <hpoussin@reactos.org> Signed-off-by: malc <av1474@comtv.ru>
show more ...
|
#
539de124 |
| 05-Dec-2011 |
Luiz Capitulino <lcapitulino@redhat.com> |
Purge migration of (almost) everything to do with monitors
The Monitor object is passed back and forth within the migration/savevm code so that it can print errors and progress to the user.
However
Purge migration of (almost) everything to do with monitors
The Monitor object is passed back and forth within the migration/savevm code so that it can print errors and progress to the user.
However, that approach assumes a HMP monitor, being completely invalid in QMP.
This commit drops almost every single usage of the Monitor object, all monitor_printf() calls have been converted into DPRINTF() ones.
There are a few remaining Monitor objects, those are going to be dropped by the next commit.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
show more ...
|