Activity

From 09/20/2012 to 10/19/2012

10/19/2012

09:40 pm Revision f62cb1b6: tests/tcg: fix build
This broke when the tests were moved from tests/ to tests/tcg/.
On x86_64 host/i386-linux-user non-kvm guest, test-i...
Catalin Patulea
09:39 pm Revision 7748b8cb: allow make {dist, }clean work w/out configure
There's no reason to require configure to run before running a clean
target, so check MAKECMDGOALS before.
Signed-of...
Mike Frysinger
09:38 pm Revision 42a15928: tci: fix build breakage for target-sparc
commit c28ae41 introduced GETPC() usage for sparc, which is currently
not defined when building with --enable-tcg-int...
Michael Roth
09:37 pm Revision 1cd0f8ce: MAINTAINERS: Update email address for Stefan Hajnoczi
Switch to my new work email address from which I am contributing.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.co...
Stefan Hajnoczi
09:35 pm Revision 38f419f3: configure: Fix CONFIG_QEMU_HELPERDIR generation
We need to evaluate $libexecdir in configure, otherwise we literally end
up with "${prefix}/libexec" instead of the a...
Jan Kiszka
09:29 pm Revision 585f6036: qemu-options.hx: Change from recommending '?' to 'help'
Update the -help output and documentation so that it recommends
'help' rather than '?' for the various "list valid va...
Peter Maydell
09:28 pm Revision 41a05a45: Merge branch 'linux-user-for-upstream' of git://git.linaro.org/people/rikuvoip...
* 'linux-user-for-upstream' of git://git.linaro.org/people/rikuvoipio/qemu:
linux-user: register align p{read, writ...
Aurelien Jarno
09:18 pm Revision 3e50da65: Merge branch 'trivial-patches' of git://github.com/stefanha/qemu
* 'trivial-patches' of git://github.com/stefanha/qemu:
ui/vnc-jobs.c: Fix minor typos in comments
net/tap-win32: ...
Aurelien Jarno
02:24 pm Revision d7dce494: microblaze: Update PC before simulating syscall
Fixes a clone() emulation bug were the new thread starts
at the point of the syscall and thus clones in a loop.
Sign...
Edgar E. Iglesias
02:24 pm Revision a5b3bdcb: microblaze: Support setting of TLS ptr
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Edgar E. Iglesias
11:42 am Revision 11f66978: ui/vnc-jobs.c: Fix minor typos in comments
Fix some minor typos/grammar errors in comments.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by...
Peter Maydell
11:39 am Revision 08778b39: net/tap-win32: Fix compiler warning caused by missing include statement
The include file for net_init_tap was missing:
net/tap-win32.c:703:
warning: no previous prototype for ‘net_init_ta...
Stefan Weil
11:38 am Revision abab1a0f: configure: Remove unused parameters from main function
This modification is required if compiler option -Wunused-parameter is activated.
Signed-off-by: Stefan Weil <sw@wei...
Stefan Weil
11:32 am Revision 02c7ac0c: target-arm/neon_helper: Remove obsolete FIXME comment
Commit 33ebc29 fixed the bugs in the implementation of VQRSHL,
but forgot to remove the FIXME comment...
Signed-off-...
Peter Maydell
11:31 am Revision 301592ea: targphys.h: Don't define target_phys_addr_t for user-mode emulators
Commit 4be403c accidentally defined the target_phys_addr_t type when
building user-mode emulators. Since the type doe...
Peter Maydell
11:27 am Revision fe3e7f2d: ui/vnc: Only report/use TIGHT_PNG encoding if enabled.
If TIGHT_PNG is not enabled by the --enable-vnc-png configure flag
then do not report to the client that it is suppor...
Joel Martin

10/17/2012

08:56 pm Revision b6348f29: target-arm/translate: Fix RRX operands
Instructions that both use the RRX second operand and update CS were
incorrect, as the Carry flag was updated too ear...
Peter Crosthwaite
08:20 pm Revision d9f0e638: vfio-pci: Mark non-migratable
We haven't magically fixed this yet. Toss in a description too.
Signed-off-by: Alex Williamson <alex.williamson@red...
Alex Williamson
08:20 pm Revision a011b10e: vfio-pci: Fix debug build
Stray variable from before MSI-X rework
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Alex Williamson
07:35 pm Revision a2b41351: savevm: make qemu_file_put_notify() return errors
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Juan Quintela
07:35 pm Revision aa723c23: 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-...
Juan Quintela
07:34 pm Revision 749f7909: buffered_file: unfold migrate_fd_wait_for_unfreeze
We only used it once, just remove the callback indirection.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Juan Quintela
07:34 pm Revision 11c76741: buffered_file: unfold migrate_fd_close
We only used it once, just remove the callback indirection.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Juan Quintela
07:34 pm Revision 796b4b0f: buffered_file: We can access directly to bandwidth_limit
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Juan Quintela
07:34 pm Revision 3d6dff31: buffered_file: callers of buffered_flush() already check for errors
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Juan Quintela
07:34 pm Revision d2dbc8e6: 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 <quintela@redh...
Juan Quintela
07:34 pm Revision 9499743f: migration: make migrate_fd_wait_for_unfreeze() return errors
Adjust all callers
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Juan Quintela
07:34 pm Revision ffbfc74d: savevm: unexport qemu_fflush
It is not used outside of savevm.c
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <p...
Juan Quintela
07:34 pm Revision e398d61b: 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...
Juan Quintela
07:34 pm Revision e5ae97ce: savevm: Remove qemu_fseek()
It has no users, and is only half implemented.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paol...
Juan Quintela
07:34 pm Revision 7311bea3: 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
07:34 pm Revision 29eee86f: 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 <quintela@re...
Juan Quintela
07:34 pm Revision 3aee4be1: savevm: unexport qemu_ftell()
It was unused out of savevm.c.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Juan Quintela
07:34 pm Revision 02c4a051: 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 <quintela@...
Juan Quintela
07:34 pm Revision c10682cb: 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 anymor...
Juan Quintela
07:34 pm Revision 81fdf640: 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 <quintela@redhat.com>
Reviewed-by: Paol...
Juan Quintela
07:34 pm Revision 59feec42: 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 Quinte...
Juan Quintela
07:34 pm Revision ceb2bd09: 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 <q...
Juan Quintela
07:34 pm Revision 43be3a25: block-migration: handle errors with the return codes correctly
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Juan Quintela
07:34 pm Revision 6f121ff5: savevm: un-export qemu_file_set_error()
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Juan Quintela
07:34 pm Revision 79536f4f: fix migration sync
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Juan Quintela
07:34 pm Revision 97d4d961: migration: store end_time in a local variable
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Ori...
Juan Quintela
07:34 pm Revision 9c5a9fcf: migration: print total downtime for final phase of migration
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Ori...
Juan Quintela
07:34 pm Revision c00012f6: migration: rename expected_time to expected_downtime
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Ori...
Juan Quintela
07:34 pm Revision 859bc756: migration: export migrate_get_current()
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Juan Quintela
07:34 pm Revision 2c52ddf1: migration: print expected downtime in info migrate
Signed-off-by: Juan Quintela <quintela@redhat.com> Juan Quintela
07:34 pm Revision 5a170775: savevm: Factorize ram globals reset in its own function
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Ori...
Juan Quintela
07:34 pm Revision e44d26c8: ram: introduce migration_bitmap_set_dirty()
It just marks a region of memory as dirty.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bo...
Juan Quintela
07:34 pm Revision 69268cde: 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 <quintela@redhat.com>
Reviewed-by...
Juan Quintela
07:34 pm Revision 652d7ec2: ram: Export last_ram_offset()
Is the only way of knowing the RAM size.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonz...
Juan Quintela
07:34 pm Revision dd2df737: 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-of...
Juan Quintela
07:34 pm Revision 3c12193d: ram: create trace event for migration sync bitmap
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Juan Quintela
07:34 pm Revision c6bf8e0e: Separate migration bitmap
This patch creates a migration bitmap, which is periodically kept in
sync with the qemu bitmap. A separate copy of th...
Juan Quintela
07:34 pm Revision 8d017193: 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 <quintela@redhat.com>
Juan Quintela
07:34 pm Revision 2dddf6f4: BufferedFile: append, then flush
Simplify the logic for pushing data from the buffer to the output
pipe/socket. This also matches more closely what w...
Paolo Bonzini
07:34 pm Revision 8e92c9e2: buffered_file: rename opaque to migration_state
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Juan Quintela
07:34 pm Revision c7a8f0cd: 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-...
Juan Quintela
07:34 pm Revision c87b015b: buffered_file: unfold migrate_fd_put_buffer
We only used it once, just remove the callback indirection
Signed-off-by: Juan Quintela <quintela@redhat.com>
Revie...
Juan Quintela
07:34 pm Revision 2c9adcb8: buffered_file: unfold migrate_fd_put_ready
We only use it once, just remove the callback indirection.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Revie...
Juan Quintela
07:34 pm Revision 05e72dc5: buffered_file: g_realloc() can't fail
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Ori...
Juan Quintela
06:51 pm Revision 1414968a: tcg: Optimize mulu2
Like add2, do operand ordering, constant folding, and dead operand
elimination. The latter happens about 15% of all ...
Richard Henderson
06:51 pm Revision 212c328d: tcg: Constant fold add2 and sub2
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
06:51 pm Revision 1305c451: tcg: Optimize half-dead add2/sub2
When x86_64 guest is not in 64-bit mode, the high-part of the 64-bit
add is dead. When the host is 32-bit, we can si...
Richard Henderson
06:51 pm Revision 6c4382f8: tcg: Do constant folding on double-word comparisons
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
06:51 pm Revision 9519da7e: tcg: Split out subroutines from do_constant_folding_cond
We can re-use these for implementing double-word folding.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-...
Richard Henderson
06:32 pm Revision bc1473ef: tcg: Optimize double-word comparisons against zero
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
06:32 pm Revision 6e14e91b: tcg: Use common code when failing to optimize
This saves a whole lot of repetitive code sequences.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-b...
Richard Henderson
06:31 pm Revision 0bfcb865: tcg: Swap commutative double-word comparisons
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
06:31 pm Revision 1e484e61: tcg: Canonicalize add2 operand ordering
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
06:30 pm Revision 24c9ae4e: tcg: Split out swap_commutative as a subroutine
Reduces code duplication and prefers
movcond d, c1, c2, const, s
to
movcond d, c1, c2, s, const
It also prefers...
Richard Henderson
06:14 pm Revision 2be0e25f: memory: abort if a memory region is destroyed during a transaction
Destroying a memory region is illegal within a transaction, as until
the transaction is committed, the memory core ma...
Avi Kivity
06:10 pm Revision 2725aec7: i440fx: avoid destroying memory regions within a transaction
Calling memory_region_destroy() within a transaction is illegal, since
the memory API is allowed to continue to dispa...
Avi Kivity
05:47 pm Revision 28f362be: memory: Make eventfd adhere to device endianness
Our memory API MMIO regions know the concept of device endianness. This
is used to automatically swap endianness betw...
Alexander Graf
02:32 am Revision b35d77d7: target-mips: Pass MIPSCPU to mips_vpe_is_wfi()
Needed for moving halted field to CPUState.
The variable name "c" is retained for MIPSCPU to leave "cpu" for CPUState...
Andreas Färber
02:32 am Revision c6679e90: target-mips: Pass MIPSCPU to mips_tc_sleep()
Needed for changing mips_vpe_sleep() argument type to MIPSCPU.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Sign...
Andreas Färber
02:32 am Revision 6f4d6b09: target-mips: Pass MIPSCPU to mips_vpe_sleep()
Needed for moving halted field to CPUState.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Aurelien...
Andreas Färber
02:32 am Revision 81bad50e: target-mips: Clean up other_cpu in helper_{d,e}vpe()
Free the variable name "other_cpu" for later use for MIPSCPU.
Fix off-by-one indentation while at it.
Signed-off-by...
Andreas Färber
02:32 am Revision 135dd63a: target-mips: Pass MIPSCPU to mips_tc_wake()
Needed for changing mips_vpe_is_wfi() argument type to MIPSCPU.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Sig...
Andreas Färber
02:26 am Revision 2174d1e1: tcg/ia64: remove suboptimal register shifting in qemu_ld/st ops
Remove suboptimal register shifting in qemu_ld/st ops, introduced at the
CONFIG_TCG_PASS_AREG0 time.
As mem_idx is n...
Aurelien Jarno
02:26 am Revision 63975ea7: tcg/ia64: slightly optimize TLB access code
It is possible to slightly optimize the TLB access code, by replacing
the movi + and instructions by a deposit instru...
Aurelien Jarno
02:26 am Revision c7d4475a: tcg-ia64: Implement deposit
Note that in the general reg=reg,reg case we're restricted
to 16-bit insertions. This makes it easy to allow "any"
c...
Richard Henderson
02:26 am Revision da897bf5: tcg/ia64: use stack for TCG temps
Use stack instead of temp_buf array in CPUState for TCG temps.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Sign...
Blue Swirl
02:26 am Revision b90cf716: tcg/ia64: implement movcond_i32/64
Implement movcond_i32/64 on ia64 hosts. It is not possible to have
immediate compare arguments without adding a new b...
Aurelien Jarno
02:22 am Revision 4a1d241e: tcg/arm: Implement movcond_i32
Implement movcond_i32 for ARM, as the sequence
mov dst, v2 (implicitly done by the tcg common code)
cmp c1, c2
...
Peter Maydell
02:22 am Revision 7fc645bf: tcg/arm: Factor out code to emit immediate or reg-reg op
The code to emit either an immediate cmp or a register cmp insn is
duplicated in several places; factor it out into i...
Peter Maydell

10/15/2012

01:06 pm Revision bf83601f: xen: drop no-op MemoryListener callbacks
Removes quite a bit of useless code.
Signed-off-by: Avi Kivity <avi@redhat.com>
Avi Kivity
12:43 pm Revision e71e602c: vfio: drop no-op MemoryListener callbacks
Removes quite a bit of useless code.
Signed-off-by: Avi Kivity <avi@redhat.com>
Avi Kivity
12:43 pm Revision 9a2c913b: memory: drop no-op MemoryListener callbacks
Removes quite a bit of useless code.
Signed-off-by: Avi Kivity <avi@redhat.com>
Avi Kivity
12:43 pm Revision 6381fc18: xen_pt: drop no-op MemoryListener callbacks
Removes quite a bit of useless code.
Signed-off-by: Avi Kivity <avi@redhat.com>
Avi Kivity
12:43 pm Revision ad1ff3d9: kvm: drop no-op MemoryListener callbacks
Removes quite a bit of useless code.
Signed-off-by: Avi Kivity <avi@redhat.com>
Avi Kivity
12:43 pm Revision 0fada674: 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-b...
Avi Kivity
12:43 pm Revision 975aefe0: memory: provide defaults for MemoryListener operations
Many listeners don't need to respond to all MemoryListener callbacks;
provide suitable no-op defaults instead.
Signe...
Avi Kivity
12:43 pm Revision 12b40e47: 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 a...
Avi Kivity
12:43 pm Revision 8786db7c: memory: prepare AddressSpace for exporting
AddressSpace contains a member, current_map, of type FlatView. Since we
want to limit the leakage of internal types ...
Avi Kivity
12:43 pm Revision 9ad2bbc1: memory: export AddressSpace
The DMA API will use an AddressSpace to differentiate among different
initiators.
Reviewed-by: Anthony Liguori <alig...
Avi Kivity
12:43 pm Revision 0d673e36: 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 addres...
Avi Kivity
12:43 pm Revision d22b096e: kvm: use separate MemoryListeners for memory and I/O
The construct
if (address_space == get_system_memory()) {
// memory thing
} else {
// io thing
...
Avi Kivity
12:43 pm Revision 7762c2c1: 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 ...
Avi Kivity

10/14/2012

01:55 pm Revision 8b4a3df8: Fix popcnt in long mode
Thanks to Andriy Gapon for initial problem report.
Signed-off-by: malc <av1474@comtv.ru>
malc

10/13/2012

01:44 pm Revision e0bbf9b5: sun4m: Pass SPARCCPU to cpu_set_irq()
Needed for changing cpu_kick_irq() argument type to SPARCCPU.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signe...
Andreas Färber
01:44 pm Revision 38c66cf2: sun4m: Pass SPARCCPU to cpu_kick_irq()
Needed for changing qemu_cpu_kick() argument type to CPUState.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Sign...
Andreas Färber
01:44 pm Revision 6b678e1f: sun4u: Pass SPARCCPU to {,s,hs}tick_irq() and cpu_timer_create()
Needed for changing cpu_kick_irq() argument type to SPARCCPU.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signe...
Andreas Färber
01:44 pm Revision ce18c558: sun4u: Pass SPARCCPU to cpu_kick_irq()
Needed for changing qemu_cpu_kick() argument type to CPUState.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Sign...
Andreas Färber
01:44 pm Revision b64ba4b2: sun4u: Pass SPARCCPU to cpu_set_ivec_irq()
Needed for moving halted field to CPUState.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Swi...
Andreas Färber
01:39 pm Revision 7d458a75: tcg-sparc: Fix setcond
The set of comparisons that can immediately use the carry are LTU/GEU,
not LTU/LEU. Don't swap operands when we need...
Richard Henderson
01:39 pm Revision a7a49843: tcg-sparc: Fix qemu_st for 32-bit
The datalo variable is still live in the miss path. Use another
when reconstructing the full data value.
Signed-off...
Richard Henderson
01:39 pm Revision 4ec28e25: tcg-sparc: Fix add2/sub2
We must care not to clobber the high parts before we consume them.
Signed-off-by: Richard Henderson <rth@twiddle.net...
Richard Henderson
01:39 pm Revision 89269f6c: tcg-sparc: Use Z constraint for %g0
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
01:39 pm Revision fd84ea23: tcg-sparc: Optimize setcond2 equality compare with 0.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
01:39 pm Revision 203342d8: tcg-sparc: Emit MOVR insns for setcond_i64 and movcond_64
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
01:39 pm Revision 345ce423: tcg-sparc: Dump illegal opode contents
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
01:39 pm Revision ab1339b9: tcg-sparc: Emit BPr insns for brcond_i64
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
01:39 pm Revision a115f3ea: tcg-sparc: Drop use of Bicc in favor of BPcc
Now that we're always sparcv9, we can not bother using Bicc for
32-bit branches and BPcc for 64-bit branches and inst...
Richard Henderson
01:39 pm Revision 24c7f754: tcg-sparc: Fix brcond2
Much the same problem as recently fixed for hppa.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: ...
Richard Henderson
01:39 pm Revision ded37f0d: tcg-sparc: Implement movcond.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
01:39 pm Revision dda73c78: tcg-sparc: Fix setcond2
Like brcond2, use tcg_high_cond. Use movcc instead of branches.
Signed-off-by: Richard Henderson <rth@twiddle.net>
...
Richard Henderson
01:17 pm Revision 0fa2a066: target-sparc: Fix optimized %icc comparisons
Signed-off-by: Richard Henderson <rth@twiddle.net>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Bl...
Richard Henderson
01:17 pm Revision 96b5a3d3: target-sparc: Optimize CC_OP_LOGIC conditions
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
01:17 pm Revision 6234ac09: target-sparc: Avoid unnecessary local temporaries
Now that save_state never ends a BB, we don't need to copy
values into local temps around it.
Signed-off-by: Richard...
Richard Henderson
01:17 pm Revision 20132b96: target-sparc: Don't compute full flags value so often
Avoid speculatively computing flags before every potentially trapping
operation and instead do the flags computation ...
Richard Henderson

10/12/2012

07:20 pm Revision ae72f3f5: Merge remote-tracking branch 'pmaydell/arm-devs.for-upstream' into staging
* pmaydell/arm-devs.for-upstream:
arm_gic: Rename gic_state to GICState
zynq_slcr: Fixed ResetValues enum
versa...
Anthony Liguori
07:19 pm Revision 5d9619aa: Merge remote-tracking branch 'stefanha/trivial-patches' into staging
* stefanha/trivial-patches:
vnc: fix "info vnc" with "-vnc ..., reverse=on"
sheepdog: use bool for boolean variab...
Anthony Liguori
05:14 pm Revision 628cc97d: Merge remote-tracking branch 'kraxel/usb.67' into staging
* kraxel/usb.67:
uhci: Raise interrupt when requested even for non active tds
usb-redir: Don't make migration fai...
Anthony Liguori
05:14 pm Revision 453162e1: Merge remote-tracking branch 'mdroth/qga-pull-10-9-12' into staging
* mdroth/qga-pull-10-9-12:
qemu-ga: ga_open_pidfile(): add new line to pidfile
qemu-ga: use state dir from CONFIG...
Anthony Liguori
05:14 pm Revision 557e01a3: Merge remote-tracking branch 'awilliam/tags/vfio-pci-for-qemu-20121008.0' into...
* awilliam/tags/vfio-pci-for-qemu-20121008.0:
vfio-pci: Fix BAR->VFIODevice translation in
vfio-pci: Clang cleanu...
Anthony Liguori
05:14 pm Revision 4336ef7a: Merge remote-tracking branch 'stefanha/net' into staging
* stefanha/net:
net: consolidate NetClientState header files into one
virtio-net: update nc.link_down in virtio_n...
Anthony Liguori
05:13 pm Revision 3f42ac89: Merge remote-tracking branch 'spice/spice.v61' into staging
* spice/spice.v61:
qxl: set default revision to 4
spice: raise requirement to 0.12
hw/qxl: qxl_dirty_surfaces: ...
Anthony Liguori
02:42 pm Revision ae017a5b: linux-user: register align p{read, write}64
pread64 and pwrite64 pass 64bit parameters which for some architectures need
to be aligned to special argument pairs,...
Alexander Graf
02:38 pm Revision 4a1def4e: linux-user: ppc: mark as long long aligned
The SysV PPC32 ABI dictates that long long (64bit) parameters are pass in odd/even
register pairs. Because unlike ARM...
Alexander Graf
02:27 pm Revision 07e10e5d: tcg: Remove TCG_TARGET_HAS_GUEST_BASE define
GUEST_BASE support is now supported by all TCG backends, and is
now mandatory. Drop the now-pointless TCG_TARGET_HAS_...
Peter Maydell
02:26 pm Revision 30163d89: configure: Remove unnecessary host_guest_base code
All TCG hosts now support guest-base functionality, so we can
remove the setting of host_guest_base to 'yes' in every...
Peter Maydell
02:25 pm Revision 885c1d10: linux-user: If loading fails, print error as string, not number
If the attempt to load the guest executable fails, print the
error message as a string, not a number. This requires u...
Peter Maydell
02:01 pm Revision a05c6409: linux-user: Fix siginfo handling
Compare signal numbers in the proper domain.
Convert all of the fields for SIGIO and SIGCHLD.
Signed-off-by: Richard...
Richard Henderson
02:01 pm Revision b7fb2310: alpha-linux-user: Fix sigaltstack structure definition
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Richard Henderson
01:59 pm Revision 3d21d29c: linux-user: Implement gethostname
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-b...
Richard Henderson
01:59 pm Revision f287b2c2: linux-user: Perform more checks on iovec lists
Validate count between 0 and IOV_MAX. Limit total length of
operation in the same way the kernel does.
Signed-off-b...
Richard Henderson
01:58 pm Revision 229d3376: linux-user: fix statfs
The statfs syscall should always memset(0) its full struct extent before
writing to it. Newer versions of the syscall...
Alexander Graf
01:58 pm Revision 1bdd7c7e: linux-user: fix multi-threaded /proc/self/maps
When reading our faked /proc/self/maps from a secondary thread,
we get an invalid stack entry. This is because ts->st...
Alexander Graf
01:54 pm Revision 853e65e0: versatilepb: add gpio pl061 support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Maydell <peter.maydell@l...
Jean-Christophe PLAGNIOL-VILLARD
01:54 pm Revision fa2ddcb4: zynq_slcr: Fixed ResetValues enum
There is a gap in the reset region of the address space at offset 0x208. This
throws out all these enum values by one...
Peter A. G. Crosthwaite
01:54 pm Revision fae15286: arm_gic: Rename gic_state to GICState
Rename the gic_state struct to match QEMU's coding style conventions
for structure names, since the impending KVM-for...
Peter Maydell
01:54 pm Revision ba4906a9: hw/ds1338: Fix mishandling of register pointer
Correct several deficiencies in the handling of the register pointer:
* it should wrap around after 0x3f, not 0xff
...
Peter Maydell
01:54 pm Revision 35b87a86: hw/ds1338: Recapture current time when register pointer wraps around
The DS1338 datasheet documents that the current time is captured into
the secondary registers when the register point...
Peter Maydell
01:54 pm Revision f4741402: hw/ds1338: Implement state save/restore
Implement state save/restore for the DS1338. This requires
the usual minor adjustment of types in the state struct to...
Peter Maydell
01:54 pm Revision 7f7fd0f2: hw/ds1338: Remove 'now' field from state struct
The 'struct tm now' field in the state structure is in fact only
ever used as a temporary (the actual RTC state is he...
Peter Maydell
01:54 pm Revision 884285bf: cadence_ttc: Fix 'clear on read' behavior
A missing call to qemu_set_irq() when reading the IRQ register
required SW to write to the IRQ register to acknowledg...
Soren Brinkmann
01:54 pm Revision 9ab1b605: hw/arm_gic.c: Fix improper DPRINTF output.
s->cpu_enabled is an array, so s->cpu_enabled ? "En" : "Dis" returns
"En" always. We should use s->cpu_enabled[cpu] h...
Evgeny Voevodin
11:55 am Revision 417b0b88: vnc: fix "info vnc" with "-vnc ..., reverse=on"
When reverse connection is in use, there is no active VNC server
socket. Because of this, getsockopt(-1, ...) is att...
Paolo Bonzini
11:47 am Revision 1e14afef: configure: Tidy up remnants of non-64-bit physaddrs
Tidy up some remnants of code to support non-64-bit physaddrs
which were accidentally omitted from commit 4be403c8.
...
Peter Maydell
11:47 am Revision 2f536801: sheepdog: use bool for boolean variables
This improves readability.
Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Stefan Hajn...
MORITA Kazutaka

10/11/2012

10:33 am Revision 883bca77: uhci: Raise interrupt when requested even for non active tds
According to the spec we must raise an interrupt when one is requested
even for non active tds.
Linux depends on thi...
Hans de Goede
10:32 am Revision dbbf0195: usb-redir: Change usbredir_open_chardev into usbredir_create_parser
As we need to create the parser at more places.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ge...
Hans de Goede
10:32 am Revision 5c16f767: usb-redir: Don't make migration fail in none seamless case
Instead simple disconnect the device like host redirection does on
migration.
Signed-off-by: Hans de Goede <hdegoede...
Hans de Goede

10/10/2012

04:13 am Revision 1e5b31e6: qdev: allow multiple qdev_init_gpio_in() calls
Allow multiple qdev_init_gpio_in() calls for the one device. The first call will
define GPIOs 0-N-1, the next GPIOs N...
Peter A. G. Crosthwaite
04:13 am Revision 8120e714: stellaris: Removed SSI mux
Removed the explicit SSI mux and wired the CS line directly up to the SSI
devices.
Signed-off-by: Peter A. G. Crosth...
Peter A. G. Crosthwaite
04:13 am Revision a3578d4a: hw: Added generic FIFO API.
Added a FIFO API that can be used to create and operate byte FIFOs.
Signed-off-by: Peter A. G. Crosthwaite <peter.cr...
Peter A. G. Crosthwaite
04:13 am Revision 82a24990: m25p80: Initial implementation of SPI flash device
Added device model for m25p80 style SPI flash family.
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@peta...
Peter A. G. Crosthwaite
04:13 am Revision 929d1b52: xilinx_spi: Initial impl. of Xilinx SPI controller
Device model for xilinx XPS SPI controller (v2.0)
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogi...
Peter A. G. Crosthwaite
04:13 am Revision acd3b6be: petalogix-ml605: added SPI controller with n25q128
Added SPI controller to the reference design, with two n25q128 spi-flashes
connected.
Signed-off-by: Peter A. G. Cro...
Peter A. G. Crosthwaite
04:13 am Revision b4ae3cfa: ssi: Add slave autoconnect helper
Added helper function to automatically connect SPI slaves based on the QOM child
nodes of a device. A SSI master devi...
Peter Crosthwaite
04:13 am Revision 559d489f: xilinx_zynq: Added SPI controllers + flashes
Added the two SPI controllers to the zynq machine model. Attached two SPI flash
devices to each controller.
Signed-o...
Peter A. G. Crosthwaite
04:13 am Revision fcb5629d: MAINTAINERS: Added maintainerships for SSI
Added maintainership for SSI, M25P80 and the Xilinx SPI controllers.
Signed-off-by: Peter A. G. Crosthwaite <peter.c...
Peter A. G. Crosthwaite
04:13 am Revision 94befa45: xilinx_spips: Xilinx Zynq SPI cntrlr device model
Added device model for the Xilinx Zynq SPI controller (SPIPS).
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthw...
Peter A. G. Crosthwaite
04:13 am Revision b4a76e84: ssi: Support for multiple attached devices
Removed assertion that only one device is attached to the SSI bus.
When multiple devices are attached, all slaves ha...
Peter A. G. Crosthwaite
04:13 am Revision 66530953: ssi: Implemented CS behaviour
Added default CS behaviour for SSI slaves. SSI devices can set a property
to enable CS behaviour which will create a ...
Peter A. G. Crosthwaite
04:13 am Revision 74687e40: ssi: Added create_slave_no_init()
Slave creation function that can be used to create an SSI slave without
qdev_init() being called. This give machine m...
Peter A. G. Crosthwaite

10/09/2012

11:42 am Revision 9d6f1b73: qemu-ga: ga_open_pidfile(): add new line to pidfile
FHS requires that pid files should end with a new line. Also change to
snprintf() while there.
Signed-off-by: Luiz C...
Luiz Capitulino
11:40 am Revision 6a3c8c14: qemu-ga: use state dir from CONFIG_QEMU_LOCALSTATEDIR
Has the side effect of changing the default directory used to
save the freeze status file from /tmp to ${prefix}/var/...
Luiz Capitulino
11:39 am Revision 785c23ae: configure: add --localstatedir
Next commit wants to use it.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Paolo Bonzini <pbo...
Luiz Capitulino

10/08/2012

05:45 pm Revision 1a403133: vfio-pci: Clang cleanup
Blue Swirl reports that Clang doesn't like the structure we define to
avoid dynamic allocation for a number of calls ...
Alex Williamson
05:45 pm Revision 3a4f2816: vfio-pci: Fix BAR->VFIODevice translation in
DO_UPCAST is supposed to translate from the first member of a struct to
that struct, not from arbitrary ones. And it ...
Jan Kiszka
05:45 pm Revision e43b9a5a: vfio-pci: Don't peak at msi_supported
Let the init function fail, just don't warn for -ENOTSUP.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Alex Williamson
05:45 pm Revision 5c97e5eb: vfio-pci: Roll the header into the .c file
It's only ~100 lines and nobody else should be using this.
Suggested by Michael Tsirkin.
Signed-off-by: Alex William...
Alex Williamson
05:45 pm Revision 5976cdd5: vfio-pci: Use uintptr_t for void* cast
We don't seem to run into any sign extension problems, but
unsigned looks more correct.
Signed-off-by: Alex williams...
Alex Williamson
05:45 pm Revision 9b1e45c8: vfio-pci: Remove setting of MSI qsize
This was a misinterpretation of the spec, hardware doesn't get to
specify how many were actually enabled through this...
Alex Williamson
05:45 pm Revision ce59af2d: vfio-pci: Cleanup on INTx setup failure
Missing some unwind code.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Alex Williamson
05:45 pm Revision 5834a83f: vfio-pci: Extend reset
Take what we've learned from pci-assign and apply it to vfio-pci.
On reset, disable previous interrupt config, perfor...
Alex Williamson
05:45 pm Revision ea486926: vfio-pci: Update slow path INTx algorithm
We can't afford the overhead of switching out and back into mmap mode
around each interrupt, but we can do it lazily ...
Alex Williamson
05:45 pm Revision af6bc27e: vfio-pci: Re-order map/unmap
This cleans up the next patch that calls unmap from map.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Alex Williamson
05:45 pm Revision 12af1344: vfio-pci: Unmap and retry DMA mapping
Occasionally we get regions added that overlap with existing mappings.
These always seems to be in the VGA ROM range....
Alex Williamson
05:45 pm Revision fd704adc: vfio-pci: Rework MSIX setup/teardown
We try to do lazy initialization of MSIX since we don't actually need
to setup anything until MSIX vectors start gett...
Alex Williamson
05:45 pm Revision 98cd5a5e: vfio-pci: No spurious MSIs
FreeBSD doesn't like these spurious MSIs, remove them as they're
mostly paranoia anyway.
Signed-off-by: Alex William...
Alex Williamson
02:59 pm Revision e4b82364: e1000: update nc.link_down in e1000_post_load()
This patch introduced e1000_post_load(), it will be called in the end of
migration. nc.link_down could not be migrate...
Amos Kong
02:59 pm Revision 98991481: virtio-net: update nc.link_down in virtio_net_load()
nc.link_down could not be migrated, this patch updates link_down in
virtio_post_load() to keep it coincident with rea...
Amos Kong
02:59 pm Revision a245fc18: net: consolidate NetClientState header files into one
This patch doesn't seem much useful alone, I must admit. However,
it makes sense as part of the upcoming directory r...
Paolo Bonzini
02:59 pm Revision 9e12c5af: rtl8139: implement 8139cp link status
Add a link status chang callback and change the link status bit in BMSR
& MSR accordingly. Tested in Linux/Windows gu...
Jason Wang
01:15 pm Revision ffe01e59: qxl: fix range check for rev3 io commands.
Enables QXL_IO_FLUSH_SURFACES_ASYNC and QXL_IO_FLUSH_RELEASE
which are part of the qxl rev3 feature set.
Signed-off-...
Gerd Hoffmann
01:15 pm Revision e25a0651: hw/qxl: exit on failure to register qxl interface
This prevents a segfault later on when the device reset handler
tries to access a NULL ssd.worker since interface_att...
Alon Levy
01:15 pm Revision 591af143: qxl: set default revision to 4
Set qxl pci revision to 4 (for pc-1.3+) so guests know
spice-server 0.12 features are available.
Signed-off-by: Gerd...
Gerd Hoffmann
01:15 pm Revision c5825ac6: hw/qxl: qxl_dirty_surfaces: use uintptr_t
As suggested by Paolo Bonzini, to avoid possible integer overflow issues.
Signed-off-by: Alon Levy <alevy@redhat.com...
Alon Levy
01:15 pm Revision 67be6726: spice: raise requirement to 0.12
With the next qemu version (1.3) we are going to bump the qxl device
revision to 4. The new features available requi...
Gerd Hoffmann
01:15 pm Revision d96aafca: hw/qxl: fix condition for exiting guest_bug
Reported and suggested by Paolo Bonzini, thanks.
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hof...
Alon Levy
01:15 pm Revision 36a03e0b: qxl/update_area_io: cleanup invalid parameters handling
This cleans up two additions of almost the same code in commits
511b13e2c9 and ccc2960d654. While at it, make error ...
Michael Tokarev
08:37 am Revision 0ec8df39: qxl: always update displaysurface on resize
Don't try to be clever and skip displaysurface reinitialization in case
the size hasn't changed. Other parameters mi...
Gerd Hoffmann

10/07/2012

09:42 pm Revision 4bb26682: Merge branch 'master' of git.qemu.org:/pub/git/qemu
* 'master' of git.qemu.org:/pub/git/qemu:
qemu-barrier: Fix compilation on i386 hosts
Blue Swirl
09:07 pm Revision f1829782: qemu-barrier: Fix compilation on i386 hosts
Commit 1d31fca470648ec66afd8743491bfb5846306341 tried to fix bug
introduced by 610b823ef66b993660f1ab1447a769f190e4f3...
Aurelien Jarno
07:39 pm Revision 690995a6: target-sparc: Use movcond for FMOV*R
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
07:39 pm Revision b09b2fd3: target-sparc: Cleanup "global" temporary allocation
There are 6 temporaries that disas_sparc_insn relies on having been
allocated. Now that they are no longer reference...
Richard Henderson
07:39 pm Revision 2a484ecf: target-sparc: Optimize conditionals using SUBCC
Aka "normal" comparisons. We now have the infrastructure to
pass back non-boolean results from gen_compare. This wi...
Richard Henderson
07:39 pm Revision fe1755cb: target-sparc: Fall through from not-taken trap
Now that we've cleaned up global temporary allocation, we can
continue translating the fallthru path of a conditional...
Richard Henderson
07:39 pm Revision 6cb675b0: target-sparc: Use movcond in mulscc
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
07:39 pm Revision bd49ed41: target-sparc: Tidy Tcc
Share more code between unconditional and conditional paths.
Move the computation of the trap number into the condit...
Richard Henderson
07:39 pm Revision a2ea4aa9: target-sparc: Move taddcctv and tsubcctv out of line
The branches around the exception are maintaining an otherwise
unnecessary use of local temps for the cpu destination...
Richard Henderson
07:39 pm Revision c28ae41e: target-sparc: Move sdivx and udivx out of line
The branches around the exception are maintaining an otherwise
unnecessary use of local temps for the cpu destination...
Richard Henderson
07:39 pm Revision 7e480893: target-sparc: Use DisasCompare and movcond in FMOVR, FMOVCC
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
07:39 pm Revision f52879b4: target-sparc: Use DisasCompare and movcond in MOVCC
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
07:39 pm Revision c33f80f5: target-sparc: Use DisasCompare and movcond in MOVR
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
07:39 pm Revision 61316742: target-sparc: Use movcond in gen_generic_branch
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
07:39 pm Revision 934da7ee: target-sparc: Tidy save_npc interface
Use the cpu_cond global register directly instead of passing it down.
Signed-off-by: Richard Henderson <rth@twiddle....
Richard Henderson
07:39 pm Revision 2e655fe7: target-sparc: Tidy gen_generic_branch interface
The arguments passed are always the same.
Pass down just DisasContext instead.
Signed-off-by: Richard Henderson <rth...
Richard Henderson
07:39 pm Revision 416fcaea: target-sparc: Introduce DisasCompare and functions to generate it
For the moment gen_cond et al retain their existing interface,
using setcond to turn a (potential) comparison back in...
Richard Henderson
07:39 pm Revision 3a49e759: target-sparc: Use DisasCompare in Tcc
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
07:39 pm Revision dee8913c: target-sparc: Tidy flush_cond interface
We always pass cpu_cond to the cond parameter. Use that global
register directly instead of passing it down.
Signed...
Richard Henderson
07:39 pm Revision 5b12f1e8: target-sparc: Tidy gen_trap_ifnofpu interface
We always pass cpu_cond to the cond parameter. Use that global
register directly instead of passing it down.
Signed...
Richard Henderson
07:39 pm Revision 13a6dd00: target-sparc: Tidy gen_mov_pc_npc interface
Use the cpu_cond global register directly instead of passing it down.
Signed-off-by: Richard Henderson <rth@twiddle....
Richard Henderson
07:39 pm Revision 66442b07: target-sparc: Tidy save_state interface
Use the cpu_cond global register directly instead of passing it down.
Signed-off-by: Richard Henderson <rth@twiddle....
Richard Henderson
07:39 pm Revision 76a23ca0: target-sparc: Tidy cpu_dump_state
We don't really need to be told that %g are general register, etc.
Issue a trailing newline to separate blocks.
Sign...
Richard Henderson
07:39 pm Revision b884fc5e: target-sparc: Make CPU_LOG_INT useful by default
No need for ifdefs when the log mask does just as well.
No need to print pc/npc when we're dumping the whole cpu stat...
Richard Henderson
07:39 pm Revision d4a288ef: target-sparc: Tidy do_branch interfaces
We always pass cpu_cond to the r_cond parameter. Use that global
register directly instead of passing it down.
Sign...
Richard Henderson
07:36 pm Revision d8382011: tcg: Remove redundant pointer from TCGContext
The pointer entry 'temps' always refers to the array entry 'static_temps'.
Removing the pointer and renaming 'static_...
Stefan Weil

10/06/2012

07:54 pm Revision 046dbab9: Merge branch 'target-arm.for-upstream' of git://git.linaro.org/people/pmaydell...
* 'target-arm.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm:
target-arm: Drop unused DECODE_CPREG_...
Aurelien Jarno
07:54 pm Revision 048d3612: Merge branch 'trivial-patches' of git://github.com/stefanha/qemu
* 'trivial-patches' of git://github.com/stefanha/qemu:
versatilepb: Use symbolic indices for ARM PIC
qdev: kill b...
Aurelien Jarno
07:51 pm Revision 6b2f90fb: Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf
* 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf: (35 commits)
PPC: KVM: Fix BAT put
PPC: e500: Only expose ev...
Aurelien Jarno
07:49 pm Revision 1d31fca4: qemu-barrier: Fix compilation on i386 hosts
Commit 610b823ef66b993660f1ab1447a769f190e4f3b3 uses QEMU_GNUC_PREREQ
on i386 hosts.
That macro is defined in qemu-c...
Stefan Weil
07:48 pm Revision 0aed257f: tcg: Add TCG_COND_NEVER, TCG_COND_ALWAYS
There are several cases that can be handled easier inside both
translators and code generators if we have out-of-band...
Richard Henderson
07:48 pm Revision d1e321b8: tcg: Add tcg_high_cond
The table that was recently added for hppa is generally usable.
And with the renumbering of the TCG_COND constants it...
Richard Henderson
07:48 pm Revision 95fa01fa: ppc/prep: use the new pci_vga_init() function
As a bonus it allows new vga card types (including none).
Acked-by: Andreas Färber <andreas.faerber@web.de>
Signed-o...
Aurelien Jarno
07:48 pm Revision 1ddcae82: ppc/pSeries: use the new pci_vga_init() function
Keep the case to prevent some vga card to be selected.
Cc: Alexander Graf <agraf@suse.de>
Cc: David Gibson <david@gi...
Aurelien Jarno
07:48 pm Revision f2898771: sun/sun4u: use the new pci_vga_init() function
As a bonus it allows new vga card types (including none).
Acked-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by:...
Aurelien Jarno
07:48 pm Revision 16094b75: pc: use the new pci_vga_init() and isa_vga_init() functions
The CONFIG_SPICE is now tested in vl.c and thus not needed anymore.
Cc: Anthony Liguori <aliguori@us.ibm.com>
Signed...
Aurelien Jarno
07:48 pm Revision bcc66562: tcg: Add is_unsigned_cond
Before we rearrange the TCG_COND enumeration, add a predicate for
the (single) use of comparisons vs TCGCond.
Signed...
Richard Henderson
07:48 pm Revision 457ebdcd: vga: cleanup after isa_vga_init() and pci_vga_init() conversion
Now that all machines call isa_vga_init() or pci_vga_init(), some unused
code can be removed.
Cc: Anthony Liguori <a...
Aurelien Jarno
07:48 pm Revision f642dfce: mips/r4k: use the new is_vga_init() function
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
07:48 pm Revision 3e20ad3a: ppc/oldworld: use the new pci_vga_init() function
As a bonus it allows new vga card types (including none).
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien...
Aurelien Jarno
07:48 pm Revision 3605ded5: vl.c: default to std if cirrus is not available
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
07:48 pm Revision 129d42fb: pci: add a pci_vga_init() function
This function create a PCI VGA device according to the value of
vga_interface_type. It returns a PCIDevice (and not a...
Aurelien Jarno
07:48 pm Revision 14e7a645: isa: add a isa_vga_init() function
This function create a ISA VGA device according to the value of
vga_interface_type. It returns a ISADevice (and not a...
Aurelien Jarno
07:48 pm Revision 9c59864d: mips/malta: use the new pci_vga_init() function
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
07:48 pm Revision 606f90cc: alpha: use the new pci_vga_init() function
This remove the fallback to std-vga in case, as availability of the
requested vga device is now tested in vl.c, and r...
Aurelien Jarno
07:48 pm Revision e7a2e96d: ppc/newworld: use the new pci_vga_init() function
As a bonus it allows new vga card types (including none).
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien...
Aurelien Jarno
07:48 pm Revision 879049a3: vl.c: check for qxl availability
Check for qxl availability in vl.c. This will allow to remove #ifdef
CONFIG_SPICE .. #endif later in this series
Cc:...
Aurelien Jarno
07:48 pm Revision a1e47211: vga: rename pci_vga_init() into pci_std_vga_init()
This better explains what is this function about. Adjust all callers.
Cc: Alexander Graf <agraf@suse.de>
Cc: Andreas...
Aurelien Jarno
07:48 pm Revision 6405c864: vga: rename isa_vga_init() to isa_std_vga_init()
This better explains what is this function about. Adjust all callers.
Cc: Anthony Liguori <aliguori@us.ibm.com>
Sign...
Aurelien Jarno
07:48 pm Revision 36b7f27d: vl.c: convert *vga_enabled functions to QOM
And get rid of qdev_exists().
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Aurelien Jarno
07:47 pm Revision 626cd050: tcg: remove obsolete jmp op
The TCG jmp operation doesn't really make sense in the QEMU context, it
is unused, it is not implemented by some targ...
Aurelien Jarno
01:22 pm Revision f783cb22: target-xtensa: de-optimize EXTUI
Now that "and" with 0xff, 0xffff and 0xffffffff and "shr" with 0 shift
are optimized in tcg/tcg-op.h there is no need...
Aurelien Jarno
12:07 am Revision c9159fe9: Remove libhw
The entries for libhw* are no longer needed in .gitignore.
There is also no longer a difference between common-obj-y...
Stefan Weil

10/05/2012

05:04 pm Revision 00e3ab2d: target-arm: mark a few integer helpers const and pure
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Aurelien Jarno
05:04 pm Revision d593c48e: target-arm: use deposit instead of hardcoded version
Use the deposit op instead of and hardcoded bit field insertion. It
allows the host to emit the corresponding instruc...
Aurelien Jarno
05:04 pm Revision 1273d9ca: target-arm: Drop unused DECODE_CPREG_CRN macro
This macro snuck through code review despite being unused; drop it.
Signed-off-by: Peter Maydell <peter.maydell@lina...
Peter Maydell
05:04 pm Revision f2617cfc: target-arm: Reinstate display of VFP registers in cpu_dump_state
Reinstate the display of VFP registers in cpu_dump_state(), if
the CPU has them (this code had been #if 0'd out a for...
Peter Maydell
05:04 pm Revision 365af80e: target-arm: convert sar, shl and shr helpers to TCG
Now that the movcond TCG op is available, it's possible to replace
shl and shr helpers by TCG code. The code generate...
Aurelien Jarno
05:04 pm Revision 72485ec4: target-arm: convert add_cc and sub_cc helpers to TCG
Now that the setcond TCG op is available, it's possible to replace
add_cc and sub_cc helpers by TCG code. The code ge...
Aurelien Jarno
05:04 pm Revision 66c374de: target-arm: use globals for CC flags
Use globals for CC flags instead of loading/storing them each they are
accessed. This allows some optimizations to be...
Aurelien Jarno
05:04 pm Revision 6fd2a026: cpu_dump_state: move DUMP_FPU and DUMP_CCOP flags from x86-only to generic
Move the DUMP_FPU and DUMP_CCOP flags for cpu_dump_state() from being
x86-specific flags to being generic ones. This ...
Peter Maydell
04:50 pm Revision 02cd521f: versatilepb: Use symbolic indices for ARM PIC
It is more readable, and all other code does it like that, too.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed...
Stefan Weil
04:49 pm Revision c36b7de6: qdev: kill bogus comment
When the DeviceInfo code was removed, the comment describing
qdev_subclass_init() was left in the code by mistake. Re...
Eduardo Habkost
04:48 pm Revision 8e7e2b14: qemu-barrier: Fix compiler version check for future gcc versions
The current check will give a wrong result for gcc-5.x with x < 4.
Using QEMU_GNUC_PREREQ is simpler and fixes that i...
Stefan Weil
04:17 pm Revision da665c99: hw: Add missing 'static' attribute for QEMUMachine
It was missing for leon3 and mips_fulong2e.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Andreas Färber ...
Stefan Weil
04:10 pm Revision 4d5b97da: cleanup useless return sentence
This patch cleans up return sentences in the end of void functions.
Reported-by: Paolo Bonzini <pbonzini@redhat.com>...
Amos Kong
04:02 pm Revision b6db4aca: rtc: fix overflow in mktimegm
When setting a date in 1980, Linux is actually disregarding the century
byte and setting the year to 2080. This caus...
Paolo Bonzini
04:02 pm Revision e67edb94: rtc: map CMOS index 0x37 to 0x32 on read and writes
QEMU's attempt to implement the century byte cover two possible places
for the byte. A common one on modern chipsets...
Paolo Bonzini
04:02 pm Revision b8994faf: rtc: implement century byte
Implement the century byte in the RTC emulation, and test that it works.
This leads to some annoying compatibility co...
Paolo Bonzini
04:02 pm Revision e0fea6b1: qtest: implement QTEST_STOP
It is quite difficult to debug qtest test cases without extra wrapper
scripts for QEMU or similar. This patch adds a...
Paolo Bonzini
04:00 pm Revision 610b823e: qemu-barrier: Fix compiler version check for future gcc versions
The current check will give a wrong result for gcc-5.x with x < 4.
Using QEMU_GNUC_PREREQ is simpler and fixes that i...
Stefan Weil
03:58 pm Revision 00ea1881: qcow2: mark this file's sole strncpy use as justified
Acked-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Anthony Ligu...
Jim Meyering
03:58 pm Revision 3cda3462: acpi: remove strzcpy (strncpy-identical) function; just use strncpy
Adjust all uses s/strzcpy/strncpy/ and mark these uses
of strncpy as "ok".
Signed-off-by: Jim Meyering <meyering@red...
Jim Meyering
03:58 pm Revision 2e679780: libcacard/vcard_emul_nss: use pstrcpy in place of strncpy
Replace strncpy+NUL-terminate use with use of pstrcpy.
This requires linking with cutils.o (or else vssclient doesn't...
Jim Meyering
03:58 pm Revision 9310b9be: hw/r2d: add comment: this strncpy use is ok
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Jim Meyering
03:58 pm Revision 9b9e3ec1: doc: update HACKING wrt strncpy/pstrcpy
Reword the section on strncpy: its NUL-filling is important
in some cases. Mention that pstrcpy's signature is diffe...
Jim Meyering
03:58 pm Revision 1044dc11: lm32: avoid buffer overrun
Actually do what the comment says, using pstrcpy NUL-terminate:
strncpy does not always do that.
Signed-off-by: Jim ...
Jim Meyering
03:58 pm Revision a79b5f8b: hw/9pfs: avoid buffer overrun
v9fs_add_dir_node and qemu_v9fs_synth_add_file used strncpy
to form node->name, which requires NUL-termination, but
s...
Jim Meyering
03:58 pm Revision 3eadc68e: os-posix: avoid buffer overrun
os_set_proc_name: Use pstrcpy, in place of strncpy and the
ineffectual preceding assignment: name[sizeof(name) - 1] =...
Jim Meyering
03:58 pm Revision ae215068: ppc: avoid buffer overrun: use pstrcpy, not strncpy
A terminal NUL is required by caller's use of strchr.
It's better not to use strncpy at all, since there is no need
t...
Jim Meyering
03:58 pm Revision 900cfbca: linux-user: remove two unchecked uses of strdup
Remove two uses of strdup (use g_path_get_basename instead),
and add a comment that this strncpy use is ok.
Reviewed...
Jim Meyering
03:58 pm Revision 5847d9e1: ui/vnc: simplify and avoid strncpy
Don't bother with strncpy. There's no need for its zero-fill.
Use g_strndup in place of g_malloc+strncpy+NUL-termina...
Jim Meyering
03:58 pm Revision 1ab516ed: qemu-ga: prefer pstrcpy: consistently NUL-terminate ifreq.ifr_name
NUL-termination of the .ifr_name field is not required, but is fine
(and preferable to using strncpy and leaving the ...
Jim Meyering
03:58 pm Revision 9238c209: virtio-9p: avoid unwarranted uses of strncpy
In all of these cases, the uses of strncpy were unnecessary, since
at each point of use we know that the NUL-terminat...
Jim Meyering
03:58 pm Revision 9d055d8a: vscsi: avoid unwarranted strncpy
Don't use strncpy when the source string is known to fit
in the destination buffer. Use equivalent memcpy.
We could ...
Jim Meyering
03:58 pm Revision e5fda038: bt: replace fragile snprintf use and unwarranted strncpy
In bt_hci_name_req a failed snprintf could return len larger than
sizeof(params.name), which means the following mems...
Jim Meyering
03:58 pm Revision a5cf8262: scsi, pci, qdev, isa-bus, sysbus: don't let *_get_fw_dev_path return NULL
Use g_strdup rather than strdup, because the sole caller
(qdev_get_fw_dev_path_helper) assumes it gets non-NULL, and ...
Jim Meyering
03:58 pm Revision bfad6739: sparc: use g_strdup in place of unchecked strdup
This avoids a NULL-deref upon strdup failure.
Also update matching free to g_free.
Signed-off-by: Jim Meyering <meye...
Jim Meyering
03:58 pm Revision c2cba3d9: block: avoid buffer overrun by using pstrcpy, not strncpy
Also, use PATH_MAX, rather than the arbitrary 1024.
Using PATH_MAX is more consistent with other filename-related
var...
Jim Meyering
03:58 pm Revision d66f8e7b: vmdk: relative_path: use pstrcpy in place of strncpy
Avoid strncpy+manual-NUL-terminate. Use pstrcpy instead.
Acked-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Jim...
Jim Meyering
03:58 pm Revision 3178e275: sheepdog: avoid a few buffer overruns
* parse_vdiname: Use pstrcpy, not strncpy, when the destination
buffer must be NUL-terminated.
* sd_open: Likewise, a...
Jim Meyering
03:49 pm Revision 58455eb9: qemu-sockets: Fix compiler warning (regression for MinGW)
setsockopt needs a type cast for MinGW. That type cast is missing in
a recent commit which results in a compiler warn...
Stefan Weil
03:25 pm Revision d69eba24: vnc: Fix spelling (hellmen -> hellman) in comment
The algorithm was named after Martin E. Hellman.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan H...
Stefan Weil
03:24 pm Revision 30daca5f: slirp: Fix spelling in comment (enought -> enough, insure -> ensure)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Stefan Weil
03:12 pm Revision f97713ff: tcg/arm: Use tcg_out_mov_reg rather than inline equivalent code
Use the recently introduced tcg_out_mov_reg() function rather than
the equivalent inline code.
Signed-off-by: Peter ...
Peter Maydell
03:02 pm Revision b2532d88: cpu: Add missing 'static' attribute to qemu_global_mutex
Contrary to its name, 'qemu_global_mutex' is only used locally
in cpus.c.
Signed-off-by: Stefan Weil <sw@weilnetz.de...
Stefan Weil
03:00 pm Revision afb63ebd: configure: Support empty target list (--target-list=)
Specifying an empty target list with --target-list= is shorter
than specifying --disable-user --disable-system.
Both...
Stefan Weil
02:54 pm Revision 7a608f56: hw: Fix return value check for bdrv_read, bdrv_write
Those functions return -errno in case of an error.
The old code would typically only detect EPERM (1) errors.
Signed...
Stefan Weil
05:38 am Revision ef8beb0e: PPC: KVM: Fix BAT put
In the sregs API, upper and lower 32bit segments of the BAT registers
are swapped when doing a set. Since we need to ...
Alexander Graf
03:56 am Revision a14c7492: Merge remote-tracking branch 'sstabellini/xen-2012-10-03' into staging
* sstabellini/xen-2012-10-03:
xen: Set the vram dirty when an error occur.
exec, memory: Call to xen_modified_mem...
Anthony Liguori
03:53 am Revision 05d4f2f2: Merge remote-tracking branch 'kwolf/for-anthony' into staging
* kwolf/for-anthony: (30 commits)
qemu-iotests: add tests for streaming error handling
qemu-iotests: map undersco...
Anthony Liguori
03:52 am Revision 97f34615: Merge remote-tracking branch 'qmp/queue/qmp' into staging
* qmp/queue/qmp:
block: live snapshot documentation tweaks
input: index_from_key(): drop unused code
qmp: qmp_s...
Anthony Liguori
03:50 am Revision 6929cf11: Merge remote-tracking branch 'mst/tags/for_anthony' into staging
* mst/tags/for_anthony:
virtio-serial-bus: let chardev know the exact number of bytes requested
virtio: Introduce...
Anthony Liguori
03:49 am Revision 938406df: Merge remote-tracking branch 'kraxel/usb.66' into staging
* kraxel/usb.66:
usb: Fix usb_packet_map() in the presence of IOMMUs
usb-redir: Adjust pkg-config check for usbre...
Anthony Liguori
03:46 am Revision 4be403c8: Make target_phys_addr_t 64 bits unconditionally
The hassle and compile time overhead of maintaining both 32-bit and 64-bit
capable source isn't worth the tiny perfor...
Avi Kivity
03:35 am Revision 6641b772: device tree: simplify dumpdtb code
As per Peter's suggestion, we can use glib to write out a buffer in whole to
a file, simplifying the code dramaticall...
Alexander Graf
03:35 am Revision 71193433: fdt: move dumpdtb interpretation code to device_tree.c
The dumpdtb code can be useful in more places than just for e500. Move it
to a generic place.
Signed-off-by: Alexand...
Alexander Graf
03:35 am Revision 9dd5eba1: PPC: e500: increase DTC_LOAD_PAD
An allowance of 5 MiB for BSS is not enough for Linux kernels with certain
debug options enabled (not sure exactly wh...
Scott Wood
03:35 am Revision 7e7ec2d2: PPC: e500: calculate initrd_base like dt_base
While investigating dtb pad issues, I noticed that initrd_base wasn't taking
loadaddr into account the way dt_base wa...
Scott Wood
03:35 am Revision efcb9383: pseries: Don't test for MSR_PR for hypercalls under KVM
PAPR hypercalls should only be invoked from the guest kernel, not guest
user programs, that is, with MSR[PR]=0. Curr...
David Gibson
03:35 am Revision 2b15811c: ppc/pseries: Reset VPA registration on CPU reset
The ppc specific CPU state contains several variables which track the
VPA, SLB shadow and dispatch trace log. These ...
David Gibson
03:35 am Revision fb37c302: PPC: e500: Only expose even TLB sizes in initial TLB
When booting our e500 machine, we automatically generate a big TLB entry
in TLB1 that covers all of the code we need ...
Alexander Graf

10/04/2012

04:54 pm Revision ff9d2afa: pseries: Remove XICS irq type enum type
Currently the XICS interrupt controller emulation uses a custom enum to
specify whether a given interrupt is level-se...
David Gibson
04:54 pm Revision 490d4a2b: pseries: Remove never used flags field from spapr vio devices
The general device state structure for PAPR VIO emulated devices includes a
'flags' field which was never used. This...
David Gibson
04:54 pm Revision 53724ee5: pseries: Rework implementation of TCE bypass
On the pseries machine the IOMMU (aka TCE tables) is always active for all
PCI and VIO devices. Mostly to simplify t...
David Gibson
04:54 pm Revision 3fe719f4: pseries: Fix semantics of RTAS int-on, int-off and set-xive functions
Currently the ibm,int-on and ibm,int-off RTAS functions are implemented as
no-ops. This is because when implemented ...
David Gibson
04:54 pm Revision ace9a2cb: target-ppc: KVM: Fix some kernel version edge cases for kvmppc_reset_htab()
The kvmppc_reset_htab() function invokes the KVM_PPC_ALLOCATE_HTAB vm ioctl
to request KVM to allocate and reset a ha...
David Gibson
04:54 pm Revision 5a1972c8: ppc405_uc: Fix buffer overflow
Report from smatch:
ppc405_uc.c:209 dcr_read_pob(12) error: buffer overflow 'pob->besr' 2 <= 2
ppc405_uc.c:232 dcr_w...
Stefan Weil
04:54 pm Revision 35f9304d: pseries: Remove unnecessary locking from PAPR hash table hcalls
In the paravirtualized environment provided by PAPR, there is a standard
locking scheme so that hypercalls updating t...
David Gibson
04:54 pm Revision 382be75d: pseries: Set hash table size based on RAM size
Currently the pseries machine code always attempts to set the size of the
guests's hash page table to 16MB. However,...
David Gibson
04:54 pm Revision 011aba24: target-ppc: Remove unused power_mode field from cpu state
CPUPPCState includes a variable 'power_mode' which is used nowhere. This
patch removes it. This includes saving a d...
David Gibson
04:54 pm Revision 2f93c23f: target-ppc: use the softfloat float32_muladd function
Use the new softfloat float32_muladd() function to implement the vmaddfp
and vnmsubfp instructions. As a bonus we can...
Aurelien Jarno
04:54 pm Revision 89243b3b: target-ppc: get rid of the HANDLE_NAN{1, 2, 3} macros
We can finally get rid of the ugly HANDLE_NAN{1,2,3} macros.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Si...
Aurelien Jarno
04:54 pm Revision f1af19d7: ppc: Make kvm_arch_put_registers() put *all* the registers
At least when invoked with high enough 'level' arguments,
kvm_arch_put_registers() is supposed to copy essentially al...
David Gibson
04:54 pm Revision 048706d9: pseries: Fix and cleanup CPU initialization and reset
The current pseries machine init function iterates over the CPUs at several
points, doing various bits of initializat...
David Gibson
04:54 pm Revision 98ca8c02: pseries: Remove C bitfields from xics code
The XICS interrupt controller emulation uses some C bitfield variables in
its internal state structure. This makes l...
David Gibson
04:54 pm Revision 7f763a5d: pseries: Add support for new KVM hash table control call
This adds support for then new "reset htab" ioctl which allows qemu
to properly cleanup the MMU hash table when the g...
David Gibson
04:54 pm Revision 4dd96f24: pseries: Clear TCE and signal state when resetting PAPR VIO devices
When we reset the system, the reset method for VIO bus devices resets
the state of their request queue (if present) a...
David Gibson
04:54 pm Revision eddeed26: pseries: Reset emulated PCI TCE tables on system reset
The emulated PCI host bridge on the pseries machine incorporates an IOMMU
(PAPR TCE table). Currently the mappings i...
David Gibson
04:54 pm Revision 256b408a: pseries: Fix XICS reset
The XICS interrupt controller used on the pseries machine currently has no
reset handler. We can get away with this ...
David Gibson
04:54 pm Revision 1dd08894: pseries: Small cleanup to H_CEDE implementation
The H_CEDE hypercall implementation for the pseries machine doesn't trigger
quite the right path in the main cpu exec...
David Gibson
04:54 pm Revision c8787ad4: pseries: Use new method to correct reset sequence
A number of things need to occur during reset of the PAPR
paravirtualized platform in a specific order. For example,...
David Gibson
04:54 pm Revision 8a269ca4: MAINTAINERS: Document sPAPR (pSeries) machine
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: ...
Andreas Färber
04:54 pm Revision 98cded3a: MAINTAINERS: Document e500 machines and devices
Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Alexander Graf <agraf@suse.de>
Cc: Scott Wood <scottwood@freesca...
Andreas Färber
04:54 pm Revision 9b9fe135: MAINTAINERS: Downgrade ppc405 to Odd Fixes
As requested by Alex.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Andreas Färber
04:54 pm Revision aaade8d7: MAINTAINERS: Document Bamboo machine and ppc4xx devices
Place it in alphabetical order and add new Devices section ppc4xx to
share file rules with 405 and virtex_ml507.
Sig...
Andreas Färber
04:54 pm Revision 794d00bf: MAINTAINERS: Document virtex_ml507 machine
Place it in alphabetical order, there is a separate section for sharing
ppc4xx devices now.
Signed-off-by: Andreas F...
Andreas Färber
04:54 pm Revision ef9bd150: target-ppc: simplify NaN propagation for vector functions
Commit e024e881bb1a8b5085026589360d26ed97acdd64 provided a pickNaN()
function for PowerPC, implementing the correct N...
Aurelien Jarno
04:54 pm Revision db1babb8: target-ppc: use the softfloat min/max functions
Use the new softfloat float32_min() and float32_max() to implement the
vminfp and vmaxfp instructions. As a bonus we ...
Aurelien Jarno

10/03/2012

04:49 pm Revision 8aba7dc0: xen: Set the vram dirty when an error occur.
If the call to xc_hvm_track_dirty_vram() fails, then we set dirtybit on all the
video ram. This case happens during m...
Anthony PERARD
04:49 pm Revision e226939d: exec, memory: Call to xen_modified_memory.
This patch add some calls to xen_modified_memory to notify Xen about dirtybits
during migration.
Signed-off-by: Anth...
Anthony PERARD
04:49 pm Revision 51d7a9eb: exec: Introduce helper to set dirty flags.
This new helper/hook is used in the next patch to add an extra call in a single
place.
Signed-off-by: Anthony PERARD...
Anthony PERARD
04:48 pm Revision 910b38e4: xen: Introduce xen_modified_memory.
This function is to be used during live migration. Every write access to the
guest memory should call this funcion so...
Anthony PERARD
04:48 pm Revision 39f42439: QMP, Introduce xen-set-global-dirty-log command.
This command is used during a migration of a guest under Xen. It calls
memory_global_dirty_log_start or memory_global...
Anthony PERARD
04:46 pm Revision aabc8530: qemu/xen: Add 64 bits big bar support on qemu
Currently it is assumed PCI device BAR access < 4G memory. If there is such a
device whose BAR size is larger than 4G...
Xudong Hao
04:45 pm Revision bd4982a6: xen: Fix, no unplug of pt device by platform device.
The Xen platform device will unplug any NICs if requested by the guest (PVonHVM)
including a NIC that would have been...
Anthony PERARD

10/01/2012

11:06 pm Revision 4be8eeac: fpu/softfloat.c: Remove pointless shift of always-zero value
In float16_to_float32, when returning an infinity, just pass zero
as the mantissa argument to packFloat32(), rather t...
Peter Maydell
11:06 pm Revision e744c06f: fpu/softfloat.c: Return correctly signed values from uint64_to_float32
The uint64_to_float32() conversion function was incorrectly always
returning numbers with the sign bit set (ie negati...
Peter Maydell
09:40 pm Revision 0f41dc18: vfio_pci: fix build on 32-bit systems
We cannot cast directly from pointer to uint64.
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Alex Barcelo <a...
Anthony Liguori
04:04 pm Revision 65501a74: vfio: vfio-pci device assignment driver
This adds the core of the QEMU VFIO-based PCI device assignment driver.
To make use of this driver, enable CONFIG_VFI...
Alex Williamson
04:04 pm Revision 92e1fb5e: vfio: Enable vfio-pci and mark supported
Enabled for all softmmu guests supporting PCI on Linux hosts. Note
that currently only x86 hosts have the kernel sid...
Alex Williamson
04:04 pm Revision a9321a4d: x86: Implement SMEP and SMAP
This patch implements Supervisor Mode Execution Prevention (SMEP) and
Supervisor Mode Access Prevention (SMAP) for x8...
H. Peter Anvin
04:04 pm Revision df8c1b02: Update kernel header script to include vfio
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-...
Alex Williamson
04:04 pm Revision 883f0b85: Update Linux kernel headers
Based on Linux as of 1a95620.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Michael S. Tsirk...
Alex Williamson

09/30/2012

02:11 pm Revision 4a19e505: i386: -cpu help: remove reference to specific CPUID leaves/registers
The -cpu configuration interface is based on a list of feature names or
properties, on a single namespace, so there's...
Eduardo Habkost
02:11 pm Revision 3b671a40: i386: cpu: eliminate duplicate feature names
Instead of having duplicate feature names on the ext2_feature array for
the AMD feature bit aliases, we keep the feat...
Eduardo Habkost
02:11 pm Revision 60032ac0: i386: cpu: replace EXT2_FEATURE_MASK with CPUID_EXT2_AMD_ALIASES
Both constants have the same value, but CPUID_EXT2_AMD_ALIASES is
defined without using magic numbers.
Signed-off-by...
Eduardo Habkost
02:11 pm Revision 8fad4b44: i386: kvm: use a #define for the set of alias feature bits
Instea of using a hardcoded hex constant, define CPUID_EXT2_AMD_ALIASES
as the set of CPUID[8000_0001].EDX bits that ...
Eduardo Habkost
02:10 pm Revision b1f46793: i386: kvm: bit 10 of CPUID[8000_0001].EDX is reserved
Bit 10 of CPUID[8000_0001].EDX is not defined as an alias of
CPUID[1].EDX[10], so do not duplicate it on
kvm_arch_get...
Eduardo Habkost

09/28/2012

08:40 pm Revision 1ceee0d5: iostatus: change is_read to a bool
Do this while we are touching this part of the code, before introducing
more uses of "int is_read".
Signed-off-by: P...
Paolo Bonzini
08:40 pm Revision 3e1caa5f: iostatus: reorganize io error code
Move the common part of IDE/SCSI/virtio error handling to the block
layer. The new function bdrv_error_action subsum...
Paolo Bonzini
08:40 pm Revision 32c81a4a: block: introduce block job error
The following behaviors are possible:
'report': The behavior is the same as in 1.1. An I/O error,
respectively duri...
Paolo Bonzini
08:40 pm Revision 1d809098: stream: add on-error argument
This patch adds support for error management to streaming.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Review...
Paolo Bonzini
08:40 pm Revision 8f96b5be: blkdebug: process all set_state rules in the old state
Currently it is impossible to write a blkdebug script that ping-pongs
between two states, because the second set-stat...
Paolo Bonzini
08:40 pm Revision 4f450568: qemu-iotests: map underscore to dash in QMP argument names
iotests.py provides a convenience function that uses Python keyword
arguments to represent QMP command arguments. Ho...
Paolo Bonzini
08:40 pm Revision 90f0b711: qemu-iotests: add tests for streaming error handling
Add a test for each of report/ignore/stop. The tests use blkdebug
to generate an error in the middle of a script. T...
Paolo Bonzini
08:40 pm Revision 92aa5c6d: iostatus: move BlockdevOnError declaration to QAPI
This will let block-stream reuse the enum. Places that used the enums
are renamed accordingly.
Signed-off-by: Paolo...
Paolo Bonzini
08:14 pm Revision 8acc72a4: block: add support for job pause/resume
Job pausing reuses the existing support for cancellable sleeps. A pause
happens at the next sleeping point and lasts...
Paolo Bonzini
08:14 pm Revision ff06f5f3: iostatus: rename BlockErrorAction, BlockQMPEventAction
We want to remove knowledge of BLOCK_ERR_STOP_ENOSPC from drivers;
drivers should only be told whether to stop/report...
Paolo Bonzini
08:14 pm Revision 30e628b7: block: add block_job_query
Extract it out of the implementation of info block-jobs.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed...
Paolo Bonzini
08:14 pm Revision 6e37fb81: qmp: add block-job-pause and block-job-resume
Add QMP commands matching the functionality.
Paused jobs cannot be canceled without first resuming them. This
ensur...
Paolo Bonzini
08:14 pm Revision 0c817347: qemu-iotests: add test for pausing a streaming operation
These check that a paused streaming job does not advance its offset.
Sometimes the new test fails; the map is differ...
Paolo Bonzini
08:14 pm Revision 8d65883f: qmp: add 'busy' member to BlockJobInfo
Because pausing a job is asynchronous, we need to know whether it has
completed. This is described by the "busy" fie...
Paolo Bonzini
08:14 pm Revision 2f0c9fe6: block: move job APIs to separate files
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin W...
Paolo Bonzini
08:08 pm Revision 7e03a934: block: fix documentation of block_job_cancel_sync
Do this in a separate commit before we move the functions to
blockjob.h.
Signed-off-by: Paolo Bonzini <pbonzini@redh...
Paolo Bonzini
08:08 pm Revision 7ef15070: qerror/block: introduce QERR_BLOCK_JOB_NOT_ACTIVE
The DeviceNotActive text is not a particularly good match, add
a separate text while keeping the same class.
Signed-...
Paolo Bonzini
07:55 pm Revision 747051cd: qemu-iotests: add initial tests for live block commit
Derived from the streaming test cases (030), this adds the
following 9 tests:
1. For the following image chain, comm...
Jeff Cody
07:23 pm Revision ed61fc10: QAPI: add command for live block commit, 'block-commit'
The command for live block commit is added, which has the following
arguments:
device: the block device to perform t...
Jeff Cody
07:23 pm Revision 79fac568: block: helper function, to find the base image of a chain
This is a simple helper function, that will return the base image
of a given image chain.
Signed-off-by: Jeff Cody <...
Jeff Cody
07:23 pm Revision 9abf2dba: blockdev: rename block_stream_cb to a generic block_job_cb
Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kw...
Jeff Cody
07:23 pm Revision 747ff602: block: add live block commit functionality
This adds the live commit coroutine. This iteration focuses on the
commit only below the active layer, and not the a...
Jeff Cody
07:22 pm Revision 6ebdcee2: block: add support functions for live commit, to find and delete images.
Add bdrv_find_overlay(), and bdrv_drop_intermediate().
bdrv_find_overlay(): given 'bs' and the active (topmost) BDS...
Jeff Cody
06:58 pm Revision 8d6d89cb: block: Support GlusterFS as a QEMU block backend.
This patch adds gluster as the new block backend in QEMU. This gives
QEMU the ability to boot VM images from gluster ...
Bharata B Rao
06:58 pm Revision eb100396: configure: Add a config option for GlusterFS as block backend
GlusterFS support in QEMU depends on libgfapi, libgfrpc and
libgfxdr provided by GlusterFS.
Signed-off-by: Bharata B...
Bharata B Rao
06:57 pm Revision 2db2bfc0: aio: Another fix to the walking_handlers logic
The AIO dispatch loop will call QLIST_REMOVE and g_free even if there
are other pending calls to qemu_aio_wait outsid...
Paolo Bonzini
06:51 pm Revision 870f5681: block: after creating a live snapshot, make old image read-only
Currently, after a live snapshot of a drive, the image that has
been 'demoted' to be below the new active layer remai...
Jeff Cody
06:51 pm Revision ca0defb9: qemu: URI parsing library
Add a new URI parsing library to QEMU. The code has been borrowed from
libxml2 and libvirt.
Signed-off-by: Paolo Bon...
Paolo Bonzini
06:51 pm Revision 00f78533: aio: Fix qemu_aio_wait() to maintain correct walking_handlers count
Fix qemu_aio_wait() to ensure that registered aio handlers don't get
deleted when they are still active. This is ensu...
Paolo Bonzini
06:43 pm Revision 946d58be: block-migration: Flush requests in blk_mig_cleanup
When cancelling block migration, all in-flight requests of the block
migration must be completed before the data can ...
Kevin Wolf
01:16 pm Revision 844b5cea: iov: add const annotation
iov_from_buf does not change iov, make it const.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Michael S. Tsirkin
01:16 pm Revision 40bad8f3: virtio-net: fix used len for tx
There is no out sg for TX, so used buf length for tx
should always be 0.
Signed-off-by: Michael S. Tsirkin <mst@redh...
Michael S. Tsirkin
01:16 pm Revision 0cea71a2: virtio: don't mark unaccessed memory as dirty
offset of accessed buffer is calculated using iov_length, so it
can exceed accessed len. If that happens
math in len ...
Michael S. Tsirkin
01:16 pm Revision 385ce95d: virtio: use unsigned int for counting bytes in vq
The virtqueue_avail_bytes() function counts bytes in an int. Use an
unsigned int instead.
Signed-off-by: Amit Shah ...
Amit Shah
01:16 pm Revision 0d8d7690: virtio: Introduce virtqueue_get_avail_bytes()
The current virtqueue_avail_bytes() is oddly named, and checks if a
particular number of bytes are available in a vq....
Amit Shah
01:16 pm Revision ad3005ad: virtio-serial-bus: let chardev know the exact number of bytes requested
Using the virtqueue_avail_bytes() function had an unnecessarily
crippling effect on the number of bytes needed by the...
Amit Shah

09/27/2012

10:48 pm Revision 6f8fd253: Merge branch 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/q...
* 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm:
Versatile Express: Add modelling of NOR...
Aurelien Jarno
10:44 pm Revision 87a5395b: target-s390x: Avoid double CPU_LOG_TB_CPU
This is already handled generically in cpu_exec.
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Richard ...
Richard Henderson
10:44 pm Revision d885bdd4: target-s390x: Tidy cpu_dump_state
The blank lines inside the single dump make it difficult for the
eye to pick out the block. Worse, with interior new...
Richard Henderson
10:44 pm Revision 0d404541: target-s390x: Use CPU_LOG_INT
Three places in the interrupt code did we not honor the mask.
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off...
Richard Henderson
10:44 pm Revision daa47c34: target-unicore32: Call tcg_gen_debug_insn_start
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelie...
Richard Henderson
10:38 pm Revision 7193b5f6: target-s390x: Call tcg_gen_debug_insn_start
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <...
Richard Henderson
10:38 pm Revision fdefe51c: Emit debug_insn for CPU_LOG_TB_OP_OPT as well.
For all targets that currently call tcg_gen_debug_insn_start,
add CPU_LOG_TB_OP_OPT to the condition that gates it.
...
Richard Henderson
10:38 pm Revision fa547e61: target-m68k: Call tcg_gen_debug_insn_start
Cc: Paul Brook <paul@codesourcery.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jar...
Richard Henderson
10:28 pm Revision 6673f47d: tci: Fix for AREG0 free mode
Support for helper functions with 5 arguments was missing
in the code generator and in the interpreter.
There is no ...
Stefan Weil
03:53 pm Revision 8bde9b6f: block: live snapshot documentation tweaks
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Paolo Bonzini
03:50 pm Revision 9d537c90: input: index_from_key(): drop unused code
The hex key conversion is unused since last commit.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed...
Luiz Capitulino
03:50 pm Revision 9f328977: qmp: qmp_send_key(): accept key codes in hex
Before the qapi conversion, the sendkey command could be used to
send key codes in hex directly to the guest. In HMP,...
Luiz Capitulino
03:48 pm Revision 05a3543d: input: qmp_send_key(): simplify
The current code duplicates the QKeyCodeList keys in order to store
the key values for release_keys() late run. This ...
Luiz Capitulino
03:46 pm Revision d691180e: qmp: dump-guest-memory: improve schema doc (again)
o Add a note about memory allocation with paging=true
o Fix indentation
Signed-off-by: Luiz Capitulino <lcapitulino...
Luiz Capitulino
03:46 pm Revision 2f61652d: qmp: dump-guest-memory: don't spin if non-blocking fd would block
fd_write_vmcore() will indefinitely spin for a non-blocking
file-descriptor that would block. However, if the fd is n...
Luiz Capitulino
03:46 pm Revision 75363769: hmp: dump-guest-memory: hardcode protocol argument to "file:"
Today, it's necessary to specify the protocol you want to use
when dumping the guest memory, for example:
(qemu) du...
Luiz Capitulino

09/26/2012

06:48 pm Revision 3dc3e7dd: Versatile Express: Add modelling of NOR flash
This patch adds modelling of the two NOR flash banks found on the
Versatile Express motherboard. Tested with U-Boot r...
Francesco Lavra
06:47 pm Revision 661bafb3: Versatile Express: Fix NOR flash 0 address and remove flash alias
In the A series memory map (implemented in the Cortex A15 CoreTile), the
first NOR flash bank (flash 0) is mapped to ...
Francesco Lavra
06:46 pm Revision 14c126ba: pl190: fix read of VECTADDR
Reading VECTADDR was causing us to set the current priority to
the wrong value, the most obvious effect of which was ...
Brendan Fennell
06:46 pm Revision 9892cae3: hw/armv7m_nvic: Correctly register GIC region when setting up NVIC
When setting up the NVIC memory regions the memory range
0x100..0xcff is aliased to an IO memory region that belongs
...
Meador Inge
06:42 pm Revision 9a3a8895: pci-assign: use monitor_handle_fd_param
There is no need to open-code the choice between a file descriptor
number or a named one. Just use monitor_handle_fd...
Paolo Bonzini
06:42 pm Revision b224e5e2: qapi: convert add_client
Also fixes a few issues while there:
1. The fd returned by monitor_get_fd() leaks in most error conditions
2. moni...
Luiz Capitulino
06:42 pm Revision a9940fc4: monitor: add Error * argument to monitor_get_fd
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-b...
Paolo Bonzini
04:45 pm Revision e9d17b68: Make negotiation optional in QEMUMonitorProtocol
This is a preparation for qemu-ga-client which uses
QEMUMonitorProtocol class. The class tries to
negotiate capabilit...
Ryota Ozaki
04:45 pm Revision e37b350a: Support settimeout in QEMUMonitorProtocol
This method is used in the following qemu-ga-client script
to implement non-blocking operations.
Signed-off-by: Ryot...
Ryota Ozaki
04:45 pm Revision 1057725f: qapi: add "unix" to the set of reserved words
It is #defined to 1.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@...
Paolo Bonzini
04:45 pm Revision eda50a65: qapi: do not protect enum values from namespace pollution
Enum values are always preceded by the uppercase name of the enum, so
they do not conflict with reserved words.
Sign...
Paolo Bonzini
04:45 pm Revision f513cbf7: Add qemu-ga-client script
This is an easy-to-use QEMU guest agent client written in
Python. It simply provides commands to call guest agent
fun...
Ryota Ozaki
10:24 am Revision 8b626aa7: usb-redir: Adjust pkg-config check for usbredirparser .pc file rename (v2)
The usbredir 0.5 release introduced the new API for 64 bit packet ids, but
it kept the libusbredirparser.pc name as i...
Hans de Goede
10:24 am Revision 39c138c8: usb: Fix usb_packet_map() in the presence of IOMMUs
With the IOMMU infrastructure introduced before 1.2, we need to use
dma_memory_map() to obtain a qemu pointer to memo...
David Gibson
10:24 am Revision a2879190: compat: turn off msi/msix on xhci for old machine types
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
10:24 am Revision cae5d3f4: ehci: Fix interrupt packet MULT handling
There are several issues with our handling of the MULT epcap field
of interrupt qhs, which this patch fixes.
1) When...
Hans de Goede
10:24 am Revision d95e74ea: xhci: tweak limits
Set maxports to 15. This is what the usb3 route string can handle.
Set maxslots to 64. This is more than the numbe...
Gerd Hoffmann
10:24 am Revision ccaf87a0: xhci: route string & usb hub support
Parse route string in slot contexts and
support devices connected via hub.
Gerd Hoffmann
10:24 am Revision 1d8a4e69: xhci: create a memory region for each port
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
10:24 am Revision 356d8372: add pc-1.3 machine type
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
04:05 am Revision ac05f349: add a boot parameter to set reboot timeout
Added an option to let qemu transfer a configuration file to bios,
"etc/boot-fail-wait", which could be specified by ...
Amos Kong
03:05 am Revision 233aa5c2: Fix address handling in inet_nonblocking_connect
getaddrinfo can give us a list of addresses, but we only try to
connect to the first one. If that fails we never proc...
Orit Wasserman
03:05 am Revision 3202beca: Clear handler only for valid fd
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Orit Wasserman
03:05 am Revision 05bc1d8a: Refactor inet_connect_opts function
refactor address resolution code to fix nonblocking connect
remove getnameinfo call
Signed-off-by: Michael S. Tsirki...
Michael S. Tsirkin
03:05 am Revision 5db5f44c: Separate inet_connect into inet_connect (blocking) and inet_nonblocking_connect
No need to add non blocking parameters to the blocking inet_connect
add block parameter for inet_connect_opts instead...
Orit Wasserman
02:44 am Revision 8bdd3d49: configure: Allow builds without any system or user emulation
The old code aborted configure when no emulation target was selected.
Even after removing the 'exit 1', it tried to r...
Stefan Weil
02:38 am Revision c08ba66f: ivshmem: add 64bit option
This patch adds a "use64" property which will make the ivshmem driver
register a 64bit memory bar when set, so you ha...
Gerd Hoffmann
02:38 am Revision 183c5eaa: compat: turn off msi/msix on xhci for old machine types
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Gerd Hoffmann
02:38 am Revision f4306941: add pc-1.3 machine type
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Gerd Hoffmann
02:37 am Revision a9552c8e: Introduce powerdown_notifiers
Notifier will be used for signaling powerdown request to guest in
a more general way and intended to replace very spe...
Igor Mammedov
02:37 am Revision d010f91c: acpi: use notifier for signaling guest system_powerdown command
In addition, there is no need to allocate an extra irq just for
rising SCI in irq handler. Just rise SCI right from n...
Igor Mammedov
02:37 am Revision c72ddb1e: target-arm: use notifier for signaling guest system_powerdown command
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: ...
Igor Mammedov
02:37 am Revision bea42280: target-sparc: use notifier for signaling guest system_powerdown command
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Igor Mammedov
02:37 am Revision 013c2f15: Cleanup unused global var qemu_system_powerdown
All deps that used global qemu_system_powerdown var are now converted
to notifiers, so remove it.
Signed-off-by: Igo...
Igor Mammedov
02:12 am Revision d9b41bcd: Merge remote-tracking branch 'origin/master' into staging
* origin/master:
tcg/i386: fix build with -march < i686
tcg: Streamline movcond_i64 using movcond_i32
tcg: Stre...
Anthony Liguori
01:31 am Revision f813cb83: tcg/i386: fix build with -march < i686
The movcond_i32 op has to be protected with TCG_TARGET_HAS_movcond_i32
to fix the build with -march < i686.
Thanks t...
Aurelien Jarno
01:31 am Revision 0a209d4b: tcg: Sanity check goto_tb input
Checking that we don't try for idx != [01] is trivial. Checking
that we don't issue more than one of any index requi...
Richard Henderson
01:31 am Revision a80a6b63: tcg: Streamline movcond_i64 using movcond_i32
When movcond_i32 is available we can further reduce the generated
op count from 12 to 6, and the generated code size ...
Richard Henderson
01:31 am Revision a463133e: tcg: Streamline movcond_i64 using 32-bit arithmetic
Avoiding 64-bit arithmetic (outside of the compare) reduces the
generated op count from 15 to 12, and the generated c...
Richard Henderson
01:31 am Revision 8f06bf69: tcg/mips: fix MIPS32(R2) detection
Fix the MIPS32(R2) cpu detection so that it also works with
-march=octeon. Thanks to Andrew Pinski for the hint.
Cc:...
Aurelien Jarno
01:31 am Revision 717e7036: tcg: Sanity check deposit inputs
Given these are constants, checking once here means everything
after can assume they're correct.
Signed-off-by: Rich...
Richard Henderson
01:31 am Revision 42ce3e20: tcg: Emit ANDI as EXTU for appropriate constants
Note that andi_i64 failed to perform even the minimal
optimizations promised by the README.
Signed-off-by: Richard H...
Richard Henderson
01:31 am Revision d81ada7f: tcg: Optimize initial inputs for ori_i64
Copy the same optimizations from ori_i32.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien...
Richard Henderson
01:31 am Revision 6f3bb33e: tcg: Emit XORI as NOT for appropriate constants
Note that xori_i64 failed to perform even the minimal
optimizations promised by the README.
Signed-off-by: Richard H...
Richard Henderson
01:31 am Revision 77276f65: tcg: Implement concat*_i64 with deposit_i64
For tcg_gen_concat_i32_i64 we only use deposit if the host supports it.
For tcg_gen_concat32_i64 even if the host doe...
Richard Henderson
01:31 am Revision c552d6c0: tcg: Add tcg_debug_assert
Like the C assert macro, except only enabled for CONFIG_DEBUG_TCG,
and without having to set _NDEBUG and disable all ...
Richard Henderson
01:31 am Revision 5a696f6a: tcg: Adjust descriptions of *cond opcodes
The README file documented the operand ordering of the tcg_gen_*
functions. Since we're documenting opcodes here, us...
Richard Henderson
12:06 am Revision d352210a: Merge remote-tracking branch 'bonzini/scsi-next' into staging
* bonzini/scsi-next:
SCSI: Standard INQUIRY data should report HiSup flag as set.
scsi-disk: use scsi_data_cdb_le...
Anthony Liguori
12:06 am Revision 97fe81d3: Merge remote-tracking branch 'afaerber/qom-cpu' into staging
* afaerber/qom-cpu:
target-alpha: Initialize env->cpu_model_str
target-i386: Drop unused setscalar() macro
targ...
Anthony Liguori
12:06 am Revision 444dbc38: Merge remote-tracking branch 'kwolf/for-anthony' into staging
* kwolf/for-anthony:
block: remove keep_read_only flag from BlockDriverState struct
block: convert bdrv_commit() ...
Anthony Liguori
12:06 am Revision 3988475b: Merge remote-tracking branch 'stefanha/trivial-patches' into staging
* stefanha/trivial-patches:
w32: Always use standard instead of native format strings
net/socket: Fix compiler wa...
Anthony Liguori
12:06 am Revision 09d0726c: Merge remote-tracking branch 'bonzini/nbd-next' into staging
* bonzini/nbd-next:
nbd: add nbd_export_get_blockdev
nbd: negotiate with named exports
nbd: register named expo...
Anthony Liguori

09/24/2012

04:15 pm Revision dc1c13d9: block: remove keep_read_only flag from BlockDriverState struct
The keep_read_only flag is no longer used, in favor of the bdrv
flag BDRV_O_ALLOW_RDWR.
Signed-off-by: Jeff Cody <jc...
Jeff Cody
04:15 pm Revision 3d1807ac: block: purge s->aligned_buf and s->aligned_buf_size from raw-posix.c
The aligned_buf pointer and aligned_buf size are no longer used in
raw_posix.c, so remove all references to them.
Si...
Jeff Cody
04:15 pm Revision eeb6b45d: block: raw-posix image file reopen
This is derived from the Supriya Kannery's reopen patches.
This contains the raw-posix driver changes for the bdrv_r...
Jeff Cody
04:15 pm Revision 01bdddb5: block: raw image file reopen
These are the stubs for the file reopen drivers for the raw format.
There is currently nothing that needs to be done...
Jeff Cody
04:15 pm Revision f9cb20f1: block: qed image file reopen
These are the stubs for the file reopen drivers for the qed format.
There is currently nothing that needs to be done...
Jeff Cody
04:15 pm Revision 21d82ac9: block: qcow2 image file reopen
These are the stubs for the file reopen drivers for the qcow2 format.
There is currently nothing that needs to be do...
Jeff Cody
04:15 pm Revision d177692e: block: qcow image file reopen
These are the stubs for the file reopen drivers for the qcow format.
There is currently nothing that needs to be don...
Jeff Cody
04:15 pm Revision 3897575f: block: vmdk image file reopen
This patch supports reopen for VMDK image files. VMDK extents are added
to the existing reopen queue, so that the tr...
Jeff Cody
04:15 pm Revision ecfe2bba: block: vdi image file reopen
There is currently nothing that needs to be done for VDI reopen.
Signed-off-by: Jeff Cody <jcody@redhat.com>
Signed-...
Jeff Cody
04:15 pm Revision 0bce597d: block: convert bdrv_commit() to use bdrv_reopen()
Currently, bdrv_commit() reopens images r/w itself, via risky
_delete() and _open() calls. Use the new safe method fo...
Jeff Cody
04:15 pm Revision 3fe4b700: block: vpc image file reopen
There is currently nothing that needs to be done for VPC image
file reopen.
Signed-off-by: Jeff Cody <jcody@redhat.c...
Jeff Cody
04:15 pm Revision 80dd1aae: blockdev: preserve readonly and snapshot states across media changes
If readonly=on is given at device creation time, the ->readonly flag
needs to be set in the block driver state for th...
Kevin Shanahan
04:15 pm Revision be028adc: block: correctly set the keep_read_only flag
I believe the bs->keep_read_only flag is supposed to reflect
the initial open state of the device. If the device is i...
Jeff Cody
04:15 pm Revision 55b110f2: block: make bdrv_set_enable_write_cache() modify open_flags
bdrv_set_enable_write_cache() sets the bs->enable_write_cache flag,
but without the flag recorded in bs->open_flags, ...
Jeff Cody
04:15 pm Revision e971aa12: block: Framework for reopening files safely
This is based on Supriya Kannery's bdrv_reopen() patch series.
This provides a transactional method to reopen multip...
Jeff Cody
04:15 pm Revision fc32a72d: block: move aio initialization into a helper function
Move AIO initialization for raw-posix block driver into a helper function.
In addition to just code motion, the aio_...
Jeff Cody
04:15 pm Revision 6a8dc042: block: move open flag parsing in raw block drivers to helper functions
Code motion, to move parsing of open flags into a helper function.
Signed-off-by: Jeff Cody <jcody@redhat.com>
Signe...
Jeff Cody
04:15 pm Revision 39c9fb95: block: do not parse BDRV_O_CACHE_WB in block drivers
Block drivers should ignore BDRV_O_CACHE_WB in .bdrv_open flags,
and in the bs->open_flags.
This patch removes the c...
Jeff Cody
04:15 pm Revision 9acc5a06: block: use BDRV_O_NOCACHE instead of s->aligned_buf in raw-posix.c
Rather than check for a non-NULL aligned_buf to determine if
raw_aio_submit needs to check for alignment, check for t...
Jeff Cody

09/23/2012

08:09 pm Revision d3e8f957: w32: Add implementation of gmtime_r, localtime_r
Those functions are missing in MinGW.
Some versions of MinGW-w64 include defines for gmtime_r and localtime_r.
Older...
Stefan Weil
09:39 am Revision 95df51a4: w32: Always use standard instead of native format strings
GLib 2.0 include files use __printf__ for the format attribute
which resolves to native format strings on w32 hosts.
...
Stefan Weil
09:37 am Revision 73062dfe: net/socket: Fix compiler warning (regression for MinGW)
Commit 213fd5087e2e4e2da10ad266df0ba950cf7618bf removed a type cast
which is needed for MinGW:
net/socket.c:136: war...
Stefan Weil
09:35 am Revision ad11ad77: linux-user: Remove redundant null check and replace free by g_free
Report from smatch:
linux-user/syscall.c:3632 do_ioctl_dm(220) info:
redundant null check on big_buf calling free()...
Stefan Weil
09:11 am Revision 144b97c2: qemu-timer: simplify qemu_run_timers
ptimer_head is an invariant pointer to clock->active_timers.
Remove it, and just reference clock->active_timers direc...
Paolo Bonzini
09:11 am Revision 39b38459: qemu-sockets: Fix potential memory leak
The old code leaks variable 'peer'.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stef...
Stefan Weil
09:11 am Revision b5488288: qemu-ga: Remove unreachable code after g_error
Report from smatch:
qemu-ga.c:117 register_signal_handlers(11) info: ignoring unreachable code.
qemu-ga.c:122 registe...
Stefan Weil
09:11 am Revision 5d40097f: cadence_uart: Fix buffer overflow
Report from smatch:
hw/cadence_uart.c:413 uart_read(13) error: buffer overflow 's->r' 18 <= 18
This fixes read acces...
Stefan Weil
09:11 am Revision c10600af: TextConsole: saturate escape parameter in TTY_STATE_CSI
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Ste...
Laszlo Ersek
09:11 am Revision 997f1567: ioh3420: Remove unreachable code
Report from smatch:
hw/ioh3420.c:128 ioh3420_initfn(35) info: ignoring unreachable code.
Signed-off-by: Stefan Weil ...
Stefan Weil
09:11 am Revision 12dabc79: pflash_cfi01: Fix warning caused by unreachable code
Report from smatch:
hw/pflash_cfi01.c:431 pflash_write(180) info: ignoring unreachable code.
Instead of removing the...
Stefan Weil
09:11 am Revision d8f8a860: dtrace backend: add function to reserved words
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Alon Levy
09:11 am Revision 995ee2bf: curses: don't initialize curses when qemu is daemonized
Current qemu initializes curses even if -daemonize option is
passed. This cause problem because shell prompt appears ...
Hitoshi Mitake
09:11 am Revision 81396266: lm4549: Fix buffer overflow
Report from smatch:
lm4549.c:234 lm4549_write_samples(14) error:
buffer overflow 's->buffer' 1024 <= 1024
There mus...
Stefan Weil
09:11 am Revision 2e84849a: target-i386: Allow tsc-frequency to be larger then 2.147G
The check using INT_MAX (2147483647) is wrong in this case.
Signed-off-by: Fred Oliveira <foliveira@cloudswitch.com>...
Don Slutz
12:34 am Revision 93b65997: audio: Fix warning from static code analysis
smatch report:
audio/audio_template.h:416 AUD_open_out(18) warn:
variable dereferenced before check 'as' (see line 4...
Stefan Weil

09/22/2012

08:59 pm Revision 04cbbdee: Merge branch 'tcg-sparc' of git://repo.or.cz/qemu/rth
* 'tcg-sparc' of git://repo.or.cz/qemu/rth:
tcg-sparc: Preserve branch destinations during retranslation
tcg-spar...
Blue Swirl
08:59 pm Revision 4e273869: target-xtensa: implement FP1 group
These are comparison and conditional move opcodes.
See ISA, 4.3.10 for more details.
Signed-off-by: Max Filippov <jc...
Max Filippov
08:59 pm Revision ef04a846: target-xtensa: implement coprocessor context option
In case Coprocessor Context option is enabled CPENABLE SR bits control
whether access to coprocessors is allowed or w...
Max Filippov
08:59 pm Revision 10f6ca03: target-xtensa: handle boolean option in overlays
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Max Filippov
08:59 pm Revision 213ff4e6: softfloat: add NO_SIGNALING_NANS
Architectures that don't have signaling NaNs can define
NO_SIGNALING_NANS, it will make float*_is_quiet_nan return 1 ...
Max Filippov
08:59 pm Revision 66176802: softfloat: make float_muladd_negate_* flags independent
Flags passed into float{32,64}_muladd are treated as bits; assign
independent bits to float_muladd_negate_* to allow ...
Max Filippov
08:59 pm Revision b7ee8c6a: target-xtensa: implement FP0 conversions
These are FP to integer and integer to FP conversion opcodes.
See ISA, 4.3.10 for more details.
Note that ISA descri...
Max Filippov
08:59 pm Revision dd519cbe: target-xtensa: add FP registers
There are 16 32-bit FP registers (f0 - f15), control and status user
registers (fcr, fsr).
See ISA, 4.3.10 for more ...
Max Filippov
08:59 pm Revision 9ed7ae12: target-xtensa: implement LSCX and LSCI groups
These are load/store instructions for FP registers with immediate or
register index and optional base post-update.
Se...
Max Filippov
08:59 pm Revision 0b6df838: target-xtensa: implement FP0 arithmetic
These are FP arithmetic opcodes.
See ISA, 4.3.10 for more details.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
...
Max Filippov
08:59 pm Revision b81fe822: target-xtensa: specialize softfloat NaN rules
NaN propagation rule: leftmost NaN in the expression gets propagated to
the result.
Signed-off-by: Max Filippov <jcm...
Max Filippov
08:24 pm Revision e809c0dc: Revert "tcg/mips"
This reverts commit ad49d1f75115663731bfe06dec61eed6775526ad.
This commit was not supposed to be pushed.
Signed-off...
Aurelien Jarno
06:16 pm Revision 23f3ff26: tcg/ppc32: Implement movcond32
Thanks to Richard Henderson
Signed-off-by: malc <av1474@comtv.ru>
malc
06:07 pm Revision ad49d1f7: tcg/mips
Aurelien Jarno
05:52 pm Revision b18212c6: tcg/i386: Add shortcuts for registers used in L constraint
While 64 bit hosts use the first three registers which are also used
as function input parameters, 32 bit hosts use T...
Stefan Weil
05:52 pm Revision d73685e3: tcg/i386: Remove unused registers from tcg_target_call_iarg_regs
32 bit x86 hosts don't need registers for helper function arguments
because they use the default stack based calling ...
Stefan Weil
05:52 pm Revision 6e17d0c5: tcg: Remove tcg_target_get_call_iarg_regs_count
The TCG targets no longer need individual implementations.
Since commit 6a18ae2d2947532d5c26439548afa0481c4529f9,
'f...
Stefan Weil
04:10 pm Revision f0da3757: tcg-hppa: Implement movcond
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
04:10 pm Revision 9bacf414: tcg/README: document tcg_gen_goto_tb restrictions
See
http://lists.nongnu.org/archive/html/qemu-devel/2012-09/msg03196.html
for the whole story.
Signed-off-by: Max Fi...
Max Filippov
04:10 pm Revision 1b7621ad: w64: Fix TCG helper functions with 5 arguments
TCG uses 6 registers for function arguments on 64 bit Linux hosts,
but only 4 registers on W64 hosts.
Commit 2999a0b...
Stefan Weil
04:10 pm Revision 7ef55fc9: tcg/optimize: add constant folding for deposit
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Aurelien Jarno
04:10 pm Revision 1ff8c541: tcg/optimize: do copy propagation for all operations
It is possible to due copy propagation for all operations, even the one
that have side effects or clobber arguments (...
Aurelien Jarno
04:10 pm Revision 0aba1c73: tcg/optimize: optimize "op r, a, a => mov r, a"
Now that we can easily detect all copies, we can optimize the
"op r, a, a => mov r, a" case a bit more.
Reviewed-by:...
Aurelien Jarno
04:10 pm Revision 3c94193e: tcg/optimize: optimize "op r, a, a => movi r, 0"
Now that it's possible to detect copies, we can optimize the case
the "op r, a, a => movi r, 0". This helps in the co...
Aurelien Jarno
04:10 pm Revision b336ceb6: tcg/optimize: further optimize brcond/movcond/setcond
When both argument of brcond/movcond/setcond are the same or when one
of the two values is a constant equal to zero, ...
Aurelien Jarno
04:10 pm Revision c2b0e2fe: tcg/optimize: prefer the "op a, a, b" form for commutative ops
The "op a, a, b" form is better handled on non-RISC host than the "op
a, b, a" form, so swap the arguments to this fo...
Aurelien Jarno
04:10 pm Revision fba3161f: tcg: remove #ifdef #endif around TCGOpcode tests
Commit 25c4d9cc changed all TCGOpcode enums to be available, so we don't
need to #ifdef #endif the one that are avail...
Aurelien Jarno
04:10 pm Revision e590d4e6: tcg/optimize: rework copy progagation
The copy propagation pass tries to keep track what is a copy of what
and what has copy of what, and in addition it ke...
Aurelien Jarno
04:10 pm Revision 0f46c064: tcg/mips: optimize brcond arg, 0
MIPS has some conditional branch instructions when comparing with zero.
Use them.
Reviewed-by: Richard Henderson <rt...
Aurelien Jarno
04:10 pm Revision c1cf85c9: tcg/mips: optimize bswap{16,16s,32} on MIPS32R2
bswap operations can be optimized on MIPS32 Release 2 using the ROTR,
WSBH and SEH instructions. We can't use the non...
Aurelien Jarno
04:10 pm Revision 9a152519: tcg/mips: implement rotl/rotr ops on MIPS32R2
rotr operations can be optimized on MIPS32 Release 2 using the ROTR and
ROTRV instructions. Also implemented rotl ope...
Aurelien Jarno
04:10 pm Revision 04f71aa3: tcg/mips: implement deposit op on MIPS32R2
deposit operations can be optimized on MIPS32 Release 2 using the INS
instruction.
Reviewed-by: Richard Henderson <r...
Aurelien Jarno
04:10 pm Revision 7d7c4930: tcg/mips: implement movcond op on MIPS32R2
movcond operation can be implemented on MIPS32 Release 2 using the MOVN,
MOVZ, SLT and SLTU instructions.
Reviewed-b...
Aurelien Jarno
04:10 pm Revision 48b56ce1: tcg/optimize: remove TCG_TEMP_ANY
TCG_TEMP_ANY has no different meaning than TCG_TEMP_UNDEF, so use
the later instead.
Reviewed-by: Richard Henderson ...
Aurelien Jarno
04:10 pm Revision b80bb016: tcg/optimize: check types in copy propagation
The copy propagation doesn't check the types of the temps during copy
propagation. However TCG is using the mov_i32 f...
Aurelien Jarno
04:10 pm Revision 2ceb3a9e: tcg-mips: fix wrong usage of 'Z' constraint
The 'Z' constraint has been introduced to map the zero register. However
when the op also accept a constant, there is...
Aurelien Jarno
04:10 pm Revision 0834c9ea: tcg/mips: kill warnings in user mode
Recent versions of GCC emit warnings when compiling user mode targets.
Kill them by reordering a bit the #ifdef.
Rev...
Aurelien Jarno
04:10 pm Revision 5a0eed37: tcg/mips: use TCGArg or TCGReg instead of int
Instead of int, use the correct TCGArg and TCGReg type: TCGReg when
representing a TCG target register, TCGArg when r...
Aurelien Jarno
04:10 pm Revision 3314e008: tcg/mips: don't use global pointer
Don't use the global pointer in TCG, in case helpers try access global
variables.
Signed-off-by: Aurelien Jarno <aur...
Aurelien Jarno
04:10 pm Revision 0d0b53a6: tcg/mips: use stack for TCG temps
Use stack instead of temp_buf array in CPUState for TCG
temps.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Sign...
Aurelien Jarno

09/21/2012

11:02 pm Revision f4bf0b91: tcg-sparc: Preserve branch destinations during retranslation
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
11:02 pm Revision 26adfb75: tcg-sparc: Add %g/%o registers to alloc_order
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
11:02 pm Revision 5bbd2cae: tcg-sparc: Fix and enable direct TB chaining.
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
11:02 pm Revision 375816f8: tcg-sparc: Use defines for temporaries.
And change from %i4/%i5 to %g1/%o7 to remove a v8plus fixme.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson
11:02 pm Revision 1fd95946: tcg-sparc: Mask shift immediates to avoid illegal insns.
The xtensa-test image generates a sra_i32 with count 0x40.
Whether this is accident of tcg constant propagation or
or...
Richard Henderson
11:02 pm Revision 4c3204cb: tcg-sparc: Clean up cruft stemming from attempts to use global registers.
Don't use -ffixed-gN. Don't link statically. Don't save/restore
AREG0 around calls. Don't allocate space on the st...
Richard Henderson
11:02 pm Revision c6f7e4fb: tcg-sparc: Support GUEST_BASE.
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
11:02 pm Revision 0c554161: tcg-sparc: Change AREG0 in generated code to %i0.
We can now move the TCG variable from %g[56] to a call-preserved
windowed register.
Signed-off-by: Richard Henderson...
Richard Henderson
11:02 pm Revision a0ce341a: tcg-sparc: Fix qemu_ld/st to handle 32-bit host.
At the same time, split out the tlb load logic to a new function.
Fixes the cases of two data registers and two addre...
Richard Henderson
11:02 pm Revision d5dd696f: tcg-sparc: Don't MAP_FIXED on top of the program
The address we pick in sparc64.ld is also 0x60000000, so doing a fixed map
on top of that is guaranteed to blow up. ...
Richard Henderson
11:02 pm Revision 9b9c37c3: tcg-sparc: Assume v9 cpu always, i.e. force v8plus in 32-bit mode.
Current code doesn't actually work in 32-bit mode at all. Since
no one really noticed, drop the complication of v7 a...
Richard Henderson
11:02 pm Revision a221ae3f: tcg-sparc: Fix ADDX opcode.
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
11:02 pm Revision 3ee60ad4: tcg-sparc: Hack in qemu_ld/st64 for 32-bit.
Not actually implemented, but at least we avoid the tcg assert at startup.
Signed-off-by: Richard Henderson <rth@twi...
Richard Henderson
11:02 pm Revision 62724cc5: linux-user: Use memcpy in get_user/put_user.
When host and target have differing alignment rules, using a cast
and direct memory operation can result in SIGBUS. ...
Richard Henderson
08:53 pm Revision cfb75cb9: Merge branch 'usb.65' of git://git.kraxel.org/qemu
* 'usb.65' of git://git.kraxel.org/qemu:
uhci: Don't queue up packets after one with the SPD flag set
usb-redir: ...
Aurelien Jarno
08:53 pm Revision e55f523d: tcg-hppa: Fix broken load/store helpers
The CONFIG_TCG_PASS_AREG0 code for calling ld/st helpers
was not respecting the ABI requirement for 64-bit values
bei...
Richard Henderson
08:53 pm Revision 57e289de: target-alpha: Use movcond
For proper cmov insns, as well as the non-goto-tb case
of conditional branch.
Signed-off-by: Richard Henderson <rth@...
Richard Henderson
08:53 pm Revision d0a16297: tcg-i386: Implement movcond
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: ...
Richard Henderson
08:53 pm Revision fa01a208: tcg: Optimize movcond for constant comparisons
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
08:53 pm Revision 5d8f5363: tcg: Optimize two-address commutative operations
While swapping constants to the second operand, swap
sources matching destinations to the first operand.
Signed-off-...
Richard Henderson
08:53 pm Revision eca5c303: gdbstub/sh4: fix build with USE_SOFTFLOAT_STRUCT_TYPES
We have to use different type to access float values when
USE_SOFTFLOAT_STRUCT_TYPES is defined.
Rework SH4 version ...
Aurelien Jarno
08:53 pm Revision fe7e1d3e: tcg: Fix !USE_DIRECT_JUMP
Commit 6375e09e changed the type of TranslationBlock.tb_next,
but failed to change the type of TCGContext.tb_next.
S...
Richard Henderson
08:53 pm Revision c08d9ee3: tcg-hppa: Fix brcond2 and setcond2
Neither of these functions were performing double-word
compares properly.
Signed-off-by: Richard Henderson <rth@twid...
Richard Henderson
08:53 pm Revision ad8d25a1: target-sh4: implement addv and subv using TCG
addv and subv helpers implementation is directly copied from the SH4
manual and looks quite complex. It is however po...
Aurelien Jarno
08:53 pm Revision f16640f4: target-sh4: optimize xtrct
The register being 32 bit long, after a shift to the right by 16 bits,
the upper 16 bit are already cleared. There is...
Aurelien Jarno
08:53 pm Revision c53b36d2: target-sh4: optimize swap.w
It's possible swap the two 16-bit words of a 32-bit register using a
rotation. If the TCG target doesn't implement ro...
Aurelien Jarno
08:53 pm Revision ffc5ea09: tcg: Introduce movcond
Implemented with setcond if the target does not provide
the optional opcode.
Signed-off-by: Richard Henderson <rth@t...
Richard Henderson
08:53 pm Revision 10127400: target-sh4: rework exceptions handling
Since commit fd4bab102 PC is restored in case of exception through code
retranslation. While it is clearly the thing ...
Aurelien Jarno
08:53 pm Revision 7a64244f: target-sh4: cleanup DisasContext
We should avoid accessing env at translation stage, except of course for
static values like the supported features.
...
Aurelien Jarno
08:53 pm Revision 080df491: target-sh4: remove useless code
Almost dead code.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Aurelien Jarno
08:53 pm Revision ed22e6f3: target-sh4: remove gen_clr_t() and gen_set_t()
gen_clr_t() and gen_set_t() have very few callers and can be remplaced
by a single line. Remove them.
Signed-off-by:...
Aurelien Jarno
08:53 pm Revision f8e73439: target-sh4: mark a few helpers const and pure
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
08:53 pm Revision ff2086fe: target-sh4: use float32_muladd() to implement fmac
There is no need to add a SH4 specific pickNaNMulAdd() to softfloat as
SH4 is always returning a default NaN.
Signed...
Aurelien Jarno
08:53 pm Revision 22b88fd7: target-sh4: implement addc and subc using TCG
Now that setcond is available, the addc and subc can easily be
implemented using TCG.
Signed-off-by: Aurelien Jarno ...
Aurelien Jarno
05:17 pm Revision e93176d5: scsi-disk: use scsi_data_cdb_length
This simplifies and unifies the parsing of READ, WRITE and WRITE SAME
commands.
Signed-off-by: Paolo Bonzini <pbonzi...
Paolo Bonzini
05:17 pm Revision 1109c894: SCSI: Standard INQUIRY data should report HiSup flag as set.
QEMU as far as I know only reports LUN numbers using the modes that
are described in SAM4.
As such, since all LUN num...
Ronnie Sahlberg
05:14 pm Revision bb729f75: scsi: introduce scsi_cdb_length and scsi_data_cdb_length
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Paolo Bonzini
05:12 pm Revision 444bc908: scsi-disk: introduce check_lba_range
Abstract the test for an out-of-range (starting block, block count)
pair.
Signed-off-by: Paolo Bonzini <pbonzini@red...
Paolo Bonzini
05:12 pm Revision 12ca76fc: scsi-disk: fix check for out-of-range LBA
This fix is needed to correctly handle 0-block read and writes.
Without it, a 0-block access at LBA 0 would underflow...
Paolo Bonzini
05:12 pm Revision 40a13ca8: iSCSI: We dont need to explicitely call qemu_notify_event() any more
We no longer need to explicitely call qemu_notify_event() any more
since this is now done automatically any time the ...
Ronnie Sahlberg
05:05 pm Revision f1a12821: iSCSI: We need to support SG_IO also from iscsi_ioctl()
We need to support SG_IO from the synchronous iscsi_ioctl() since
scsi-block uses this to do an INQ to the device to ...
Ronnie Sahlberg
04:12 pm Revision 473955e5: target-i386: Drop unused setscalar() macro
It was only used by now removed setfeatures() function.
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off...
Andreas Färber
04:12 pm Revision 2b85cf0e: target-alpha: Initialize env->cpu_model_str
Save the cpu_model_str so that we have a non-null value when
creating a new cpu during clone.
Signed-off-by: Richard...
Richard Henderson
04:12 pm Revision 6cdf8854: target-i386: Fold -cpu ?cpuid, ?model output into -cpu help, drop ?dump
Commit c8057f95 (accidentally) disabled the ability to pass
option strings starting with '?' to the target-specific
c...
Peter Maydell
04:12 pm Revision e916cbf8: Drop cpu_list_id macro
Since the only user of the extended cpu_list_id() format
was the x86 ?model/?dump/?cpuid output, we can drop it
compl...
Peter Maydell
04:12 pm Revision a75b0818: target-i386: Add missing CPUID_* constants
Those constants will be used by new CPU model definitions.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Revi...
Eduardo Habkost
04:12 pm Revision 3eca4642: target-i386: Move CPU models from cpus-x86_64.conf to C
Those models are maintained by QEMU and may require compatibility code
to be added when making some changes. Keeping ...
Eduardo Habkost
04:12 pm Revision ba6212d8: Eliminate cpus-x86_64.conf file
This file is not needed anymore, as QEMU won't ship any config-based
cpudefs out of the box, relying only on the buil...
Eduardo Habkost
04:12 pm Revision c04321b3: target-i386: Kill cpudef config section support
It's nice to have a flexible system to maintain CPU models as data, but
this is holding us from making improvements i...
Eduardo Habkost
04:12 pm Revision bc3e1291: target-i386: x86_cpudef_setup() coding style change
Make source code lines shorter.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Don Slutz <Don@Clo...
Eduardo Habkost
04:12 pm Revision f2ca0524: MAINTAINERS: Add entry for QOM CPU
Signed-off-by: Andreas Färber <afaerber@suse.de> Andreas Färber
02:07 am Revision f9cb5045: target-xtensa: fix extui shift amount
extui opcode only uses lowermost op1 bit for sa4.
Reported-by: malc <av1474@comtv.ru>
Signed-off-by: Max Filippov <j...
Max Filippov
02:07 am Revision c26032b2: target-xtensa: don't emit extra tcg_gen_goto_tb
Unconditional gen_check_loop_end at the end of disas_xtensa_insn
can emit tcg_gen_goto_tb with slot id already used i...
Max Filippov
« Previous
Next »
 

Also available in: Atom