Activity

From 04/12/2010 to 05/11/2010

05/11/2010

11:07 pm Revision c1667e40: kvm: fix 80000001.EDX supported bit filtering
On AMD some bits from 1.EDX are reported in 80000001.EDX. The mask used
to copy bits from 1.EDX to 80000001.EDX is in...
Gleb Natapov
08:03 pm Revision 4513d923: Do not stop VM if emulation failed in userspace.
Continue vcpu execution in case emulation failure happened while vcpu
was in userspace. In this case #UD will be inje...
Gleb Natapov
08:02 pm Revision e82bcec2: port qemu-kvm's on_vcpu code
run_on_cpu allows to execute work on a given CPUState context.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
...
Marcelo Tosatti
08:02 pm Revision 1fbb22e5: standardize on qemu_cpu_kick for signalling cpu thread(s)
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Marcelo Tosatti
08:02 pm Revision 1a28cac3: make SIG_IPI to tcg vcpu thread reliable
Store tcg loop exit request on a global variable, and transfer it to
per-CPUState exit_request after assignment of cp...
Marcelo Tosatti
08:02 pm Revision 2705d56a: kvm: synchronize state from cpu context
It is not safe to retrieve the KVM internal state of a given cpu
while its potentially modifying it.
Queue the reque...
Jan Kiszka
08:02 pm Revision 0af691d7: kvm: enable smp > 1
Process INIT/SIPI requests and enable -smp > 1.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: ...
Marcelo Tosatti
08:02 pm Revision ced6c051: move stop/stopped CPU_COMMON fields after area zeroed by reset
cpu_reset zeroes CPUState upto breakpoints member. Contents of
stop/stopped should not be zeroed on cpu_reset.
Signe...
Marcelo Tosatti
08:02 pm Revision dbaa07c4: kvm: validate context for kvm cpu get/put operations
Validate that KVM vcpu state is only read/written from cpu thread itself
or that cpu is stopped.
Signed-off-by: Marc...
Jan Kiszka
08:02 pm Revision 3ae9501c: add cpu_is_stopped helper
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Marcelo Tosatti
08:02 pm Revision 618a568d: Fix -mem-path with hugetlbfs
Fallback to qemu_vmalloc in case file_ram_alloc fails.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-o...
Marcelo Tosatti
08:02 pm Revision 273faf1b: kvm: set cpu_single_env around KVM_RUN ioctl
Zero cpu_single_env before leaving global lock protection, and
restore on return.
Signed-off-by: Marcelo Tosatti <mt...
Marcelo Tosatti

05/10/2010

07:36 pm Revision 64d56409: lsi: Handle removal of selected devices
We must not store references to selected devices as they may be
hot-removed. Instead, look up the device based on its...
Jan Kiszka
07:36 pm Revision 21413d68: doc: Fix host forwarding monitor command documentation
Commit f3546deb replaced host_net_redir by hostfwd_add,
hostfwd_remove, but neglected to update documentation.
Signe...
Markus Armbruster
07:36 pm Revision 0e4aec98: doc: Fix acl monitor command documentation
Commit 15dfcd45 added acl_add and acl_reset, but fat-fingered their
documentation to read acl_allow and acl_remove.
...
Markus Armbruster
07:36 pm Revision c427ea9c: doc: Heading for monitor command cpu got lost, restore it
Broken in commit 2313086a.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <alig...
Markus Armbruster
07:36 pm Revision 54d7cf13: doc: Clean up monitor command function index
Remove bogus entries "count", "format" and "size". Accidentally added
in commit 70fcbbe7.
Add missing entry "qmp_ca...
Markus Armbruster
07:36 pm Revision 14eb8b68: vnc: set the right prefered encoding
message is a hint by the client as to its preference (the first
encoding specified being most preferred)"
Signed-off...
Corentin Chary
07:36 pm Revision 4c64d5b5: iov: Move from hw/ to topdir
The iov functions can be useful to other code as well.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
CC: Christoph...
Amit Shah
07:36 pm Revision e9447f35: SCSI: Add disk reset handler
Ensure that pending requests of an SCSI disk are purged on system reset
and also restore max_lba. The latter is no on...
Jan Kiszka
07:36 pm Revision 3e94cb02: scsi-disk: Clear aiocb on read completion
Once the I/O completion callback returned, aiocb will be released by the
controller. So we have to clear the referenc...
Jan Kiszka
07:36 pm Revision d43ba0af: lsi: Purge message queue on reset
Declare the input message queue empty and initialize the related state
machine properly on controller reset. This fix...
Jan Kiszka
07:36 pm Revision 12aa6dd6: lsi: Adjust some register reset values
According to the LSI spec, the reset value of dcmd, dstat, and ctest2
were wrong, and sdid as well as ssid require ze...
Jan Kiszka

05/09/2010

11:19 pm Revision 5a834bb4: sparc: Fix lazy flag calculation on interrupts, refactor
Recalculate Sparc64 CPU flags on interrupts, otherwise some earlier
flags could be stored to pstate.
Refactor PSR/CC...
Blue Swirl
06:40 pm Revision 275ea265: sparc: lazy C flag calculation
Calculate only the carry flag for ADDX/SUBX instead of full
set of flags.
Thanks to Igor Kovalenko for spotting a bu...
Blue Swirl
09:47 am Revision 72139e83: mips-dis: Add missing static attributes
mips_abi_choices and mips_arch_choices are only used locally.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Sign...
Stefan Weil

05/07/2010

08:53 pm Revision a5ad5916: tcg: Add missing 'static' attribute
tcg_out_reloc is only used locally (in */target.c which is
included in tcg.c).
Signed-off-by: Stefan Weil <weil@mail...
Stefan Weil
08:11 pm Revision 92b30744: qcow2: Remove static forward declaration
OpenBSDs gcc is said to generate warnings for this declaration, so don't
reference bdrv_qcow2 directly, but look it u...
Kevin Wolf
08:11 pm Revision de5f3f40: Revert "Fix OpenBSD build"
This reverts commit 20d97356c9df6d68fbd37d6334fdb7063f24eab6.
The BlockDriver definition should stay at the end of so...
Kevin Wolf
07:58 pm Revision 3cab721d: Fill in unassigned mem read/write callbacks.
Implement the "functions may be omitted with NULL pointer"
interface mentioned in the function block comment by trans...
Richard Henderson
07:28 pm Revision 4cbd40ce: darwin-user: Add missing static attribute
Function usage is only used locally, so add "static".
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-b...
Stefan Weil
07:28 pm Revision 051eb6c1: Add missing 'static' attribute
Function usage() is only used locally.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <...
Stefan Weil
07:14 pm Revision 44505216: sparc64: fix build with older gccs
Fix errors missed in 2065061ede22d401aae2ce995c3af54db9d28639:
CC sparc64-softmmu/helper.o
cc1: warnings being tr...
Blue Swirl

05/06/2010

