[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 7762c2: memory: rename 'exec-obsolete.h'
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 7762c2: memory: rename 'exec-obsolete.h' |
Date: |
Mon, 22 Oct 2012 13:00:20 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 7762c2c1e02e44fdc473cbe75105faba08b906cc
https://github.com/qemu/qemu/commit/7762c2c1e02e44fdc473cbe75105faba08b906cc
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M cputlb.c
R exec-obsolete.h
M exec.c
A memory-internal.h
M memory.c
Log Message:
-----------
memory: rename 'exec-obsolete.h'
exec-obsolete.h used to hold pre-memory-API functions that were used from
device code prior to the transition to the memory API. Now that the
transition is complete, the name no longer describes the file. The
functions still need to be merged better into the memory core, but there's
no danger of anyone using them.
Reviewed-by: Anthony Liguori <address@hidden>
Signed-off-by: Avi Kivity <address@hidden>
Commit: 0fada67420e29f389119ca6f44285203400e0730
https://github.com/qemu/qemu/commit/0fada67420e29f389119ca6f44285203400e0730
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M hw/vhost.c
Log Message:
-----------
vhost: use MemoryListener filtering to only monitor RAM address space
Instead of checking manually, let the listener filter for us. This prepares
us for DMA address spaces.
Signed-off-by: Avi Kivity <address@hidden>
Commit: d22b096ef6e0b20810193b68a1d472f3fb8a4f9e
https://github.com/qemu/qemu/commit/d22b096ef6e0b20810193b68a1d472f3fb8a4f9e
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M kvm-all.c
Log Message:
-----------
kvm: use separate MemoryListeners for memory and I/O
The construct
if (address_space == get_system_memory()) {
// memory thing
} else {
// io thing
}
fails if we have more than two address spaces. Use a separate listener
for memory and I/O, and utilize MemoryListener's address space filtering to
fix this.
Signed-off-by: Avi Kivity <address@hidden>
Commit: 12b40e471f33e552fa3d962887b416cf67831446
https://github.com/qemu/qemu/commit/12b40e471f33e552fa3d962887b416cf67831446
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M hw/xen_pt.c
M hw/xen_pt.h
Log Message:
-----------
xen_pt: use separate MemoryListeners for memory and I/O
Using an unfiltered memory listener will cause regions to be reported
fails multiple times if we have more than two address spaces. Use a separate
listener for memory and I/O, and utilize MemoryListener's address space
filtering to fix this.
Signed-off-by: Avi Kivity <address@hidden>
Commit: 8786db7cb96f8ce5c75c6e1e074319c9dca8d356
https://github.com/qemu/qemu/commit/8786db7cb96f8ce5c75c6e1e074319c9dca8d356
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M memory.c
Log Message:
-----------
memory: prepare AddressSpace for exporting
AddressSpace contains a member, current_map, of type FlatView. Since we
want to limit the leakage of internal types to public headers, switch to
a pointer to a FlatView. There is no performance impact as this isn't used
during lookups, only address space reconfigurations.
Reviewed-by: Anthony Liguori <address@hidden>
Signed-off-by: Avi Kivity <address@hidden>
Commit: 9ad2bbc16788d3048d514f3450d0975e59d46119
https://github.com/qemu/qemu/commit/9ad2bbc16788d3048d514f3450d0975e59d46119
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M memory.c
M memory.h
Log Message:
-----------
memory: export AddressSpace
The DMA API will use an AddressSpace to differentiate among different
initiators.
Reviewed-by: Anthony Liguori <address@hidden>
Signed-off-by: Avi Kivity <address@hidden>
Commit: 0d673e36a74d366ce090ab096955317b581c0fb0
https://github.com/qemu/qemu/commit/0d673e36a74d366ce090ab096955317b581c0fb0
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M memory.c
M memory.h
Log Message:
-----------
memory: maintain a list of address spaces
Instead of embedding knowledge of the memory and I/O address spaces in the
memory core, maintain a list of all address spaces. This list will later
be extended dynamically for other bus masters.
Reviewed-by: Anthony Liguori <address@hidden>
Signed-off-by: Avi Kivity <address@hidden>
Commit: 975aefe011197453284a4ab777000183e6096d5b
https://github.com/qemu/qemu/commit/975aefe011197453284a4ab777000183e6096d5b
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M memory.c
Log Message:
-----------
memory: provide defaults for MemoryListener operations
Many listeners don't need to respond to all MemoryListener callbacks;
provide suitable no-op defaults instead.
Signed-off-by: Avi Kivity <address@hidden>
Commit: 9a2c913b77b54f650d60680d14b995bacbc63e50
https://github.com/qemu/qemu/commit/9a2c913b77b54f650d60680d14b995bacbc63e50
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M exec.c
Log Message:
-----------
memory: drop no-op MemoryListener callbacks
Removes quite a bit of useless code.
Signed-off-by: Avi Kivity <address@hidden>
Commit: e71e602cb5ac194ea414816068f398080d913abb
https://github.com/qemu/qemu/commit/e71e602cb5ac194ea414816068f398080d913abb
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M hw/vfio_pci.c
Log Message:
-----------
vfio: drop no-op MemoryListener callbacks
Removes quite a bit of useless code.
Signed-off-by: Avi Kivity <address@hidden>
Commit: 6381fc188cd1c41c69ce947853dd1281d8f3c07e
https://github.com/qemu/qemu/commit/6381fc188cd1c41c69ce947853dd1281d8f3c07e
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M hw/xen_pt.c
Log Message:
-----------
xen_pt: drop no-op MemoryListener callbacks
Removes quite a bit of useless code.
Signed-off-by: Avi Kivity <address@hidden>
Commit: ad1ff3d99a55f559e00a11de14d91ca33a139252
https://github.com/qemu/qemu/commit/ad1ff3d99a55f559e00a11de14d91ca33a139252
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M kvm-all.c
Log Message:
-----------
kvm: drop no-op MemoryListener callbacks
Removes quite a bit of useless code.
Signed-off-by: Avi Kivity <address@hidden>
Commit: bf83601fddb976753b498a879cbdc8f107f59f53
https://github.com/qemu/qemu/commit/bf83601fddb976753b498a879cbdc8f107f59f53
Author: Avi Kivity <address@hidden>
Date: 2012-10-15 (Mon, 15 Oct 2012)
Changed paths:
M xen-all.c
Log Message:
-----------
xen: drop no-op MemoryListener callbacks
Removes quite a bit of useless code.
Signed-off-by: Avi Kivity <address@hidden>
Commit: 05e72dc5812a9f461fc2c606dff2572909eafc39
https://github.com/qemu/qemu/commit/05e72dc5812a9f461fc2c606dff2572909eafc39
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
Log Message:
-----------
buffered_file: g_realloc() can't fail
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Orit Wasserman <address@hidden>
Commit: 79536f4f16934d6759a1d67f0342b4e7ceb66671
https://github.com/qemu/qemu/commit/79536f4f16934d6759a1d67f0342b4e7ceb66671
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M arch_init.c
Log Message:
-----------
fix migration sync
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 97d4d961d98c1ad54eee657d81e2e50911a92acf
https://github.com/qemu/qemu/commit/97d4d961d98c1ad54eee657d81e2e50911a92acf
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M migration.c
Log Message:
-----------
migration: store end_time in a local variable
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Orit Wasserman <address@hidden>
Commit: 9c5a9fcf5399450a873e7460b397a89447c7ef11
https://github.com/qemu/qemu/commit/9c5a9fcf5399450a873e7460b397a89447c7ef11
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M hmp.c
M migration.c
M migration.h
M qapi-schema.json
M qmp-commands.hx
Log Message:
-----------
migration: print total downtime for final phase of migration
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Orit Wasserman <address@hidden>
Commit: c00012f68b736c0ad9d0ff245373c7005ea0721a
https://github.com/qemu/qemu/commit/c00012f68b736c0ad9d0ff245373c7005ea0721a
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M arch_init.c
Log Message:
-----------
migration: rename expected_time to expected_downtime
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Orit Wasserman <address@hidden>
Commit: 859bc7569a2d244ee6183a99b71186462049ca86
https://github.com/qemu/qemu/commit/859bc7569a2d244ee6183a99b71186462049ca86
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M migration.c
M migration.h
Log Message:
-----------
migration: export migrate_get_current()
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 2c52ddf1cb3057bc2c6ae256857077627f6da43a
https://github.com/qemu/qemu/commit/2c52ddf1cb3057bc2c6ae256857077627f6da43a
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M arch_init.c
M hmp.c
M migration.c
M migration.h
M qapi-schema.json
M qmp-commands.hx
Log Message:
-----------
migration: print expected downtime in info migrate
Signed-off-by: Juan Quintela <address@hidden>
Commit: 5a17077529f7feec559e1881792e89554c2ae5b6
https://github.com/qemu/qemu/commit/5a17077529f7feec559e1881792e89554c2ae5b6
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M arch_init.c
Log Message:
-----------
savevm: Factorize ram globals reset in its own function
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Orit Wasserman <address@hidden>
Commit: e44d26c8f3894a220f29ff5b27abf87f570d2c07
https://github.com/qemu/qemu/commit/e44d26c8f3894a220f29ff5b27abf87f570d2c07
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M arch_init.c
Log Message:
-----------
ram: introduce migration_bitmap_set_dirty()
It just marks a region of memory as dirty.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Orit Wasserman <address@hidden>
Commit: 69268cde142d169e2e47836bcf0a26341e30218a
https://github.com/qemu/qemu/commit/69268cde142d169e2e47836bcf0a26341e30218a
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M arch_init.c
Log Message:
-----------
ram: Introduce migration_bitmap_test_and_reset_dirty()
It just test if the dirty bit is set, and clears it.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Orit Wasserman <address@hidden>
Commit: 652d7ec291d1726ad01587e13331d7277fa402ec
https://github.com/qemu/qemu/commit/652d7ec291d1726ad01587e13331d7277fa402ec
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M cpu-all.h
M exec.c
Log Message:
-----------
ram: Export last_ram_offset()
Is the only way of knowing the RAM size.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: dd2df737ef3930f6d88116520d6ca7ff3cf0c41f
https://github.com/qemu/qemu/commit/dd2df737ef3930f6d88116520d6ca7ff3cf0c41f
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M arch_init.c
Log Message:
-----------
ram: introduce migration_bitmap_sync()
Helper that we use each time that we need to syncronize the migration
bitmap with the other dirty bitmaps.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 3c12193d998249bcbe5099edf85039bcd25c3a80
https://github.com/qemu/qemu/commit/3c12193d998249bcbe5099edf85039bcd25c3a80
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M arch_init.c
M trace-events
Log Message:
-----------
ram: create trace event for migration sync bitmap
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: c6bf8e0e0cf04b40a8a22426e00ebbd727331d8b
https://github.com/qemu/qemu/commit/c6bf8e0e0cf04b40a8a22426e00ebbd727331d8b
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M arch_init.c
M cpu-all.h
M exec-obsolete.h
Log Message:
-----------
Separate migration bitmap
This patch creates a migration bitmap, which is periodically kept in
sync with the qemu bitmap. A separate copy of the dirty bitmap for the
migration limits the amount of concurrent access to the qemu bitmap
from iothread and migration thread (which requires taking the big
lock).
We use the qemu bitmap type. We have to "undo" the dirty_pages
counting optimization on the general dirty bitmap and do the counting
optimization with the migration local bitmap.
Signed-off-by: Umesh Deshpande <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
Commit: 8d017193e2b66a65adf53e46a6372e55470fe7fd
https://github.com/qemu/qemu/commit/8d017193e2b66a65adf53e46a6372e55470fe7fd
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M arch_init.c
M hmp.c
M migration.c
M migration.h
M qapi-schema.json
Log Message:
-----------
migration: Add dirty_pages_rate to query migrate output
It indicates how many pages were dirtied during the last second.
Signed-off-by: Juan Quintela <address@hidden>
Commit: 2dddf6f4133975af62e64cb6406ec1239491fa89
https://github.com/qemu/qemu/commit/2dddf6f4133975af62e64cb6406ec1239491fa89
Author: Paolo Bonzini <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
Log Message:
-----------
BufferedFile: append, then flush
Simplify the logic for pushing data from the buffer to the output
pipe/socket. This also matches more closely what will be the
operation of the migration thread.
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Orit Wasserman <address@hidden>
Commit: 8e92c9e24f8c4edd7976aca82abf90e9a12667b4
https://github.com/qemu/qemu/commit/8e92c9e24f8c4edd7976aca82abf90e9a12667b4
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
Log Message:
-----------
buffered_file: rename opaque to migration_state
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: c7a8f0cdd25ed552e6dba124877bd3364054c55c
https://github.com/qemu/qemu/commit/c7a8f0cdd25ed552e6dba124877bd3364054c55c
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
M buffered_file.h
Log Message:
-----------
buffered_file: opaque is MigrationState
It always have that type, just change it.
We will remove buffered file later on the migration thread series.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: c87b015bc71734db74f5bdffeda122a224c75bbb
https://github.com/qemu/qemu/commit/c87b015bc71734db74f5bdffeda122a224c75bbb
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
M buffered_file.h
M migration.c
M migration.h
Log Message:
-----------
buffered_file: unfold migrate_fd_put_buffer
We only used it once, just remove the callback indirection
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 2c9adcb850bba7a24caec4d666dc01deca9f7649
https://github.com/qemu/qemu/commit/2c9adcb850bba7a24caec4d666dc01deca9f7649
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
M buffered_file.h
M migration.c
M migration.h
Log Message:
-----------
buffered_file: unfold migrate_fd_put_ready
We only use it once, just remove the callback indirection.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 749f7909d942f5c7425d0895242ce720cd663e92
https://github.com/qemu/qemu/commit/749f7909d942f5c7425d0895242ce720cd663e92
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
M buffered_file.h
M migration.c
M migration.h
Log Message:
-----------
buffered_file: unfold migrate_fd_wait_for_unfreeze
We only used it once, just remove the callback indirection.
Signed-off-by: Juan Quintela <address@hidden>
Commit: 11c7674129a81b5b69e00ad252a63186e15bf6b6
https://github.com/qemu/qemu/commit/11c7674129a81b5b69e00ad252a63186e15bf6b6
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
M buffered_file.h
M migration.c
M migration.h
Log Message:
-----------
buffered_file: unfold migrate_fd_close
We only used it once, just remove the callback indirection.
Signed-off-by: Juan Quintela <address@hidden>
Commit: 796b4b0f5011e30cffbc57ed5a4ab93c6f5eaab7
https://github.com/qemu/qemu/commit/796b4b0f5011e30cffbc57ed5a4ab93c6f5eaab7
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
M buffered_file.h
M migration.c
Log Message:
-----------
buffered_file: We can access directly to bandwidth_limit
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 3d6dff316f20137a87e099c30136358df029c0f6
https://github.com/qemu/qemu/commit/3d6dff316f20137a87e099c30136358df029c0f6
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
Log Message:
-----------
buffered_file: callers of buffered_flush() already check for errors
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: d2dbc8e6a95a9f66f886c35db42786efc906c777
https://github.com/qemu/qemu/commit/d2dbc8e6a95a9f66f886c35db42786efc906c777
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
Log Message:
-----------
buffered_file: make buffered_flush return the error code
Or the amount of data written if there is no error. Adjust all callers.
Signed-off-by: Juan Quintela <address@hidden>
Commit: 9499743f36169cf7d974640f123bc29836f75a2d
https://github.com/qemu/qemu/commit/9499743f36169cf7d974640f123bc29836f75a2d
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
M migration.c
M migration.h
Log Message:
-----------
migration: make migrate_fd_wait_for_unfreeze() return errors
Adjust all callers
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: ffbfc74d1eb822ed086503a6c24413617c19d31a
https://github.com/qemu/qemu/commit/ffbfc74d1eb822ed086503a6c24413617c19d31a
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M qemu-file.h
M savevm.c
Log Message:
-----------
savevm: unexport qemu_fflush
It is not used outside of savevm.c
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: e398d61b4777125f32a99fa49519c5edbb00809b
https://github.com/qemu/qemu/commit/e398d61b4777125f32a99fa49519c5edbb00809b
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M hw/virtio-net.c
Log Message:
-----------
virtio-net: use qemu_get_buffer() in a temp buffer
qemu_fseek() is known to be wrong. Would be removed on the next
commit. This code should never been used (value has been
MAC_TABLE_ENTRIES since 2009).
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: e5ae97cee4c0ecd252991aa868c6e233ef8c8f35
https://github.com/qemu/qemu/commit/e5ae97cee4c0ecd252991aa868c6e233ef8c8f35
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M qemu-file.h
M savevm.c
Log Message:
-----------
savevm: Remove qemu_fseek()
It has no users, and is only half implemented.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 7311bea33fab3bed02e9fca8b36fd6234a3a7cb9
https://github.com/qemu/qemu/commit/7311bea33fab3bed02e9fca8b36fd6234a3a7cb9
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M savevm.c
Log Message:
-----------
savevm: make qemu_fflush() return an error code
Adjust all the callers. We moved the set of last_error from inside
qemu_fflush() to all the callers.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 29eee86f312a7351b0e694e48b435084355630f7
https://github.com/qemu/qemu/commit/29eee86f312a7351b0e694e48b435084355630f7
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M savevm.c
Log Message:
-----------
savevm: unfold qemu_fclose_internal()
It was used only one, and was only one if. It makes error handling
saner.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 3aee4be1de440de08ef68b936e51e028a9f6f6ab
https://github.com/qemu/qemu/commit/3aee4be1de440de08ef68b936e51e028a9f6f6ab
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M qemu-file.h
M savevm.c
Log Message:
-----------
savevm: unexport qemu_ftell()
It was unused out of savevm.c.
Signed-off-by: Juan Quintela <address@hidden>
Commit: 02c4a0511bc58b005511c94055a55b1e19c6be71
https://github.com/qemu/qemu/commit/02c4a0511bc58b005511c94055a55b1e19c6be71
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M savevm.c
Log Message:
-----------
savevm: make qemu_fill_buffer() be consistent
It was setting last_error directly once, and with the helper the other time.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: c10682cb031525a8bdf3999ef6a033777929d304
https://github.com/qemu/qemu/commit/c10682cb031525a8bdf3999ef6a033777929d304
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M savevm.c
Log Message:
-----------
savevm: Only qemu_fflush() can generate errors
Move the error check to the beggining of the callers. Once this is fixed
qemu_file_set_if_error() is not used anymore, so remove it.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 81fdf640e4b479df75fcedf03fb300018f054bfa
https://github.com/qemu/qemu/commit/81fdf640e4b479df75fcedf03fb300018f054bfa
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M buffered_file.c
Log Message:
-----------
buffered_file: buffered_put_buffer() don't need to set last_error
Callers on savevm.c:qemu_fflush() will set it.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 59feec424723c0cacf503670a42d76e7c47167c1
https://github.com/qemu/qemu/commit/59feec424723c0cacf503670a42d76e7c47167c1
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M block-migration.c
Log Message:
-----------
block-migration: make flush_blks() return errors
This means we don't need to pass through qemu_file to get the errors.
Adjust all callers.
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: ceb2bd09a13ea71d06353bf826524df3cf584735
https://github.com/qemu/qemu/commit/ceb2bd09a13ea71d06353bf826524df3cf584735
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M block-migration.c
Log Message:
-----------
block-migration: Switch meaning of return value
Make consistent the result of blk_mig_save_dirty_block() and
mig_save_device_dirty()
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 43be3a25c931a7f61a76fbfc9d35584cbfc5fb58
https://github.com/qemu/qemu/commit/43be3a25c931a7f61a76fbfc9d35584cbfc5fb58
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M block-migration.c
Log Message:
-----------
block-migration: handle errors with the return codes correctly
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 6f121ff575e1601d652f3eecf4f9ab1205c12df1
https://github.com/qemu/qemu/commit/6f121ff575e1601d652f3eecf4f9ab1205c12df1
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M qemu-file.h
M savevm.c
Log Message:
-----------
savevm: un-export qemu_file_set_error()
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: a2b413512443e67cd58285b8d98b84792a66c710
https://github.com/qemu/qemu/commit/a2b413512443e67cd58285b8d98b84792a66c710
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M migration.c
M qemu-file.h
M savevm.c
Log Message:
-----------
savevm: make qemu_file_put_notify() return errors
Signed-off-by: Juan Quintela <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: aa723c23147e93fef8475bd80fd29e633378c34d
https://github.com/qemu/qemu/commit/aa723c23147e93fef8475bd80fd29e633378c34d
Author: Juan Quintela <address@hidden>
Date: 2012-10-17 (Wed, 17 Oct 2012)
Changed paths:
M cpus.c
Log Message:
-----------
cpus: create qemu_in_vcpu_thread()
Old code used !io_thread to know if a thread was an vcpu or not. That
fails when we introduce the iothread.
Signed-off-by: Juan Quintela <address@hidden>
Commit: 95d2994a2f756c9c8684709421d40c45e63e4e04
https://github.com/qemu/qemu/commit/95d2994a2f756c9c8684709421d40c45e63e4e04
Author: Avi Kivity <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M exec.c
M kvm-all.c
M kvm-stub.c
M kvm.h
M memory.c
M memory.h
Log Message:
-----------
memory: manage coalesced mmio via a MemoryListener
Instead of calling a global function on coalesced mmio changes, which
routes the call to kvm if enabled, add coalesced mmio hooks to
MemoryListener and make kvm use that instead.
The motivation is support for multiple address spaces (which means we
we need to filter the call on the right address space) but the result
is cleaner as well.
Signed-off-by: Avi Kivity <address@hidden>
Commit: 2673a5da25ea9005e562c20a18cf469ed4f21060
https://github.com/qemu/qemu/commit/2673a5da25ea9005e562c20a18cf469ed4f21060
Author: Avi Kivity <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M exec-memory.h
M exec.c
M memory.c
Log Message:
-----------
memory: move address_space_memory and address_space_io out of memory core
With this change, memory.c no longer knows anything about special address
spaces, so it is prepared for AddressSpace based DMA.
Reviewed-by: Anthony Liguori <address@hidden>
Signed-off-by: Avi Kivity <address@hidden>
Commit: 1d71148eace669827ba15101819b54b20fcca616
https://github.com/qemu/qemu/commit/1d71148eace669827ba15101819b54b20fcca616
Author: Avi Kivity <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M exec.c
Log Message:
-----------
memory: move tcg flush into a tcg memory listener
We plan to make the core listener listen to all address spaces; this
will cause many more flushes than necessary. Prepare for that by
moving the flush into a tcg-specific listener.
Later we can avoid registering the listener if tcg is disabled.
Signed-off-by: Avi Kivity <address@hidden>
Commit: f6790af6bcfa35fa9ea3c565a0a2aed54337aef5
https://github.com/qemu/qemu/commit/f6790af6bcfa35fa9ea3c565a0a2aed54337aef5
Author: Avi Kivity <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M exec-memory.h
M exec.c
M hw/vfio_pci.c
M hw/vhost.c
M hw/xen_pt.c
M kvm-all.c
M memory.c
M memory.h
M xen-all.c
Log Message:
-----------
memory: use AddressSpace for MemoryListener filtering
Using the AddressSpace type reduces confusion, as you can't accidentally
supply the MemoryRegion you're interested in.
Reviewed-by: Anthony Liguori <address@hidden>
Signed-off-by: Avi Kivity <address@hidden>
Commit: 0e8a6d47afcc88564079387928f2da45736d36e8
https://github.com/qemu/qemu/commit/0e8a6d47afcc88564079387928f2da45736d36e8
Author: Avi Kivity <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M target-s390x/misc_helper.c
Log Message:
-----------
s390: avoid reaching into memory core internals
use cpu_physical_memory_is_io() instead.
Signed-off-by: Avi Kivity <address@hidden>
Commit: ac1970fbe8ad5a70174f462109ac0f6c7bf1bc43
https://github.com/qemu/qemu/commit/ac1970fbe8ad5a70174f462109ac0f6c7bf1bc43
Author: Avi Kivity <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M cputlb.c
M cputlb.h
M exec.c
M memory-internal.h
M memory.c
M memory.h
Log Message:
-----------
memory: per-AddressSpace dispatch
Currently we use a global radix tree to dispatch memory access. This only
works with a single address space; to support multiple address spaces we
make the radix tree a member of AddressSpace (via an intermediate structure
AddressSpaceDispatch to avoid exposing too many internals).
A side effect is that address_space_io also gains a dispatch table. When
we remove all the pre-memory-API I/O registrations, we can use that for
dispatching I/O and get rid of the original I/O dispatch.
Signed-off-by: Avi Kivity <address@hidden>
Commit: b90600eed3c0efe5f3260853c873caf51c0677b1
https://github.com/qemu/qemu/commit/b90600eed3c0efe5f3260853c873caf51c0677b1
Author: Avi Kivity <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M dma-helpers.c
M dma.h
M hw/spapr_iommu.c
Log Message:
-----------
dma: make dma access its own address space
Instead of accessing the cpu address space, use an address space
configured by the caller.
Eventually all dma functionality will be folded into AddressSpace,
but we have to start from something.
Reviewed-by: Anthony Liguori <address@hidden>
Signed-off-by: Avi Kivity <address@hidden>
Commit: 83f3c251422b0724044f976a7ff26b2e8a47c374
https://github.com/qemu/qemu/commit/83f3c251422b0724044f976a7ff26b2e8a47c374
Author: Avi Kivity <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M exec.c
M memory-internal.h
M memory.c
M memory.h
Log Message:
-----------
memory: add address_space_destroy()
Since address spaces can be created dynamically by device hotplug, they
can also be destroyed dynamically.
Signed-off-by: Avi Kivity <address@hidden>
Commit: 817dcc5368988b023c5e1d3f1444fd370c77c6a9
https://github.com/qemu/qemu/commit/817dcc5368988b023c5e1d3f1444fd370c77c6a9
Author: Avi Kivity <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M hw/pci.c
M hw/pci.h
Log Message:
-----------
pci: give each device its own address space
Accesses from different devices can resolve differently
(depending on bridge settings, iommus, and PCI_COMMAND_MASTER), so
set up an address space for each device.
Currently iommus are expressed outside the memory API, so this doesn't
work if an iommu is present.
Signed-off-by: Avi Kivity <address@hidden>
Commit: 1c380f9460522f32c8dd2577b2a53d518ec91c6d
https://github.com/qemu/qemu/commit/1c380f9460522f32c8dd2577b2a53d518ec91c6d
Author: Avi Kivity <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M hw/pci.c
M hw/pci.h
Log Message:
-----------
pci: honor PCI_COMMAND_MASTER
Currently we ignore PCI_COMMAND_MASTER completely: DMA succeeds even when
the bit is clear.
Honor PCI_COMMAND_MASTER by inserting a memory region into the device's
bus master address space, and tying its enable status to PCI_COMMAND_MASTER.
Tested using
setpci -s 03 COMMAND=3
while a ping was running on a NIC in slot 3. The kernel (Linux) detected
the stall and recovered after the command
setpci -s 03 COMMAND=7
was issued.
Signed-off-by: Avi Kivity <address@hidden>
Commit: d3e2efc5b540c4e99ed5bcc0db3b1158ef52af43
https://github.com/qemu/qemu/commit/d3e2efc5b540c4e99ed5bcc0db3b1158ef52af43
Author: Anthony Liguori <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M cputlb.c
M cputlb.h
M dma-helpers.c
M dma.h
M exec-memory.h
R exec-obsolete.h
M exec.c
M hw/pci.c
M hw/pci.h
M hw/spapr_iommu.c
M hw/vfio_pci.c
M hw/vhost.c
M hw/xen_pt.c
M hw/xen_pt.h
M kvm-all.c
M kvm-stub.c
M kvm.h
A memory-internal.h
M memory.c
M memory.h
M target-s390x/misc_helper.c
M xen-all.c
Log Message:
-----------
Merge remote-tracking branch 'qemu-kvm/memory/dma' into staging
* qemu-kvm/memory/dma: (23 commits)
pci: honor PCI_COMMAND_MASTER
pci: give each device its own address space
memory: add address_space_destroy()
dma: make dma access its own address space
memory: per-AddressSpace dispatch
s390: avoid reaching into memory core internals
memory: use AddressSpace for MemoryListener filtering
memory: move tcg flush into a tcg memory listener
memory: move address_space_memory and address_space_io out of memory core
memory: manage coalesced mmio via a MemoryListener
xen: drop no-op MemoryListener callbacks
kvm: drop no-op MemoryListener callbacks
xen_pt: drop no-op MemoryListener callbacks
vfio: drop no-op MemoryListener callbacks
memory: drop no-op MemoryListener callbacks
memory: provide defaults for MemoryListener operations
memory: maintain a list of address spaces
memory: export AddressSpace
memory: prepare AddressSpace for exporting
xen_pt: use separate MemoryListeners for memory and I/O
...
Commit: f526f3c315d7c3ff7b7db39ae3a49f91d3a9986b
https://github.com/qemu/qemu/commit/f526f3c315d7c3ff7b7db39ae3a49f91d3a9986b
Author: Anthony Liguori <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M arch_init.c
M block-migration.c
M buffered_file.c
M buffered_file.h
M cpu-all.h
M cpus.c
M exec.c
M hmp.c
M hw/virtio-net.c
M memory-internal.h
M migration.c
M migration.h
M qapi-schema.json
M qemu-file.h
M qmp-commands.hx
M savevm.c
M trace-events
Log Message:
-----------
Merge remote-tracking branch 'quintela/migration-next-20121017' into staging
* quintela/migration-next-20121017: (41 commits)
cpus: create qemu_in_vcpu_thread()
savevm: make qemu_file_put_notify() return errors
savevm: un-export qemu_file_set_error()
block-migration: handle errors with the return codes correctly
block-migration: Switch meaning of return value
block-migration: make flush_blks() return errors
buffered_file: buffered_put_buffer() don't need to set last_error
savevm: Only qemu_fflush() can generate errors
savevm: make qemu_fill_buffer() be consistent
savevm: unexport qemu_ftell()
savevm: unfold qemu_fclose_internal()
savevm: make qemu_fflush() return an error code
savevm: Remove qemu_fseek()
virtio-net: use qemu_get_buffer() in a temp buffer
savevm: unexport qemu_fflush
migration: make migrate_fd_wait_for_unfreeze() return errors
buffered_file: make buffered_flush return the error code
buffered_file: callers of buffered_flush() already check for errors
buffered_file: We can access directly to bandwidth_limit
buffered_file: unfold migrate_fd_close
...
Commit: ad0b5321f1f797274603ebbe20108b0750baee94
https://github.com/qemu/qemu/commit/ad0b5321f1f797274603ebbe20108b0750baee94
Author: Luiz Capitulino <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M exec.c
M osdep.h
Log Message:
-----------
Call MADV_HUGEPAGE for guest RAM allocations
This makes it possible for QEMU to use transparent huge pages (THP)
when transparent_hugepage/enabled=madvise. Otherwise THP is only
used when it's enabled system wide.
Signed-off-by: Luiz Capitulino <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 488cb996cd8d8eaa5ecfdc6ba5f6cbd23a13271b
https://github.com/qemu/qemu/commit/488cb996cd8d8eaa5ecfdc6ba5f6cbd23a13271b
Author: Gerd Hoffmann <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M hw/Makefile.objs
M hw/alpha_dp264.c
M hw/kzm.c
M hw/mips_fulong2e.c
M hw/mips_jazz.c
M hw/mips_malta.c
M hw/mips_mipssim.c
M hw/mips_r4k.c
M hw/musicpal.c
M hw/omap_uart.c
M hw/openrisc_sim.c
M hw/pc.c
M hw/pc.h
M hw/petalogix_ml605_mmu.c
M hw/ppc/e500.c
M hw/ppc405_uc.c
M hw/ppc440_bamboo.c
M hw/ppc_prep.c
M hw/pxa2xx.c
A hw/serial-isa.c
M hw/serial.c
A hw/serial.h
M hw/sm501.c
M hw/sun4u.c
M hw/virtex_ml507.c
M hw/xtensa_lx60.c
Log Message:
-----------
serial: split serial.c
Split serial.c into serial.c, serial.h and serial-isa.c. While being at
creating a serial.h header file move the serial prototypes from pc.h to
the new serial.h. The latter leads to s/pc.h/serial.h/ in tons of
boards which just want the serial bits from pc.h
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 419ad67208a37367932a5bf88d3860f85e06282c
https://github.com/qemu/qemu/commit/419ad67208a37367932a5bf88d3860f85e06282c
Author: Gerd Hoffmann <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M default-configs/pci.mak
M hw/Makefile.objs
M hw/pci_ids.h
A hw/serial-pci.c
M hw/serial.c
M hw/serial.h
Log Message:
-----------
serial: add pci variant
So we get a hot-pluggable 16550 uart.
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Commit: fe4f1793a6bd9fdd008a17aa695a2670ff438bb5
https://github.com/qemu/qemu/commit/fe4f1793a6bd9fdd008a17aa695a2670ff438bb5
Author: Gerd Hoffmann <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
A docs/qemupciserial.inf
Log Message:
-----------
serial: add windows inf file for the pci card to docs
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Commit: d66bbea4e0d3faec69e8aa73789a2d1dc3b8312f
https://github.com/qemu/qemu/commit/d66bbea4e0d3faec69e8aa73789a2d1dc3b8312f
Author: Gerd Hoffmann <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M hw/serial-pci.c
Log Message:
-----------
serial: add 2x + 4x pci variant
Add multiport serial card implementation, with two variants, one
featuring two and one featuring four ports.
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 90734e02bd2fb137346d4184cec6c5d26e68f29b
https://github.com/qemu/qemu/commit/90734e02bd2fb137346d4184cec6c5d26e68f29b
Author: Gerd Hoffmann <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
A docs/specs/pci-serial.txt
M hw/serial-pci.c
Log Message:
-----------
serial: add pci-serial documentation
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Commit: 70330fb3daa2ee295cc5c6f40133e8f8db47856d
https://github.com/qemu/qemu/commit/70330fb3daa2ee295cc5c6f40133e8f8db47856d
Author: Gerd Hoffmann <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M hw/usb/dev-serial.c
Log Message:
-----------
usb-serial: don't magically zap chardev on umplug
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Commit: da124e62de2109a312e21d85d6a3419774c58948
https://github.com/qemu/qemu/commit/da124e62de2109a312e21d85d6a3419774c58948
Author: Gerd Hoffmann <address@hidden>
Date: 2012-10-22 (Mon, 22 Oct 2012)
Changed paths:
M hw/usb/dev-serial.c
Log Message:
-----------
usb-serial: only expose device in guest when the chardev is open
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Compare: https://github.com/qemu/qemu/compare/f354b1a1ee7a...da124e62de21
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 7762c2: memory: rename 'exec-obsolete.h',
GitHub <=