Activity

From 01/13/2013 to 02/11/2013

02/11/2013

09:22 pm Revision 58fa4325: qapi: Improve chardev-add documentation
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1360602348-4727-1-git-send-email-armbru@redhat.com
S...
Markus Armbruster
09:22 pm Revision d7cd3694: migration: restrict scope of incoming fd read handler
The incoming migration is processed in a coroutine and uses an fd read
handler to enter the yielded coroutine when da...
Stefan Hajnoczi
09:22 pm Revision d0bce760: libi2c-omap: Fix endianness dependency
The libqos driver for omap_i2c currently does not work on Big Endian.
Introduce helpers for reading from and writing ...
Andreas Färber
09:22 pm Revision 5dd6be06: qtest: Use strtoull() for uint64_t
On 32-bit hosts, unsigned long may be uint32_t and uint64_t may be
unsigned long long. Account for this by always usi...
Andreas Färber
09:22 pm Revision 84eac317: libqtest: Fix documentation copy&paste errors
The [qtest_]in[bwl]() functions/macros don't have a value argument.
Signed-off-by: Andreas Färber <afaerber@suse.de>...
Andreas Färber
04:14 pm Revision f880defb: block/vpc: Fix size calculation
The size calculated from the CHS values is not the real image (disk) size,
but usually a smaller value. This is cause...
Stefan Weil
04:14 pm Revision 2c5a7f20: block-migration: fix block_save_iterate() return value
The .save_live_iterate() function returns 0 to continue iterating or 1
to stop iterating.
Since 16310a3cca7320edb934...
Stefan Hajnoczi
04:14 pm Revision 9ee0cb20: block-migration: fix blk_mig_save_dirty_block() return value checking
Commit 43be3a25c931a7f61a76fbfc9d35584cbfc5fb58 changed the
blk_mig_save_dirty_block() return code handling. The fun...
Stefan Hajnoczi
04:14 pm Revision d5f1f286: block-migration: improve "Unknown flags" error message
Show the actual flags value and include "block migration" in the error
message so it's clear where the error is comin...
Stefan Hajnoczi
04:13 pm Revision cfdd1628: vl: Drop redundant "parse error" reports
qemu_opts_parse() reports the error already, and in a much more useful
way.
Signed-off-by: Markus Armbruster <armbru...
Markus Armbruster
04:13 pm Revision 49295ebc: vl: Exit unsuccessfully on option argument syntax error
We exit successfully after reporting syntax error for argument of
--sandbox and --add-fd.
We continue undaunted afte...
Markus Armbruster
04:13 pm Revision 7216ae3d: qemu-option: Disable two helpful messages that got broken recently
commit 8be7e7e4 and commit ec7b2ccb messed up the ordering of error
message and the helpful explanation that should f...
Markus Armbruster
04:13 pm Revision 312fd5f2: error: Strip trailing '\n' from error string arguments (again)
Commit 6daf194d and be62a2eb got rid of a bunch, but they keep coming
back. Tracked down with this Coccinelle semant...
Markus Armbruster
04:13 pm Revision 474c2134: error: Clean up error strings with embedded newlines
The arguments of error_report() should yield a short error string
without newlines.
A few places try to print additi...
Markus Armbruster
04:13 pm Revision 1a9522cc: error: Clean up abuse of error_report() for help
Use error_printf() instead, so the help gets presented more nicely.
Signed-off-by: Markus Armbruster <armbru@redhat....
Markus Armbruster
04:10 pm Revision 2da2e52d: Merge remote-tracking branch 'luiz/queue/qmp' into staging
# By Peter Maydell
# Via Luiz Capitulino
* luiz/queue/qmp:
tests/test-string-input-visitor: Handle errors provoked ...
Anthony Liguori

02/09/2013

03:39 pm Revision 10442558: Update OpenBIOS images
Update OpenBIOS images to SVN r1097 built from submodule.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Blue Swirl

02/08/2013

07:14 pm Revision fb6d1bbd: block/curl: disable extra protocols to prevent CVE-2013-0249
There is a buffer overflow in libcurl POP3/SMTP/IMAP. The workaround is
simple: disable extra protocols so that they...
Stefan Hajnoczi
07:14 pm Revision 70ef6a5b: xilinx_zynq: Fix wrong IRQ number of the second EHCI controller
The IRQ number of the second EHCI controller should be 76, not 75.
Signed-off-by: Liming Wang <walimisdev@gmail.com>...
Liming Wang
07:14 pm Revision 0eb256a2: qemu-nbd: document --cache and --aio options
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Paolo Bonzini
07:14 pm Revision 32ab06bc: hw/virtio-net: disable multiqueue by default
The new multiqueue feature adds fields to the virtio device config, which
breaks Windows guests. Disable the feature ...
Jesse Larrew
07:13 pm Revision 14f9b664: hw/virtio-net.c: set config size using host features
Currently, the config size for virtio devices is hard coded. When a new
feature is added that changes the config size...
Jesse Larrew
03:37 pm Revision 1e89ad5b: virtio-net: pass host features to virtio_net_init
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Anthony Liguori

02/07/2013

09:13 pm Revision b8904921: net: fix infinite loop on exit
1ceef9f27359cbe92ef124bf74de6f792e71f6fb added handling for cleaning
up multiple queues in qemu_del_nic() for cases w...
Michael Roth
05:22 pm Revision 01845438: tests/test-string-input-visitor: Handle errors provoked by fuzz test
It's OK and expected for visitors to return errors when presented with
the fuzz test's random data. Since the fuzzer ...
Peter Maydell
02:33 am Revision ecd8d471: Update version for release
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Anthony Liguori
12:39 am Revision bd4bd24e: Merge branch 'for-linux-user' of https://git.gitorious.org/qemu-m68k/qemu-m68k...
* 'for-linux-user' of https://git.gitorious.org/qemu-m68k/qemu-m68k:
linux-user: correct reboot()
linux-user: cor...
Anthony Liguori
12:37 am Revision 0bc8ce94: linux-user: Restore cast to target type in get_user()
Commit 658f2dc97 accidentally dropped the cast to the target type of
the value loaded by get_user(). The most visibl...
Peter Maydell
12:37 am Revision f565235b: hw/pxa2xx: Fix transposed crn/crm values for pxa2xx cp14 perf regs
When the pxa2xx performance counter related cp14 registers were converted
from a switch-statement implementation to t...
Peter Maydell
12:36 am Revision 5b2cd985: Merge remote-tracking branch 'stefanha/tracing' into staging
# By Markus Armbruster
# Via Stefan Hajnoczi
* stefanha/tracing:
trace: Fix location of simpletrace.py in docs
tr...
Anthony Liguori
12:36 am Revision 3f23624c: Merge remote-tracking branch 'stefanha/trivial-patches' into staging
# By Michael Tokarev (1) and Stefan Weil (1)
# Via Stefan Hajnoczi
* stefanha/trivial-patches:
vnc: recognize Hunga...
Anthony Liguori
12:35 am Revision 8a14952c: hmp: Disable chardev-add and chardev-remove
As a general rule, HMP commands must be built on top of the QMP API.
Luiz and others have worked long & hard to make ...
Markus Armbruster
12:35 am Revision 543f3412: hmp: make memchar-read escape ASCII control chars except \n and \t
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Antho...
Markus Armbruster
12:35 am Revision de1cc36e: qemu-char: Support suffixed ringbuf size arguments like "size=64K"
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Antho...
Markus Armbruster
12:35 am Revision 094c8c2c: qemu-char: Fix chardev "memory" not to drop IAC characters
Undocumented misfeature, get rid of it while we can.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-b...
Markus Armbruster
12:35 am Revision 5c230105: qemu-char: General chardev "memory" code cleanup
Inline trivial cirmem_chr_is_empty() into its only caller.
Rename qemu_chr_cirmem_count() to cirmem_count().
Fast r...
Markus Armbruster
12:35 am Revision 6fd5b669: qemu-char: Drop undocumented chardev "memory" compatibility syntax
This is a new device, so there's no compatibility to maintain, and its
use case isn't common enough to justify shorth...
Markus Armbruster
12:35 am Revision 3949e594: qemu-char: Saner naming of memchar stuff & doc fixes
New device, has never been released, so we can still improve things
without worrying about compatibility.
Naming is ...
Markus Armbruster
12:35 am Revision 44f3bcd2: qmp: Drop wasteful zero-initialization in qmp_memchar_read()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Antho...
Markus Armbruster
12:35 am Revision 13289fb5: qmp: Plug memory leaks in memchar-write, memchar-read
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Antho...
Markus Armbruster
12:35 am Revision c287e99f: qmp: Drop superfluous special case "empty" in qmp_memchar_read()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Antho...
Markus Armbruster
12:35 am Revision 82e59a67: qmp: Fix design bug and read beyond buffer in memchar-write
Command memchar-write takes data and size parameter. Begs the
question what happens when data doesn't match size.
W...
Markus Armbruster
12:35 am Revision 3ab651fc: qmp: Clean up design of memchar-read
The data returned has a well-defined size, which makes the size
returned along with it redundant at best. Drop it.
...
Markus Armbruster
12:35 am Revision 1a69278e: qmp: Use generic errors in memchar-read, memchar-write
New errors should be generic unless there's a real use case for rich
errors.
Signed-off-by: Markus Armbruster <armbr...
Markus Armbruster
12:35 am Revision c4f331b6: qmp: Clean up type usage in qmp_memchar_write(), qmp_memchar_read()
Const-correctness, consistently use standard C types instead of mixing
them with GLib types.
Signed-off-by: Markus A...
Markus Armbruster

02/06/2013

04:52 pm Revision 2a0e1ad6: vnc: recognize Hungarian doubleacutes
As reported in http://bugs.debian.org/697641 , some Hungarian keys
does not work with qemu when using vnc display.
T...
Michael Tokarev
04:52 pm Revision f38f7a84: target-m68k: Fix comment
* spelling fix ito -> into
* reorder to match load/store
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: ...
Stefan Weil
04:29 pm Revision 15af6321: vnc: recognize Hungarian doubleacutes
As reported in http://bugs.debian.org/697641 , some Hungarian keys
does not work with qemu when using vnc display.
T...
Michael Tokarev
04:29 pm Revision a911a182: qemu/9p: Don't ignore error in fid clunk
We use the clunk request to do the actual xattr operation. So don't
ignore the error value for fid clunk.
Security m...
Aneesh Kumar K.V
04:29 pm Revision facf98ad: qemu/iovec: Don't assert if sbytes is zero
Since these values can possibly be sent from guest (for hw/9pfs), do a sanity check
on them. A 9p write request with ...
Aneesh Kumar K.V
04:29 pm Revision ddcb73b7: e1000: fix link down handling with auto negotiation
Fixes a couple of regression bugs introduced by
b9d03e352cb6b31a66545763f6a1e20c9abf0c2c and related to
auto-negotiat...
Michael S. Tsirkin
04:29 pm Revision 91107fdf: bswap: Fix width of swap in leul_to_cpu
The misnamed HOST_LONG_BITS is really HOST_POINTER_BITS. Here we're
explicitly using an unsigned long, rather than u...
Richard Henderson
04:29 pm Revision 84208085: configure: Fix build with XFree
The build is broken on ppc64-linux, possibly only with new binutils:
ld: hw/lm32/../milkymist-tmu2.o: undefined refe...
Richard Henderson
04:51 am Revision 5f876756: bios: recompile BIOS
SeaBIOS is really close to spilling over to 256k. Until we can better
handle migration across RAM block size changes...
Anthony Liguori

02/05/2013

10:52 pm Revision fb3a5085: trace: Fix simple trace dropped event record for big endian
We use atomic operations to keep track of dropped events.
Inconveniently, GLib supports only int and void * atomics,...
Markus Armbruster
10:52 pm Revision 8f44015e: trace: Fix location of simpletrace.py in docs
Missed when commit 4c3b5a48 moved it.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laszlo Ersek...
Markus Armbruster
10:52 pm Revision e722d705: trace: Direct access of atomics is verboten, use the API
The GLib Reference Manual says:
It is very important that all accesses to a particular integer or
pointer be...
Markus Armbruster
10:52 pm Revision b6b2c962: trace: Clean up the "try to update atomic until it worked" loops
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Harsh...
Markus Armbruster

02/04/2013

11:24 pm Revision 0123c486: s390x: silence warning from GCC on uninitialized values
As best I can tell, this is a false positive.
[aliguori@ccnode4 qemu-s390]$ make
CC s390x-softmmu/target-s3...
Anthony Liguori
11:24 pm Revision b22dd124: target-s390x: Fix wrong comparison in interrupt handling
gcc with -Wextra complains about an ordered pointer comparison:
target-s390x/helper.c:660:27: warning:
ordered comp...
Stefan Weil
10:39 pm Revision ded67782: acpi_piix4: fix segfault migrating from 1.2
b0b873a07872f7ab7f66f259c73fb9dd42aa66a9 bumped the vmstate version and
introduced an old-style load function to hand...
Michael Roth
10:38 pm Revision c881e20e: vl.c: validate -numa "cpus" parameter properly
- Accept empty strings without aborting
- Use parse_uint*() to parse numbers
- Abort if anything except '-' or end-of...
Eduardo Habkost
10:38 pm Revision 845e5bf9: vl.c: Extract -numa "cpus" parsing to separate function
This will make it easier to refactor that code later.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-...
Eduardo Habkost
10:38 pm Revision 5f139965: vl.c: Use parse_uint_full() for NUMA nodeid
This should catch many kinds of errors that the current code wasn't
checking for:
- Values that can't be parsed as ...
Eduardo Habkost
10:38 pm Revision e3f9fe2d: cutils: unsigned int parsing functions
There are lots of duplicate parsing code using strto*() in QEMU, and
most of that code is broken in one way or anothe...
Eduardo Habkost
10:38 pm Revision ca4c6d36: vl.c: Check for NUMA node limit inside numa_add()
Instead of checking the limit before calling numa_add(), check the limit
only when we already know we're going to add...
Eduardo Habkost
10:38 pm Revision e4ce85b2: vl.c: numa_add(): Validate nodeid before using it
Without this check, QEMU will corrupt memory if a too-large nodeid is
provided in the command-line. e.g.:
-numa no...
Eduardo Habkost
10:38 pm Revision 8f302cb0: vl.c: Fix off-by-one bug when handling "-numa node" argument
The numa_add() code was unconditionally adding 1 to the get_opt_name()
return value, making it point after the end of...
Eduardo Habkost
10:38 pm Revision 12e53a9d: vl.c: Abort on unknown -numa option type
Abort in case an invalid -numa option is provided, instead of silently
ignoring it.
Signed-off-by: Eduardo Habkost <...
Eduardo Habkost
05:12 pm Revision ff057ccb: target-cris: Build fix for debug output
Around r3361 (81fdc5f8d2d681da8d255baf0713144f8656bac9) env->debug1 used
to contain the address of an MMU fault. This...
Andreas Färber

02/02/2013

10:16 pm Revision fbeadf50: bitops: unify bitops_ffsl with the one in host-utils.h, call it bitops_ctzl
We had two copies of a ffs function for longs with subtly different
semantics and, for the one in bitops.h, a confusi...
Paolo Bonzini
10:13 pm Revision 7b2d9779: util: Fix compilation of envlist.c for MinGW
MinGW has no strtok_r, so we need a declaration in sysemu/os-win32.h.
We must also fix the include statements in util...
Stefan Weil
02:05 am Revision abd8d4a4: Update version for 1.4.0-rc0
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Anthony Liguori
02:05 am Revision 02cd8090: tap: unbreak -netdev tap,fd=X
The multiqueue patch series broke -netdev tap,fd=X which manifests
as libvirt not being able to start a guest. This ...
Anthony Liguori

02/01/2013