11:14 pm Revision 2065061e: sparc64: handle asi referencing nucleus and secondary MMU contexts
- increase max supported MMU modes to 6
- handle nucleus context asi
- handle secondary context asi
- handle non-faul...
Igor V. Kovalenko
11:13 pm Revision 299b520c: sparc64: implement global translation table entries v1
- match global tte against any context
- show global tte in MMU dump
v0->v1: added default case to switch statement ...
Igor V. Kovalenko
11:13 pm Revision 788686ec: sparc64: more ultrasparc asi extensions for disassembler
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Igor V. Kovalenko
08:28 am Revision 733f0b02: qemu: address todo comment in exec.c
exec.c has a comment 'XXX: optimize' for lduw_phys/stw_phys,
so let's do it, along the lines of stl_phys.
The reason...
Michael S. Tsirkin
07:45 am Revision 3e0650a9: Fix zero-length write(2).
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson

05/05/2010

06:32 pm Revision 048d179f: Avoid libaio for usermode
Linux AIO is aonly used by system emulation, so should not be linked into
the userspace emulatior.
Signed-off-by: Pa...
Paul Brook
06:32 pm Revision 2e9a5713: Remove PAGE_RESERVED
The usermode PAGE_RESERVED code is not required by the current mmap
implementation, and is already broken when guest_...
Paul Brook
06:32 pm Revision c581deda: Better default guest_base
Avoid loading linux-user applications in address space already used/reserved
by the host.
Signed-off-by: Paul Brook ...
Paul Brook
01:20 pm Revision a73b1fd9: Enable -d cpu logging by default.
When -d cpu logging was handled by target-foo/translate.c,
it was controled by DEBUG_DISAS, which is enabled by defau...
Richard Henderson
01:20 pm Revision 6e9cc3ed: target-i386: Remove duplicate CPU log.
The proper logging for -d cpu is done in generic code.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off...
Richard Henderson
01:20 pm Revision 564856bb: target-mips: Remove duplicate CPU log.
Logging for -d cpu is done in generic code.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aureli...
Richard Henderson
01:20 pm Revision 8d0d2eb6: target-ppc: Remove duplicate cpu log.
Logging for -d cpu is done in generic code.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aureli...
Richard Henderson
01:20 pm Revision 6f0f607f: target-sh4: Remove duplicate CPU log.
Logging for -d cpu is done in generic code.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aureli...
Richard Henderson

05/04/2010

10:55 pm Revision 262353cb: Fix cpu list("-cpu ?") breakage, spotted by TeLeMan
Fix breakage by 04c9a0cbc2bf496889cef6da2d61bf00ef190a4f.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
04:44 pm Revision 0684bf1b: vnc: make sure to send pointer type change event on SetEncodings
Commit 37c34d9d5d87ea9d51760310c8863b82cb8c055a introduced a regression when
using relative mouse mode with a client ...
Anthony Liguori
12:03 am Revision ec5f92ce: hw: better i440 emulation
updated version of an old patch
http://xenon.stanford.edu/~eswierk/misc/qemu-linuxbios/qemu-piix-ram-size.patch
that ...
Bernhard M. Wiedemann

05/03/2010

