Activity

From 01/24/2013 to 02/22/2013

02/22/2013

10:49 pm Revision 30e8f22b: gtk: Rename File to Machine menu and add pause, reset and power down items
This adds basic guest control commands to the "Machine" menu - a nice
added-value for the GTK UI.
We use "pause" as ...
Jan Kiszka
10:49 pm Revision 10409282: ui/gtk: Use menu item from stock for full screen
This reduces the required translations and gives a nicer menu
with an icon.
The full screen menu item is no longer a...
Stefan Weil
10:48 pm Revision 28d2e5b2: ui/gtk: Support versions of VTE before 0.26
This is needed for current Debian stable (Squeeze).
VTE versions before 0.26 did not support VtePty.
Lower the vers...
Stefan Weil
10:48 pm Revision c95e3080: Reenable -Wstrict-prototypes
One part of this patch reverts commit 22bc9a46, which disabled the
warning. The rest of it deals with the warning by ...
Kevin Wolf
10:29 pm Revision bf3caa3d: pc: add compatibility machine types for 1.4
Adds both pc-i440fx-1.4 and pc-q35-1.4.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf...
Paolo Bonzini
10:29 pm Revision 215e47b9: blockdev: enable discard by default
Because discard is now a host parameter, we can always fake it as enabled
in the guest. This is an extension of the ...
Paolo Bonzini
10:29 pm Revision ded9d2d5: qemu-nbd: add --discard option
Similar to --cache and --aio, this option mimics the discard suboption
of "-drive".
Signed-off-by: Paolo Bonzini <pb...
Paolo Bonzini
10:29 pm Revision a9384aff: blockdev: add discard suboption to -drive
Add support for BDRV_O_UNMAP from the QEMU command-line.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-o...
Paolo Bonzini
10:29 pm Revision 9e8f1835: block: implement BDRV_O_UNMAP
It is better to present homogeneous hardware independent of the storage
technology that is chosen on the host, hence ...
Paolo Bonzini
10:21 pm Revision d14ed18c: qemu-img: Add compare subcommand
This patch adds new qemu-img subcommand that compares content of two disk
images.
Signed-off-by: Miroslav Rezanina <...
Miroslav Rezanina
10:21 pm Revision e930d201: qemu-iotests: Add qemu-img compare test
Simple test for qemu-img compare to check it's working correctly.
Signed-off-by: Miroslav Rezanina <mrezanin@redhat....
Miroslav Rezanina
10:21 pm Revision 4dc9f9d6: qemu-iotests: Test qcow2 image creation options
Just create lots of images and try out each of the creation options that
qcow2 provides (except backing_file/fmt for ...
Kevin Wolf
10:21 pm Revision 40239784: coroutine: move pooling to common code
The coroutine pool code is duplicated between the ucontext and
sigaltstack backends, and absent from the win32 backen...
Paolo Bonzini
10:21 pm Revision 02700315: coroutine: trim down nesting level in perf_nesting test
20000 nested coroutines require 20 GB of virtual address space.
Only nest 1000 of them so that the test (only enabled...
Paolo Bonzini
10:21 pm Revision 9a665b2b: block: complete all IOs before .bdrv_truncate
bdrv_truncate() invalidates the bdrv_check_request() result for
in-flight requests, so there should better be none.
...
Peter Lieven
10:21 pm Revision 801f7044: qcow2: introduce check_refcounts_l1/l2() flags
The check_refcounts_l1/l2() functions have a check_copied argument to
check that the QCOW_O_COPIED flag is consistent...
Stefan Hajnoczi
10:21 pm Revision fba31bae: qcow2: record fragmentation statistics during check
The qemu-img check command can display fragmentation statistics:
* Total number of clusters in virtual disk
* Numbe...
Stefan Hajnoczi
10:21 pm Revision c9fc5083: qemu-img: fix missing space in qemu-img check output
The qemu-img check fragmentation printf() is missing a space before the
'=' sign. The human output is not guaranteed...
Stefan Hajnoczi
10:21 pm Revision e6439d78: qemu-img: add compressed clusters to BlockFragInfo
Show how many clusters are compressed. This can be used to monitor how
many compressed clusters remain and whether t...
Stefan Hajnoczi
10:21 pm Revision 4db35162: qcow2: support compressed clusters in BlockFragInfo
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Stefan Hajnoczi
10:21 pm Revision c546194f: block: use Error in do_check_io_limits()
The do_check_io_limits() function returns false when I/O limits are
invalid but it doesn't set an Error to indicate w...
Stefan Hajnoczi
10:21 pm Revision f382d43a: qemu-img: Add "Quiet mode" option
There can be a need to turn output to stdout off. This patch adds a -q option
that enable "Quiet mode". In Quiet mode...
Miroslav Rezanina
10:21 pm Revision b35b2bba: block: Add synchronous wrapper for bdrv_co_is_allocated_above
There's no synchronous wrapper for bdrv_co_is_allocated_above function
so it's not possible to check for sector alloc...
Miroslav Rezanina
10:21 pm Revision 7d81c141: block: refuse negative iops and bps values
Negative I/O throttling iops and bps values do not make sense so reject
them with an error message.
Reviewed-by: Kev...
Stefan Hajnoczi
10:21 pm Revision c6bb9ad1: qemu-img: find the image end offset during check
This patch adds the support for reporting the image end offset (in
bytes). This is particularly useful after a conver...
Federico Simoncelli
10:21 pm Revision 8599ea4c: qemu-img: add json output option to the check command
This option --output=[human|json] makes qemu-img check output a human
or JSON representation at the choice of the use...
Federico Simoncelli
05:53 pm Revision 82fb0c89: unbreak hw/usb/redirect.c build
Commit 8550a02d1239415342959f6a32d178bc05c557cc added a streams
parameter to usb_wakeup and didn't update redirect.c....
Gerd Hoffmann
05:53 pm Revision 5cbb0828: ui/gtk: require at least GTK 2.18 and VTE 0.26
This gives us the bare amount of features we need. We can add work arounds
for older versions and lower the requirem...
Anthony Liguori
03:17 pm Revision 3f58eade: ui/gtk: Fix build (missing include for setlocale)
At least for Ubuntu Linux locale.h is needed.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-id: 1361514481-261...
Stefan Weil
11:12 am Revision cc283e3b: migration: change initial value of expected_downtime
0 is a very bad initial value, what we are trying to get is
max_downtime, so that is a much better estimation.
Signe...
Juan Quintela
11:12 am Revision a3e879cd: migration: calculate end time after we have sent the data
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Juan Quintela
11:12 am Revision 7161082c: migration: don't account sleep time for calculating bandwidth
While we are sleeping we are not sending, so we should not use that
time to estimate our bandwidth.
Signed-off-by: J...
Juan Quintela
11:12 am Revision 90f8ae72: migration: calculate expected_downtime
We removed the calculation in commit e4ed1541ac9413eac494a03532e34beaf8a7d1c5
Now we add it back. We need to create...
Juan Quintela
12:34 am Revision 15546425: gtk: make default UI (v5)
A user can still enable SDL with '-sdl' or '-display sdl' but start making the
default display GTK by default.
I'd a...
Anthony Liguori
12:34 am Revision 73d4dc71: gtk: suppress accelerators from the File menu when grab is active
If you're full screen, you probably expect Ctrl-Q to go to the guest,
not the host. I think restricting certain menu...
Anthony Liguori
12:34 am Revision 22bc9a46: build: disable Wstrict-prototypes
GTK won't build with strict-prototypes due to gtkitemfactory.h:
/* We use () here to mean unspecified arguments....
Anthony Liguori
12:34 am Revision 834574ea: gtk: add translation support (v5)
This includes a de_DE translation from Kevin Wolf and an it translation from
Paolo Bonzini.
Cc: Paolo Bonzini <pbonz...
Anthony Liguori
12:34 am Revision a4ccabcf: ui: add basic GTK gui (v5)
This is minimalistic and just contains the basic widget infrastructure. The GUI
consists of a menu and a GtkNotebook...
Anthony Liguori
12:34 am Revision d861def3: gtk: add virtual console support (v2)
This enables VteTerminal to be used to render the text consoles. VteTerminal is
the same widget used by gnome-termin...
Anthony Liguori
12:34 am Revision 5104a1f6: gtk: add support for input grabbing (v2)
There is a small deviation from SDL's behavior here. Instead of Ctrl+Alt
triggering grab, we now use Ctrl-Alt-g to t...
Anthony Liguori
12:34 am Revision c6158483: gtk: add support for screen scaling and full screen (v5)
Basic menu items to enter full screen mode and zoom in/out. Unlike SDL, we
don't allow arbitrary scaling based on wi...
Anthony Liguori
12:34 am Revision d82831db: console: allow VCs to be overridden by UI
We want to expose VCs using a VteTerminal widget. We need access to provide our
own CharDriverState in order to do t...
Anthony Liguori
12:34 am Revision 3e407de4: qom/object.c: Reset interface list on inheritance
The QOM framework will attempt the recreate a classes interface list from
scratch for each class. This means that a c...
Peter Crosthwaite
12:34 am Revision 00e2ceae: qom/object.c: Allow itf cast with num_itfs = 0
num_interfaces only tells you how many interfaces the concrete child class has
(as defined in the TypeInfo). This mea...
Peter Crosthwaite
12:34 am Revision b1424e03: vga: fix byteswapping.
In case host and guest endianness differ the vga code first creates
a shared surface (using qemu_create_displaysurfac...
Gerd Hoffmann
12:33 am Revision ba43da36: Remove elderly top level TODO file
The top level TODO file hasn't been touched since 2008, so it's now
an unhelpful and out of date mix of things that h...
Peter Maydell
12:33 am Revision 2ca81baa: help: add docs for multiqueue tap options
Cc: Markus Armbruster <armbru@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Signed-off-by: Jason Wang <jasowang@re...
Jason Wang
12:17 am Revision a3e4b4a8: iohandler: switch to GPollFD
Convert iohandler_select_fill() and iohandler_select_poll() to use
GPollFD instead of rfds/wfds/xfds.
Signed-off-by:...
Stefan Hajnoczi
12:17 am Revision 8917c3bd: slirp: switch to GPollFD
Slirp uses rfds/wfds/xfds more extensively than other QEMU components.
The rarely-used out-of-band TCP data feature ...
Stefan Hajnoczi
12:17 am Revision 9cbaacf9: main-loop: drop rfds/wfds/xfds for good
Now that all *_fill() and *_poll() functions use GPollFD we no longer
need rfds/wfds/xfds or pollfds_from_select()/po...
Stefan Hajnoczi
12:17 am Revision b5a01a70: aio: support G_IO_HUP and G_IO_ERR
aio-posix.c could not take advantage of G_IO_HUP and G_IO_ERR because
select(2) does not have equivalent events. Now...
Stefan Hajnoczi
12:17 am Revision 6b5f8762: aio: convert aio_poll() to g_poll(3)
AioHandler already has a GPollFD so we can directly use its
events/revents.
Add the int pollfds_idx field to AioCont...
Stefan Hajnoczi
12:17 am Revision d0c8d2c0: aio: extract aio_dispatch() from aio_poll()
We will need to loop over AioHandlers calling ->io_read()/->io_write()
when aio_poll() is converted from select(2) to...
Stefan Hajnoczi
12:17 am Revision 134a03e0: main-loop: fix select_ret uninitialized variable warning
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-id: 136135...
Stefan Hajnoczi
12:17 am Revision cbff4b34: main-loop: switch to g_poll() on POSIX hosts
Use g_poll(3) instead of select(2). Well, this is kind of a cheat.
It's true that we're now using g_poll(3) on POSIX...
Stefan Hajnoczi
12:17 am Revision 48ce11ff: main-loop: switch POSIX glib integration to GPollFD
Convert glib file descriptor polling from rfds/wfds/xfds to GPollFD.
The Windows code still needs poll_fds[] and n_p...
Stefan Hajnoczi
12:17 am Revision cf1d078e: slirp: slirp/slirp.c coding style cleanup
The slirp glue code uses tabs in some places. Since the next patch will
modify the file, convert tabs to spaces and ...
Stefan Hajnoczi

02/21/2013

08:17 pm Revision 3960c41f: check-qjson: More thorough testing of UTF-8 in strings
Test cases are scraped from Markus Kuhn's UTF-8 decoder capability and
stress test at
http://www.cl.cam.ac.uk/~mgk25/...
Markus Armbruster
05:39 pm Revision 70aa41b5: Merge remote-tracking branch 'kraxel/usb.78' into staging
# By Gerd Hoffmann
# Via Gerd Hoffmann
* kraxel/usb.78:
uas-uas: usb3 streams
usb-xhci: usb3 streams
usb-core: ...
Anthony Liguori
05:38 pm Revision 259dc0c1: Merge remote-tracking branch 'stefanha/trivial-patches' into staging
# By Alin Tomescu (1) and others
# Via Stefan Hajnoczi
* stefanha/trivial-patches:
.gitignore: Ignore optionrom/*.a...
Anthony Liguori
11:38 am Revision 159c9836: .gitignore: Ignore optionrom/*.asm
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Cole Robinson
11:34 am Revision 11e5d738: ppc: fix bamboo >256MB RAM initialization in hw/ppc4xx_devs.c
I was trying to launch a PowerPC "bamboo" machine with more than 256MB of RAM
with qemu-system-ppc -M bamboo -kernel ...
Alin Tomescu
11:33 am Revision 499a6165: Add some missing qtest binaries to .gitignore
These binaries are generated during make check on at least some
configurations, so att them to .gitignore.
Signed-of...
David Gibson
11:33 am Revision 87f1361c: Remove forward declaration of non-existant variable
This variable has been removed 5 years ago in 970ac5a3082428dca91171f270dcd95d6f4b2636.
Signed-off-by: Hervé Poussin...
Hervé Poussineau
11:33 am Revision b15aaca4: xilinx_axienet.c: Assert no error when making link
This gives an awful silent failure when it doesn't work. Assert against link
creation failure.
Signed-off-by: Peter ...
Peter Crosthwaite

02/20/2013

09:05 am Revision a41f62f5: target-i386: Use movcond to implement shift flags.
With this being all straight-line code, it can get deleted
when the cc variables die.
Signed-off-by: Richard Henders...
Richard Henderson
09:05 am Revision 34d80a55: target-i386: Use movcond to implement rotate flags.
With this being all straight-line code, it can get deleted
when the cc variables die.
Signed-off-by: Richard Henders...
Richard Henderson
09:05 am Revision e2f515cf: target-i386: Discard CC_OP computation in set_cc_op also
The shift and rotate insns use movcond to set CC_OP, and thus
achieve a conditional EFLAGS setting. By discarding CC...
Richard Henderson
09:05 am Revision f437d0a3: target-i386: Use movcond to implement shiftd.
With this being all straight-line code, it can get deleted
when the cc variables die.
Signed-off-by: Richard Henders...
Richard Henderson
09:05 am Revision cd7f97ca: target-i386: Implement ADX extension
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
09:05 am Revision f1300734: target-i386: Use clz/ctz for bsf/bsr helpers
And mark the helpers as NO_RWG_SE.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson
09:05 am Revision 321c5351: target-i386: Implement tzcnt and fix lzcnt
We weren't computing flags for lzcnt at all. At the same time,
adjust the implementation of bsf/bsr to avoid the loc...
Richard Henderson
09:05 am Revision 436ff2d2: target-i386: Add CC_OP_CLR
Special case xor with self. We need not even store the known
zero into cc_src.
Signed-off-by: Richard Henderson <rt...
Richard Henderson

02/19/2013

02:18 pm Revision 89a453d4: uas-uas: usb3 streams
Add usb3 streams support to the uas (usb attached scsi) emulation.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Gerd Hoffmann
02:17 pm Revision 024426ac: usb-xhci: usb3 streams
Add streams support to the xhci emulation. No secondary streams yet,
only linear stream arays are supported for now....
Gerd Hoffmann
01:30 pm Revision 4075975d: usb-host: move legacy cmd line bits
The code handling the "-usbdevice host:..." legacy command line
syntax is moved to the new hw/usb/host-legacy.c file....
Gerd Hoffmann
01:30 pm Revision 1a3973b3: usb-host: remove usb_host_device_close
Nobody implements that anyway.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Gerd Hoffmann
01:30 pm Revision e382d966: usb: add usb_ep_set_halted
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
01:30 pm Revision 6a98d1c0: usb: make usb_packet_copy operate on combined packets
Likewise usb_packet_skip.
Also usb_packet_size.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Gerd Hoffmann
01:30 pm Revision 6ef3ccd1: usb-redir: simplify packet copy
usb_packet_copy can handle combined packets now,
so it isn't needed to special-case them any more.
Also use the new ...
Gerd Hoffmann
01:30 pm Revision 2e5df36d: usb: fix endpoint descriptor ordering
Fix the ordering of the endpoint descriptors for superspeed endpoints:
The superspeed companion must come first, poss...
Gerd Hoffmann
01:30 pm Revision 8550a02d: usb-core: usb3 streams
This patch adds support for usb3 streams to the usb subsystem core.
This is just adding a streams field / parameter i...
Gerd Hoffmann
01:30 pm Revision 07d17e77: allow disabling usb smartcard support
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
01:30 pm Revision 9db7c414: usb-storage: use scsi_req_enqueue return value
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Gerd Hoffmann
01:28 pm Revision 6c83f815: make usb devices configurable
Leave the core usb devices (usb hub, tablet, mouse, keyboard)
enabled unconditionally. Make the other ones configura...
Gerd Hoffmann
12:53 pm Revision f4ece404: fix scripts/make_device_config.sh
Make it handle multiple include statements in a file:
(1) The printf needs a space so the include files will be sep...
Gerd Hoffmann
10:51 am Revision 62162fff: usb: Makefile cleanup
Group files, sprinkle in some comments.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Gerd Hoffmann
01:52 am Revision 02ea1e6b: target-i386: Implement BZHI
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
01:52 am Revision 5f1f4b17: target-i386: Implement MULX
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
01:52 am Revision 0592f74a: target-i386: Implement PDEP, PEXT
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
01:52 am Revision 4a554890: target-i386: Implement SHLX, SARX, SHRX
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
01:52 am Revision e2c3c2c5: target-i386: Implement RORX
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
01:52 am Revision bc4b43dc: target-i386: Implement BLSR, BLSMSK, BLSI
Do all of group 17 at one time for ease.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson
01:39 am Revision 701ed211: target-i386: Decode the VEX prefixes
No actual required uses of these encodings yet.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson
01:39 am Revision 111994ee: target-i386: Implement MOVBE
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
01:39 am Revision 7073fbad: target-i386: Implement ANDN
As this is the first of the BMI insns to be implemented,
this carries quite a bit more baggage than normal.
Signed-o...
Richard Henderson
01:39 am Revision c7ab7565: target-i386: Implement BEXTR
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
01:39 am Revision 4a6fd938: target-i386: Tidy prefix parsing
Avoid duplicating switch statement between 32 and 64-bit modes.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson
01:39 am Revision 988c3eb0: target-i386: Use CC_SRC2 for ADC and SBB
Add another slot in ENV and store two of the three inputs. This lets us
do less work when carry-out is not needed, a...
Richard Henderson
01:25 am Revision db9f2597: target-i386: Make helper_cc_compute_{all,c} const
Pass the data in explicitly, rather than indirectly via env.
This avoids all sorts of unnecessary register spillage.
...
Richard Henderson
01:21 am Revision 8601c0b6: target-i386: Don't reference ENV through most of cc helpers
In preparation for making this a const helper.
By using the proper types in the parameters to the helper functions,
...
Richard Henderson
01:03 am Revision 63633fe6: target-i386: use gen_op for cmps/scas
Replace low-level ops with a higher-level "cmp %al, (A0)" in the case
of scas, and "cmp T0, (A0)" in the case of cmps...
Richard Henderson
01:03 am Revision dc259201: target-i386: introduce gen_jcc1_noeob
A jump that ends a basic block or otherwise falls back to CC_OP_DYNAMIC
will always have to call gen_op_set_cc_op. H...
Richard Henderson
01:03 am Revision 891a5133: target-i386: Update cc_op before TCG branches
Placing the CC_OP_DYNAMIC at the join is less effective than
before the branch, as the branch will have forced global...
Richard Henderson
01:03 am Revision a3251186: target-i386: optimize flags checking after sub using CC_SRCT
After a comparison or subtraction, the original value of the LHS will
currently be reconstructed using an addition. ...
Richard Henderson
01:03 am Revision 086c4077: target-i386: do not call helper to compute ZF/SF
ZF, SF and PF can always be computed from CC_DST except in the
CC_OP_EFLAGS case (and CC_OP_DYNAMIC, which just resol...
Richard Henderson
01:03 am Revision 8115f117: target-i386: use inverted setcond when computing NS or NZ
Make gen_compute_eflags_z and gen_compute_eflags_s able to compute the
inverted condition, and use this in gen_setcc_...
Richard Henderson
01:03 am Revision 06847f1f: target-i386: convert gen_compute_eflags_c to TCG
Do the switch at translation time, converting the helper templates to
TCG opcodes. In some cases CF can be computed ...
Richard Henderson
01:03 am Revision 1a5c6359: target-i386: change gen_setcc_slow_T0 to gen_setcc_slow
Do not hard code the destination register.
Reviewed-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Paolo Bonzi...
Paolo Bonzini
01:03 am Revision 2cb47645: target-i386: optimize setbe
This is looking at EFLAGS, but it can do so more efficiently with
setcond.
Reviewed-by: Blue Swirl <blauwirbel@gmail...
Richard Henderson
01:03 am Revision be10b289: target-i386: optimize setle
And allow gen_setcc_slow to operate on cpu_cc_src.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by:...
Richard Henderson
01:03 am Revision c365395e: target-i386: optimize setcc instructions
Reconstruct the arguments for complex conditions involving CC_OP_SUBx (BE,
L, LE). In the others do it via setcond a...
Paolo Bonzini
01:03 am Revision bec93d72: target-i386: introduce CCPrepare
Introduce a struct that describes how to build a *cond operation
that checks for a given x86 condition code. For now...
Richard Henderson
01:03 am Revision 276e6b5f: target-i386: introduce gen_prepare_cc
This makes the i386 front-end able to create CCPrepare structs for all
condition, not just those that come from a sin...
Richard Henderson
01:03 am Revision 943131ca: target-i386: use CCPrepare to generate conditional jumps
This simplifies all the jump generation code. CCPrepare allows the
code to create an efficient brcond always, so the...
Paolo Bonzini
01:03 am Revision 69d1aa31: target-i386: inline gen_prepare_cc_slow
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson
01:03 am Revision cc8b6f5b: target-i386: cleanup temporary macros for CCPrepare
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Paolo Bonzini
01:03 am Revision f32d3781: target-i386: introduce gen_cmovcc1
Signed-off-by: Richard Henderson <rth@twiddle.net> Paolo Bonzini
01:03 am Revision 57eb0cc8: target-i386: expand cmov via movcond
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
01:03 am Revision 3b9d3cf1: target-i386: kill cpu_T3
It is almost unused, and it is simpler to pass a TCG value directly
to gen_shiftd_rm_T1_T3. This value is then writt...
Paolo Bonzini
01:03 am Revision f5847c91: target-i386: compute eflags outside rcl/rcr helper
Always compute EFLAGS first since it is needed whenever
the shift is non-zero, i.e. most of the time. This makes it ...
Paolo Bonzini
01:03 am Revision 6fa38ed2: target-i386: clean up sahf
Discard CC_DST and set s->cc_op immediately after computing EFLAGS.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.co...
Paolo Bonzini
01:03 am Revision 5bdb91b0: target-i386: use gen_jcc1 to compile loopz
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Paolo Bonzini
01:03 am Revision c7b3c873: target-i386: factor gen_op_set_cc_op/tcg_gen_discard_tl around computing flags
Before computing flags we need to store the cc_op to memory. Move this
to gen_compute_eflags_c and gen_compute_eflag...
Paolo Bonzini
01:03 am Revision fee71888: target-i386: Name the cc_op enumeration
Signed-off-by: Richard Henderson <rth@twiddle.net> Richard Henderson
01:03 am Revision 3ca51d07: target-i386: Introduce set_cc_op
This will provide a good hook into which we can consolidate
all of the cc variable discards.
Signed-off-by: Richard ...
Richard Henderson
01:03 am Revision e207582f: target-i386: Don't clobber s->cc_op in gen_update_cc_op
Use a dirty flag to know whether env->cc_op is up to date,
rather than forcing s->cc_op to DYNAMIC and losing info.
...
Richard Henderson
01:03 am Revision 773cdfcc: target-i386: Use gen_update_cc_op everywhere
All of the conditional calls to gen_op_set_cc_op go away, and
gen_op_set_cc_op itself gets inlined into its only rema...
Richard Henderson
01:03 am Revision 1608ecca: target-i386: add helper functions to get other flags
Introduce new functions to extract PF, SF, OF, ZF in addition to CF.
These provide single entry points for optimizing...
Paolo Bonzini
01:03 am Revision d229edce: target-i386: do not compute eflags multiple times consecutively
After calling gen_compute_eflags, leave the computed value in cc_reg_src
and set cc_op to CC_OP_EFLAGS. The next few...
Richard Henderson
01:03 am Revision ccfcdd09: target-i386: no need to flush out cc_op before gen_eob
This makes code more similar to the other callers of gen_eob, especially
loopz/loopnz/jcxz.
Signed-off-by: Paolo Bon...
Richard Henderson
01:03 am Revision b666265b: target-i386: Move CC discards to set_cc_op
This gets us universal coverage, rather than scattering discards
around at various places. As a bonus, we do not emi...
Richard Henderson
01:03 am Revision 1b99f83e: test-i386: make it compile with a recent gcc
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Paolo Bonzini
01:03 am Revision 93ab25d7: target-i386: use OT_* consistently
Reviewed-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Rich...
Paolo Bonzini
01:03 am Revision d824df34: target-i386: introduce gen_ext_tl
Introduce a function that abstracts extracting an 8, 16, 32 or 64-bit value
with or without sign, generalizing gen_ex...
Paolo Bonzini
01:03 am Revision 91642ff8: target-i386: factor setting of s->cc_op handling for string functions
Set it to the appropriate CC_OP_SUBx constant in gen_scas/gen_cmps.
In the repz case it can be overridden to CC_OP_DY...
Paolo Bonzini
01:03 am Revision b27fc131: target-i386: drop cc_op argument of gen_jcc1
As in the gen_repz_scas/gen_repz_cmps case, delay setting
CC_OP_DYNAMIC in gen_jcc until after code generation. All ...
Paolo Bonzini
01:03 am Revision 52320e15: target-i386: move carry computation for inc/dec closer to gen_op_set_cc_op
This ensures the invariant that cpu_cc_op matches s->cc_op when calling
the helpers. The next patches need this beca...
Paolo Bonzini
01:03 am Revision 0ff6addd: target-i386: move eflags computation closer to gen_op_set_cc_op
This ensures the invariant that cpu_cc_op matches s->cc_op when calling
the helpers. The next patches need this beca...
Paolo Bonzini
01:03 am Revision 40475087: test-i386: QEMU_PACKED is not defined here
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Paolo Bonzini

02/18/2013

06:20 pm Revision f9b3ed40: rtc-test: always set register B in its entirety
Eliminate dependencies between one test and the others.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-i...
Paolo Bonzini
06:20 pm Revision cc2832a5: rtc-test: add testcases for alarms in 12hour mode
Trying (unsuccessfully) to break the device model as mentioned in
https://bugs.launchpad.net/qemu/+bug/1090558.
At l...
Paolo Bonzini
04:40 pm Revision 7d2a929f: vnc-tls: Fix compilation with newer versions of GNU-TLS
In my installation of GNU-TLS (v3.0.23) the type
gnutls_anon_server_credentials is marked deprecated, so -Werror
brea...
Andre Przywara
04:39 pm Revision 6265c43b: doc: Fill some option doc gaps in manual page and qemu-doc
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1...
Markus Armbruster
04:39 pm Revision c70a01e4: doc: Fix texinfo @table markup in qemu-options.hx
End tables before headings, start new ones afterwards. Fixes
incorrect indentation of headings "File system options"...
Markus Armbruster
04:39 pm Revision f0378099: help: Fix markup of heading "USB options" so it appears in -help
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1...
Markus Armbruster
04:39 pm Revision 84644c45: doc help: A few options are under inappropriate headings, fix
--device is under heading "USB options". --name and --uuid are under
"Virtual File system pass-through options". Mo...
Markus Armbruster
04:39 pm Revision 10adb8be: doc help: Collect block device stuff under its own heading
Collect them from "Standard options", "File system options", "Virtual
File system pass-through options", "Debug/Exper...
Markus Armbruster
04:39 pm Revision 31e70d6c: help: Drop bogus help on -qtest and -qtest-log
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1...
Markus Armbruster
04:39 pm Revision b8f490eb: doc: Fix some option entries in qemu-doc's function index
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1...
Markus Armbruster
04:39 pm Revision c538ca66: isa: Split off instance_init for ISADevice
Prepares for assigning IRQs before QOM realize.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Andr...
Andreas Färber
04:39 pm Revision 872536bf: qtest: Add MMIO support
Introduce [qtest_]{read,write}[bwlq]() libqtest functions and
corresponding QTest protocol commands to replace local ...
Andreas Färber
04:39 pm Revision 6acf801d: libqtest: Convert macros to functions and clean up documentation
libqtest.h provides a number of shortcut macros to avoid tests feeding
it the QTestState they operate on. Most of the...
Andreas Färber
04:39 pm Revision b73cf9e9: libqtest: Introduce qtest_qmpv() and convert remaining macro
In order to convert qmp() macro to an inline function, expose a
qtest_qmpv() function, reused by qtest_qmp().
We can...
Andreas Färber
04:37 pm Revision 3c3adde0: Merge remote-tracking branch 'afaerber/qom-cpu' into staging
# By Andreas Färber
# Via Andreas Färber
* afaerber/qom-cpu: (47 commits)
target-i386: Split command line parsing o...
Anthony Liguori

02/17/2013

04:28 pm Revision ff7a1eb0: host-utils: Improve mulu64 and muls64
The new formulation makes better use of add-with-carry type insns
that the host may have. Use gcc's sign adjustment ...
Richard Henderson
04:28 pm Revision f4c0f986: tests: Add unit tests for mulu64 and muls64
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Richard Henderson
04:28 pm Revision f540166b: host-utils: Use __int128_t for mul[us]64
Replace some x86_64 specific inline assembly with something that
all 64-bit hosts ought to optimize well. At worst t...
Richard Henderson
04:27 pm Revision be96bd3f: tcg/ppc: Fix build of tcg_qemu_tb_exec()
Commit 0b0d3320db74cde233ee7855ad32a9c121d20eb4 (TCG: Final globals
clean-up) moved code_gen_prologue but forgot to u...
Andreas Färber

02/16/2013

07:00 pm Revision 05499f4b: target-sparc: Fix debug output for DEBUG_MMU
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by...
Andreas Färber
03:51 pm Revision 2d64255b: target-i386: Split command line parsing out of cpu_x86_register()
In order to instantiate a CPU subtype we will need to know which type,
so move the cpu_model splitting into cpu_x86_i...
Andreas Färber
03:51 pm Revision 0315c31c: cpu: Move running field to CPUState
Pass CPUState to cpu_exec_{start,end}() functions.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:51 pm Revision fcd7d003: cpu: Move exit_request field to CPUState
Since it was located before breakpoints field, it needs to be reset.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:51 pm Revision d77953b9: cpu: Move current_tb field to CPUState
Explictly NULL it on CPU reset since it was located before breakpoints.
Change vapic_report_tpr_access() argument to...
Andreas Färber
03:51 pm Revision 907a5e32: cputlb: Pass CPUState to cpu_unlink_tb()
CPUArchState is no longer needed.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:51 pm Revision c05efcb1: cpu: Add CPUArchState pointer to CPUState
The target-specific ENV_GET_CPU() macros have allowed us to navigate
from CPUArchState to CPUState. The reverse direc...
Andreas Färber
03:51 pm Revision 440c8152: e500: Replace open-coded loop with qemu_get_cpu()
Since we still need env for ppc-specific fields, obtain it via the new
env_ptr fields to avoid "cpu" name conflicts b...
Andreas Färber
03:51 pm Revision 912ebe10: ppce500_spin: Replace open-coded CPU loop with qemu_get_cpu()
Potentially env could be NULL whereas cpu would still be valid and
correspond to a previous env.
Wrapping this in qe...
Andreas Färber
03:51 pm Revision 5353d03d: spapr_hcall: Replace open-coded CPU loop with qemu_get_cpu()
The helper functions all access ppc-specific fields only so don't bother
to change arguments to PowerPCCPU and use en...
Andreas Färber
03:51 pm Revision 0dac8459: target-s390x: Drop unused cpu_s390x_close() prototype
It was never implemented.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:51 pm Revision 0203f86f: target-lm32: Drop unused cpu_lm32_close() prototype
It was never implemented.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:51 pm Revision 5c3c6a68: target-i386: Move cpu_x86_init()
Consolidate CPU functions in cpu.c.
Allows to make cpu_x86_register() static.
No functional changes.
Reviewed-by: E...
Andreas Färber
03:50 pm Revision 5266d20a: target-sparc: Move TCG initialization to SPARCCPU initfn
Signed-off-by: Andreas Färber <afaerber@suse.de> Andreas Färber
03:50 pm Revision d9c27f00: target-unicore32: Move TCG initialization to UniCore32CPU initfn
Normalize the "inited" logic and add a tcg_enabled() check to suppress
it for qtest.
Ensures that a QOM-created UniC...
Andreas Färber
03:50 pm Revision 25733ead: target-xtensa: Move TCG initialization to XtensaCPU initfn
Combine this with breakpoint handler registration, guarding both with
tcg_enabled() to suppress also TCG init for qte...
Andreas Färber
03:50 pm Revision f3273ba6: ppc405_uc: Pass PowerPCCPU to ppc40x_{core,chip,system}_reset()
Prepares for changing cpu_interrupt() argument to CPUState.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-b...
Andreas Färber
03:50 pm Revision c7937d9f: target-m68k: Return M68kCPU from cpu_m68k_init()
Turn cpu_init() into a static inline function for backwards
compatibility.
Signed-off-by: Andreas Färber <afaerber@s...
Andreas Färber
03:50 pm Revision 4025cfd5: mcf5206: Pass M68kCPU to mcf5206_init()
Store it in m5206_mbar_state. Prepares for passing M68kCPU to
m68k_set_irq_level().
Signed-off-by: Andreas Färber <a...
Andreas Färber
03:50 pm Revision 9a6ee9fd: mcf_intc: Pass M68kCPU to mcf_intc_init()
Store it in mcf_intc_state.
Prepares for passing it to m68k_set_irq_level().
Signed-off-by: Andreas Färber <afaerber...
Andreas Färber
03:50 pm Revision cb3fb38e: target-m68k: Pass M68kCPU to m68k_set_irq_level()
Simplifies use of cpu_reset_interrupt() et al.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:50 pm Revision 6ae064fc: target-cris: Introduce CRISCPU subclasses
Use class_init functions to initialize the VR in preparation for
overriding v32+ behavior there.
Move cpu_cris_init(...
Andreas Färber
03:50 pm Revision 0d34282f: cpu: Move host_tid field to CPUState
Change gdbstub's cpu_index() argument to CPUState now that CPUArchState
is no longer used.
Signed-off-by: Andreas Fä...
Andreas Färber
03:50 pm Revision 79614b78: target-arm: Move TCG initialization to ARMCPU initfn
Ensures that a QOM-created ARMCPU is usable.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:50 pm Revision d1a94fec: target-cris: Move TCG initialization to CRISCPU initfn
Split out TCG initialization from cpu_cris_init(). Avoid CPUCRISState
dependency for v10-specific initialization and ...
Andreas Färber
03:50 pm Revision 868e2824: target-lm32: Move TCG initialization to LM32CPU initfn
Signed-off-by: Andreas Färber <afaerber@suse.de> Andreas Färber
03:50 pm Revision 1cc89619: target-m68k: Move TCG initialization to M68kCPU initfn
Add a tcg_enabled() check to suppress it for qtest.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:50 pm Revision cd0c24f9: target-microblaze: Move TCG initialization to MicroBlazeCPU initfn
Split off TCG initialization from cpu_mb_init() into mb_tcg_init() to
call it from the initfn.
Ensures that a QOM-cr...
Andreas Färber
03:50 pm Revision 78ce64f4: target-mips: Move TCG initialization to MIPSCPU initfn
Make mips_tcg_init() non-static and add tcg_enabled() check to suppress
it for qtest.
Signed-off-by: Andreas Färber ...
Andreas Färber
03:50 pm Revision 60925d26: target-ppc: Move TCG initialization to PowerPCCPU initfn
Ensures that a QOM-created PowerPCCPU is usable.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:50 pm Revision 2b7ac767: target-s390x: Move TCG initialization to S390CPU initfn
Ensures that a QOM-created S390CPU is usable.
Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andreas F...
Andreas Färber
03:50 pm Revision aa7408ec: target-sh4: Move TCG initialization to SuperHCPU initfn
Add a tcg_enabled() check to suppress it for qtest.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:50 pm Revision ca45f8b0: target-cris: Introduce QOM realizefn for CRISCPU
Introduce realizefn and set realized = true from cpu_cris_init().
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>...
Andreas Färber
03:50 pm Revision 9c23169e: target-lm32: Introduce QOM realizefn for LM32CPU
Introduce a realizefn and set realized = true in cpu_lm32_init().
Also move cpu_reset() call from initfn to realizef...
Andreas Färber
03:50 pm Revision 6d1bbc62: target-m68k: Introduce QOM realizefn for M68kCPU
Introduce realizefn and set realized = true in cpu_m68k_init().
Split off GDB registration to a new m68k_cpu_init_gd...
Andreas Färber
03:50 pm Revision 746b03b2: target-microblaze: Introduce QOM realizefn for MicroBlazeCPU
Introduce realizefn and set realized = true from cpu_mb_init().
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:50 pm Revision c1caf1d9: target-mips: Introduce QOM realizefn for MIPSCPU
Introduce a realizefn and set realized = true from cpu_mips_init().
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:50 pm Revision 1f136632: target-s390x: Introduce QOM realizefn for S390CPU
Introduce realizefn and set realized = true in cpu_s390x_init().
Defer CPU reset from initfn to realizefn.
Acked-by...
Andreas Färber
03:50 pm Revision 55acb588: target-sh4: Introduce QOM realizefn for SuperHCPU
Introduce a realizefn and set realized = true in cpu_sh4_init().
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:50 pm Revision b6e91ebf: target-sparc: Introduce QOM realizefn for SPARCCPU
Introduce realizefn and set realized = true in cpu_sparc_init().
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:50 pm Revision 088383e3: target-unicore32: Introduce QOM realizefn for UniCore32CPU
Introduce a realizefn and set realized = true in uc32_cpu_init().
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
[AF: I...
Andreas Färber
03:50 pm Revision 5f6c9643: target-xtensa: Introduce QOM realizefn for XtensaCPU
Introduce realizefn and set realized = true in cpu_xtensa_init().
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber
03:50 pm Revision 4f658099: cpu: Prepare QOM realizefn
Overwrite the default implementation with a no-op, no longer
attempting to call DeviceClass::init.
Signed-off-by: An...
Andreas Färber
03:50 pm Revision bd1b2828: target-alpha: Update AlphaCPU to QOM realizefn
Update the alpha_cpu_realize() signature and hook up to
DeviceClass::realize. Set realized = true in cpu_alpha_init()...
Andreas Färber
03:50 pm Revision 14969266: target-arm: Update ARMCPU to QOM realizefn
Turn arm_cpu_realize() into a QOM realize function, no longer called
via cpu.h prototype. To maintain the semantics o...
Andreas Färber
03:50 pm Revision 2b6f294c: target-i386: Update X86CPU to QOM realizefn
Adapt the signature of x86_cpu_realize(), hook up to
DeviceClass::realize and set realized = true in cpu_x86_init().
...
Andreas Färber
03:50 pm Revision c296262b: target-openrisc: Update OpenRISCCPU to QOM realizefn
Update the openrisc_cpu_realize() signature, hook it up to
DeviceClass::realize and set realized = true in cpu_openri...
Andreas Färber
03:50 pm Revision 4776ce60: target-ppc: Update PowerPCCPU to QOM realizefn
Adapt ppc_cpu_realize() signature, hook it up to DeviceClass and set
realized = true in cpu_ppc_init().
Reviewed-by:...
Andreas Färber
01:12 pm Revision 453776e5: bitops: Remove routines redundant with host-utils
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Blue Sw...
Richard Henderson
01:12 pm Revision 0f9d8bd3: bitops: Replace bitops_ctol with ctzl
The is the only remaining user.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Eric Blake <eblake@r...
Richard Henderson
01:12 pm Revision 4932398f: bitops: Inline bitops_flsl
This is the only remaining user.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Eric Blake <eblake@...
Richard Henderson
01:12 pm Revision 14e53426: target-i386: Inline bitops_flsl
Use clz32 directly. Which makes slightly more sense given
that the input is type "int" and not type "long".
Signed-...
Richard Henderson
01:12 pm Revision 0cfa6adc: bitops: Write bitops_flsl in terms of clzl
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Blue Sw...
Richard Henderson
01:12 pm Revision 5bbf90be: memory: Use non-bitops ctzl
A memory size of zero is invalid, and so that edge condition
does not occur.
Signed-off-by: Richard Henderson <rth@t...
Richard Henderson
01:12 pm Revision 265ce4a5: bitops: Use non-bitops ctzl
The use of ctz has already eliminated zero, and thus the difference
in edge conditions between the two routines is ir...
Richard Henderson
01:11 pm Revision 18331e7c: hbitmap: Use non-bitops ctzl
Both uses of ctz have already eliminated zero, and thus the difference
in edge conditions between the two routines is...
Richard Henderson
01:09 pm Revision 72d81155: host-utils: Fix coding style and add comments
Add function comments to the routines, documenting the corner
cases upon which we are standardizing. Fix the few ins...
Richard Henderson
01:09 pm Revision 01654373: host-utils: Add host long specific aliases for clz, ctz, ctpop
We will standardize on these names, rather than the similar routines
currently residing in qemu/bitops.h.
Signed-off...
Richard Henderson
12:45 pm Revision 38dad9e5: qemu-log: Rename CPULogItem, cpu_log_items to QEMULogItem, qemu_log_items
Rename the typedef CPULogItem and the public array cpu_log_items
to names that better reflect the fact that the qemu_...
Peter Maydell
12:45 pm Revision b946bffa: cpus.c: Drop unnecessary set_cpu_log()
The set_cpu_log() function in cpus.c is a fairly simple wrapper
which is only called from one location. Just inline t...
Peter Maydell
12:44 pm Revision 24537a01: qemu-log: Rename the public-facing cpu_set_log function to qemu_set_log
Rename the public-facing function cpu_set_log to qemu_set_log. This
requires us to rename the internal-only qemu_set_...
Peter Maydell
12:44 pm Revision 4fde1eba: qemu-log: Rename cpu_str_to_log_mask to qemu_str_to_log_mask
Rename cpu_str_to_log_mask() to qemu_str_to_log_mask(), since
the qemu_log functionality is no longer restricted to T...
Peter Maydell
12:44 pm Revision 59a6fa6e: qemu-log: Abstract out "print usage message about valid log categories"
Abstract out the "print a human readable list of all the
valid log categories" functionality which is currently dupli...
Peter Maydell
12:43 pm Revision 9a7e5424: qemu-log: Unify {cpu_set,set_cpu}_log_filename as qemu_set_log_filename
The qemu_log() functionality is no longer specific to TCG CPU debug logs.
Rename cpu_set_log_filename() to qemu_set_l...
Peter Maydell
12:41 pm Revision 5e5f07e0: TCG: Move translation block variables to new context inside tcg_ctx: tb_ctx
It's worth to clean-up translation blocks variables and move them
into one context as was suggested by Swirl.
Also if...
Evgeny Voevodin
12:40 pm Revision 0b0d3320: TCG: Final globals clean-up
Signed-off-by: Evgeny Voevodin <evgenyvoevodin@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Evgeny Voevodin
01:40 am Revision 2742f56d: Open up 1.5 development tree
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Anthony Liguori
12:15 am Revision 03e94e39: Update VERSION for release
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Anthony Liguori

02/14/2013

04:58 pm Revision 571f65ec: Update VERSION of release
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Anthony Liguori
04:58 pm Revision 71652365: Revert "Update OpenBIOS images"
This reverts commit 10442558ab1797bfbb01285b909e34c5cf038f12.
With the updated OpenBIOS image, -M g3beige fails to b...
Alexander Graf

02/13/2013

07:57 pm Revision 9893c80d: cadance_uart: Accept input after rx FIFO pop
The device returns false from the can receive function when the FIFO is
full. This means the device should check for ...
Peter Crosthwaite
07:57 pm Revision 8a8f5840: block/curl: only restrict protocols with libcurl>=7.19.4
The curl_easy_setopt(state->curl, CURLOPT_PROTOCOLS, ...) interface was
introduced in libcurl 7.19.4. Therefore we c...
Stefan Hajnoczi
07:57 pm Revision d037d6bb: chardev: Fix manual page and qemu-doc for -chardev tty
Broken in commit d59044ef.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@re...
Markus Armbruster
07:57 pm Revision d36b2b90: qapi: Flatten away ChardevPort
Simplifies the schema and the code.
QMP command
{ "execute" : "chardev-add",
"arguments" : { "id" : "ser0...
Markus Armbruster
07:57 pm Revision cc2a9043: net: Avoid NULL function pointer dereference on cleanup
The pSeries machine and some other devices don't supply a cleanup
callback. Revert part of 1ceef9f27359cbe92ef124bf74...
Andreas Färber
07:56 pm Revision 760794f7: s390/sclpconsole: prevent char layer callback during initialization
Starting a qemu with an sclp console and pressing a key very early
can result in
"qemu-system-s390x: hw/s390x/sclpcon...
Christian Borntraeger
07:56 pm Revision bd9a8d85: s390: Keep I/O interrupts enabled for all iscs.
do_io_interrupt() would stop scanning further iscs if it found
an I/O interrupt it could inject. This might cause the...
Cornelia Huck
07:56 pm Revision 91b0a8f3: s390: Fix handling of iscs.
There are two ways to express an interruption subclass:
- As a bitmask, as used in cr6.
- As a number, as used in the...
Cornelia Huck
02:01 pm Revision dada5c7e: xilinx.h: Dont qdev_create from ethernet_create()
Pulled the qdev_create functionality out of xilinx_axiethernet_create() and
pushed it up to the petalogix_ml605_mmu m...
Peter Crosthwaite
02:01 pm Revision 7ce4106c: xilinx.h: s/xilinx_axiethernetdma()/xilinx_axidma()
This function has nothing to do with ethernet. Its reusable for all DMA clients.
Dropped the "ethernet" in the name a...
Peter Crosthwaite
12:26 am Revision 0231ed4f: Merge remote-tracking branch 'stefanha/block' into staging
* stefanha/block:
Revert "block/vpc: Fix size calculation"
block/raw-posix: detect readonly Linux block devices u...
Anthony Liguori
12:26 am Revision 6aaa9dae: block-migration: fix pending() and iterate() return values
The return value of .save_live_pending() is the number of bytes
remaining. This is just an estimate because we do no...
Stefan Hajnoczi
12:26 am Revision ad55ab42: migration: make qemu_ftell() public and support writable files
Migration .save_live_iterate() functions return the number of bytes
transferred. The easiest way of doing this is by...
Stefan Hajnoczi
12:26 am Revision 4a0e6714: trace: deal with deprecated glib thread functions
g_thread_create() was deprecated in favor of g_thread_new() and
g_cond_new() was deprecated in favor of GCond initial...
Stefan Hajnoczi
12:26 am Revision 30d94087: trace: use glib atomic int types
Juan reported that RHEL 6.4 hosts give compiler warnings because we use
unsigned int while glib prototypes use volati...
Stefan Hajnoczi

02/12/2013

01:25 pm Revision 33ccf667: Revert "block/vpc: Fix size calculation"
This reverts commit f880defbb06708d30a38ce9f2667067626acdd38.
Jeff Cody's testing revealed that the interpretation o...
Stefan Hajnoczi
01:22 pm Revision da888d37: block/raw-posix: detect readonly Linux block devices using BLKROGET
Linux block devices can be set read-only with "blockdev --setro
<device>". The same thing can be done for LVM volume...
Stefan Hajnoczi
11:03 am Revision 03ec2f83: hw/m25p80.c: add WRSR(0x01) support
Atmel, SST and Intel/Numonyx serial flash tend to power up
with the software protection bits set.
And thus the new m2...
Kuo-Jung Su

02/11/2013

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 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 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 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: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: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 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 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 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 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: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: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 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 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 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 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 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 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 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 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 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 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 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 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 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
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

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 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 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 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
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 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
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 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:05 am Revision abd8d4a4: Update version for 1.4.0-rc0
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Anthony Liguori

02/01/2013

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 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 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 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 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 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 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 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 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 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 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: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 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: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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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: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: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 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 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 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
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 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 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 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
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 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 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
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
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 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 07cc7d12: target-s390x: Fix debug output
Commit 71e470886fb6092504503a5fe41092ace71c096c (target-s390x: fix
style) renamed the cpu_s390x_handle_mmu_fault() ar...
Andreas Färber
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 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
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 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: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: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 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 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 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 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 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 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 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 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
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
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 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 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 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 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 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
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 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 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 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 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 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 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 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 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 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
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 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 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 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 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 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 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 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 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 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 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
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 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 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 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
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
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 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 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 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
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 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 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 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: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 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: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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
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
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
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
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
« Previous
Next »
 

Also available in: Atom