11:53 pm Revision b76facc3: qom: remove object_delete
This is now unused. Document the initial reference count of an object
and when it will be freed/finalized.
Signed-o...
Paolo Bonzini
11:53 pm Revision 5c099537: cpu: do not use object_delete
CPUs are never added to the composition tree, so delete is achieved
simply by removing the last references to them.
...
Paolo Bonzini
11:53 pm Revision b09995ae: qdev: drop extra references at creation time
qdev_free and qbus_free have to do unparent+unref, because nobody else
drops the initial reference (the one included ...
Paolo Bonzini
11:53 pm Revision 62d7ba66: qdev: add reference for the bus while it is referred to by the DeviceState
Now that the unparent callbacks are complete, we can correctly account
more missing references.
Signed-off-by: Paolo...
Paolo Bonzini
11:53 pm Revision 06f7f2bb: qdev: move unrealization of devices from finalize to unparent
Similarly, a bus holds a reference back to the device, and this will
prevent the device from going away as soon as th...
Paolo Bonzini
11:53 pm Revision 9d127820: qdev: add reference count to a device for the BusChild
Each device has a reference through the BusChild. This reference
was not accounted for, add it now.
Reviewed-by: An...
Paolo Bonzini
11:53 pm Revision dc7389b7: qdev: inline object_delete into qbus_free/qdev_free
We want object_delete to disappear, and we will do this one class at a
time. Inline it for the qdev case, which we w...
Paolo Bonzini
11:53 pm Revision 6853d27a: qdev: move deletion of children from finalize to unparent
A device will never be finalized as long as it has a reference from
other devices that sit on its buses. To ensure t...
Paolo Bonzini
11:53 pm Revision 6c232d2f: qom: document reference counting of link properties
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Paolo Bonzini
11:53 pm Revision 52e636cd: qom: preserve object while unparenting it
Avoid that the object disappears after it's deleted from the QOM
composition tree, in case that was the only referenc...
Paolo Bonzini
11:53 pm Revision 013e1182: qdev: remove duplication between qbus_create and qbus_create_inplace
Move the common part to qbus_realize.
Acked-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Paolo Bonzini <pbon...
Paolo Bonzini
11:53 pm Revision 4fec6404: pci: use qbus_create in pci_bus_new
Remove knowledge of QOM innards. The common part of pci_bus_new and
pci_bus_new_inplace is moved to a new function p...
Paolo Bonzini
11:53 pm Revision 39355c38: qdev: change first argument of qbus_create_inplace to void *
Make it clear that no BUS() macro is needed in the callers (in fact it
wouldn't work because the object has not been ...
Paolo Bonzini
11:08 pm Revision d5286af5: accel: change {xen, kvm, tcg, qtest}_allowed from int to bool
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
liguang
11:07 pm Revision e3c66d93: vl: skip init accelerator if it's not available
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
liguang
11:07 pm Revision 217e21be: vl: correct error message when fail to init kvm
command:
qemu-system-x86_64 -hda disk.img -smp 32 --enable-kvm
error:
Number of SMP cpus requested (32) exceeds max c...
liguang
10:45 pm Revision baeddded: sparc: disable qtest in make check
We've seen this repeatedly in buildbot but I can now reliably
reproduce it myself too. With a few hundred runs of 'm...
Anthony Liguori
10:40 pm Revision 77a5f4f2: Merge remote-tracking branch 'stefanha/block' into staging
# By Kevin Wolf (7) and others
# Via Stefan Hajnoczi
* stefanha/block:
block/raw-posix: Build fix for O_ASYNC
vmd...
Anthony Liguori
09:00 pm Revision 3e3648b2: xen: fix build problem introduced from per-queue peers
Reported-by Andreas Färber <afaerber@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Anthony Liguori
07:03 pm Revision 5f800801: virtio-net: migration support for multiqueue
This patch add migration support for multiqueue virtio-net. Instead of bumping
the version, we conditionally send the...
Jason Wang
07:03 pm Revision 0c87e93e: virtio-net: separate virtqueue from VirtIONet
To support multiqueue virtio-net, the first step is to separate the virtqueue
related fields from VirtIONet to a new ...
Jason Wang
07:03 pm Revision a9c87c58: virtio-net: compat multiqueue support
Disable multiqueue support for pre 1.4.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguo...
Jason Wang
07:03 pm Revision e78a2b42: virtio: add a queue_index to VirtQueue
Add a queue_index to VirtQueue and a helper to fetch it, this could be used by
multiqueue supported device.
Signed-o...
Jason Wang
07:03 pm Revision fed699f9: virtio-net: multiqueue support
This patch implements both userspace and vhost support for multiple queue
virtio-net (VIRTIO_NET_F_MQ). This is done ...
Jason Wang
07:03 pm Revision e5dc0b40: tap: introduce a helper to get the name of an interface
This patch introduces a helper tap_get_ifname() to get the device name of tap
device. This is needed when ifname is u...
Jason Wang
07:03 pm Revision 16dbaf90: tap: support enabling or disabling a queue
This patch introduce a new bit - enabled in TAPState which tracks whether a
specific queue/fd is enabled. The tap/fd ...
Jason Wang
07:03 pm Revision f23fd811: virtio: introduce virtio_del_queue()
Some device (such as virtio-net) needs the ability to destroy or re-order the
virtqueues, this patch adds a helper to...
Jason Wang
07:03 pm Revision 264986e2: tap: multiqueue support
Recently, linux support multiqueue tap which could let userspace call TUNSETIFF
for a signle device many times to cre...
Jason Wang
07:03 pm Revision a9f98bb5: vhost: multiqueue support
This patch lets vhost support multiqueue. The idea is simple, just launching
multiple threads of vhost and let each o...
Jason Wang
07:03 pm Revision 18a1541a: net: introduce qemu_net_client_setup()
This patch separates the setup of NetClientState from its allocation, this will
allow allocating an arrays of NetClie...
Jason Wang
07:03 pm Revision 5193e5fb: tap: factor out common tap initialization
This patch factors out the common initialization of tap into a new helper
net_init_tap_one(). This will be used by mu...
Jason Wang
07:03 pm Revision f7860455: net: introduce NetClientState destructor
To allow allocating an array of NetClientState and free it once, this patch
introduces destructor of NetClientState. ...
Jason Wang
07:03 pm Revision 4e4f9ae7: tap: import linux multiqueue constants
Import multiqueue constants from if_tun.h from 3.8-rc3. A new ifr flag
IFF_MULTI_QUEUE were introduced to create a mu...
Jason Wang
07:03 pm Revision 94fdc6d0: tap: add Linux multiqueue support
This patch add basic multiqueue support for Linux. When multiqueue is needed, we
will first check whether kernel supp...
Jason Wang
07:03 pm Revision 948ecf21: net: intorduce qemu_del_nic()
To support multiqueue nic, this patch separate the nic destructor from
qemu_del_net_client() to a new helper qemu_del...
Jason Wang
07:03 pm Revision 1ceef9f2: net: multiqueue support
This patch adds basic multiqueue support for qemu. The idea is simple, an array
of NetClientStates were introduced in...
Jason Wang
07:03 pm Revision 6c51ae73: net: introduce qemu_find_net_clients_except()
In multiqueue, all NetClientState that belongs to the same netdev or nic has the
same id. So this patches introduces ...
Jason Wang
07:03 pm Revision cc1f0f45: net: introduce qemu_get_nic()
To support multiqueue, this patch introduces a helper qemu_get_nic() to get
NICState from a NetClientState. The follo...
Jason Wang
07:02 pm Revision b356f76d: net: introduce qemu_get_queue()
To support multiqueue, the patch introduce a helper qemu_get_queue()
which is used to get the NetClientState of a dev...
Jason Wang
06:50 pm Revision 28a65891: net: tap: use abort() instead of assert(0)
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Jason Wang
06:50 pm Revision ec45f083: net: tap: using bool instead of bitfield
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Jason Wang
06:43 pm Revision 350ed2fc: target-ppc: Fix target_ulong vs. hwaddr format mismatches
Since HWADDR_PRIx is always the same now, use %016 for TARGET_PPC64 and
%08 for common code. This may slightly change...
Andreas Färber
06:43 pm Revision 6bf00766: libqtest: Wait for the right child PID after killing QEMU
When running "make check" with gcov enabled, we get the following
message:
hw/tmp105.gcda:cannot open data file, ...
Eduardo Habkost
06:43 pm Revision 3e7b8f4e: isa: QOM'ify isa_bus_from_device()
DeviceState::parent_bus is document as private and should be accessed
through qdev_get_parent_bus(). Use a DEVICE() c...
Andreas Färber
06:43 pm Revision 8aae84a1: i2c: Drop I2C_SLAVE_FROM_QDEV() macro
It is not being used in hot paths and is obsoleted by I2C_SLAVE()
QOM cast macro. Clean it up using a scripted conver...
Andreas Färber
06:43 pm Revision 6c8fec83: configure: Keep -Werror enabled for Release Candidates
The automatic drop of -Werror during the RC phases has in the past led
to warnings creeping into submaintainer trees....
Andreas Färber
06:43 pm Revision 70ddd9f6: Revert "e1000: no need auto-negotiation if link was down"
This reverts commit 84dd2120247a7d25ff1bb337de21c0e76816ad2d.
I'm not sure what issue the original commit was meant ...
Michael Roth
05:08 pm Revision 5dea9a69: Merge remote-tracking branch 'quintela/migration.next' into staging
# By Orit Wasserman
# Via Juan Quintela
* quintela/migration.next:
Fix error message in migrate_set_capability HMP ...
Anthony Liguori
05:06 pm Revision e205842b: Merge remote-tracking branch 'agraf/s390-for-upstream' into staging
# By Andreas Färber
# Via Alexander Graf
* agraf/s390-for-upstream:
target-s390x: Pass S390CPU to s390_{add, del}_r...
Anthony Liguori
05:02 pm Revision fabb6042: Merge remote-tracking branch 'agraf/ppc-for-upstream' into staging
# By Andreas Färber (2) and Alexander Graf (1)
# Via Alexander Graf
* agraf/ppc-for-upstream:
target-ppc: Fix build...
Anthony Liguori
04:11 pm Revision fdf263f6: block/raw-posix: Build fix for O_ASYNC
Commit eeb6b45d48800e96f67ef2a5c80332557fd45ddb (block: raw-posix image
file reopen) broke the build on OpenIndiana.
...
Andreas Färber
03:58 pm Revision 69d34a36: dmg: Fix bdrv_open() error handling
Return -errno instead of -1 on errors and add error checks in some
places that didn't have one. Passing things by ref...
Kevin Wolf
03:58 pm Revision 4f8aa2e1: dmg: Use g_free instead of free
The buffers are allocated with g_(re)alloc, so use g_free to free them.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>...
Kevin Wolf
03:58 pm Revision 46536235: parallels: Fix bdrv_open() error handling
Return -errno instead of -1 on errors. Hey, no memory leak to fix here
while we're touching it!
Signed-off-by: Kevin...
Kevin Wolf
03:58 pm Revision cd923475: vmdk: Allow space in file name
The previous scanf() format string stopped parsing the file name on the
first white white space, which seems to be al...
Philipp Hahn
03:58 pm Revision 6f74c260: sheepdog: pass vdi_id to sheep daemon for sd_close()
Sheep daemon needs vdi_id to identify which vdi is closed to release resources
such as object cache.
Cc: MORITA Kazu...
Liu Yuan
03:58 pm Revision 63ba17d3: block: Fix is_allocated_above with resized files
In an image chain, if the base image is smaller than the current
image, we need to make sure to use the current image...
Vishvananda Ishaya
03:58 pm Revision a04eca10: block: Adds mirroring tests for resized images
This test verifies two mirroring issues are fixed with resized images:
* sync='top' creates an image that is the pr...
Vishvananda Ishaya
03:58 pm Revision 59294e46: vpc: Fix bdrv_open() error handling
Return -errno instead of -1 on errors. While touching the
code, fix a memory leak.
Signed-off-by: Kevin Wolf <kwolf@...
Kevin Wolf
03:58 pm Revision b93d6d24: qemu-iotests: Add regression test for b7ab0fea
It turned out that the change in b7ab0fea was actually a real qcow2
corruption fix. This is a reproducer for the bug....
Kevin Wolf
03:58 pm Revision 1a60657f: cloop: Fix bdrv_open() error handling
Return -errno instead of -1 on errors. While touching the
code, fix a memory leak.
Signed-off-by: Kevin Wolf <kwolf@...
Kevin Wolf
03:58 pm Revision 5b7d7dfd: bochs: Fix bdrv_open() error handling
Return -errno instead of -1 on errors. While touching the
code, fix a memory leak.
Signed-off-by: Kevin Wolf <kwolf@...
Kevin Wolf
03:58 pm Revision 7f2039f6: vmdk: Allow selecting SCSI adapter in image creation
Introduce a new option "adapter_type" when converting to vmdk images.
It can be one of the following: ide (default), ...
Othmar Pasteka
09:32 am Revision a31ca017: Fix error message in migrate_set_capability HMP command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eri...
Orit Wasserman
09:32 am Revision dbca1b37: Fix example for query-migrate-capabilities
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eri...
Orit Wasserman
09:32 am Revision 1b1fdfea: Allow XBZRLE decoding without enabling the capability
Before this fix we couldn't load a guest from
XBZRLE compressed file.
For example:
The user activated the XBZRLE cap...
Orit Wasserman
09:32 am Revision 21e3cd29: Add XBZRLE testing
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: ...
Orit Wasserman
09:32 am Revision ba2e28e8: Move XBZRLE encoding code to a separate file to allow testing
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: ...
Orit Wasserman
03:37 am Revision 8a55ebf0: Merge remote-tracking branch 'afaerber/qom-cpu' into staging
# By Andreas Färber
# Via Andreas Färber
* afaerber/qom-cpu:
linux-user: bsd-user: Don't reset X86CPU twice
targe...
Anthony Liguori
03:37 am Revision 2854c549: Merge remote-tracking branch 'afaerber-or/cocoa-for-upstream' into staging
# By Henry Harrington (1) and Stefan Weil (1)
# Via Andreas Färber
* afaerber-or/cocoa-for-upstream:
cocoa: Replace...
Anthony Liguori
03:35 am Revision c628d747: Merge remote-tracking branch 'mst/tags/for_anthony' into staging
virtio,make,pci,e1000,vfio,piix
This includes my timestamp generation cleanup,
Amos's and my work on virtio net comm...
Anthony Liguori
03:02 am Revision f9466733: target-s390x: Clean up cpu_inject_*() signatures
Despite cautioning that S390CPU is needed for upcoming CPUState
refactorings, commit 5d69c547d947798cba92d836d06f6e01...
Andreas Färber
03:02 am Revision a6f921b0: target-s390x: Fix debug output (continued)
Since its introduction in d5a439645a5a70fed5431318c3bce9dc2caa950f
(s390x: helper functions for system emulation) the...
Andreas Färber
03:02 am Revision 49e15878: target-s390x: Pass S390CPU to s390_{add, del}_running_cpu()
This prepares for moving the halted field to CPUState.
Most call sites can already supply S390CPU, for some env becom...
Andreas Färber
03:02 am Revision 07cc7d12: target-s390x: Fix debug output
Commit 71e470886fb6092504503a5fe41092ace71c096c (target-s390x: fix
style) renamed the cpu_s390x_handle_mmu_fault() ar...
Andreas Färber
02:52 am Revision 476b6d16: target-ppc: Fix build for PPC_DEBUG_DISAS
In r5949 / 76db3ba44ee8db671f804755f13b016eefd13288 (target-ppc: memory
load/store rework) variable little_endian was...
Andreas Färber
02:52 am Revision cca48a93: target-ppc: Fix unused variable warning for FLUSH_ALL_TLBS
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Andreas Färber
02:52 am Revision 8e33944f: PPC: Unify dcbzl code path
The bit that makes a dcbz instruction a dcbzl instruction was declared as
reserved in ppc32 ISAs. However, hardware s...
Alexander Graf
02:35 am Revision 478032a9: target-openrisc: Rename CPU subtypes
Model names were mapped 1:1 to type names. As a side effect this
registered a type "any", which is now a device.
To ...
Andreas Färber
02:35 am Revision bc755a00: target-openrisc: TYPE_OPENRISC_CPU should be abstract
A basic assumption of CPU subtypes is that only specific models get
instantiated. A user is not supposed to instantia...
Andreas Färber
02:35 am Revision eeb266de: target-unicore32: Rename CPU subtypes
In the initial conversion of CPU models to QOM types, model names were
mapped 1:1 to type names. As a side effect thi...
Andreas Färber
02:35 am Revision 77868120: linux-user: bsd-user: Don't reset X86CPU twice
Since commit 65dee38052597b6285eb208125369f01b29ba6c1 (target-i386:
move cpu_reset and reset callback to cpu.c) the x...
Andreas Färber
02:35 am Revision cc36a7a2: target-i386: Pass X86CPU to cpu_x86_set_a20()
Prepares for cpu_interrupt() changing argument to CPUState.
While touching it, rename to x86_cpu_...() now that it t...
Andreas Färber
02:35 am Revision 087fe4f8: target-m68k: Mark as unmigratable
It neither defined CPU_SAVE_VERSION nor implemented cpu_{save,load}().
Mark M68kCPU as unmigratable at device level.
...
Andreas Färber
02:35 am Revision 7a9f812b: target-m68k: Rename CPU subtypes
In the initial conversion of CPU models to QOM types, model names were
mapped 1:1 to type names. As a side effect thi...
Andreas Färber
02:35 am Revision c7396bbb: target-s390x: Mark as unmigratable
CPU_SAVE_VERSION was undefined, so "cpu_common" VMState and
cpu_{save,load}() were not registered. They were no-ops.
...
Andreas Färber
02:35 am Revision 1e45d31b: target-sh4: Mark as unmigratable
It neither defined CPU_SAVE_VERSION nor implemented cpu{save,load}().
Mark it as unmigratable at device level.
Signe...
Andreas Färber
02:35 am Revision 3ce8b2bc: target-microblaze: Mark as unmigratable
cpu_{save,load} were no-ops, so de facto it is unmigratable and no
backwards compatibility to keep. Therefore mark th...
Andreas Färber
02:35 am Revision 004a5690: target-xtensa: Mark as unmigratable
There was no CPU_SAVE_VERSION defined, so neither "cpu_common" VMState
nor cpu_{save,load}() were registered. Their i...
Andreas Färber
02:35 am Revision 88e28512: target-unicore32: Mark as unmigratable
CPU_SAVE_VERSION 2 was bogus as both save and load would just throw a
hw_error(). Therefore we can without problems s...
Andreas Färber
01:13 am Revision 6b2578d6: ide/mmio: QOM'ify MMIO IDE for R2D
It was not qdev'ified before, so turn it into a SysBusDevice.
Keep mmio_ide_init_drives() around to attach the hard d...
Andreas Färber
12:42 am Revision e62a214c: target-mips: fix incorrect test for MTHLIP
The pos field in the DSPControl register is not correctly initialized.
Per documentation, the result of MTHLIP is unp...
Petar Jovanovic
12:42 am Revision 6f0af304: target-mips: enable access to DSP ASE if implemented
compute_hflags() will reset DSP h-flags, so MX bit should be initially set
for usermode in cpu_state_reset() if DSP A...
Petar Jovanovic
12:42 am Revision f54c35d1: target-mips: Unfuse {,N}M{ADD,SUB}.fmt
Turn MADD.fmt, MSUB.fmt, NMADD.fmt and NMSUB.fmt from fused to unfused
operations, so that they behave in the same wa...
Richard Sandiford
12:40 am Revision c728154b: target-mips: Sign-extend the result of LWR
Sign-extend the result of LWR, as is already done for LWL. This is necessary
in the case where LWR loads the full wo...
Richard Sandiford
12:38 am Revision 17e8fef1: target-mips: Fix signedness of loads in MIPS16 RESTOREs
Make RESTORE use sign-extending rather than zero-extending loads.
Signed-off-by: Richard Sandiford <rdsandiford@goog...
Richard Sandiford
12:33 am Revision 810ded13: Merge branch 'target-arm.next' of git://git.linaro.org/people/pmaydell/qemu-arm
* 'target-arm.next' of git://git.linaro.org/people/pmaydell/qemu-arm:
target-arm: Rename CPU types
target-arm: Fi...
Aurelien Jarno
12:30 am Revision df6126a7: target-mips: implement DSP (d)append sub-class with TCG
DSP instruction from the (d)append sub-class can be implemented with
TCG. Use a different function for these instruct...
Aurelien Jarno
12:30 am Revision 0a16c79c: target-mips: use DSP unions for reduction add instructions
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Aurelien Jarno
12:29 am Revision 75d012ac: target-mips: use DSP unions for unary DSP operators
This allow to reduce the number of macros.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien ...
Aurelien Jarno
12:29 am Revision 6de0e6c1: target-mips: use DSP unions for binary DSP operators
This allow to reduce the number of macros.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien ...
Aurelien Jarno
12:29 am Revision 652613ab: target-mips: add unions to access DSP elements
Instead of playing with bit shifting, add two unions (one for 32-bit
values, one for 64-bit ones) to access all the D...
Aurelien Jarno
12:29 am Revision ad153f15: target-mips: generate a reserved instruction exception on CPU without DSP
On CPU without DSP ASE support, a reserved instruction exception (instead of
a DSP ASE sate disabled) should be gener...
Aurelien Jarno
12:29 am Revision d75c135e: target-mips: copy insn_flags in DisasContext
Copy insn_flags in DisasContext to avoid passing a CPUMIPSState pointer
to subroutines, as suggested by Richard Hende...
Aurelien Jarno
12:29 am Revision f7d2072e: target-mips: fix DSP loads with rd = 0
When rd is 0, which still need to do the actually load to possibly
generate a TLB exception.
Reviewed-by: Eric Johns...
Aurelien Jarno

01/31/2013

11:27 pm Revision 7e02dc63: cocoa: Replace non-portable asprintf() by g_strdup_printf()
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Stefan Weil
11:02 pm Revision 477a3877: cocoa: Fix VBE function Set Display Start
Register a dpy_gfx_setdata callback so that the Cocoa code
is notified whenever the screen start address changes.
Co...
Henry Harrington

01/30/2013

06:51 pm Revision 321f2117: Merge remote-tracking branch 'pmaydell/arm-devs.next' into staging
# By Christoffer Dall (1) and Peter Maydell (1)
# Via Peter Maydell
* pmaydell/arm-devs.next:
hw/vexpress: Use corr...
Anthony Liguori
06:51 pm Revision b0df98f3: Merge remote-tracking branch 'stefanha/trivial-patches' into staging
# By Markus Armbruster (12) and others
# Via Stefan Hajnoczi
* stefanha/trivial-patches:
qmp-commands.hx: s/tray-op...
Anthony Liguori
06:48 pm Revision 7cc2a8b1: Merge remote-tracking branch 'afaerber-or/prep-up' into staging
# By Andreas Färber
# Via Andreas Färber
* afaerber-or/prep-up:
prep: Move PReP machine to hw/ppc/
prep_pci: Conv...
Anthony Liguori
06:46 pm Revision 6ac5107d: Merge remote-tracking branch 'agraf/s390-for-upstream' into staging
# By Cornelia Huck (13) and others
# Via Alexander Graf
* agraf/s390-for-upstream:
s390: Drop set_bit usage in virt...
Anthony Liguori
06:03 pm Revision 51492fd1: target-arm: Rename CPU types
In the initial conversion of CPU models to QOM types, model names were
mapped 1:1 to type names. As a side effect thi...
Andreas Färber
06:01 pm Revision e4c1cfa5: target-arm: Fix TCG temp leaks for WI and UNDEF VFP sysreg writes
Fix a leak of a TCG temporary in code paths for VFP system register
writes for cases which UNDEF or are write-ignored...
Peter Maydell
05:39 pm Revision f61850bf: hw/vexpress: Use correct HBI (board model number) for vexpress-a15
The vexpress-a15 QEMU model is supposed to be a V2P-CA15; the HBI
(a kind of board model number) for this coretile is...
Peter Maydell
05:39 pm Revision 706872a5: hw/arm_sysctl: Clear sysctl cfgctrl start bit
The start bit should only be set to indicate that a function call is
underway, right now. When done with function, c...
Christoffer Dall
01:13 pm Revision 1b09aeb9: linux-user: correct setsockopt()
SO_SNDTIMEO and SO_RCVTIMEO take a struct timeval, not an int
To test this, you can use :
QEMU_STRACE= ping localho...
Laurent Vivier
01:13 pm Revision 79dd77de: linux-user: correct msgrcv()
All parameters must be swapped before the call of do_msgrcv().
Allow faked (debian fakeroot daemon) to work properly...
Laurent Vivier
01:13 pm Revision 910ee4e5: linux-user: correct print_timeval() swap tv_sec and tv_usec
Signed-off-by: Laurent Vivier <Laurent@Vivier.EU>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Laurent Vivier
01:13 pm Revision c07ecc68: linux-user: correct reboot()
According to man reboot(2), the 4th argument is only used with
LINUX_REBOOT_CMD_RESTART2. In other cases, trying to c...
Laurent Vivier
12:19 pm Revision 99f42808: qmp-commands.hx: s/tray-open/tray_open/ to match qapi schema
Currently, we are using 'tray_open' in QMP and 'tray-open' in
HMP. However, the QMP documentation was mistakenly usin...
Michal Privoznik
12:18 pm Revision a05ddd92: tests: Fix {rtc, m48t59}-test build on illumos
Struct tm does not have tm_gmtoff field on illumos.
Fix the build by not zero-initializing these fields on Solaris.
...
Andreas Färber
12:16 pm Revision 0b087861: qemu-pixman.h: Avoid mutual inclusion loop with console.h
Remove an unnecessary mutual inclusion loop between qemu-pixman.h and
console.h, since the former was only including ...
Peter Maydell
12:14 pm Revision 606017de: virtfs-proxy-helper: Fix unchecked strdup() by conv. to g_strdup()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefa...
Markus Armbruster
12:14 pm Revision 6528499f: g_malloc(0) and g_malloc0(0) return NULL; simplify
Once upon a time, it was decided that qemu_malloc(0) should abort.
Switching to glib retired that bright idea. Some ...
Markus Armbruster
12:14 pm Revision c3baa5f9: readline: Fix unchecked strdup() by converting to g_strdup()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefa...
Markus Armbruster
12:14 pm Revision d3f8e138: hw/9pfs: Fix unchecked strdup() by converting to g_strdup()
Note: the allocation in virtio_9p_init() is still leaked. To be fixed
in a followup commit.
Signed-off-by: Markus A...
Markus Armbruster
12:14 pm Revision 636e0f27: qemu-log: Fix unchecked strdup() by converting to g_strdup()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefa...
Markus Armbruster
12:14 pm Revision c64f50d1: g_strdup(NULL) returns NULL; simplify
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefa...
Markus Armbruster
12:14 pm Revision 13b10e05: qapi: Fix unchecked strdup() by converting to g_strdup()
Note that we already free with g_free().
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blak...
Markus Armbruster
12:14 pm Revision 24a53049: qemu-ga: Fix unchecked strdup() by converting to g_strdup()
I figure it's freed somewhere deep down in QAPI, with g_free().
Signed-off-by: Markus Armbruster <armbru@redhat.com>...
Markus Armbruster
12:14 pm Revision 40a50b0a: qemu-log: Plug trivial memory leak in cpu_set_log_filename()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Markus Armbruster
12:14 pm Revision be168af8: libcacard: Fix unchecked strdup() by converting to g_strdup()
Note that we already free with g_free().
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blak...
Markus Armbruster
12:14 pm Revision fd3bea3f: spice: Fix unchecked strdup() by converting to g_strdup()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefa...
Markus Armbruster
11:42 am Revision 75610155: prep: Move PReP machine to hw/ppc/
Signed-off-by: Andreas Färber <andreas.faerber@web.de> Andreas Färber
11:31 am Revision c6954413: cadence_ttc: Debug mode compile fixes
Some printfs are throwing warnings when debug mode is enabled. Fixed.
Signed-off-by: Peter Crosthwaite <peter.crosth...
Peter Crosthwaite
11:31 am Revision 080251a4: cadence_gem: Debug mode compile fixes
Some printfs are throwing warnings when debug mode is enabled. Fixed.
Signed-off-by: Peter Crosthwaite <peter.crosth...
Peter Crosthwaite
11:31 am Revision 74cef80c: xilinx_axidma: Fix debug mode compile messages
Missing cast one one of the conditionally compiled printfs.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xili...
Peter Crosthwaite
11:31 am Revision cfba8e6f: vnc: Clean up vncws_send_handshake_response()
Use appropriate types, drop superfluous casts, use sizeof, don't
exploit that this particular call of gnutls_fingerpr...
Markus Armbruster
01:31 am Revision 91c3f2f0: ich9: add support for pci assignment
Fills out support for the pci assignment API. Added:
PCIINTxRoute ich9_route_intx_pin_to_irq(void *opaque, int pirq...
Jason Baron
01:31 am Revision dd23454b: virtio-net: rename ctrl rx commands
This patch makes rx commands consistent with specification.
Signed-off-by: Amos Kong <akong@redhat.com>
Signed-off-b...
Amos Kong
01:31 am Revision 1ec4ba74: PIIX3: reset the VM when the Reset Control Register's RCPU bit gets set
Traditional PCI config space access is achieved by writing a 32 bit
value to io port 0xcf8 to identify the bus, dev...
Laszlo Ersek
01:31 am Revision 6a659bbf: vfio-pci: Enable PCIe extended config space
We don't know pre-init time whether the device we're exposing is PCIe
or legacy PCI. We could ask for it to be speci...
Alex Williamson
01:31 am Revision c1943a3f: virtio-net: introduce a new macaddr control
In virtio-net guest driver, currently we write MAC address to
pci config space byte by byte, this means that we have ...
Amos Kong
01:31 am Revision 921ac5d0: virtio-net: remove layout assumptions for ctrl vq
Virtio-net code makes assumption about virtqueue descriptor layout
(e.g. sg[0] is the header, sg[1] is the data buffe...
Michael S. Tsirkin
01:31 am Revision 6f329a55: Makefile: clean timestamp generation rule
create timestamp by rule without sideeffects.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Michael S. Tsirkin
01:31 am Revision 7586317b: rules/mak: make clean should blow away timestamp files
Using a global pattern makes it easier to clean out
old generated files.
Signed-off-by: Michael S. Tsirkin <mst@redh...
Michael S. Tsirkin
01:31 am Revision 4b25966a: rules.mak: cleanup config generation rules
This addresses two issues with config generation
1. rule generating timestamp has side effect.
Thus cleanup on error ...
Michael S. Tsirkin
01:31 am Revision 41dc8a67: virtio-net: revert mac on reset
Once guest overrides virtio net primary mac,
it retains the value set until qemu exit.
This is inconsistent with stan...
Michael S. Tsirkin
01:31 am Revision a52a8841: e1000: document ICS read behaviour
Add code comment to clarify the reason we set ICS with ICR:
the reason was previously undocumented and git
log confus...
Michael S. Tsirkin
12:57 am Revision 0893d460: Merge remote-tracking branch 'qemu-kvm/uq/master' into staging
* qemu-kvm/uq/master:
target-i386: kvm: prevent buffer overflow if -cpu foo, [x]level is too big
vmxcap: bit 9 of...
Anthony Liguori
12:57 am Revision 0c770679: Merge remote-tracking branch 'mdroth/qga-pull-1-28-13' into staging
# By Markus Armbruster
# Via Michael Roth
* mdroth/qga-pull-1-28-13:
qemu-ga: Plug leaks on qmp_guest_network_get_i...
Anthony Liguori

01/29/2013

10:50 pm Revision 50c8d9bf: s390: Use s390_cpu_physical_memory_map for tpi.
Map the I/O interruption code before calling into css.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signe...
Cornelia Huck
10:50 pm Revision a5c95808: s390: Add s390-ccw-virtio machine.
Add a new machine type, s390-ccw-virtio, making use of the
virtio-ccw transport to present virtio devices as channel
...
Cornelia Huck
10:50 pm Revision 8d034a6f: s390: css error codes.
Changed error codes in the channel subsystem / virtio-ccw code
(-EOPNOTSUPP -> -ENOSYS, -ERESTART -> -EINPROGRESS).
...
Cornelia Huck
10:50 pm Revision 19380b1b: s390: Drop set_bit usage in virtio_ccw.
set_bit on indicators doesn't go well on 32 bit targets:
note: expected 'long unsigned int *' but argument is of typ...
Cornelia Huck
10:50 pm Revision 2e788490: sclpconsole: Don't instantiate sclpconsole with -nodefaults
libvirt specifies nodefaults and creates an sclp console with special
parameters. Let qemu follow nodefaults and don'...
Christian Borntraeger
10:50 pm Revision fad37673: s390-virtio: Factor out some initialization code.
Some of the machine initialization for s390-virtio will be reused
by virtio-ccw.
Signed-off-by: Cornelia Huck <corne...
Cornelia Huck
10:50 pm Revision db1c8f53: s390: Channel I/O basic definitions.
Basic channel I/O structures and helper function.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off...
Cornelia Huck
10:50 pm Revision 4782a23b: s390: Lowcore mapping helper.
Create a lowcore mapping helper that includes a check for sufficient
length.
Signed-off-by: Cornelia Huck <cornelia....
Cornelia Huck
10:50 pm Revision 5d69c547: s390: I/O interrupt and machine check injection.
I/O interrupts are queued per isc. Only crw pending machine checks
are supported.
Signed-off-by: Cornelia Huck <corn...
Cornelia Huck
10:50 pm Revision df1fe5bb: s390: Virtual channel subsystem support.
Provide a mechanism for qemu to provide fully virtual subchannels to
the guest.
Signed-off-by: Cornelia Huck <cornel...
Cornelia Huck
10:50 pm Revision 49973ebc: s390: Make typeinfo const
All TypeInfo definitions should be const.
Signed-off-by: Alexander Graf <agraf@suse.de>
Alexander Graf
10:50 pm Revision b73d3531: s390: Move hw files to hw/s390x
This moves all files only used by s390 system emulation to hw/s390x.
Signed-off-by: Alexander Graf <agraf@suse.de>
A...
Alexander Graf
10:50 pm Revision 3ef669e1: s390: Add default support for SCLP console
The current s390 machine uses the virtio console as default console,
but this doesn't mean that we always want to kee...
Alexander Graf
10:50 pm Revision 09b99878: s390: Wire up channel I/O in kvm.
Trigger the code for our virtual css in case of instruction
intercepts for I/O instructions.
Handle the tsch exit fo...
Cornelia Huck
10:50 pm Revision 93726cb3: virtio-s390: add a reset function to virtio-s390 devices
virtio-s390 devices are not being reset when their bus is. To fix
this, add a reset method that forwards to virtio_r...
Paolo Bonzini
10:50 pm Revision ab290630: s390-virtio: Check for NULL device in reset hypercall
s390_virtio_bus_find_mem() may return a NULL VirtIOS390Device.
If called with, e.g., args[0] == 0, this leads to a se...
Andreas Färber
10:50 pm Revision 38322ed6: s390: Add mapping helper functions.
Add s390_cpu_physical_memory_{map,unmap} with special handling
for the lowcore.
Signed-off-by: Cornelia Huck <cornel...
Cornelia Huck
10:50 pm Revision 7b18aad5: s390: Add channel I/O instructions.
Provide handlers for (most) channel I/O instructions.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed...
Cornelia Huck
10:50 pm Revision a5cf2bb4: s390: Add new channel I/O based virtio transport.
Add a new virtio transport that uses channel commands to perform
virtio operations.
Signed-off-by: Cornelia Huck <co...
Cornelia Huck
08:57 am Revision f8bb0565: target-i386: kvm: prevent buffer overflow if -cpu foo, [x]level is too big
Stack corruption may occur if too big 'level' or 'xlevel' values passed
on command line with KVM enabled, due to limi...
Igor Mammedov

01/28/2013

10:48 pm Revision ec9466ff: Merge remote-tracking branch 'afaerber/qom-cpu' into staging
* afaerber/qom-cpu: (37 commits)
kvm: Pass CPUState to kvm_on_sigbus_vcpu()
cpu: Unconditionalize CPUState fields...
Anthony Liguori
10:46 pm Revision 503cb22e: Merge remote-tracking branch 'kwolf/for-anthony' into staging
# By Paolo Bonzini (14) and others
# Via Kevin Wolf
* kwolf/for-anthony: (24 commits)
ide: Add fall through annotat...
Anthony Liguori
10:41 pm Revision 6cebf7af: Merge remote-tracking branch 'luiz/queue/qmp' into staging
# By Lei Li (3) and others
# Via Luiz Capitulino
* luiz/queue/qmp:
QAPI: Introduce memchar-read QMP command
QAPI:...
Anthony Liguori
09:46 pm Revision 10a2158f: qemu-ga: Plug leaks on qmp_guest_network_get_interfaces() error paths
Spotted by Coverity.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com...
Markus Armbruster
09:46 pm Revision 6f686749: qemu-ga: Plug memory leak in guest_fsfreeze_cleanup()
Neglects to free errors allocated by qmp_guest_fsfreeze_thaw().
Spotted by Coverity.
While there, drop the test whet...
Markus Armbruster
05:57 pm Revision a1ebd6ce: target-openrisc: Use type_register() instead of type_register_static()
According to its documentation, type_register_static()'s TypeInfo
argument should exist for the life type of the type...
Andreas Färber
05:57 pm Revision 2dddbc21: target-m68k: Use type_register() instead of type_register_static()
According to its documentation, type_register_static()'s TypeInfo
argument should exist for the life type of the type...
Andreas Färber
05:57 pm Revision 4933908a: target-unicore32: Catch attempt to instantiate abstract type in cpu_init()
Fixes -cpu unicore32-cpu asserting.
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
05:57 pm Revision 290adf38: kvm: Pass CPUState to kvm_on_sigbus_vcpu()
Since commit 20d695a9254c1b086a456d3b79a3c311236643ba (kvm: Pass
CPUState to kvm_arch_*) CPUArchState is no longer ne...
Andreas Färber
05:57 pm Revision c03c520d: cpu: Unconditionalize CPUState fields
Commits fc8c5b8c41ee5ba69d7a2be63b02a08c7b0b155b (Makefile.user: Define
CONFIG_USER_ONLY for libuser/) and
dd83b06ae6...
Andreas Färber
05:57 pm Revision 87fb5811: target-unicore32: Use type_register() instead of type_register_static()
According to its documentation, type_register_static()'s TypeInfo
argument should exist for the life type of the type...
Andreas Färber
05:54 pm Revision c432b784: target-openrisc: Catch attempt to instantiate abstract type in cpu_init()
There is no abstract OpenRISCCPU yet, but that seems a bug of its own.
Cc: qemu-stable@nongnu.org
Signed-off-by: And...
Andreas Färber
12:33 am Revision 245fb54d: target-arm: Catch attempt to instantiate abstract type in cpu_init()
This fixes -cpu arm-cpu asserting.
Cc: qemu-stable@nongnu.org
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Sig...
Andreas Färber
12:33 am Revision 17862378: qom: Introduce object_class_is_abstract()
This lets a caller check if an ObjectClass as returned by, e.g.,
object_class_by_name() is instantiatable.
Signed-of...
Andreas Färber
12:33 am Revision cae85065: target-m68k: Catch attempt to instantiate abstract type in cpu_init()
This fixes -cpu m68k-cpu asserting.
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
12:33 am Revision a120c287: target-alpha: Catch attempt to instantiate abstract type in cpu_init()
This fixes -cpu alpha-cpu asserting.
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
12:33 am Revision d89e1218: target-unicore32: Detect attempt to instantiate non-CPU type in cpu_init()
Consolidate model checking into a new uc32_cpu_class_by_name().
If the name matches an existing type, also check whe...
Andreas Färber
12:04 am Revision 98aca3c8: prep_pci: Create PCIBus and PCIDevice in-place
Prepares for QOM realizefn by removing object creation from qdev initfn.
Signed-off-by: Andreas Färber <andreas.faer...
Andreas Färber
12:04 am Revision 8d5ce2e5: prep_pci: Convert to QOM realizefn
SysBusDeviceClass' initfn merely calls SysBusDeviceClass::init, so we
can already hook up our own realizefn overwriti...
Andreas Färber

01/27/2013

03:52 pm Revision bd039ce0: target-openrisc: Detect attempt to instantiate non-CPU type in cpu_init()
Consolidate model checking into a new openrisc_cpu_class_by_name().
If the name matches an existing type, also check...
Andreas Färber
03:52 pm Revision bc5b2da3: target-m68k: Detect attempt to instantiate non-CPU type in cpu_init()
Consolidate model checking into a new m68k_cpu_class_by_name().
If the name matches an existing type, also check whe...
Andreas Färber
03:52 pm Revision 0e44a023: target-alpha: Detect attempt to instantiate non-CPU type in cpu_init()
Check in alpha_cpu_class_by_name() whether the type found is actually
(a sub-type of) TYPE_ALPHA_CPU.
This fixes, e....
Andreas Färber
03:52 pm Revision 2b8c2754: cpu: Add model resolution support to CPUClass
Introduce CPUClass::class_by_name and add a default implementation.
Hook up the alpha and ppc implementations.
Intro...
Andreas Färber
03:52 pm Revision 5900d6b2: target-arm: Detect attempt to instantiate non-CPU type in cpu_init()
Consolidate model checking into a new arm_cpu_class_by_name().
If the name matches an existing type, also check whet...
Andreas Färber
03:34 pm Revision 247c9de1: target-i386: Topology & APIC ID utility functions
This introduces utility functions for the APIC ID calculation, based on:
Intel® 64 Architecture Processor Topology ...
Eduardo Habkost
03:34 pm Revision 54fb7bf6: cpus.h: Make constant smp_cores/smp_threads available on *-user
The code that calculates the APIC ID will use smp_cores/smp_threads, so
just define them as 1 on *-user to avoid #ifd...
Eduardo Habkost
03:34 pm Revision cb41bad3: target-i386: Introduce x86_cpu_apic_id_from_index() function
This function will be used by both the CPU initialization code and the
fw_cfg table initialization code.
Later this ...
Eduardo Habkost
03:34 pm Revision 8932cfdf: pc: Generate APIC IDs according to CPU topology
This keeps compatibility on machine-types pc-1.2 and older, and prints a
warning in case the requested configuration ...
Eduardo Habkost
03:34 pm Revision 7fc9b714: target-i386: Drop redundant list of CPU definitions
It is no longer needed since dropping cpudef config file support.
Cleaning this up removes knowledge about other mode...
Andreas Färber
03:34 pm Revision 70db9222: fw_cfg: Remove FW_CFG_MAX_CPUS from fw_cfg_init()
PC will not use max_cpus for that field, so move it outside the common
code so it can use a different value on PC.
S...
Eduardo Habkost
03:34 pm Revision 99b88a17: target-i386: Replace uint32_t vendor fields by vendor string in x86_def_t
Vendor property setter takes string as vendor value but cpudefs
use uint32_t vendor[123] fields to define vendor valu...
Igor Mammedov
03:34 pm Revision 11acfdd5: target-i386: Remove vendor_override field from CPUX86State
Commit 8935499831312 makes cpuid return to guest host's vendor value
instead of built-in one by default if kvm_enable...
Igor Mammedov
03:34 pm Revision 4bfe910d: target-i386: Simplify cpu_x86_find_by_name()
Catch NULL name argument early to avoid repeated checks.
Similarly, check for -cpu host early and untangle from itera...
Andreas Färber
03:34 pm Revision 1d934e89: pc: Set fw_cfg data based on APIC ID calculation
This changes FW_CFG_MAX_CPUS and FW_CFG_NUMA to use apic_id_for_cpu(),
so the NUMA table can be based on the APIC IDs...
Eduardo Habkost
03:34 pm Revision a91987c2: target-i386: Set custom features/properties without intermediate x86_def_t
Move custom features parsing after built-in cpu_model defaults are set
and set custom features directly on CPU instan...
Igor Mammedov
03:34 pm Revision 2c728dfe: target-i386: Remove setting tsc-frequency from x86_def_t
Setting tsc-frequency from x86_def_t is NOP because default tsc_khz
in x86_def_t is 0 and CPUX86State.tsc_khz is also...
Igor Mammedov
03:34 pm Revision 8ba8a698: target-i386: Print deprecation warning if xlevel < 0x80000000
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: ...
Igor Mammedov
03:34 pm Revision d61a23ba: kvm: Add fake KVM_FEATURE_CLOCKSOURCE_STABLE_BIT for builds without KVM
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: A...
Eduardo Habkost
03:34 pm Revision 83b17af5: target-i386: kvm: Set vcpu_id to APIC ID instead of CPU index
The CPU ID in KVM is supposed to be the APIC ID, so change the
KVM_CREATE_VCPU call to match it. The current behavior...
Eduardo Habkost
03:34 pm Revision b164e48e: kvm: Create kvm_arch_vcpu_id() function
This will allow each architecture to define how the VCPU ID is set on
the KVM_CREATE_VCPU ioctl call.
Signed-off-by:...
Eduardo Habkost
03:34 pm Revision dd51dc52: target-openrisc: Clean up triple QOM casts
Instead of calling openrisc_env_get_cpu(), casting to CPU() via the
ENV_GET_CPU() compatibility macro and casting bac...
Andreas Färber
03:34 pm Revision aa87d458: target-i386: Don't set any KVM flag by default if KVM is disabled
This is a cleanup that tries to solve two small issues:
- We don't need a separate kvm_pv_eoi_features variable jus...
Eduardo Habkost
03:34 pm Revision 8486af93: target-openrisc: Drop OpenRISCCPUList
It was missed in 92a3136174f60ee45b113296cb2c2a5225b00369 (cpu:
Introduce CPUListState struct) because its naming did...
Andreas Färber
03:34 pm Revision 29694758: pc: Reverse pc_init_pci() compatibility logic
Currently, the pc-1.4 machine init function enables PV EOI and then
calls the pc-1.2 machine init function. The probl...
Eduardo Habkost
02:05 am Revision 6034fe7b: xilinx_ethlite: Avoid build warnings in debug code
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Edgar E. Iglesias
02:00 am Revision a56d305a: m25p80.c: Return state to IDLE after COLLECTING
Default to moving back to the IDLE state after the COLLECTING_DATA
state. For a well behaved guest this patch has no ...
Peter Crosthwaite
01:48 am Revision 2f991adb: xilinx_ethlite: Flush queued packets on SW service
Software services a received packet by clearing the CTRL_S bit in the RX_CTRLn
register. If this bit is cleared, flus...
Peter Crosthwaite
01:48 am Revision 808fb9f2: xilinx_ethlite: fix eth_can_rx() for ping-pong
The eth_can_rx() function only checks the first buffers status ("ping"). The
controller should be able to receive int...
Peter Crosthwaite

01/26/2013

04:18 pm Revision 13144781: Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf
* 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf:
PPC: e500: Select MPIC v4.2 on ppce500 platform
PPC: e500: f...
Blue Swirl
03:52 pm Revision c5cd02ba: tests: Add gcov support for x86_64 qtest
Since x86_64 is a superset of i386 and reuses all its test cases, adopt
all the i386 gcov source files as well, subst...
Andreas Färber
03:52 pm Revision cba040c2: tests: Add gcov support for sparc64 qtest
m48t59-test is individually being executed for sparc and sparc64, so add
the gcov source file for sparc64 as well.
S...
Andreas Färber
03:52 pm Revision 6a694495: tests: Fix gcov typo for tmp105-test
Commit 6e9989034b176a8e4cfdccd85892abfa73977ba7 introduced a new qtest
test case but misspelled gcov, leading to no c...
Andreas Färber
03:33 pm Revision 8cb6bfb5: vmware_vga: fix out of bounds and invalid rects updating
This is a follow up for several attempts to fix this issue.
Previous incarnations:
1. http://thread.gmane.org/gmane...
Michael Tokarev
03:32 pm Revision 3f0f31a0: tests: add fuzzing to visitor tests
Perform input tests on random data.
Improvement to code coverage for qapi/string-input-visitor.c
is about 3 percenta...
Blue Swirl
03:30 pm Revision 0c3c89d6: build: remove *.lo, *.a, *.la files from all subdirectories on make clean
.lo files in stubs/, util/ and libcacard/ were not cleaned.
Fix this.
Cc: Blue Swirl <blauwirbel@gmail.com>
Reported...
Paolo Bonzini
03:28 pm Revision 98ed805c: hw/arm_boot: Align device tree to 4KB boundary, not page
Align the device tree blob to a 4KB boundary, not to QEMU's
idea of a page boundary -- the latter is the smallest pos...
Peter Maydell
03:27 pm Revision 39099991: qemu-char: Avoid unused variable warning in some configs
Avoid unused variable warnings:
qemu-char.c: In function 'qmp_chardev_open_port':
qemu-char.c:3132: warning: unused v...
Peter Maydell
03:26 pm Revision 23bf49b5: make_device_config.sh: Fix target path in generated dependency file
config-devices.mak.d is included from Makefile.target, i.e. from inside
the *-softmmu/ directory. It included the dir...
Andreas Färber
03:23 pm Revision 9f8863eb: fw_cfg: Drop a few superfluous initializers
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Blu...
Markus Armbruster
03:23 pm Revision d09acb9b: fw_cfg: Splash image loader can overrun a stack variable, fix
read_splashfile() passes the address of an int variable as size_t *
parameter to g_file_get_contents(), with a cast t...
Markus Armbruster
03:22 pm Revision a6e7c184: softfloat: Handle float_muladd_negate_c when product is zero
Honour float_muladd_negate_c in the case where the product is zero and
c is nonzero. Previously we would fail to neg...
Richard Sandiford
03:20 pm Revision 89556d17: hw/smc91c111: Add explicit 'return' rather than relying on fallthrough
Add an explicit 'return' statement to a case in smc91c111_readb
rather than relying on fallthrough to the following c...
Peter Maydell
03:20 pm Revision 30954850: hw/pflash_cfi02.c: Mark deliberate fallthrough
Mark the deliberate fallthrough where we treat the case of
an attempt to read flash when it is an unknown command
sta...
Peter Maydell
03:20 pm Revision 139bd956: hw/omap1.c: Add fallthrough markers and breaks
Explicitly mark cases where we are deliberately falling
through to the following code. In one case we insert a
'break...
Peter Maydell
03:20 pm Revision de16017d: hw/pxa2xx_timer: Explicitly mark fallthroughs
Explicitly mark the fallthroughs as intentional in the code
pattern where we gradually increment an index before fall...
Peter Maydell
03:20 pm Revision be688dfb: hw/omap_dma, hw/omap_spi: Explicitly mark fallthroughs
Explicitly mark the fallthroughs as intentional in the code
pattern where we gradually increment an index before fall...
Peter Maydell
03:20 pm Revision bf4229d3: hw/arm_sysctl.c: Add missing 'break' statements
Add some break statements that were accidentally omitted
from some cases of arm_sysctl_write(). The omission was
harm...
Peter Maydell
03:19 pm Revision b4451996: link seccomp only with softmmu targets
Now, if seccomp is detected, it is linked into every executable,
but is used only by softmmu targets (from vl.c). So...
Michael Tokarev
03:18 pm Revision 0360ccff: bsd-user: avoid conflict with qemu_vmalloc
Rename qemu_vmalloc() to bsd_vmalloc(), adjust the only user.
Remove #ifdeffery in oslib-posix.c.
Tested-by: Andrea...
Blue Swirl
03:15 pm Revision 82cb6b04: build: remove extra-obj-y
extra-obj-y is somewhat complicated to understand. Replace it with a
special CONFIG_ALL symbol that is defined only ...
Paolo Bonzini
03:15 pm Revision 00082344: build: remove universal-obj-y
All of universal-obj-y, user-obj-y (right now unused) and common-obj-y can
be unified into common-obj-y if we take ca...
Paolo Bonzini
03:15 pm Revision 737f3518: build: use -$(CONFIG_SECCOMP) instead of ifeq
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Sw...
Paolo Bonzini
03:14 pm Revision 65980015: build: move around libcacard-y definition
It is also needed if !CONFIG_SOFTMMU, unlike everything that surrounds it.
Signed-off-by: Paolo Bonzini <pbonzini@red...
Paolo Bonzini
03:10 pm Revision 5f7a74a1: tests: adjust gcov variables for directory movement
I had missed the introduction of the gcov-files-* variables.
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Pa...
Paolo Bonzini

01/25/2013

11:02 pm Revision bd25922e: PPC: e500: fix mpic_iack address
MPIC+0xa0 is IACK for the current CPU. MPIC+0x200a0 is IACK for CPU 0.
This fix allows EPR to work with an SMP targe...
Scott Wood
11:02 pm Revision 03274d44: openpic: fix timer address decoding
The timer memory range begins at 0x10f0, so that address 0x1120 shows
up as 0x30, 0x1130 shows up as 0x40, etc. Howe...
Scott Wood
11:02 pm Revision f40c360c: openpic: fix remaining issues from idr-to-destmask conversion
openpic_update_irq() was checking idr rather than destmask, treating
it as if it were a simple bitmap of cpus. Chang...
Scott Wood
11:02 pm Revision e0dfe5b1: openpic: add basic support for MPIC v4.2
Besides the new value in the version register, this provides:
- ILR support, which includes:
- IDR becoming a pure ...
Scott Wood
11:02 pm Revision f5fba9d2: PPC: e500: Select MPIC v4.2 on ppce500 platform
The compatible string is changed to fsl,mpic on all e500 platforms, to
advertise the existence of BRR1. This matches...
Scott Wood
11:02 pm Revision 2e4a7c9c: adb: QOM'ify ADB devices
They were not qdev'ified before. Derive ADBDevice from DeviceState and
convert reset callbacks to DeviceClass::reset,...
Andreas Färber
11:02 pm Revision 84ede329: adb: QOM'ify Apple Desktop Bus
It was not a qbus before, turn it into a first-class bus and initialize
it properly from CUDA. Leave it a global vari...
Andreas Färber
11:02 pm Revision caae58cb: pseries: Improve handling of multiple PCI host bridges
Multiple - even many - PCI host bridges (i.e. PCI domains) are very
common on real PAPR compliant hardware. For reas...
David Gibson
11:02 pm Revision fe828a4d: target-ppc: Give a meaningful error if too many threads are specified
Currently the target-ppc tcg code only supports a single thread. You can
specify more, but they're treated identical...
Mike Qiu
11:02 pm Revision 1ea1ce8a: pseries: Adjust default VIO address allocations to play better with libvirt
Currently, if VIO devices for pseries don't have addresses explicitly
allocated, they get automatically numbered from...
David Gibson
11:02 pm Revision 293c867d: cuda: Move ADB bus into CUDA state
Replace the global adb_bus with a CUDA-internal one, accessed using
regular qdev child bus accessor.
Signed-off-by: ...
Andreas Färber
11:02 pm Revision d8c6d07f: mac_nvram: Mark as Big Endian
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Andreas Färber
11:02 pm Revision d037834a: macio: Split MacIO in two
Let the machines create two different types. This prepares to move
knowledge about sub-devices from the machines into...
Andreas Färber
11:02 pm Revision fcf1bbab: macio: QOM'ify some more
Move bar MemoryRegion initialization to an instance_init.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-of...
Andreas Färber
11:02 pm Revision 7b925079: macio: Delay qdev init until all fields are initialized
This turns macio_bar_setup() into an implementation detail of the qdev
initfn, to be removed step by step.
Signed-of...
Andreas Färber
11:02 pm Revision 95ed3b7c: mac_nvram: QOM'ify MacIO NVRAM
It was not qdev'ified before. Turn it into a SysBusDevice and
initialize it via static properties.
Prepare Old World...
Andreas Färber
11:02 pm Revision 07a7484e: ide/macio: QOM'ify MacIO IDE
It was not qdev'ified before. Turn it into a SysBusDevice.
Embed them into the MacIO devices.
Signed-off-by: Andreas...
Andreas Färber
11:02 pm Revision 3743cca7: mac_nvram: Clean up public API
The state data field is accessed in uint8_t quantities, so switch from
uint32_t argument and return value to uint8_t....
Andreas Färber
11:02 pm Revision 45fa67fb: cuda: QOM'ify CUDA
It was not qdev'ified before. Turn it into a SysBusDevice and embed it
in MacIO.
Signed-off-by: Andreas Färber <afae...
Andreas Färber
11:02 pm Revision baec1910: ppc: Move Mac machines to hw/ppc/
Signed-off-by: Andreas Färber <afaerber@suse.de>
[agraf: squash in MAINTAINERS fix]
Signed-off-by: Alexander Graf <ag...
Andreas Färber
07:27 pm Revision 67bec53d: ide: Add fall through annotations
Add comments to help static analysers detect that these cases are
intentional, and clean up some whitespace in the en...
Kevin Wolf
07:18 pm Revision a2623021: ahci: Add migration support
Jason tested these patches by migrating Windows 7 and Fedora 17 guests
(while under I/O) on both piix with ahci attac...
Jason Baron
07:18 pm Revision 86899072: block: Create proper size file for disk mirror
The qmp monitor command to mirror a disk was passing -1 for size
along with the disk's backing file. This size of the...
Vishvananda Ishaya
07:18 pm Revision 1147bb15: ahci: Remove unused AHCIDevice fields
'dma_status' and 'dma_cb' are written to, but never read.
Remove these fields in preparation for AHCI migration bits....
Jason Baron
07:18 pm Revision 4ac557c8: ahci: Change data types in preparation for migration
The size of an int depends on the host, so in order to be able to
migrate these fields, make them either int32_t or b...
Kevin Wolf
07:18 pm Revision 884fea4e: mirror: support arbitrarily-sized iterations
Yet another optimization is to extend the mirroring iteration to include more
adjacent dirty blocks. This limits the...
Paolo Bonzini
07:18 pm Revision 8937f822: block/vdi: Improved return values from vdi_open
vdi_open returned -1 in case of any error, but it should return an
error code (negative value of errno or -EMEDIUMTYP...
Stefan Weil
07:18 pm Revision 402a4741: mirror: support more than one in-flight AIO operation
With AIO support in place, we can start copying more than one chunk
in parallel. This patch introduces the required ...
Paolo Bonzini
07:18 pm Revision 15bac0d5: block: Use error code EMEDIUMTYPE for wrong format in some block drivers
This improves error reports for bochs, cow, qcow, qcow2, qed and vmdk
when a file with the wrong format is selected.
...
Stefan Weil
07:18 pm Revision 9f0470bb: block/vdi: Improve debug output for signature
The signature is a 32 bit value and needs up to 8 hex digits for printing.
Signed-off-by: Stefan Weil <sw@weilnetz.d...
Stefan Weil
07:18 pm Revision 0e87ba2c: block/vdi: Check for bad signature
vdi_open did not check for a bad signature.
This check was only in vdi_probe.
Signed-off-by: Stefan Weil <sw@weilnet...
Stefan Weil
07:18 pm Revision 88ff0e48: mirror: do nothing on zero-sized disk
On a zero-sized disk we need to break out of the job successfully
before bdrv_dirty_iter_init is called, otherwise yo...
Paolo Bonzini
07:18 pm Revision 1b095244: hbitmap: add assertion on hbitmap_iter_init
hbitmap_iter_init causes an out-of-bounds access when the "first"
argument is or greater than or equal to the size of...
Paolo Bonzini
07:18 pm Revision 02582abd: block: Add special error code for wrong format
The block drivers need a special error code for "wrong format".
From the available error codes EMEDIUMTYPE fits best....
Stefan Weil
07:18 pm Revision 08e4ed6c: mirror: add buf-size argument to drive-mirror
This makes sense when the next commit starts using the extra buffer space
to perform many I/O operations asynchronous...
Paolo Bonzini
07:18 pm Revision bd48bde8: mirror: switch mirror_iteration to AIO
There is really no change in the behavior of the job here, since
there is still a maximum of one in-flight I/O operat...
Paolo Bonzini
07:18 pm Revision 50717e94: block: allow customizing the granularity of the dirty bitmap
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin W...
Paolo Bonzini
07:18 pm Revision eee13dfe: mirror: allow customizing the granularity
The desired granularity may be very different depending on the kind of
operation (e.g. continuous replication vs. col...
Paolo Bonzini
07:18 pm Revision 8f0720ec: block: implement dirty bitmap using HBitmap
This actually uses the dirty bitmap in the block layer, and converts
mirroring to use an HBitmapIter.
Reviewed-by: L...
Paolo Bonzini
07:18 pm Revision acc906c6: block: return count of dirty sectors, not chunks
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzin...
Paolo Bonzini
07:18 pm Revision b812f671: mirror: perform COW if the cluster size is bigger than the granularity
When mirroring runs, the backing files for the target may not yet be
ready. However, this means that a copy-on-write...
Paolo Bonzini
07:18 pm Revision 343bded4: block: make round_to_clusters public
This is needed in the following patch.
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Blake <eblake...
Paolo Bonzini
07:18 pm Revision 4c37ef02: host-utils: add ffsl
We can provide fast versions based on the other functions defined
by host-utils.h. Some care is required on glibc, w...
Paolo Bonzini
07:18 pm Revision e7c033c3: add hierarchical bitmap data type and test cases
HBitmaps provides an array of bits. The bits are stored as usual in an
array of unsigned longs, but HBitmap is also ...
Paolo Bonzini
03:46 pm Revision 49b6d722: QAPI: Introduce memchar-read QMP command
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Lei Li
03:23 pm Revision 1f590cf9: QAPI: Introduce memchar-write QMP command
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Lei Li
03:23 pm Revision 51767e7c: qemu-char: Add new char backend CirMemCharDriver
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Lei Li
02:49 pm Revision 045a7085: docs: document virtio-balloon stats
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Luiz Capitulino
02:47 pm Revision 7e6ccd9c: balloon: re-enable balloon stats
The statistics are now available through device properties via a
polling mechanism. First a client has to enable poll...
Luiz Capitulino
02:36 pm Revision 01ceb97e: balloon: drop old stats code & API
Next commit will re-enable balloon stats with a different interface, but
this old code conflicts with it. Let's drop ...
Luiz Capitulino
02:36 pm Revision 58513bde: block: Monitor command commit neglects to report some errors
The non-live bdrv_commit() function may return one of the following
errors: -ENOTSUP, -EBUSY, -EACCES, -EIO. The onl...
Jeff Cody

01/24/2013

08:56 pm Revision 11c29918: Merge remote-tracking branch 'bonzini/scsi-next' into staging
# By Paolo Bonzini (1) and Peter Lieven (1)
# Via Paolo Bonzini
* bonzini/scsi-next:
iscsi: add support for iovecto...
Anthony Liguori
05:45 pm Revision b37a2e45: Revert "serial: fix retry logic"
This reverts commit 67c5322d7000fd105a926eec44bc1765b7d70bdd:
I'm not sure if the retry logic has ever worked wh...
Michael Tokarev
04:37 pm Revision 4790b03d: iscsi: do not leak acb->buf when commands are aborted
acb->buf is freed in the WRITE(16) callback, but this may not
get called at all when commands are aborted. Add anoth...
Paolo Bonzini
04:37 pm Revision 7371d56f: iscsi: add support for iovectors
This patch adds support for directly passing the iovec
array from QEMUIOVector if libiscsi supports it (1.8.0
or newe...
Peter Lieven
12:28 pm Revision 3f668b6c: target-cris: Fix typo in D_LOG() macro
It's __VA_ARGS__. Fixes the build with CRIS_[OP_]HELPER_DEBUG defined.
Broken since r6338 / 93fcfe39a0383377e647b821...
Andreas Färber
10:15 am Revision 9fc7577a: trivial: etraxfs_eth: Eliminate checkpatch errors
This is a trivial patch to harmonize the coding style on
hw/etraxfs_eth.c. This is in preparation to split off the bi...
Grant Likely

01/23/2013

05:08 pm Revision 177f7fc6: Merge remote-tracking branch 'bonzini/scsi-next' into staging
# By Peter Lieven (3) and others
# Via Paolo Bonzini
* bonzini/scsi-next:
scsi: Drop useless null test in scsi_unit...
Anthony Liguori
05:08 pm Revision 36ba5804: Merge remote-tracking branch 'kraxel/usb.77' into staging
# By Gerd Hoffmann
# Via Gerd Hoffmann
* kraxel/usb.77:
usb: add usb-bot device (scsi bulk-only transport).
ohci:...
Anthony Liguori
05:07 pm Revision a29a6b73: Merge remote-tracking branch 'spice/spice.v68' into staging
# By Alon Levy
# Via Gerd Hoffmann
* spice/spice.v68:
qxl: change rom size to 8192
qxl: stop using non revision 4...
Anthony Liguori

01/22/2013

04:07 pm Revision 032f0101: lsi: use qbus_reset_all to reset SCSI bus
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Paolo Bonzini
04:07 pm Revision 4cc841b5: iscsi: partly avoid iovec linearization in iscsi_aio_writev
libiscsi expects all write16 data in a linear buffer. If the
iovec only contains one buffer we can skip the lineariza...
Peter Lieven
04:07 pm Revision 0bf8264e: scsi: Drop useless null test in scsi_unit_attention()
req was created by scsi_req_alloc(), which initializes req->dev to a
value it dereferences. req->dev isn't changed a...
Markus Armbruster
04:07 pm Revision 5b5d34ec: iscsi: add support for iSCSI NOPs [v2]
This patch will send NOP-Out PDUs every 5 seconds to the iSCSI target.
If a consecutive number of NOP-In replies fail...
Peter Lieven
04:07 pm Revision 0369f06f: scsi: fix segfault with 0-byte disk
When a 0-sized disk is found, READ CAPACITY will return a
LUN NOT READY error. However, because it returns -1 instea...
Paolo Bonzini
04:07 pm Revision de8864e5: iscsi: add iscsi_create support
This patch adds support for bdrv_create. This allows e.g.
to use qemu-img to convert from any supported device to
an ...
Peter Lieven
12:09 pm Revision 7fa96d73: ohci: add missing break
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
12:09 pm Revision 34707333: usb: add usb-bot device (scsi bulk-only transport).
Basically the same as usb-storage, but without automatic scsi
device setup. Also features support for up to 16 LUNs....
Gerd Hoffmann
12:01 pm Revision 038c1879: qxl: change rom size to 8192
This is a simpler solution to 869981, where migration breaks since qxl's
rom bar size has changed. Instead of ignorin...
Alon Levy
12:01 pm Revision f4c0e501: Revert "usb-storage: Drop useless null test in usb_msd_handle_data()"
This reverts commit a1cbfd554e11bb8af38c2f3e1f1574bf4c563cd2.
Test isn't useless. scsi_req_enqueue() may finish the...
Gerd Hoffmann
12:01 pm Revision e0ac6097: qxl: stop using non revision 4 rom fields for revision < 4
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Alon Levy
03:11 am Revision f9e90c79: vmxcap: bit 9 of VMX_PROCBASED_CTLS2 is 'virtual interrupt delivery'
Bit 9 of MSR_IA32_VMX_PROCBASED_CTLS2 is
virtual interrupt delivery.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat...
Marcelo Tosatti

01/21/2013

09:52 pm Revision 1356b98d: sysbus: Drop sysbus_from_qdev() cast macro
Replace by SYS_BUS_DEVICE() QOM cast macro using a scripted conversion.
Avoids the old macro creeping into new code.
...
Andreas Färber
09:33 pm Revision 7536ee4b: vnc: added initial websocket protocol support
This patch adds basic Websocket Protocol version 13 - RFC 6455 - support
to QEMU VNC. Binary encoding support on the ...
Tim Hardeck
09:33 pm Revision 32ed2680: vnc: added buffer_advance function
Following Anthony Liguori's Websocket implementation I have added the
buffer_advance function to VNC and replaced all...
Tim Hardeck
09:33 pm Revision 6fd8e79a: vnc: fix possible uninitialized removals
Some VncState values are not initialized before the Websocket handshake.
If it fails QEMU segfaults during the cleanu...
Tim Hardeck
09:23 pm Revision 11e9235b: virtio-s390-device: create a virtio-s390-bus during init.
A virtio-s390-bus is created during the init. So one VirtIODevice can be
connected on the virtio-s390-device through ...
KONRAD Frederic
09:23 pm Revision ea35d4f1: virtio-s390-bus: add virtio-s390-bus.
This add the virtio-s390-bus which extends virtio-bus. So one VirtIODevice can
be connected on this bus.
Signed-off-...
KONRAD Frederic
09:23 pm Revision 085bccb7: virtio-pci: refactor virtio-pci device.
Create the virtio-pci device which is abstract. This transport device will
create a virtio-pci-bus, so one VirtIODevi...
KONRAD Frederic
09:23 pm Revision 8e05db92: virtio-device: refactor virtio-device.
Create the virtio-device which is abstract. All the virtio-device can extend
this class. It also add some functions t...
KONRAD Frederic
09:23 pm Revision ff8eca55: virtio-bus: introduce virtio-bus
Introduce virtio-bus. Refactored transport device will create a bus which
extends virtio-bus.
Signed-off-by: KONRAD ...
KONRAD Frederic
09:23 pm Revision 0a2acf5e: virtio-pci-bus: introduce virtio-pci-bus.
Introduce virtio-pci-bus, which extends virtio-bus. It is used with virtio-pci
transport device.
Signed-off-by: KONR...
KONRAD Frederic
09:23 pm Revision 1395af6f: qdev: add a maximum device allowed field for the bus.
Add a max_dev field to BusClass to specify the maximum amount of devices allowed
on the bus (has no effect if max_dev...
KONRAD Frederic
09:22 pm Revision 016c7182: Merge remote-tracking branch 'quintela/thread.next' into staging
# By Juan Quintela (7) and Paolo Bonzini (6)
# Via Juan Quintela
* quintela/thread.next:
migration: remove argument...
Anthony Liguori
03:32 pm Revision e0f01837: Merge remote-tracking branch 'stefanha/trivial-patches' into staging
# By Stefan Weil (2) and others
# Via Stefan Hajnoczi
* stefanha/trivial-patches:
hw/tpci200: Fix compiler warning ...
Anthony Liguori
03:32 pm Revision f2bdbd5b: Merge remote-tracking branch 'kraxel/seabios-1.7.2' into staging
# By Gerd Hoffmann
# Via Gerd Hoffmann
* kraxel/seabios-1.7.2:
seabios: update to 1.7.2 release
Anthony Liguori
02:36 pm Revision 56a8810d: target-microblaze: Drop unused cpu_mb_close() prototype
Such a function never existed.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Edgar E. Iglesias <ed...
Andreas Färber
02:36 pm Revision a42a56c5: target-cris: Drop unused cpu_cris_close() prototype
Such a function never existed.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Edgar E. Iglesias <ed...
Andreas Färber
12:39 pm Revision 09a021fb: hw/tpci200: Fix compiler warning (redefined symbol with MinGW)
STATUS_TIMEOUT is defined in winnt.h:
CC hw/tpci200.o
hw/tpci200.c:34:0:
warning: "STATUS_TIMEOUT" redefined [...
Stefan Weil
12:08 pm Revision d0f54533: hw: Spelling fix in log message
defineition -> definition
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Andreas F=E4rber <afaerber@suse.d...
Stefan Weil
12:08 pm Revision 5facfb49: acpitable: open the data file in binary mode
-acpitable {file|data}=file reads the content of file, but it is
in binary form, so the file should be opened usin O_...
Michael Tokarev
12:08 pm Revision acf15c89: configure: silence pkg-config's check for curses
Signed-off-by: Vadim Evard <v.e.evard@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Vadim Evard
10:17 am Revision 3588185b: seabios: update to 1.7.2 release
Not that many changes as we have a pretty recent git snapshot in master
already:
Hannes Reinecke (1):
megasas:...
Gerd Hoffmann

01/20/2013

07:01 pm Revision 8b17ed4c: Merge remote-tracking branch 'stefanha/block' into staging
# By Kevin Wolf (4) and others
# Via Stefan Hajnoczi
* stefanha/block:
dataplane: support viostor virtio-pci status...
Anthony Liguori

01/19/2013

10:01 pm Revision b54c2873: tci: Fix broken build (regression)
s390x-linux-user now also uses GETPC. Instead of adding it to the list of
targets which use GETPC, the macro is now d...
Stefan Weil
04:35 pm Revision c36dd8a0: block/raw-posix: Make hdev_aio_discard() available outside Linux
Fixes the build on OpenBSD among others.
Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Andreas Färber <...
Andreas Färber
12:30 pm Revision c1db2919: usb: Fix compilation for MinGW (regression)
84f2d0ea added an argument to function usb_host_info.
The stub function must match the declaration in usb.h.
Signed-...
Stefan Weil
12:29 pm Revision 249fe3f3: cpu-defs.h: Drop qemu_work_item prototype
Commit c64ca8140e9c21cd0d44c10fbe1247cb4ade8e6e (cpu: Move
queued_work_{first,last} to CPUState) moved the qemu_work_...
Andreas Färber
12:27 pm Revision 5256a720: tcg/target-arm: Add missing parens to assertions
Silence a (legitimate) complaint about missing parentheses:
tcg/arm/tcg-target.c: In function ‘tcg_out_qemu_ld’:
tcg...
Peter Maydell
12:24 pm Revision e4ada482: Replace non-portable asprintf by g_strdup_printf
g_strdup_printf already handles OOM errors, so some error handling in
QEMU code can be removed.
Signed-off-by: Stefa...
Stefan Weil
12:22 pm Revision 0e7a7592: vl: Use size_t for sizes in get_boot_devices_list()
Code mixes uint32_t, int and size_t. Very unlikely to go wrong in
practice, but clean it up anyway.
Signed-off-by: ...
Markus Armbruster
12:22 pm Revision 089da572: fw_cfg: Use void *, size_t instead of uint8_t *, uint32_t for blobs
Many callers pass size_t, which gets silently truncated to uint32_t.
Harmless, because all practical sizes are well b...
Markus Armbruster
12:22 pm Revision b3dd1552: pc: Clean up bochs_bios_init()'s (non-)use of sizeof
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Markus Armbruster
12:22 pm Revision 0e0d2d62: sun4: Fix unchecked strdup() by switching to fw_cfg_add_string()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Markus Armbruster
12:22 pm Revision 96f80586: pc: Fix unchecked strdup() by switching to fw_cfg_add_string()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Markus Armbruster
12:22 pm Revision 44687f75: fw_cfg: New fw_cfg_add_string()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Markus Armbruster
12:22 pm Revision 4cad3867: fw_cfg: Dumb down fw_cfg_add_*() not to return success / failure
No caller is checking the value, so all errors get ignored, usually
silently. assert() instead.
Signed-off-by: Mark...
Markus Armbruster
12:22 pm Revision f6e35343: fw_cfg: Replace debug prints by tracepoints
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Markus Armbruster
12:13 pm Revision 633f6502: optimize: optimize using nonzero bits
This adds two optimizations using the non-zero bit mask. In some cases
involving shifts or ANDs the value can become...
Paolo Bonzini
12:13 pm Revision 3a9d8b17: optimize: track nonzero bits of registers
Add a "mask" field to the tcg_temp_info struct. A bit that is zero
in "mask" will always be zero in the correspondin...
Paolo Bonzini
12:13 pm Revision d193a14a: optimize: only write to state when clearing optimizer data
The next patch will add to the TCG optimizer a field that should be
non-zero in the default case. Thus, replace the ...
Paolo Bonzini
11:56 am Revision 75f0585f: Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf
* 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf:
PPC: KVM: Add support for EPR with KVM
openpic: export e500 ...
Blue Swirl
11:55 am Revision 67c4f2d0: Merge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf
* 's390-for-upstream' of git://repo.or.cz/qemu/agraf:
s390: Add a hypercall registration interface.
target-s390x:...
Blue Swirl
11:54 am Revision 48b8599c: Merge branch 'axp-next' of git://github.com/rth7680/qemu
* 'axp-next' of git://github.com/rth7680/qemu:
alpha-linux-user: Correct select
alpha-linux-user: Translate fcntl...
Blue Swirl

01/18/2013

08:07 pm Revision e674a49a: s390: Move IPL code into a separate device
Lets move the code to setup IPL for external kernel
or via the zipl rom into a separate file. This allows to
- defin...
Christian Borntraeger
08:07 pm Revision 904e5fd5: S390: Enable -cpu help and QMP query-cpu-definitions
This enables qemu -cpu help to return a list of supported CPU models
on s390 and also to query for cpu definitions in...
Viktor Mihajlovski
08:07 pm Revision ccb084d3: s390: new contributions GPLv2 or later
IBMs s390 contributions were meant to to be gplv2 or later (since
we were contributing to qemu). Several of the s390 ...
Christian Borntraeger
08:07 pm Revision a158986d: s390x: Remove inline function ebcdic_put and related data from cpu.h
The function is only used in misc_helper.c, so move it to that file.
This reduces the size of debug executables (com...
Stefan Weil
08:07 pm Revision 28e942f8: s390: Add a hypercall registration interface.
Allow virtio machines to register for different diag500 function
codes and convert s390-virtio to use it.
Signed-off...
Cornelia Huck
08:07 pm Revision d5627ce8: target-s390x: Unregister reset callback on finalization
Since commit "s390: Add CPU reset handler" the CPU's instance_init
registers a reset callback. Unregister that on ins...
Andreas Färber
08:07 pm Revision 70bada03: s390: Add CPU reset handler
Add a CPU reset handler to have all CPUs in a PoP compliant
state.
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ib...
Jens Freimann
08:07 pm Revision 419831d7: s390x: fix indentation
In one of the last commits we accidently got 3-space indentation into
the tree. Fix it up so it's 4 spaces wide.
Rep...
Alexander Graf
08:06 pm Revision e49798b1: openpic: export e500 epr enable into a ppc.c function
Enabling and disabling the EPR capability (mpic_proxy) is a system
wide operation. As such, it belongs into the ppc.c...
Alexander Graf
08:06 pm Revision 746a870b: PPC: Provide zero SVR for -cpu e500mc and e5500
Even though our -cpu types for e500mc and e5500 are no real CPUs that
actually have version registers, a guest might ...
Alexander Graf
08:06 pm Revision 528e536e: PPC: E500: Calculate loading blob offsets properly
We have 3 blobs we need to load when booting the system:
- kernel
- initrd
- dtb
We place them in physical me...
Alexander Graf
08:06 pm Revision 5b95b8b9: PPC: KVM: Add support for EPR with KVM
This patch links KVM EPR support to the existing TCG support we have now.
Signed-off-by: Alexander Graf <agraf@suse.de>
Alexander Graf
08:06 pm Revision b8dec144: PPC: e500: Change in-memory order of load blobs
Today, we load
<kernel> <initrd> <dtb>
into memory in that order. However, Linux has a bug where it can only
hand...
Alexander Graf
08:06 pm Revision d3dccee1: Update Linux kernel headers
Based on kvm.git a843fac (next) plus dfdebc24 (master).
Signed-off-by: Alexander Graf <agraf@suse.de>
Alexander Graf
08:06 pm Revision 86e56a88: openpic: set mixed mode as supported
The Raven MPIC implementation supports the "Mixed" mode to work with
an i8259. While we don't implement mixed mode, w...
Alexander Graf
08:06 pm Revision 1ac3d713: openpic: unify gcr mode mask updates
The mode mask already masks out bits we don't care about, so the
actual handling code can stay intact regardless.
Si...
Alexander Graf
08:06 pm Revision 7f11573b: openpic: move gcr write into a function
The GCR register contains too much functionality to be covered inside
of the register switch statement. Move it out i...
Alexander Graf
05:59 pm Revision cf139388: dataplane: support viostor virtio-pci status bit setting
The viostor virtio-blk driver for Windows does not use the
VIRTIO_CONFIG_S_DRIVER bit. It only sets the VIRTIO_CONFI...
Stefan Hajnoczi
05:57 pm Revision cd7fdfe5: dataplane: avoid reentrancy during virtio_blk_data_plane_stop()
When dataplane is stopping, the s->vdev->binding->set_host_notifier(...,
false) call can invoke the virtqueue handler...
Stefan Hajnoczi
10:57 am Revision 3249dbe6: win32-aio: use iov utility functions instead of open-coding them
We have iov_from_buf() and iov_to_buf(), use them instead of
open-coding these in block/win32-aio.c
Signed-off-by: S...
Michael Tokarev

01/17/2013

09:09 pm Revision ddc01bf1: Merge remote-tracking branch 'luiz/queue/qmp' into staging
# By Wenchao Xia
# Via Luiz Capitulino
* luiz/queue/qmp:
HMP: add sub command table to info
HMP: move define of m...
Anthony Liguori
05:45 pm Revision e387f99e: virtio-pci: fix irqfd cleanup argument order
Order of arguments of kvm_virtio_pci_irqfd_release
got mixed up in all calls.
As a result users see assertions during...
Michael S. Tsirkin
03:33 pm Revision 782beb52: qom: Extend documentation on QOM method concepts
Add a documentation section "Methods" and discuss among others how to
handle overriding virtual methods.
Clarify Dev...
Andreas Färber
03:32 pm Revision 781c0c33: Makefile: drop recursive libcacard clean
Commit eb8eb53e5846a957cf333f2e1ec8cb6e0c04 ("libcacard: rewrite
Makefile in non-recursive style") refactored libcaca...
Stefan Hajnoczi
02:54 pm Revision 6522773f: migration: remove argument to qemu_savevm_state_cancel
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed...
Juan Quintela
02:54 pm Revision 7de6a690: migration: move exit condition to migration thread
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed...
Juan Quintela
02:54 pm Revision b22ff1fb: migration: Only go to the iterate stage if there is anything to send
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: ...
Juan Quintela
02:54 pm Revision f7b67be3: migration: Add buffered_flush error handling
Now that we have error handling we can do proper handling of
buffered_flush().
Signed-off-by: Juan Quintela <quintel...
Juan Quintela
02:54 pm Revision c369f40d: migration: unfold rest of migrate_fd_put_ready() into thread
This will allow us finer control in next patches.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: R...
Juan Quintela
02:54 pm Revision 76f5933a: migration: move beginning stage to the migration thread
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed...
Juan Quintela
02:54 pm Revision 25242635: migration: remove double call to migrate_fd_close
The call in buffered_close is enough, because buffered_close is called
already by migrate_fd_cleanup.
Signed-off-by:...
Paolo Bonzini
02:54 pm Revision afe41931: qemu-file: Only set last_error if it is not already set
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed...
Juan Quintela
02:54 pm Revision b9c961a8: migration: make function static
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: R...
Paolo Bonzini
02:54 pm Revision 1e973051: migration: fix off-by-one in buffered_rate_limit
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: R...
Paolo Bonzini
02:53 pm Revision f65a8747: use XFER_LIMIT_RATIO consistently
commit 5b4e1eb769eee892b44d3f6b2369b05196442f59
missed this use.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>...
Paolo Bonzini
02:27 pm Revision fb3409de: Unlock ramlist lock also in error case
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: R...
Paolo Bonzini
02:27 pm Revision 9c339485: Protect migration_bitmap_sync() with the ramlist lock
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: R...
Paolo Bonzini
02:24 pm Revision 84c44613: HMP: add sub command table to info
Now info command takes a table of sub info commands,
and changed do_info() to do_info_help() to do help funtion
only....
Wenchao Xia
02:24 pm Revision 5f11cb00: HMP: delete info handler
Now cmd and info handler have same format, so delete info handler.
Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ib...
Wenchao Xia
02:24 pm Revision 5f3d335f: HMP: add infrastructure for sub command
This patch make parsing of hmp command aware of that it may
have sub command. Also discard simple encapsulation funct...
Wenchao Xia
02:24 pm Revision 84f2d0ea: HMP: add QDict to info callback handler
This patch change all info call back function to take
additional QDict * parameter, which allow those command
take pa...
Wenchao Xia
02:24 pm Revision a13ced59: HMP: move define of mon_cmds
Because mon_cmds may use info_cmds, so adjust the declare sequence
of them.
Signed-off-by: Wenchao Xia <xiawenc@linu...
Wenchao Xia
11:58 am Revision e8bccad5: win32-aio: Fix memory leak
The buffer is allocated for both reads and writes, and obviously it
should be freed even if an error occurs.
Cc: qem...
Kevin Wolf
11:57 am Revision bcbbd234: win32-aio: Fix vectored reads
Copying data in the right direction really helps a lot!
Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@...
Kevin Wolf
11:51 am Revision 2ea9b58f: aio: Fix return value of aio_poll()
aio_poll() must return true if any work is still pending, even if it
didn't make progress, so that bdrv_drain_all() d...
Kevin Wolf
11:51 am Revision 6bf3ee07: ide: Remove wrong assertion
The Bus Master IDE Active bit (BM_STATUS_DMAING) is not only set when
the request is still in flight, but also when i...
Kevin Wolf
11:51 am Revision 6d759117: block: fix null-pointer bug on error case in block commit
This is a bug that was caught by a coverity run by Markus. In
the error case when we errored out to exit_restore_ope...
Jeff Cody
03:31 am Revision a4cbfe24: bswap: improve gluing
OpenBSD system compiler (gcc 4.2.1) has problems with concatenation
of macro arguments in macro functions:
CC ae...
Blue Swirl

01/16/2013

11:20 pm Revision 47f4dac3: Merge remote-tracking branch 'kraxel/chardev.1' into staging
# By Gerd Hoffmann
# Via Gerd Hoffmann
* kraxel/chardev.1:
chardev: add pty chardev support to chardev-add (qmp)
...
Anthony Liguori
08:15 pm Revision af381ebe: build: fix Win32 clean build
The version.o file did not appear explicitly as a dependency, and
this caused clean builds to fail. Force its build ...
Paolo Bonzini
08:14 pm Revision 6e998903: tests: Add tmp105 qtest test case
Exercise all four commands of the TMP105, testing for an issue in the
I2C TX path.
The test case uses the N800's OMA...
Andreas Färber
08:14 pm Revision 6d0b4301: tmp105: Split out I2C message constants from header
Allows value sharing with qtest.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Reviewed-by: Anthony Liguori...
Andreas Färber
08:14 pm Revision cb5ef3fa: tmp105: Fix I2C protocol bug
An early length postincrement in the TMP105's I2C TX path led to
transfers of more than one byte to place the second ...
Andreas Färber
08:14 pm Revision 2aad80ee: tmp105: QOM'ify
Introduce TYPE_ constant and cast macro.
Move the state struct to the new header to allow for future embedding.
Sign...
Andreas Färber
08:14 pm Revision eb60d1c5: tmp105: Add temperature QOM property
This obsoletes tmp105_set() and allows for better error handling.
Signed-off-by: Andreas Färber <andreas.faerber@web...
Andreas Färber
08:14 pm Revision 2bf7b457: libqtest: Prepare I2C libqos
This adds a simple I2C API and a driver implementation for omap_i2c.
Signed-off-by: Andreas Färber <andreas.faerber@...
Andreas Färber
08:03 pm Revision 457b6543: audio: Replace non-portable asprintf in debug code by g_strdup_printf
sw->name already uses the correct g_free to free the allocated memory.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
S...
Stefan Weil
08:03 pm Revision a1cbfd55: usb-storage: Drop useless null test in usb_msd_handle_data()
scsi_req_new() never returns null, and scsi_req_enqueue() dereferences
the pointer, so checking for null is useless.
...
Markus Armbruster
08:02 pm Revision 955d7b26: ui: Drop useless null tests in parse_keyboard_layout()
Spotted by Coverity.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@u...
Markus Armbruster
08:02 pm Revision 4ecf8aa5: pseries: Replace non-portable asprintf by g_strdup_printf
g_strdup_printf already handles OOM errors, so some error handling in
QEMU code can be removed.
Signed-off-by: Stefa...
Stefan Weil
07:49 pm Revision b8e76b35: Add new DEFAULT_MACHINE_OPTIONS to q35 and ppc405
Without this default q35/ppc405 based machines would no longer boot
after commit e4ada29e909787f629626660b1561f6a6801...
Knut Omang
06:15 pm Revision 9468a5d4: alpha-linux-user: Correct select
Alpha, like s390x, passes all select arguments in registers.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signe...
Laurent Vivier
06:13 pm Revision 2ba7f730: alpha-linux-user: Translate fcntl l_type
The values of F_RDLCK, F_WRLCK, F_UNLCK, F_EXLCK, F_SHLCK
differ between alpha and other linux architectures.
This p...
Laurent Vivier
07:58 am Revision f1a1a356: chardev: add qmp hotplug commands, with null chardev support
Add chardev-add and chardev-remove qmp commands. Hotplugging
a null chardev is supported for now, more will be added...
Gerd Hoffmann
07:58 am Revision f1088908: chardev: add hmp hotplug commands
Add chardev-add and chardev-remove commands to the human monitor.
chardev-add accepts the same syntax as -chardev, ch...
Gerd Hoffmann
07:58 am Revision 0a1a7fab: chardev: add pty chardev support to chardev-add (qmp)
The ptsname is returned directly, so there is no need to
use query-chardev to figure the pty device path.
Signed-off...
Gerd Hoffmann
07:58 am Revision f6bd5d6e: chardev: add socket chardev support to chardev-add (qmp)
qemu_chr_open_socket is split into two functions. All initialization
after creating the socket file handler is split...
Gerd Hoffmann
07:58 am Revision d59044ef: chardev: add serial chardev support to chardev-add (qmp)
Similar to file, except that no separate in/out files are supported
because it's pointless for direct device access. ...
Gerd Hoffmann
07:58 am Revision ffbdbe59: chardev: add file chardev support to chardev-add (qmp)
Add support for file chardevs. Output file is mandatory,
input file is optional.
Signed-off-by: Gerd Hoffmann <krax...
Gerd Hoffmann
07:58 am Revision 88a946d3: chardev: add parallel chardev support to chardev-add (qmp)
Also alias the old parport name to parallel for -chardev.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Gerd Hoffmann
07:58 am Revision bd2d80b2: chardev: add error reporting for qemu_chr_new_from_opts
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
07:58 am Revision 2274ae9d: chardev: fix QemuOpts lifecycle
qemu_chr_new_from_opts handles QemuOpts release now, so callers don't
have to worry. It will either be saved in Char...
Gerd Hoffmann
07:58 am Revision e551498e: chardev: reduce chardev ifdef mess a bit
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
02:27 am Revision 249d4172: qdev: Prepare "realized" property
Introduce the QOM realizefn suggested by Anthony.
Detailed documentation is supplied in the qdev header.
For now thi...
Andreas Färber
02:26 am Revision 7983c8a3: qdev: Fold state enum into bool realized
Whether the device was initialized or not is QOM-level information and
currently unused. Drop it from device. This le...
Andreas Färber
02:26 am Revision e4ada29e: Make default boot order machine specific
This patch makes default boot order machine specific instead of
set globally. The default boot order can be set per m...
Avik Sil
02:26 am Revision 2c9ee029: pseries: set no default boot order
This patch removes the default boot order for pseries machine. This allows
the machine to handle a NULL boot order in...
Avik Sil
02:25 am Revision 038794cf: acl: Free memory allocated with g_malloc() with g_free()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Markus Armbruster
02:25 am Revision c23c15d3: acl: Fix acl_remove not to mess up the ACL
It leaks memory and fails to adjust qemu_acl member nentries. Future
acl_add become confused: can misreport the posi...
Markus Armbruster
02:25 am Revision cc69bda6: sdl: Fix heap smash in sdl_zoom_rgb{16,32} for int > 32 bits
Careless use of malloc(): allocate Uint32[N], assign to int *, use
int[N].
Fix by converting to g_new().
Functions ...
Markus Armbruster
02:25 am Revision dabe3143: kvm: add stub for kvm_irqchip_update_msi_route
ppc64 build needs this stub to build with virtio enabled.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-...
Michael S. Tsirkin
12:54 am Revision 8ec12ec7: Merge remote-tracking branch 'afaerber/memory-ioport' into staging
* afaerber/memory-ioport:
acpi_piix4: Do not use old_portio-style callbacks
xen_platform: Do not use old_portio-s...
Anthony Liguori
12:53 am Revision 58a864de: Merge remote-tracking branch 'stefanha/trivial-patches' into staging
* stefanha/trivial-patches:
configure: try pkg-config for curses
qom: Make object_resolve_path_component() path a...
Anthony Liguori
12:52 am Revision b9f84ac0: Merge remote-tracking branch 'stefanha/block' into staging
* stefanha/block:
block: Fix how mirror_run() frees its buffer
win32-aio: Fix how win32_aio_process_completion() ...
Anthony Liguori
12:52 am Revision c94bf1c1: Merge remote-tracking branch 'afaerber/qom-cpu' into staging
* afaerber/qom-cpu:
target-i386: Use switch in check_hw_breakpoints()
target-i386: Avoid goto in hw_breakpoint_in...
Anthony Liguori
12:52 am Revision bdb8872c: Merge remote-tracking branch 'afaerber-or/prep-up' into staging
* afaerber-or/prep-up:
pc87312: Avoid define conflict on mingw32
pc87312: Replace register_ioport_*() with Memory...
Anthony Liguori
12:50 am Revision 2fd3402d: Merge remote-tracking branch 'mdroth/qga-pull-1-14-2013-2' into staging
* mdroth/qga-pull-1-14-2013-2:
qga: add missing commas in json docs
Signed-off-by: Anthony Liguori <aliguori@us.ib...
Anthony Liguori
12:49 am Revision dd25f938: Merge remote-tracking branch 'mdroth/qga-pull-1-14-2013' into staging
* mdroth/qga-pull-1-14-2013:
qemu-ga: Handle errors uniformely in ga_channel_open()
qemu-ga: Plug fd leak on ga_c...
Anthony Liguori
12:49 am Revision 5e72179b: Merge remote-tracking branch 'sstabellini/xen-2013-01-14' into staging
* sstabellini/xen-2013-01-14:
xen_disk: implement BLKIF_OP_FLUSH_DISKCACHE, remove BLKIF_OP_WRITE_BARRIER
xen_dis...
Anthony Liguori

01/15/2013

08:45 pm Revision 7a652efa: xen_platform: Do not use old_portio-style callbacks
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Hervé Poussineau
08:45 pm Revision c3a29809: acpi_piix4: Do not use old_portio-style callbacks
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
[AF: Used HWADDR_PRIx for hwaddr PIIX4_DPRINTF()]
Signed-off-b...
Hervé Poussineau
08:45 pm Revision ecd584b8: hw/dma.c: Fix conversion of ioport_register* to MemoryRegion
The commit 582299336879504353e60c7937fbc70fea93f3da introduced a 1-shift for
some offset in DMA emulation.
Before th...
Julien Grall
07:09 pm Revision ecbe251f: configure: try pkg-config for curses
Static linkikng against ncurses may require explicit -ltinfo.
In case -lcurses and -lncurses both didn't work give pk...
Vadim Evard
06:28 pm Revision 7191bf31: block: Fix how mirror_run() frees its buffer
It allocates with qemu_blockalign(), therefore it must free with
qemu_vfree(), not g_free().
Signed-off-by: Markus A...
Markus Armbruster
05:47 pm Revision 7479acdb: win32-aio: Fix how win32_aio_process_completion() frees buffer
win32_aio_submit() allocates it with qemu_blockalign(), therefore it
must be freed with qemu_vfree(), not g_free().
...
Markus Armbruster
05:47 pm Revision db4c34c3: scsi-disk: qemu_vfree(NULL) is fine, simplify
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Kevin...
Markus Armbruster
05:46 pm Revision 94c8ff3a: w32: Make qemu_vfree() accept NULL like the POSIX implementation
On POSIX, qemu_vfree() accepts NULL, because it's merely wrapper
around free(). As far as I can tell, the Windows im...
Markus Armbruster
02:40 pm Revision f700f8e3: sheepdog: clean up sd_aio_setup()
The last two parameters of sd_aio_setup() are never used, so remove them.
Cc: MORITA Kazutaka <morita.kazutaka@lab.n...
Liu Yuan
12:18 pm Revision 47783072: sheepdog: multiplex the rw FD to flush cache
This will reduce sockfds connected to the sheep server to one, which simply the
future hacks.
Cc: MORITA Kazutaka <m...
Liu Yuan
11:54 am Revision 3e84b483: qom: Make object_resolve_path_component() path argument const
A usage with a hardcoded partial path such as
object_resolve_path_component(obj, "foo")
is totally valid but curr...
Andreas Färber
11:34 am Revision a87eec76: Add libcacard/trace/generated-tracers.c to .gitignore
Signed-off-by: Alex Rozenman <Alex_Rozenman@mentor.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Alex Rozenman
11:03 am Revision 501378c3: ide: issue discard asynchronously but serialize the pieces
Now that discard can take a long time, make it asynchronous.
Each LBA range entry is processed separately because dis...
Paolo Bonzini
11:03 am Revision df702c9b: block: clear dirty bitmap when discarding
Note that resetting bits in the dirty bitmap is done _before_ actually
processing the request. Writes, instead, set ...
Paolo Bonzini
11:03 am Revision 80bc2e8d: ide: fix TRIM with empty range entry
ATA-ACS-3 says "If the two byte range length is zero, then the LBA
Range Entry shall be discarded as padding." iovec...
Paolo Bonzini
11:03 am Revision 3d4fa43e: raw-posix: support discard on more filesystems
Linux 2.6.38 introduced the filesystem independent interface to
deallocate part of a file. As of Linux 3.7, btrfs, ex...
Kusanagi Kouichi
11:03 am Revision fcd9d455: raw: support discard on block devices
Block devices use a ioctl instead of fallocate, so add a separate
implementation.
Signed-off-by: Paolo Bonzini <pbon...
Paolo Bonzini
11:03 am Revision 8238010b: block: make discard asynchronous
This is easy with the thread pool, because we can use s->is_xfs and
s->has_discard from the worker function.
QEMU ha...
Paolo Bonzini
11:03 am Revision c85191e5: raw-posix: remember whether discard failed
Avoid sending system calls repeatedly if they shall fail. This
does not apply to XFS: if the filesystem-specific ioc...
Paolo Bonzini
10:24 am Revision 029d091e: block: fix initialization in bdrv_io_limits_enable()
bdrv_io_limits_enable() starts a new slice, but does not set io_base
correctly for that slice.
Here is how io_base i...
Peter Lieven
10:23 am Revision e175bce5: target-i386: Use switch in check_hw_breakpoints()
Replace an if statement using magic numbers for breakpoint type with a
more explicit switch statement. This is to aid...
liguang
10:23 am Revision 1cc21a18: target-i386: Avoid goto in hw_breakpoint_insert()
"Go To Statement Considered Harmful" -- E. Dijkstra
To avoid an unnecessary goto within the switch statement, move
w...
liguang
10:14 am Revision 5902564a: target-i386: Introduce hw_{local,global}_breakpoint_enabled()
hw_breakpoint_enabled() returned a bit field indicating whether a local
breakpoint and/or global breakpoint was enabl...
liguang
10:14 am Revision 428065ce: target-i386: Define DR7 bit field constants
Implicit use of dr7 bit field is a little hard to understand,
so define constants for them and use them consistently....
liguang
10:08 am Revision 8d2497c3: qcow2: Fix segfault on zero-length write
One of the recent refactoring patches (commit f50f88b9) didn't take care
to initialise l2meta properly, so with zero-...
Kevin Wolf
05:09 am Revision 5ec01c2e: target-i386: Move kvm_check_features_against_host() check to realize time
kvm_check_features_against_host() should be called when features can't
be changed, and when features are converted to...
Igor Mammedov
05:09 am Revision 077c68c3: target-i386: Move setting defaults out of cpu_x86_parse_featurestr()
No functional change, needed for simplifying conversion to properties.
Signed-off-by: Igor Mammedov <imammedo@redhat...
Igor Mammedov
05:09 am Revision bffd67b0: target-i386: kvm_check_features_against_host(): Use feature_word_info
Instead of carrying the CPUID leaf/register and feature name array on
the model_features_t struct, move that informat...
Eduardo Habkost
05:09 am Revision 4a1e40b5: xen: Simplify halting of first CPU
Use the global first_cpu variable to halt the CPU rather than using a
local first_cpu initialized from qemu_get_cpu(0...
Andreas Färber
05:09 am Revision 07ca5945: target-i386: check/enforce: Check all feature words
This adds the following feature words to the list of flags to be checked
by kvm_check_features_against_host():
- cp...
Eduardo Habkost
05:09 am Revision 89e49c8b: target-i386/cpu.c: Add feature name array for ext4_features
Feature names were taken from the X86_FEATURE_* constants in the Linux
kernel code.
Signed-off-by: Eduardo Habkost <...
Eduardo Habkost
05:09 am Revision fa2db3c4: target-i386: cpu_x86_register() consolidate freeing resources
Freeing resources in one place would require setting 'error'
to not NULL, so add some more error reporting before jum...
Igor Mammedov
05:09 am Revision 38d8f5c8: exec: Return CPUState from qemu_get_cpu()
Move the declaration to qemu/cpu.h and add documentation.
The implementation still depends on CPUArchState for CPU it...
Andreas Färber
05:09 am Revision 9ca58923: kvm: Add fake KVM constants to avoid #ifdefs on KVM-specific code
Any KVM-specific code that use these constants must check if
kvm_enabled() is true before using them.
Signed-off-by:...
Eduardo Habkost
05:09 am Revision 6a4784ce: target-i386: Disable kvm_mmu by default
KVM_CAP_PV_MMU capability reporting was removed from the kernel since
v2.6.33 (see commit a68a6a7282373), and was com...
Eduardo Habkost
05:09 am Revision 5ef57876: target-i386/cpu: Introduce FeatureWord typedefs
This introduces a FeatureWord enum, FeatureWordInfo struct (with
generation information about a feature word), and a ...
Eduardo Habkost
05:09 am Revision 504134d2: kvm: Pass CPUState to kvm_init_vcpu()
CPUArchState is no longer needed, and it thereby no longer depends on
NEED_CPU_H.
Signed-off-by: Andreas Färber <afa...
Andreas Färber
05:09 am Revision 55e5c285: cpu: Move cpu_index field to CPUState
Note that target-alpha accesses this field from TCG, now using a
negative offset. Therefore the field is placed last ...
Andreas Färber
05:09 am Revision 1b1ed8dc: cpu: Move numa_node field to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de> Andreas Färber
05:09 am Revision 66afd1ad: target-mips: Clean up mips_cpu_map_tc() documentation
This function will be touched again soon, so a good understanding of env
vs. other helps. Adopt gtk-doc style.
Signe...
Andreas Färber
05:09 am Revision ce3960eb: cpu: Move nr_{cores,threads} fields to CPUState
To facilitate the field movements, pass MIPSCPU to malta_mips_config();
avoid that for mips_cpu_map_tc() since caller...
Andreas Färber
04:32 am Revision 328c24a9: pc87312: Replace register_ioport_*() with MemoryRegion
Prepare an instance_init function for the MemoryRegion init.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
...
Andreas Färber
04:32 am Revision 08bb4a7c: pc87312: Avoid define conflict on mingw32
Mingw32 headers define FAR, causing this warning:
/src/qemu/hw/pc87312.c:38:0: warning: "FAR" redefined [enabled by d...
Blue Swirl
02:52 am Revision cf7c3f0c: virtio-9p: fix compilation error.
Fix the compilation error introduced by msg new field.
CC hw/9pfs/virtio-9p.o
In file included from /home/konradf...
KONRAD Frederic
12:15 am Revision 01b87f6d: qga: add missing commas in json docs
* qga/qapi-schema.json: Use valid JSON.
Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Roth <m...
Eric Blake

01/14/2013

09:36 pm Revision b8bec49c: dataplane: fix build breakage on set_guest_notifiers()
virtio_pci_set_guest_notifiers() now takes an additional argument to
specify the number of virtqueues to assign a gue...
Michael Roth
09:36 pm Revision 53510bfc: virtio-pci: build for uninitialized return value in vq_vector_unmask
Fixes the following:
/home/mdroth/w/qemu2.git/hw/virtio-pci.c: In function
‘kvm_virtio_pci_vector_unmask’:
/home/mdr...
Michael Roth
09:26 pm Revision be657dea: Add GE IP-Octal 232 IndustryPack emulation
The GE IP-Octal 232 is an IndustryPack module that implements eight
RS-232 serial ports, each one of which can be red...
Alberto Garcia
09:26 pm Revision 9c16fa79: Add TEWS TPCI200 IndustryPack emulation
The TPCI200 is a PCI board that supports up to 4 IndustryPack modules.
A new bus type called 'IndustryPack' has been...
Alberto Garcia
08:30 pm Revision 7e7b7cba: xen_disk: implement BLKIF_OP_FLUSH_DISKCACHE, remove BLKIF_OP_WRITE_BARRIER
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Stefano Stabellini
08:28 pm Revision 9e496d74: xen_disk: add persistent grant support to xen_disk backend
This protocol extension reuses the same set of grant pages for all
transactions between the front/back drivers, avoid...
Roger Pau Monne
08:26 pm Revision 282c6a2f: xen_disk: fix memory leak
On ioreq_release the full ioreq was memset to 0, loosing all the data
and memory allocations inside the QEMUIOVector,...
Roger Pau Monne
08:08 pm Revision 7868181f: qemu-ga: Handle errors uniformely in ga_channel_open()
We detect errors in several places. One reports with g_error(), which
calls abort(), the others report with g_critic...
Markus Armbruster
08:07 pm Revision d4f4a3ef: qemu-ga: Plug fd leak on ga_channel_open() error paths
Spotted by Coverity.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com...
Markus Armbruster
08:07 pm Revision 32c16620: qemu-ga: Plug fd leak on ga_channel_listen_accept() error path
Spotted by Coverity.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com...
Markus Armbruster
08:07 pm Revision 03ac10f1: qemu-ga: Plug file descriptor leak on ga_open_pidfile() error path
Spotted by Coverity. Also document why we keep it open on success.
Signed-off-by: Markus Armbruster <armbru@redhat....
Markus Armbruster
08:07 pm Revision 5d27f9ce: qemu-ga: Drop pointless lseek() from ga_open_pidfile()
After open(), the file offset is already zero, and neither lockf() nor
ftruncate() change it.
Signed-off-by: Markus ...
Markus Armbruster
08:00 pm Revision f5b79578: qemu-ga: Document intentional fall through in channel_event_cb()
For clarity, and to hush up Coverity.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <...
Markus Armbruster
08:00 pm Revision 9e92f6d4: qemu-ga: add ga_open_logfile()
This function sets O_CLOEXEC on the log file fd so that it isn't
leaked to executed processes.
Signed-off-by: Luiz C...
Luiz Capitulino
08:00 pm Revision 6ffacc5d: qemu-ga: ga_open_pidfile(): use qemu_open()
This ensures that O_CLOEXEC is passed to open(), this way the
pid file fd is not leaked to executed processes.
Signe...
Luiz Capitulino
06:27 pm Revision a507db95: Merge remote-tracking branch 'kraxel/pixman.v6' into staging
* kraxel/pixman.v6:
pixman: pass extra cflags and ldflags
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Anthony Liguori
06:27 pm Revision b55160c3: Merge remote-tracking branch 'kraxel/usb.76' into staging
* kraxel/usb.76:
usb-host: Initialize dev->port the obviously safe way
usb-host: Drop superfluous null test from ...
Anthony Liguori
06:27 pm Revision 167eb811: Merge remote-tracking branch 'spice/spice.v67' into staging
* spice/spice.v67:
qxl: Don't drop client capability bits
qxl: Fix SPICE_RING_PROD_ITEM(), SPICE_RING_CONS_ITEM()...
Anthony Liguori
06:26 pm Revision a69f221e: Merge remote-tracking branch 'kraxel/testdev.2' into staging
* kraxel/testdev.2:
pc-testdev: use typedefs
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Anthony Liguori
06:26 pm Revision da758bd7: Merge remote-tracking branch 'kwolf/for-anthony' into staging
* kwolf/for-anthony:
dataplane: handle misaligned virtio-blk requests
dataplane: extract virtio-blk read/write pr...
Anthony Liguori
06:23 pm Revision 8e9a8681: Merge remote-tracking branch 'mst/tags/for_anthony' into staging
pci,virtio
This further optimizes MSIX handling in virtio-pci.
Also included is pci cleanup by Paolo, and pci device...
Anthony Liguori
06:23 pm Revision 7adef3bc: Merge remote-tracking branch 'bonzini/stub' into staging
* bonzini/stub: (27 commits)
build: improve quiet output for .stp rules
build: fold trace-obj-y into libqemuutil....
Anthony Liguori
06:22 pm Revision 0054ee8c: Merge remote-tracking branch 'qmp/queue/qmp' into staging
* qmp/queue/qmp:
monitor: assert monitor_puts()'s loop invariant
target-i386: fix bits 39:32 of the final physica...
Anthony Liguori
01:50 pm Revision f9943cd5: pixman: pass extra cflags and ldflags
Store --extra-cflags and --extra-ldflags in config-host.mak,
then pass them on to the pixman configure script.
Cc: S...
Gerd Hoffmann
01:47 pm Revision 03607847: usb-host: Initialize dev->port the obviously safe way
Coverity worries the strcpy() could overrun the destination. It
can't, because the source always points to usb_host_...
Markus Armbruster
01:47 pm Revision cc8d2b65: ehci: Assert state machine is sane w.r.t. EHCIQueue
Coverity worries the EHCIQueue pointer could be null when we pass it
to functions that reference it. The state machi...
Markus Armbruster
01:47 pm Revision 46635308: usb-host: Drop superfluous null test from usb_host_auto_scan()
Coverity points out that port is later passed to usb_host_open(),
which dereferences it. It actually can't be null: ...
Markus Armbruster
11:06 am Revision de0161c0: dataplane: handle misaligned virtio-blk requests
O_DIRECT on Linux has alignment requirements on I/O buffers and
misaligned requests result in -EINVAL. The Linux vir...
Stefan Hajnoczi
11:06 am Revision b5ef1aab: dataplane: extract virtio-blk read/write processing into do_rdwr_cmd()
Extract code for read/write command processing into do_rdwr_cmd(). This
brings together pieces that are spread acros...
Stefan Hajnoczi
11:06 am Revision 8e895599: block: do not probe zero-sized disks
A blank CD or DVD is visible as a zero-sized disks. Probing such
disks will lead to an EIO and a failure to start th...
Paolo Bonzini
11:06 am Revision b608c8dc: raw-posix: fix bdrv_aio_ioctl
When the raw-posix aio=thread code was moved from posix-aio-compat.c
to block/raw-posix.c, there was an unintended ch...
Paolo Bonzini
11:06 am Revision 0e7106d8: sheepdog: implement direct write semantics
Sheepdog supports both writeback/writethrough write but has not yet supported
DIRECTIO semantics which bypass the cac...
Liu Yuan
11:06 am Revision c53b1c51: block: make qiov_is_aligned() public
The qiov_is_aligned() function checks whether a QEMUIOVector meets a
BlockDriverState's alignment requirements. This...
Stefan Hajnoczi
09:59 am Revision 0cb41e2c: xhci: nuke transfe5rs on detach
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
09:59 am Revision 81251841: xhci: create xhci_detach_slot helper function
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
09:59 am Revision f3dcf638: xhci: call xhci_detach_slot on root port detach too
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
09:59 am Revision 00e4d0db: pc-testdev: use typedefs
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
09:59 am Revision bc5f92e5: qxl: Fix SPICE_RING_PROD_ITEM(), SPICE_RING_CONS_ITEM() sanity check
The pointer arithmetic there is safe, but ugly. Coverity grouses
about it. However, the actual comparison is off by...
Markus Armbruster
09:59 am Revision 08688af0: qxl: Don't drop client capability bits
interface_set_client_capabilities() copies only the first few bits,
because it falls into a Classic C trap: you can d...
Markus Armbruster
« Previous
Next »
 

Also available in: Atom