08:39 pm Revision 2791104c: Changes to usb-linux to conform to coding style
Signed-off-by: David Ahern <daahern@cisco.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
David Ahern
08:39 pm Revision 288e7bcc: fix whitespace bogon in some versions of make
With three different make binaries I have available, configuring a
pristine QEMU tree and attempting to make gives th...
Nathan Froyd
08:39 pm Revision cb4e5f8e: block: read-only: open cdrom as read-only when using monitor's change command
Current code of monitor command: 'change', used to open file for read-write
uncoditionally. Change to open it as read...
Naphtali Sprei
08:39 pm Revision 6ed2c484: QMP: Introduce RESUME event
It's emitted when the Virtual Machine resumes execution.
We currently have the STOP event but don't have the matchin...
Luiz Capitulino
08:39 pm Revision 0e1a275b: Add KVM CFLAGS to vhost build
The configure test of vhost uses KVM CFLAGS, so the build must use them
as well. Otherwise we specifically miss what ...
Jan Kiszka
08:17 pm Revision a9231555: virtio-9p: Add P9_TREAD support
Implement P9_TREAD support.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <an...
Anthony Liguori
08:17 pm Revision a6568fe2: virtio-9p: Add P9_TOPEN support.
Implement P9_TOPEN support.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <an...
Anthony Liguori
08:17 pm Revision bbd5697b: virtio-9p: Add P9_TCLUNK support
Implement P9_TCLUNK support.
This patch gets `ls -al` to work.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
...
Anthony Liguori
08:17 pm Revision 8449360c: virtio-9p: Add P9_TWRITE support
Implement P9_TWRITE support.
This gets write to file to work
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Si...
Anthony Liguori
08:17 pm Revision c494dd6f: virtio-9p: Add P9_TCREATE support
Implement P9_TCREATE support.
[jvrao@linux.vnet.ibm.com: strdup to qemu_strdup conversion]
Signed-off-by: Anthony Li...
Anthony Liguori
08:17 pm Revision 8cf89e00: virtio-9p: Add P9_TWSTAT support
Implement P9_TWSTAT support.
This gets file and directory creation to work.
[jvrao@linux.vnet.ibm.com: strdup to qem...
Anthony Liguori
08:17 pm Revision 3d54abc7: virtio-9p: Create a syntactic shortcut for the file-system pass-thru
Currently the commandline to create a virtual-filesystem pass-through between
the guest and the host is as follows:
#...
Gautham R Shenoy
08:17 pm Revision 9c5e9d89: virtio-9p: Add P9_TFLUSH support
Don't do anything special for flush.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aneesh Kuma...
Anthony Liguori
08:17 pm Revision 5bae1900: virtio-9p: Add P9_TREMOVE support.
Implement P9_TREMOVE support.
This gets file deletion to work.
[mohan@in.ibm.com: Fix truncate to use the relative p...
Anthony Liguori
08:17 pm Revision a03f7874: virtio-9p: Add string manipulation support.
Add helpers to do string manipulation.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aneesh Ku...
Anthony Liguori
08:17 pm Revision ff5e54c9: virtio-9p: Add P9_TWALK support
Implement P9_TWALK support.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <an...
Anthony Liguori
08:17 pm Revision 286d5652: virtio-9p: Add fid and qid management support.
Helper APIs for FID and QID management.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aneesh K...
Anthony Liguori
08:17 pm Revision bb9e3216: virtio-9p: Add stat and mode related helper functions.
Add helpers to obtain file stat and mode details.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by...
Anthony Liguori
08:17 pm Revision 1f5a89bf: virtio-9p: Add sg helper functions
Add scatter-gather helper functions.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aneesh Kuma...
Anthony Liguori
08:17 pm Revision 92c1ad03: virtio-9p: Add P9_TVERSION support
Implement P9_TVERSION support.
[sripathik@in.ibm.com: Handle unknown 9P versions as per the standards]
Signed-off-b...
Anthony Liguori
08:17 pm Revision 955efc47: virtio-9p: Add P9_TATTACH support.
Implement P9_TATTACH support.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <...
Anthony Liguori
08:17 pm Revision 4da7d3fa: virtio-9p: Add P9_TSTAT support
Implement P9_TSTAT support. This get the mount to work on the guest.
[kiran@linux.vnet.ibm.com: malloc to qemu_mallo...
Anthony Liguori
08:17 pm Revision 131dcb25: virtio-9p: Add minimal set of FileOperations
Add minimal set of FileOperations and the corresponding implementations for
local fstype. These will be required for ...
Anthony Liguori
08:17 pm Revision 74db920c: virtio-9p: Create a commandline option -fsdev
This patch creates a new command line option named -fsdev to hold any file
system specific information.
The option w...
Gautham R Shenoy
08:17 pm Revision 9f107513: virtio-9p: Add a virtio 9p device to qemu
This patch doesn't implement the 9p protocol handling
code. It adds a simple device which dump the protocol data.
[j...
Anthony Liguori
08:17 pm Revision 405a549a: virtio-9p: pdu processing support.
Add helpers to process the PDUs.
[kiran@linux.vnet.ibm.com: malloc to qemu_malloc coversion]
Signed-off-by: Anthony...
Anthony Liguori
08:09 pm Revision 51336214: lsi: Purge request queue on soft reset
Avoid keeping zombie requests across controller reset by purging the
queue and also dropping the currently active req...
Jan Kiszka
08:09 pm Revision a1c59752: virtio-serial: Fix check for 'assert'; prevent NULL derefs
In the flush_queued_data() function, we expect port to be valid. Assert
only for port and not port || discard.
Repor...
Amit Shah
08:09 pm Revision d510c5cf: Fix tiny leak in qemu_opts_parse
qemu_opts_create duplicates the id we pass in case it shall be stored in
the opts. So we do not need to dup it in qem...
Jan Kiszka
08:09 pm Revision f8778a77: Fix the RARP protocol ID
The packet(s) sent out after migration are supposed to be RAPR type of
packets. If they are supposed to go anywhere u...
Stefan Berger
08:09 pm Revision 54eefd72: lsi: Properly initialize controller state on reset
The LSI controller was lacking a system reset handler. Simply invoke the
existing soft reset handler in this case. Th...
Jan Kiszka
08:09 pm Revision 70a4568f: vnc: split encoding in specific files
This will allow to implement new encodings (tight, zrle, ..)
in a cleaner way. This may hurt performances, because so...
Corentin Chary
08:09 pm Revision 37905d6a: Fix boot once option
The boot once options seems to have gotten broken since it originally
went in. We need to wait until the second time...
Alex Williamson
08:09 pm Revision bc47d201: vnc: Fix compile error on x86_64 with -D_VNC_DEBUG=1
cc1: warnings being treated as errors
vnc-auth-sasl.c: In function ‘vnc_client_write_sasl’:
vnc-auth-sasl.c:50: error...
Corentin Chary
03:31 pm Revision 72375c22: Merge remote branch 'kwolf/for-anthony' into HEAD
Anthony Liguori
03:31 pm Revision a6dac6a9: Merge remote branch 'qemu-kvm/uq/master' into HEAD
Anthony Liguori
11:07 am Revision 51762288: block: Cache total_sectors to reduce bdrv_getlength calls
The BlockDriver bdrv_getlength function is called from the I/O code path
when checking that the request falls within ...
Stefan Hajnoczi
11:07 am Revision ae6b0ed6: qemu-img: Add 'resize' command to grow/shrink disk images
This patch adds a 'resize' command to grow/shrink disk images. This
allows changing the size of disk images without ...
Stefan Hajnoczi
11:07 am Revision 003fad6e: qcow2: Remove abort on free_clusters failure
While it's true that during regular operation free_clusters failure would be a
bug, an I/O error can always happen. T...
Kevin Wolf
11:07 am Revision 419b19d9: qcow2: Implement bdrv_truncate() for growing images
This patch adds the ability to grow qcow2 images in-place using
bdrv_truncate(). This enables qemu-img resize comman...
Stefan Hajnoczi
11:07 am Revision 294cc35f: block: Add wr_highest_sector blockstat
This adds the wr_highest_sector blockstat which implements what is generally
known as the high watermark. It is the h...
Kevin Wolf
11:07 am Revision cc60e327: qemu-img rebase: Fix output image corruption
qemu-img rebase must always give clusters in the COW file priority over those
in the backing file. As it failed to us...
Kevin Wolf
11:07 am Revision d748768c: block: Release allocated options after bdrv_open
They aren't used afterwards nor supposed to be stored by a bdrv_create
handler.
Signed-off-by: Jan Kiszka <jan.kiszk...
Jan Kiszka
11:07 am Revision c336500d: vmdk: Fix COW
When trying to do COW, VMDK wrote the data back to the backing file. This
problem was revealed by the patch that made...
Kevin Wolf
11:07 am Revision 9949f97e: vmdk: Clean up backing file handling
VMDK is doing interesting things when it needs to open a backing file. This
patch changes that part to look more like...
Kevin Wolf
11:07 am Revision 6511ef77: vmdk: Convert to bdrv_open
It's a format driver, so implement bdrv_open instead of bdrv_file_open.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Kevin Wolf
11:07 am Revision 557df6ac: block: Set backing_hd to NULL after deleting it
It is safer to set backing_hd to NULL after deleting it so that any use
after deletion is obvious during development....
Stefan Hajnoczi
11:07 am Revision 508e0893: qcow2: Avoid shadowing variable in alloc_clusters_noref()
The i loop iterator is shadowed by the next free cluster index. Both
using the variable name 'i' makes the code hard...
Stefan Hajnoczi
11:07 am Revision 4899d10d: raw-posix: Use pread/pwrite instead of lseek+read/write
This patch combines the lseek+read/write calls to use pread/pwrite
instead. This will result in fewer system calls a...
Stefan Hajnoczi
11:07 am Revision 84a12e66: block: separate raw images from the file protocol
We're running into various problems because the "raw" file access, which
is used internally by the various image form...
Christoph Hellwig
11:07 am Revision b6ce07aa: block: Split bdrv_open
bdrv_open contains quite some code that is only useful for opening images (as
opposed to opening files by a protocol)...
Kevin Wolf
11:07 am Revision 57915332: block: Avoid forward declaration of bdrv_open_common
Move bdrv_open_common so it's defined before its callers and remove the forward
declaration.
Signed-off-by: Kevin Wo...
Kevin Wolf
11:07 am Revision 66f82cee: block: Open the underlying image file in generic code
Format drivers shouldn't need to bother with things like file names, but rather
just get an open BlockDriverState for...
Kevin Wolf
11:07 am Revision f2feebbd: block: bdrv_has_zero_init
This fixes the problem that qemu-img's use of no_zero_init only considered the
no_zero_init flag of the format driver...
Kevin Wolf

05/02/2010

09:38 pm Revision ace22f69: Fix missing '|' in '|=', spotted by clang analyzer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Blue Swirl

05/01/2010

10:48 pm Revision f75ca1ae: fix old typos in help header
1) Qemu is not only a PC emulator.
2) "image image" has already been changed to "disk image" in qemu-doc.texi
Signed...
Thomas Monjalon
10:47 pm Revision 4d0e4ac7: Clean up definition of MAX_OPC_PARAM
MAX_OPC_PARAM is intended to refer to the maximum number of entries used
in gen_opparam_buf[] for any single helper c...
Stuart Brady
10:44 pm Revision 50a48094: cmd646: fix abort due to changed opaque pointer for ioport read
We cannot install different opaque pointer for read and write
of the same i/o address.
- handle zero address in bmdm...
Igor V. Kovalenko
10:44 pm Revision 70ae65f5: cmd646: pass pci_dev as it needs it
Instead of doing tricks to get the pci_dev, just pass it in the 1st
place. Patch is a bit longer that reverting the ...
Igor V. Kovalenko

04/28/2010

07:41 pm Revision 8369e01c: kvm: port qemu-kvm's bitmap scanning
Which is significantly faster.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Marcelo Tosatti
07:41 pm Revision cce83b7d: vga: fix typo in length passed to kvm_log_stop
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Marcelo Tosatti
07:41 pm Revision 213acd2e: introduce leul_to_cpu
To be used by next patch.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Marcelo Tosatti
04:58 pm Revision e61da14d: virtio-serial: Handle scatter-gather buffers for control messages
Current control messages are small enough to not be split into multiple
buffers but we could run into such a situatio...
Amit Shah
04:58 pm Revision fa6111f2: iov: Add iov_to_buf and iov_size helpers
iov_to_buf() puts the buffer contents in the iov in a linearized buffer.
iov_size() gets the length of the contents ...
Amit Shah
04:58 pm Revision e4d5639d: iov: Introduce a new file for helpers around iovs, add iov_from_buf()
The virtio-net code uses iov_fill() which fills an iov from a linear
buffer. The virtio-serial-bus code does somethin...
Amit Shah
04:58 pm Revision e85ba9b2: virtio-serial: Handle scatter/gather input from the guest
Current guests don't send more than one iov but it can change later.
Ensure we handle that case.
Signed-off-by: Amit...
Amit Shah
04:58 pm Revision 1e4476aa: virtio-serial: Apps should consume all data that guest sends out / Fix virtio ...
We cannot indicate to the guest how much data was consumed by an app for
out_bufs. So we just have to assume the app...
Amit Shah
04:58 pm Revision a69c7600: virtio-serial: Discard data that guest sends us when ports aren't connected
Before the earlier patch, we relied on incorrect virtio api usage to
signal to the guest that a particular buffer was...
Amit Shah
04:58 pm Revision 9ed7b059: virtio-serial: Implement flow control for individual ports
Individual ports can now signal to the virtio-serial core to stop
sending data if the ports cannot immediately handle...
Amit Shah
04:58 pm Revision e245795b: virtio-serial: save/load: Ensure target has enough ports
The target could be started with max_nr_ports for a virtio-serial device
lesser than what was available on the source...
Amit Shah
04:58 pm Revision 295587f7: virtio-serial: save/load: Ensure nr_ports on src and dest are same.
The number of ports on the source as well as the destination machines
should match. If they don't, it means some port...
Amit Shah
04:58 pm Revision 16af2e3c: virtio-serial: save/load: Ensure we have hot-plugged ports instantiated
If some ports that were hot-plugged on the source are not available on
the destination, fail migration instead of try...
Amit Shah
04:58 pm Revision 31abe21f: virtio-serial: save/load: Send target host connection status if different
If the host connection to a port is closed on the destination machine
after migration, whereas the connection was ope...
Amit Shah
04:58 pm Revision 055b889f: virtio-serial: Use control messages to notify guest of new ports
Allow the port 'id's to be set by a user on the command line. This is
needed by management apps that will want a stab...
Amit Shah
04:58 pm Revision 306eb457: virtio-serial: whitespace: match surrounding code
The virtio-serial code doesn't mix declarations and definitions, so
separate them out on different lines.
Signed-off...
Amit Shah
04:58 pm Revision e30f328c: virtio-serial: Remove redundant check for 0-sized write request
The check for a 0-sized write request to a guest port is not necessary;
the while loop below won't be executed in thi...
Amit Shah
04:58 pm Revision 71c092e9: virtio-serial: Update copyright year to 2010
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Amit Shah
04:58 pm Revision 4048c7c3: virtio-serial: Propagate errors in initialising ports / devices in guest
If adding of ports or devices in the guest fails we can send out a QMP
event so that management software can deal wit...
Amit Shah
04:58 pm Revision 3ecb45f8: virtio-serial: Send out guest data to ports only if port is opened
Data should be written only when ports are open.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anth...
Amit Shah

04/27/2010

09:56 pm Revision aacf4563: microblaze: fix custom fprintf
Using GCC-4.2.4-1ubuntu4, there is a warning:
microblaze-dis.c:792: warning: unused variable 'fprintf'
Indeed, fpri...
Thomas Monjalon
06:50 am Revision 18f8e2c0: target-alpha: Implement RPCC.
A minimal implementation that more or less corresponds to the
user-level version used by target-i386. More hoops wil...
Richard Henderson
06:50 am Revision 14a6063a: Implement cpu_get_real_ticks for Alpha.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
06:50 am Revision 593f17e5: target-alpha: Implement cvtlq inline.
It's a simple shift and mask sequence.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Ja...
Richard Henderson
06:50 am Revision ac316ca4: target-alpha: Implement rs/rc properly.
This is a per-cpu flag; there's no need for a spinlock of any kind.
We were also failing to manipulate the flag with...
Richard Henderson
06:50 am Revision dc96be4b: target-alpha: Implement cpys{, n, e} inline.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
06:50 am Revision 4af70374: target-alpha: Emit goto_tb opcodes.
Use an ExitStatus enumeration instead of magic numbers as the return
value from translate_one. Emit goto_tb opcodes ...
Richard Henderson
06:50 am Revision 49563a72: target-alpha: Update commentary for opcode 0x1A.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
06:50 am Revision a4b388ff: target-alpha: Enable NPTL.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Richard Henderson
06:50 am Revision 8aa3fa20: target-alpha: Indicate NORETURN status when raising exception.
When (indirectly) calling raise_exception, don't emit cleanup
code at the end of the TB, as it is unused.
Signed-off...
Richard Henderson
06:50 am Revision 6910b8f6: target-alpha: Fix load-locked/store-conditional.
Use an exception plus start_exclusive to implement the compare-and-swap.
This follows the example set by the MIPS and...
Richard Henderson

04/26/2010

11:10 pm Revision caa97225: Merge remote branch 'qmp/for-anthony' into staging
Anthony Liguori
10:36 pm Revision 157b9319: monitor: Reorder intialization to drop initial mux focus
So far a multiplexed monitor started disabled. Restore this property for
the new way of configuring by moving the mon...
Jan Kiszka
10:36 pm Revision 140e065d: monitor: Cleanup ID assignment for compat switch
Canonicalize the ID assignment when creating monitor devices via the
legacy switch and use less easily colliding name...
Jan Kiszka
10:36 pm Revision 97331287: chardev: Document mux option
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Jan Kiszka
10:36 pm Revision e53f27b9: stash away SCM_RIGHTS fd until a getfd command arrives
If there is already a fd in s->msgfd before recvmsg it is
closed by parts that this patch does not touch. So, only
o...
Paolo Bonzini
10:36 pm Revision 0e8d2b55: Monitor: Return before exiting with 'quit'
The 'quit' Monitor command (implemented by do_quit()) calls
exit() directly, this is problematic under QMP because QE...
Luiz Capitulino
09:06 pm Revision 70ec48ef: tcg-hppa: Remove automatically implemented opcodes.
Remove neg, ext8u, ext16u, as requested.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien ...
Richard Henderson
09:06 pm Revision 884d348b: tcg-hppa: Fix GUEST_BASE initialization in prologue.
Load from the guest_base variable rather than embed a constant.
Always reserve TCG_GUEST_BASE_REG if guest base suppo...
Richard Henderson
09:06 pm Revision 0085bd51: tcg-hppa: Constrain immediate inputs to and_i32, or_i32, andc_i32.
Define "M" constraint for and_mask_p and "O" constraint for or_mask_p.
Assume that inputs are correct in tcg_out_ori ...
Richard Henderson
09:06 pm Revision f061b40e: tcg-hppa: Fix softmmu loads and stores.
Along the tlb hit path, we were modifying the variables holding the input
register numbers, which lead to incorrect e...
Richard Henderson
09:06 pm Revision 739734cb: tcg-hppa: Schedule the address masking after the TLB load.
Issue the tlb load as early as possible and perform the address
masking while the load is completing.
Signed-off-by:...
Richard Henderson
09:06 pm Revision 2d097a83: tcg-hppa: Fix branch offset during retranslation.
Branch offsets should only be overwritten during relocation,
to support partial retranslation.
Signed-off-by: Richar...
Richard Henderson
08:30 pm Revision ed18c5ce: linux-user: Fix sparc32plus stat64 syscalls.
Check TARGET_ABI_BITS, not TARGET_LONG_BITS, when deciding
whether or not the guest needs special 64-bit stat transla...
Richard Henderson
08:23 pm Revision 060718c1: target-sparc: Fix -singlestep.
Single-stepping was not properly updating npc, resulting in some
instructions being executed twice. In addition, we ...
Richard Henderson
05:28 pm Revision b5e5a934: target-i386: print EFER in cpu_dump_state
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Marcelo Tosatti
05:28 pm Revision ff44f1a3: KVM: x86: Add debug register saving and restoring
Make use of the new KVM_GET/SET_DEBUGREGS to save/restore the x86 debug
registers.
Signed-off-by: Jan Kiszka <jan.ki...
Jan Kiszka
05:28 pm Revision 7c80eef8: kvm: handle internal error
Port qemu-kvm's KVM_EXIT_INTERNAL_ERROR handling to upstream.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
S...
Marcelo Tosatti
05:28 pm Revision 6164e6d6: kvm_init_vcpu requires global lock held
Since it accesses data protected by the lock.
Signed-off-by: Avi Kivity <avi@redhat.com>
Marcelo Tosatti
05:28 pm Revision 20420430: kvm: allow qemu to set EPT identity mapping address
If we use larger BIOS image than current 256KB, we would need move reserved
TSS and EPT identity mapping pages. Curre...
Sheng Yang
05:17 pm Revision 04f8c053: QMP: Check "arguments" member's type
Otherwise the following input crashes QEMU:
{ "execute": "migrate", "arguments": "tcp:0:4446" }
Signed-off-by: Luiz...
Luiz Capitulino
05:17 pm Revision abaf2f52: QError: Improve QERR_QMP_BAD_INPUT_OBJECT desc
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Luiz Capitulino
05:17 pm Revision 88f7db84: QMP: Use QERR_QMP_BAD_INPUT_OBJECT_MEMBER
The QERR_QMP_BAD_INPUT_OBJECT error is going to be used only
for two problems: the input is not an object or the "exe...
Luiz Capitulino
05:17 pm Revision 7dfb6123: QError: New QERR_QMP_BAD_INPUT_OBJECT_MEMBER
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Luiz Capitulino

04/25/2010

11:42 pm Revision a303f9e3: sh4: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
11:33 pm Revision 9fad3eb7: ppc: add missing 'break', spotted by clang analyzer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Blue Swirl
11:32 pm Revision 05f92404: ppc: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
11:31 pm Revision b2c58871: alpha: add missing 'break', spotted by clang analyzer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Blue Swirl
11:30 pm Revision f88fe4e3: alpha: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
11:00 pm Revision 183aa454: microblaze: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
10:50 pm Revision 37ca43a1: m68k: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
10:46 pm Revision 0d84be5b: cris: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
10:31 pm Revision 22ed1d34: arm: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
09:58 pm Revision 7f5b7d3e: x86: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
09:35 pm Revision 9678d950: Remove dead assignments in various common files, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
09:23 pm Revision d4c4e6fd: usb: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
09:20 pm Revision 7300c079: bt: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl
09:04 pm Revision 2cc20260: linux-user: Fix Sparc64 syscall returns.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
06:27 pm Revision 88bf7950: Fix dead initialization, spotted by clang analyzer
Fix clang warnings:
/src/qemu/block/vvfat.c:1102:9: warning: Value stored to 'index3' during its initialization is ne...
Blue Swirl
03:59 pm Revision f6405247: Remove IO_MEM_SUBWIDTH.
Greatly simplify the subpage implementation by not supporting
multiple devices at the same address at different width...
Richard Henderson
03:59 pm Revision 6495a044: linux-user: Remove ELFLOAD32.
The ABI-specific types used by linux_binprm and image_info
are different after forcing TARGET_ABI32 on. Which means
...
Richard Henderson
06:46 am Revision e23886a9: tcg/arm: fix condition in zero/sign extension functions
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno

04/23/2010

11:19 pm Revision 20d97356: Fix OpenBSD build
GCC 3.3.5 generates warnings for static forward declarations of data, so
rearrange code to use static forward declara...
Blue Swirl
10:22 pm Revision c4162574: m68k: fix if statement with empty body, spotted by clang
Fix clang error:
CC m68k-softmmu/helper.o
/src/qemu/target-m68k/helper.c:773:33: error: if statement has empty b...
Blue Swirl
10:22 pm Revision 67774a04: m68k-dis: fix unused return value, spotted by clang
Fix clang errors like:
CC libdis/m68k-dis.o
/src/qemu/m68k-dis.c:1796:7: error: expression result unused [-Wunus...
Blue Swirl
10:22 pm Revision 4aa720f7: Fix harmless if statement with empty body, spotted by clang
This clang error is harmless but worth fixing:
CC libhw32/rc4030.o
/src/qemu/hw/rc4030.c:244:66: error: if state...
Blue Swirl
09:48 pm Revision 43d54389: Merge remote branch 'origin/master' into staging
Anthony Liguori
09:38 pm Revision 41db525e: target-sparc: Fix address masking in ldqf and stqf.
Use address_mask on both addr and addr+8 in both these routines,
rather than explicit masking with 0xffffffff.
Refor...
Richard Henderson
05:21 pm Revision d4c146f0: qcow2: Use QLIST_FOREACH_SAFE macro
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Stefan Hajnoczi
05:21 pm Revision 1e1ea48d: block: Free iovec arrays allocated by multiwrite_merge()
A new iovec array is allocated when creating a merged write request.
This patch ensures that the iovec array is delet...
Stefan Hajnoczi
05:21 pm Revision b66460e4: block: Do not export bdrv_first
The bdrv_first linked list of BlockDriverStates is currently extern so
that block migration can iterate the list. Ho...
Stefan Hajnoczi
05:21 pm Revision 1b7bdbc1: block: Convert bdrv_first to QTAILQ
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Stefan Hajnoczi
05:21 pm Revision 3cc128bb: Remove un-needed code
The bdrv_set_geometry_hint call below is not needed - it's just setting
what was just read.
Signed-off-by: Bruce Rog...
Bruce Rogers
05:21 pm Revision 85de0ba5: block.h: bdrv_create2 doesn't exist any more
The bdrv_create2 implementation has disappeared long ago. Remove its
prototype from the header file, too.
Signed-off...
Kevin Wolf
05:21 pm Revision 8a22f02a: block: Convert first_drv to QLIST
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Stefan Hajnoczi
05:21 pm Revision 2be50649: linux-aio: Fix typo in read() EINTR check
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Stefan Hajnoczi
05:21 pm Revision adfe078e: qemu-img: Fix BRDV_O_FLAGS typo
It should be BDRV_O_FLAGS instead of BRDV_O_FLAGS.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Sign...
Stefan Hajnoczi
05:21 pm Revision f163d073: qemu-img: Eliminate bdrv_new_open() code duplication
Several commands have code to create a BlockDriverState and open a file.
The bdrv_new_open() function can be used to ...
Stefan Hajnoczi
05:08 pm Revision 763b6084: cleanup block driver option handling in vl.c
Assign directly to the bdrv_flags variable instead of using
magic numbers before translating to the BDRV_O_* options....
Christoph Hellwig
05:08 pm Revision 8252278a: qcow2: Trigger blkdebug events
This adds blkdebug events to qcow2 to allow injecting I/O errors in specific
places.
Signed-off-by: Kevin Wolf <kwol...
Kevin Wolf
05:08 pm Revision 4768fa90: qcow2: Fix creation of large images
qcow_create2 assumes that the new image will only need one cluster for its
refcount table initially. Obviously that's...
Kevin Wolf
05:08 pm Revision d6e9098e: Replace calls of old bdrv_open
What is known today as bdrv_open2 becomes the new bdrv_open. All remaining
callers of the old function are converted ...
Kevin Wolf
05:08 pm Revision 6db95603: block: get rid of the BDRV_O_FILE flag
BDRV_O_FILE is only used to communicate between bdrv_file_open and bdrv_open.
It affects two things: first bdrv_open...
Christoph Hellwig
05:08 pm Revision 50779cc2: block: split raw_getlength
Split up the raw_getlength into separate generic, solaris and BSD
versions to reduce the ifdef maze a bit. The BSD v...
Christoph Hellwig
05:08 pm Revision 79a31189: qcow2: Return 0/-errno in write_l2_entries
Change write_l2_entries to return the real error code instead of -1.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Kevin Wolf
05:08 pm Revision c835d00f: qcow2: Fix error return code in qcow2_alloc_cluster_link_l2
Fix qcow2_alloc_cluster_link_l2 to return the real error code like it does in
all other error cases.
Signed-off-by: ...
Kevin Wolf
05:08 pm Revision f7defcb6: qcow2: Return 0/-errno in write_l1_entry
Change write_l1_entry to return the real error code instead of -1.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Kevin Wolf
05:08 pm Revision c46e1167: qcow2: Return 0/-errno in l2_allocate
Returning NULL on error doesn't allow distinguishing between different errors.
Change the interface to return an inte...
Kevin Wolf
05:08 pm Revision 8b9b0cc2: blkdebug: Add events and rules
Block drivers can trigger a blkdebug event whenever they reach a place where it
could be useful to inject an error fo...
Kevin Wolf
05:08 pm Revision dcfb0939: qemu-config: qemu_read_config_file() reads the normal config file
Introduce a new function qemu_read_config_file which reads the VM configuration
from a config file. Unlike qemu_confi...
Kevin Wolf
05:08 pm Revision 490b648e: qemu-config: Make qemu_config_parse more generic
qemu_config_parse gets the option groups as a parameter now instead of
hardcoding the VM configuration groups. This w...
Kevin Wolf
05:08 pm Revision 6a143727: blkdebug: Basic request passthrough
This isn't doing anything interesting. It creates the blkdebug block driver as
a protocol which just passes everythin...
Kevin Wolf
05:08 pm Revision b9f66d96: blkdebug: Inject errors
Add a mechanism to inject errors instead of passing requests on. With no
further patches applied, you can use it by s...
Kevin Wolf
05:08 pm Revision 25920d6a: Make qemu-config available for tools
To be able to use config files for blkdebug, we need to make these functions
available in the tools. This involves mo...
Kevin Wolf

04/22/2010

02:21 pm Revision 6c557ab9: audio/sdlaudio: remove unused variable
Remove unused 'shift' variable spotted by clang.
Also clean up aud_to_sdlfmt which used to get the value
of shift.
S...
Serge Ziryukin
04:55 am Revision a6e4b143: bt-sdp: Fix an excessive ; and assignment of the wrong variable
Problem-spotted-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Andrew Zaborowski <balrogg@gmail.com>
Andrzej Zaborowski
04:41 am Revision 7b1df88f: bt-l2cap: fix if statement with empty body, spotted by clang
Fix clang error:
CC bt-l2cap.o
/src/qemu/hw/bt-l2cap.c:1000:41: error: if statement has empty body
[-Wempty-body...
Blue Swirl

04/21/2010

02:40 pm Revision 8bb414d2: audio/alsa: Avoid snd_pcm_format_t vs audfmt_e mixup
Spotted by Serge Ziryukin and based on his patch, thanks.
Signed-off-by: malc <av1474@comtv.ru>
malc

04/20/2010

08:15 pm Revision 470e6363: pci: fix pci_find_bus().
When looking down child bus, it should look parent bridge's
bus number, not child bus's.
Optimized tail recursion and...
Isaku Yamahata
07:42 pm Revision ab07b980: slirp: fix structure initialization in tcp_listen()
A data structure of type sockaddr_in is allocated from stack but not
properly initialized. This may lead to a failure...
Juha Riihimäki

04/19/2010

10:47 pm Revision d3538b45: Compile event_notifier only once
Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Blue Swirl
10:46 pm Revision 04c9a0cb: Compile vl.c once
Since kvm.h can be used in files compiled once,
we can partially revert
b33612d03540fda7fa67485f1c20395beb7a2bf0.
Si...
Blue Swirl
09:59 pm Revision 98c8573e: provide a stub version of kvm-all.c if !CONFIG_KVM
This allows limited use of kvm functions (which will return ENOSYS)
even in once-compiled modules. The patch also im...
Paolo Bonzini
08:03 am Revision e854b6d3: tcg/arm: use ext* ops in qemu_ld
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
08:03 am Revision 7e0d9562: tcg/arm: remove conditional argument for qemu_ld/st
While it make sense to pass a conditional argument to tcg_out_*()
functions as the ARM architecture allows that, it d...
Aurelien Jarno
08:03 am Revision 67dcab73: tcg/arm: bswap arguments in qemu_ld/st if needed
On big endian targets, data arguments of qemu_ld/st ops have to be
byte swapped. Two temporary registers are needed f...
Aurelien Jarno
08:03 am Revision 2633a2d0: tcg/arm: remove useless register tests in qemu_ld/st
addr_reg, data_reg and data_reg2 can't be register r0 or r1 du to the
constraints. Don't check if they equals these r...
Aurelien Jarno
08:03 am Revision c66b5c2c: tcg/arm: don't try to load constants using pc
There is statistically almost 0 chances to use this code, so
remove it.
Signed-off-by: Aurelien Jarno <aurelien@aure...
Aurelien Jarno
08:03 am Revision 914ccf51: tcg/arm: optimize register allocation order
The beginning of the register allocation order list on the TCG arm
target matches the list of clobbered registers. Th...
Aurelien Jarno
08:03 am Revision bf5675ef: tcg/arm: fix argument alignment in qemu_st64
64-bit arguments should be aligned on an even register as specified
by the "Procedure Call Standard for the ARM Archi...
Aurelien Jarno
08:03 am Revision 244b1e81: tcg/arm: add bswap ops
Add an bswap16 and bswap32 ops, either using the rev and rev16
instructions on ARMv6+ or shifts and logical operation...
Aurelien Jarno
08:03 am Revision 23401b58: tcg/arm: use the blx instruction when possible
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
08:03 am Revision 293579e5: tcg/arm: add rotation ops
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
08:03 am Revision 9517094f: tcg/arm: add ext16u op
Add an ext16u op, either using the uxth instruction on ARMv6+ or two
shifts on previous ARM versions. In both cases t...
Aurelien Jarno
08:03 am Revision 8f7f749f: tcg/arm: sxtb and sxth are available starting with ARMv6
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Aurelien Jarno
08:02 am Revision 39221a82: tcg/arm: remove SAVE_LR code
There is no need to save the LR register (r14) before a call to a
subroutine. According to the "Procedure Call Standa...
Aurelien Jarno
08:02 am Revision e4a7d5e8: tcg/arm: explicitely list clobbered/reserved regs
Instead of writing very compact code, declare all registers that are
clobbered or reserved one by one. This makes the...
Aurelien Jarno
08:02 am Revision f694a27e: tcg/arm: remove store signed functions
Store signed functions doesn't make sense, and are not used. Remove
them.
Signed-off-by: Aurelien Jarno <aurelien@au...
Aurelien Jarno
08:02 am Revision c8d80cef: tcg/arm: replace integer values by registers enum
The TCG ARM backends uses integer values to refer to both immediate
values and register number. This makes the code d...
Aurelien Jarno
08:02 am Revision 2488b41b: tcg/arm: align 64-bit arguments in function calls
As specified by the "Procedure Call Standard for the ARM Architecture".
Signed-off-by: Aurelien Jarno <aurelien@aure...
Aurelien Jarno
08:02 am Revision ac34fb5c: tcg/arm: add variables to define the allowed instructions set
Use a set of variables to define the allowed ARM instructions, depending
on the __ARM_ARCH_*__ GCC defines.
Signed-o...
Aurelien Jarno
01:07 am Revision d6fa4b77: Check for invalid initrd file
When qemu is invoked with an invalid initrd file, it crashes. Following
patch prints a error message and exits if an ...
M. Mohan Kumar
12:55 am Revision ee9545da: monitor: Rename argument type 'b' to 'f'
To make 'b' available for boolean argument.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz...
Markus Armbruster
12:55 am Revision 942cd1f2: monitor: New argument type 'b'
This is a boolean value. Human monitor accepts "on" or "off".
Consistent with option parsing (see parse_option_bool(...
Markus Armbruster
12:55 am Revision c9b26a4c: monitor: Use argument type 'b' for set_link
Second argument is now "on" or "off" instead of "up" or "down".
Signed-off-by: Markus Armbruster <armbru@redhat.com>...
Markus Armbruster
12:55 am Revision 5369e3c0: monitor: Convert do_set_link() to QObject, QError
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Markus Armbruster
12:55 am Revision f1dc58e0: Monitor: Convert do_screen_dump() to QObject
Trivial, as it never fails, doesn't have output nor return
any data.
Note that it's also available under QMP, as kvm...
Luiz Capitulino
12:55 am Revision db11571f: QMP: Improve RTC_CHANGE event description
Some people might think that this event is emitted whenever the
time changes, be more specific.
Signed-off-by: Luiz ...
Luiz Capitulino
12:55 am Revision 908bb949: virtio-blk: Fix use after free in error case
virtio_blk_req_complete frees the request, so we can't access it any more when
calling bdrv_mon_event. Use the pointe...
Kevin Wolf
12:55 am Revision ae82d324: monitor: New commands netdev_add, netdev_del
Monitor commands to go with -netdev.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitu...
Markus Armbruster
12:46 am Revision 5124eb59: error: New QERR_DEVICE_IN_USE
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Markus Armbruster
12:46 am Revision 17a38eaa: monitor: convert do_device_del() to QObject, QError
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Markus Armbruster
12:46 am Revision cc601cb7: qdev: Convert qdev_unplug() to QError
Note: our device unplug methods don't need conversion work, because
they can't currently fail.
Signed-off-by: Markus...
Markus Armbruster
12:46 am Revision 9d494c4b: error: Put error definitions back in alphabetical order
Add suitable comments to help keerp them in order.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-b...
Markus Armbruster
12:46 am Revision 7bc84017: error: New QERR_DUPLICATE_ID
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Markus Armbruster
12:46 am Revision 975b63a4: error: Convert qemu_opts_create() to QError
Fixes device_add to report duplicate ID properly in QMP, as
DuplicateId instead of UndefinedError.
Signed-off-by: Ma...
Markus Armbruster
12:46 am Revision 985a3e52: error: New QERR_INVALID_PARAMETER_VALUE
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Markus Armbruster
12:46 am Revision c64f27d4: error: Convert qemu_opts_set() to QError
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Markus Armbruster
12:46 am Revision c389c43e: error: Drop extra messages after qemu_opts_set() and qemu_opts_parse()
Both functions report errors nicely enough now, no need for additional
messages.
Signed-off-by: Markus Armbruster <a...
Markus Armbruster
12:46 am Revision e17ba87c: error: Use QERR_INVALID_PARAMETER_VALUE instead of QERR_INVALID_PARAMETER
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Markus Armbruster
12:46 am Revision db716e9c: error: Convert qemu_opts_validate() to QError
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Markus Armbruster
12:46 am Revision 5294e2c7: error: Convert net_client_init() to QError
The conversion is shallow: client type init() methods aren't
converted. Converting them is a big job for relatively ...
Markus Armbruster

04/18/2010

11:31 pm Revision 07a5d95a: Add qerror message if the 'change' target filename can't be opened
Currently when using the change command to switch the file in the cd drive
the command doesn't complain if the file d...
Ryan Harper
05:27 pm Revision 7107944a: slirp: fix unused return value, spotted by clang
Fix clang errors like:
CC slirp/cksum.o
/src/qemu/slirp/cksum.c:78:3: error: expression result unused [-Wunused-...
Blue Swirl
05:27 pm Revision 156aa898: i386-dis: Fix unused return value, spotted by clang
Fix clang erros like:
CC libdis/i386-dis.o
/src/qemu/i386-dis.c:3323:7: error: expression result unused [-Wunuse...
Blue Swirl
05:26 pm Revision 7b13448f: PPC: avoid function pointer type mismatch, spotted by clang
Fixes clang errors:
CC ppc-softmmu/translate.o
/src/qemu/target-ppc/translate.c:3748:13: error: comparison of di...
Blue Swirl
05:22 pm Revision 6ad6135d: Fix harmless if statements with empty body, spotted by clang
These clang errors are harmless but worth fixing:
CC ppc-softmmu/usb-ohci.o
/src/qemu/hw/usb-ohci.c:1104:59: err...
Blue Swirl
05:22 pm Revision 8c0d577e: kvm: avoid collision with dprintf macro in stdio.h, spotted by clang
Fixes clang errors:
CC i386-softmmu/kvm.o
/src/qemu/target-i386/kvm.c:40:9: error: 'dprintf' macro redefined
In ...
Blue Swirl
11:55 am Revision 676d9b9b: sparc32 use empty_slot for missing RAM v1
use empty_slot device for the RAM which is not installed
Models without ECC don't trap when missing ram is accessed....
Artyom Tarasenko
11:55 am Revision da9fcfa5: create empty_slot device
The empty_slot device emulates known to a bus but not connected devices.
Signed-off-by: Artyom Tarasenko <atar4qemu@...
Artyom Tarasenko
11:46 am Revision 3c83eb4f: Fix harmless if statements with empty body, spotted by clang
These clang errors are harmless but worth fixing:
CC libhw64/fdc.o
/src/qemu/hw/fdc.c:998:74: error: if statemen...
Blue Swirl
07:46 am Revision 606257c6: tcg/ppc: Remove redundant comparison from brcond2
Signed-off-by: malc <av1474@comtv.ru> malc

04/17/2010

07:25 pm Revision 2d8ebcf9: Fix --enable-profiler compilation.
There's a header file inclusion ordering problem between cpu-all.h
and qemu-timer.h, such that cpu_get_real_ticks is ...
Richard Henderson
07:25 pm Revision 42a8aa83: target-sparc: Free instruction temporaries.
Rather than creating new temporaries for constants, use the
ones created in disas_sparc_insn. Remember the temps cre...
Richard Henderson
07:25 pm Revision 058ed88c: target-sparc: Fix TARGET_{PHYS,VIRT}_ADDR_SPACE_BITS.
The 32 and 64-bit definitions were swapped in the ifdef.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-o...
Richard Henderson
07:25 pm Revision cca1d527: Sparc: fix PC/NPC during FPU traps
All FPU instructions can trap, so save PC/NPC state before
executing them.
Signed-off-by: Blue Swirl <blauwirbel@gma...
Blue Swirl
09:21 am Revision a491cf58: Fix format strings
This fix the following build failure:
CC libdis-user/microblaze-dis.o
cc1: warnings being treated as errors
mic...
Arnaud Lacombe
07:00 am Revision 655feed5: tcg: Add missing static qualifier
Build breaks otherwise when USE_LIVENESS_ANALYSIS is not defined.
Signed-off-by: malc <av1474@comtv.ru>
malc
07:00 am Revision efe72c8d: tcg/ppc: Fix signed versions of brcond2
Thanks to: Alexander Graff, Thomas Gleixner and Andreas Faerber.
Signed-off-by: malc <av1474@comtv.ru>
malc

04/14/2010

04:59 am Revision bf3de7f1: Merge remote branch 'mst/for_anthony' into staging
Anthony Liguori
02:04 am Revision 452f58eb: sparc: Fix compiler warning (fprintf format string)
When argument checking is enabled, gcc throws this error:
error: format not a string literal and no format arguments...
Stefan Weil
02:04 am Revision c8160fab: sh4: Fix compiler warning (fprintf format string)
When argument checking is enabled, gcc throws this error:
error: format not a string literal and no format arguments...
Stefan Weil
02:04 am Revision d14a68b6: m68k: Fix compiler warning (fprintf format string)
When argument checking is enabled, gcc throws this error:
error: format not a string literal and no format arguments...
Stefan Weil
02:04 am Revision 07b1a9da: arm: Fix compiler warning (fprintf format string)
When argument checking is enabled, gcc throws this error:
error: format not a string literal and no format arguments...
Stefan Weil
01:59 am Revision 60bf84cf: tcp/mips: Change TCG_AREG0 (fp -> s0)
Register fp (frame pointer) is a bad choice for compilations
without optimisation, because the compiler makes heavy u...
Stefan Weil
01:23 am Revision f038e8f7: Use correct cflags for kvm-kmod when cross compiling
Using $pkgconfig instead of pkg-config will use
${cross_prefix}pkg-config if that is available.
This fix is needed f...
Stefan Weil
01:19 am Revision e00ac249: linux-user: do_shmdt(): Fix page_set_flags's 2nd arg.
2nd arg of page_set_flags() should be start+size, but size.
Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp>
A...
takasi-y@ops.dti.ne.jp
01:12 am Revision 11078ae3: vhost.c: include <linux/vhost.h> last
So the userspace headers define KERNEL_STRICT_NAMES and there's no
conflict on type definition for older kernels.
Si...
Marcelo Tosatti
12:59 am Revision 5751995a: vhost-net: disable mergeable buffers
vhost in current kernels doesn't support mergeable buffers.
Disable this feature if vhost is enabled, until such
supp...
Michael S. Tsirkin
12:58 am Revision dc14a397: vhost: fix features ack
vhost driver in qemu didn't ack features, and this happens
to work because we don't really require any features. Howe...
David L Stevens

04/13/2010

09:17 pm Revision 612b2bd0: r2d: always enable IDE and flash
IDE and flash are part of the R2D board, and can't be removed. Emulate
them even if there is no hard-drive plugged to...
Aurelien Jarno
09:17 pm Revision 5ba9e952: sh_pci: fix memory and I/O access
Since commit 8da3ff180974732fc4272cb4433fef85c1822961 ("MMIO callback
interface changes"), the addresses passed to th...
Aurelien Jarno

04/12/2010

08:19 pm Revision 7277e027: Fix build when configured with --enable-io-thread
Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Blue Swirl
« Previous
Next »
 

Also available in: Atom