From: Jan Kiszka jan.kis...@siemens.com
This follows the logic of host-linux: If a 2.0 device has no ISO
endpoint and no interrupt endpoint with a packet size 64, we can
attach it also to an 1.1 host controller. In case the redir server does
not report endpoint sizes, play safe and remove the
On Fri, Sep 21, 2012 at 03:27:52PM -0700, Richard Henderson wrote:
On 09/21/2012 02:23 PM, Aurelien Jarno wrote:
Now I wonder if it wouldn't be better to write brcond2 as setcond2 +
brcond. And even setcond2 as a pair of setcond in TCG, which would allow
some optimizations in case both high
On Fri, Sep 21, 2012 at 04:14:29PM -0700, Richard Henderson wrote:
On 09/21/2012 12:33 PM, Aurelien Jarno wrote:
+static void gen_sar(TCGv dest, TCGv t0, TCGv t1)
+{
+TCGv tmp1, tmp2, tmp3;
+tmp1 = tcg_temp_new_i32();
+tcg_gen_andi_i32(tmp1, t1, 0xff);
+tmp2 =
On Fri, Sep 21, 2012 at 04:17:08PM -0700, Richard Henderson wrote:
On 09/21/2012 12:43 PM, Aurelien Jarno wrote:
+/* Return 2 if the condition can't be simplified, and the result
+ of the condition (0 or 1) if it can */
Ok as-is. But I'd bike-shed the fail return to -1.
I have done
On Fri, Sep 21, 2012 at 04:22:53PM -0700, Richard Henderson wrote:
On 09/21/2012 12:43 PM, Aurelien Jarno wrote:
+tmp = ((1ull args[4]) - 1);
+tmp = (temps[args[1]].val ~(tmp args[3]))
+ | ((temps[args[2]].val tmp) args[3]);
+
On Fri, Sep 21, 2012 at 06:46:32PM -0700, Richard Henderson wrote:
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/hppa/tcg-target.c | 21 +
tcg/hppa/tcg-target.h | 2 +-
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/tcg/hppa/tcg-target.c
On Fri, 21 Sep 2012, Richard Henderson wrote:
The README file documented the operand ordering of the tcg_gen_*
functions. Since we're documenting opcodes here, use the true
operand ordering.
Thanks, looks good.
[..snip..]
--
mailto:av1...@comtv.ru
With QOM ARMCPU we can now distinguish between -cpu cortex-r4 and
-cpu cortex-r4f despite identical MIDR.
Signed-off-by: Andreas Färber andreas.faer...@web.de
---
target-arm/cpu.c | 47 +++
1 Datei geändert, 47 Zeilen hinzugefügt(+)
diff --git
Glue cortex-r4 to r1p4, the latest available TRM.
Set MPU and Thumb division feature bit.
Signed-off-by: Andreas Färber andreas.faer...@web.de
---
target-arm/cpu.c | 24
1 Datei geändert, 24 Zeilen hinzugefügt(+)
diff --git a/target-arm/cpu.c b/target-arm/cpu.c
index
On Wed, Sep 19, 2012 at 3:09 PM, Karol Lewandowski
k.lewando...@samsung.com wrote:
libcap, library used to manipulate posix file capabilities uses
getcap() to query version of capabilities supported by running
kernel. Information obtained from this syscall is then used to
initialize data
On Thu, Sep 20, 2012 at 1:37 AM, Peter Crosthwaite
peter.crosthwa...@petalogix.com wrote:
On Thu, Sep 20, 2012 at 4:25 AM, Blue Swirl blauwir...@gmail.com wrote:
On Tue, Sep 18, 2012 at 2:11 AM, Peter A. G. Crosthwaite
+int64_t dirty_page;
+
+uint64_t waddr;
+int write_enable;
+
On Thu, Sep 20, 2012 at 5:43 AM, Gerd Hoffmann kra...@redhat.com wrote:
Hi,
+vbe_ioport_write_index(d-vga, 0, index);
+return vbe_ioport_read_data(d-vga, 0);
These functions are only available with CONFIG_BOCHS_VBE #defined, so
this code should be conditional as well.
But
On Thu, Sep 20, 2012 at 7:15 AM, Ronald Hecht ronald.he...@gmx.de wrote:
On 09/19/2012 08:56 PM, Blue Swirl wrote:
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -2590,13 +2590,9 @@ static void disas_sparc_insn(DisasContext * dc,
unsigned int insn)
On Thu, Sep 20, 2012 at 7:27 AM, Ronald Hecht ronald.he...@gmx.de wrote:
On 09/19/2012 09:19 PM, Blue Swirl wrote:
On Wed, Sep 19, 2012 at 3:30 PM, Ronald Hechtronald.he...@gmx.de wrote:
This patch adds SMP support to the LEON SPARC interrupt controller.
I don't like that CPU status
On 2012-09-22 03:01, Aurelien Jarno wrote:
+/* ??? We can actually support a signed 14-bit arg3, but we
+ only have existing constraints for a signed 11-bit. */
+{ INDEX_op_movcond_i32, { r, rZ, rI, rI, 0 } },
+
What's the problem in adding a constraint for that? The lack
On 2012-09-22 02:41, Aurelien Jarno wrote:
On Fri, Sep 21, 2012 at 04:22:53PM -0700, Richard Henderson wrote:
On 09/21/2012 12:43 PM, Aurelien Jarno wrote:
+tmp = ((1ull args[4]) - 1);
+tmp = (temps[args[1]].val ~(tmp args[3]))
+ |
On 2012-09-22 02:35, Aurelien Jarno wrote:
On Fri, Sep 21, 2012 at 04:17:08PM -0700, Richard Henderson wrote:
On 09/21/2012 12:43 PM, Aurelien Jarno wrote:
+/* Return 2 if the condition can't be simplified, and the result
+ of the condition (0 or 1) if it can */
Ok as-is. But I'd
On 22 September 2012 12:45, Andreas Färber andreas.faer...@web.de wrote:
+static void cortex_r4_initfn(Object *obj)
+{
+ARMCPU *cpu = ARM_CPU(obj);
+set_feature(cpu-env, ARM_FEATURE_V7);
+set_feature(cpu-env, ARM_FEATURE_THUMB_DIV);
+set_feature(cpu-env, ARM_FEATURE_MPU);
On 09/22/2012 04:18 AM, Richard Henderson wrote:
Checking that we don't try for idx != [01] is trivial. Checking
that we don't issue more than one of any index requires a tad
more data and some ifdefs protecting that new variable.
Signed-off-by: Richard Henderson r...@twiddle.net
Cc: Max
On Thu, Sep 20, 2012 at 11:31 AM, Avi Kivity a...@redhat.com wrote:
On 09/19/2012 10:57 PM, Blue Swirl wrote:
On Wed, Sep 19, 2012 at 12:54 PM, Avi Kivity a...@redhat.com wrote:
On 09/14/2012 10:51 PM, Blue Swirl wrote:
exec:
These files need cleanup so that TCG code gets into tcg/. Maybe
On Thu, Sep 20, 2012 at 3:38 PM, Hans de Goede hdego...@redhat.com wrote:
There are several issues with our handling of the MULT epcap field
of interrupt qhs, which this patch fixes.
1) When we don't execute a transaction because of the transaction counter
being 0, p-async stays
On Sat, Sep 22, 2012 at 12:13 AM, Don Slutz d...@cloudswitch.com wrote:
Also known as Paravirtualization CPUIDs.
This is primarily done so that the guest will think it is running
under vmware when hypervisor-vendor=vmware is specified as a
property of a cpu.
Please use checkpatch.pl to check
On Fri, Sep 21, 2012 at 3:08 AM, David Gibson
da...@gibson.dropbear.id.au wrote:
Below is a patch which implements the (PAPR mandated) NVRAM for the
pseries machine. It raises a couple of generic questions.
First, this adds a new nvram machine option which is used to give a
block device id
On Fri, Sep 21, 2012 at 11:17 AM, Vasilis Liaskovitis
vasilis.liaskovi...@profitbricks.com wrote:
Example:
-dimm id=dimm0,size=512M,node=0,populated=off
There should not be a need to introduce a new top level option,
instead you should just use -device, like
-device
On Fri, Sep 21, 2012 at 11:17 AM, Vasilis Liaskovitis
vasilis.liaskovi...@profitbricks.com wrote:
A 32-byte register is used to present up to 256 hotplug-able memory devices
to BIOS and OSPM. Hot-add and hot-remove functions trigger an ACPI hotplug
event through these. Only reads are allowed
Am 22.09.2012 15:05, schrieb Peter Maydell:
On 22 September 2012 12:45, Andreas Färber andreas.faer...@web.de wrote:
+static void cortex_r4_initfn(Object *obj)
+{
+ARMCPU *cpu = ARM_CPU(obj);
+set_feature(cpu-env, ARM_FEATURE_V7);
+set_feature(cpu-env, ARM_FEATURE_THUMB_DIV);
+
This bug was fixed in the package qemu-linaro - 1.2.0-2012.09-0ubuntu1
---
qemu-linaro (1.2.0-2012.09-0ubuntu1) quantal; urgency=low
[ Fathi Boudra ]
* FFe for new upstream version (LP: #1053212)
- Compatibility with ARM realview kernels 3.0 with VFP (LP: #1052380)
* Also
On Fri, Sep 21, 2012 at 11:17 AM, Vasilis Liaskovitis
vasilis.liaskovi...@profitbricks.com wrote:
Dimm physical address offsets are calculated automatically and memory map is
adjusted accordingly. If a DIMM can fit before the PCI_HOLE_START (currently
0xe000), it will be added normally,
On 22.09.2012, at 15:31, Blue Swirl blauwir...@gmail.com wrote:
On Fri, Sep 21, 2012 at 3:08 AM, David Gibson
da...@gibson.dropbear.id.au wrote:
Below is a patch which implements the (PAPR mandated) NVRAM for the
pseries machine. It raises a couple of generic questions.
First, this adds
On Fri, Sep 21, 2012 at 11:17 AM, Vasilis Liaskovitis
vasilis.liaskovi...@profitbricks.com wrote:
This is v3 of the ACPI memory hotplug functionality. Only x86_64 target is
supported
for now.
Overview:
Dimm device layout is modeled with a new qemu command line
-dimm
On Sat, Sep 22, 2012 at 2:16 PM, Alexander Graf ag...@suse.de wrote:
On 22.09.2012, at 15:31, Blue Swirl blauwir...@gmail.com wrote:
On Fri, Sep 21, 2012 at 3:08 AM, David Gibson
da...@gibson.dropbear.id.au wrote:
Below is a patch which implements the (PAPR mandated) NVRAM for the
pseries
On 22 September 2012 14:56, Andreas Färber andreas.faer...@web.de wrote:
And of course the Cortex-R4's lock-step mode that seems to make it so
interesting for automotive customers.
Lock-step is trivial to emulate: just do nothing and never raise a
cores out of sync error :-)
-- PMM
On Fri, Sep 21, 2012 at 4:24 PM, Michael Roth mdr...@linux.vnet.ibm.com wrote:
On Fri, Sep 21, 2012 at 05:57:42PM +0200, Paolo Bonzini wrote:
Il 21/09/2012 16:07, Michael Roth ha scritto:
QIDL_DECLARE(SerialDevice) {
SysBusDevice parent;
uint8_t thr; /*
On Fri, Sep 21, 2012 at 4:43 PM, Aurelien Jarno aurel...@aurel32.net wrote:
Use stack instead of temp_buf array in CPUState for TCG
temps.
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
---
tcg/mips/tcg-target.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff
On Fri, Sep 21, 2012 at 8:10 PM, malc av1...@comtv.ru wrote:
diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c
index 26c4b33..0fb6fc7 100644
--- a/tcg/ppc/tcg-target.c
+++ b/tcg/ppc/tcg-target.c
@@ -390,6 +390,7 @@ static int tcg_target_const_match(tcg_target_long val,
#define ORC
On Sat, Sep 22, 2012 at 9:41 AM, Aurelien Jarno aurel...@aurel32.net wrote:
On Fri, Sep 21, 2012 at 04:22:53PM -0700, Richard Henderson wrote:
On 09/21/2012 12:43 PM, Aurelien Jarno wrote:
+tmp = ((1ull args[4]) - 1);
+tmp = (temps[args[1]].val ~(tmp
On Sat, Sep 22, 2012 at 11:45 AM, Andreas Färber andreas.faer...@web.de wrote:
With QOM ARMCPU we can now distinguish between -cpu cortex-r4 and
-cpu cortex-r4f despite identical MIDR.
Signed-off-by: Andreas Färber andreas.faer...@web.de
---
target-arm/cpu.c | 47
On 22 September 2012 12:45, Andreas Färber andreas.faer...@web.de wrote:
With QOM ARMCPU we can now distinguish between -cpu cortex-r4 and
-cpu cortex-r4f despite identical MIDR.
I'm not convinced that we should treat the R4 any differently
to any of the other CPUs which we model which might or
On Thu, Sep 13, 2012 at 07:37:43PM +0200, Stefan Weil wrote:
TCG uses 6 registers for function arguments on 64 bit Linux hosts,
but only 4 registers on W64 hosts.
Commit 2999a0b20074a7e4a58f56572bb1436749368f59 increased the number
of arguments for some important helper functions from 4 to 5
On Fri, Sep 21, 2012 at 04:18:07AM +0400, Max Filippov wrote:
See
http://lists.nongnu.org/archive/html/qemu-devel/2012-09/msg03196.html
for the whole story.
Signed-off-by: Max Filippov jcmvb...@gmail.com
---
tcg/README |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff
On Fri, Sep 21, 2012 at 04:18:08AM +0400, Max Filippov wrote:
Do a sanity checking pass on the intermediate code.
Check that goto_tb indices are either 0 or 1 and used at most once per
TB.
Signed-off-by: Max Filippov jcmvb...@gmail.com
---
tcg/tcg.c | 69
On Thu, Sep 13, 2012 at 07:37:45PM +0200, Stefan Weil wrote:
32 bit x86 hosts don't need registers for helper function arguments
because they use the default stack based calling convention.
Removing the registers allows simpler code for function
tcg_target_get_call_iarg_regs_count.
On Thu, Sep 13, 2012 at 07:37:46PM +0200, Stefan Weil wrote:
The TCG targets no longer need individual implementations.
Since commit 6a18ae2d2947532d5c26439548afa0481c4529f9,
'flags' is no longer used in tcg_target_get_call_iarg_regs_count.
The remaining tcg_target_get_call_iarg_regs_count
On Fri, Sep 14, 2012 at 07:18:17AM +0200, Stefan Weil wrote:
Am 14.09.2012 00:20, schrieb Richard Henderson:
On 09/13/2012 03:03 PM, Peter Maydell wrote:
Hard to come up with a snappy name for register which is the Nth
input argument if input args are in registers, but an arbitrary
temp reg
On Sat, Sep 22, 2012 at 05:43:13AM -0700, Richard Henderson wrote:
On 2012-09-22 03:01, Aurelien Jarno wrote:
+/* ??? We can actually support a signed 14-bit arg3, but we
+ only have existing constraints for a signed 11-bit. */
+{ INDEX_op_movcond_i32, { r, rZ, rI, rI, 0 }
On Fri, Sep 21, 2012 at 08:13:13PM -0400, Don Slutz wrote:
The check using INT_MAX (2147483647) is wrong in this case.
Signed-off-by: Fred Oliveira folive...@cloudswitch.com
Signed-off-by: Don Slutz d...@cloudswitch.com
---
target-i386/cpu.c |2 +-
1 files changed, 1 insertions(+), 1
On Sat, Sep 01, 2012 at 09:34:15AM +0200, Stefan Weil wrote:
Report from smatch:
qemu-ga.c:117 register_signal_handlers(11) info: ignoring unreachable code.
qemu-ga.c:122 register_signal_handlers(16) info: ignoring unreachable code.
g_error calls abort which terminates the program.
On Sat, Sep 01, 2012 at 09:40:26AM +0200, Stefan Weil wrote:
The old code leaks variable 'peer'.
Signed-off-by: Stefan Weil s...@weilnetz.de
---
qemu-sockets.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Report from smatch:
qemu-sockets.c:404 inet_dgram_opts(101) warn:
On Sat, Sep 01, 2012 at 12:43:41PM +0200, Stefan Weil wrote:
Report from smatch:
lm4549.c:234 lm4549_write_samples(14) error:
buffer overflow 's-buffer' 1024 = 1024
There must be enough space to add two entries starting with index
s-buffer_level, therefore the old check was wrong.
On Sat, Sep 01, 2012 at 12:56:03PM +0200, Stefan Weil wrote:
Report from smatch:
hw/ioh3420.c:128 ioh3420_initfn(35) info: ignoring unreachable code.
Signed-off-by: Stefan Weil s...@weilnetz.de
---
hw/ioh3420.c |1 -
1 file changed, 1 deletion(-)
Thanks, applied to the trivial
On Sat, Sep 01, 2012 at 01:00:48PM +0200, Stefan Weil wrote:
Report from smatch:
hw/pflash_cfi01.c:431 pflash_write(180) info: ignoring unreachable code.
Instead of removing the return statement after the switch statement,
the patch replaces the return statements in the switch statement by
On Sun, Sep 02, 2012 at 02:04:16AM +0300, Alon Levy wrote:
Signed-off-by: Alon Levy al...@redhat.com
---
scripts/tracetool/backend/dtrace.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, applied to the trivial patches tree:
On Mon, Sep 17, 2012 at 11:10:03AM +0200, Laszlo Ersek wrote:
Signed-off-by: Laszlo Ersek ler...@redhat.com
---
Build tested.
console.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
Thanks, applied to the trivial patches tree:
On Tue, Sep 18, 2012 at 05:58:14PM +0200, Igor Mammedov wrote:
On Wed, 5 Sep 2012 23:06:20 +0200
Igor Mammedov imamm...@redhat.com wrote:
ping
This series has acks and should be ready to go. qemu-trivial is a bit
of a stretch, please merge directly into qemu.git through Anthony, Blue,
etc.
On Wed, Sep 19, 2012 at 03:52:44PM +0200, Paolo Bonzini wrote:
ptimer_head is an invariant pointer to clock-active_timers.
Remove it, and just reference clock-active_timers directly.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
qemu-timer.c | 7 +++
1 file modificato, 3
On Wed, Sep 19, 2012 at 06:41:14PM +0200, Stefan Weil wrote:
hw/pflash_cfi01.c:209:
check_return: Calling function bdrv_write without checking return value (as
is done elsewhere 35 out of 37 times).
hw/pflash_cfi02.c:144:
unterminated_default: The default case is not terminated by a
On Thu, Sep 20, 2012 at 09:32:19PM +0200, Stefan Weil wrote:
Add a type cast which was removed by commit
213fd5087e2e4e2da10ad266df0ba950cf7618bf again.
Without it, MinGW compilers complain:
net/socket.c:136: warning:
pointer targets in passing argument 2 of ‘sendto’ differ in signedness
On 22 September 2012 17:29, Stefan Hajnoczi stefa...@gmail.com wrote:
Please report the errno and possibly bdrv_get_device_name() to uniquely
identify this block device.
Peter's comments about reporting errors to the guest make sense to me.
I'm not sure how much work that involves, printing
Add a type cast which was removed by commit
213fd5087e2e4e2da10ad266df0ba950cf7618bf again.
Without it, MinGW compilers complain:
net/socket.c:136: warning:
pointer targets in passing argument 2 of ‘sendto’ differ in signedness
On Sat, Sep 22, 2012 at 02:37:35PM +, Blue Swirl wrote:
On Fri, Sep 21, 2012 at 4:43 PM, Aurelien Jarno aurel...@aurel32.net wrote:
Use stack instead of temp_buf array in CPUState for TCG
temps.
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
---
tcg/mips/tcg-target.c | 10
On Wed, Sep 19, 2012 at 12:23 AM, Max Filippov jcmvb...@gmail.com wrote:
This series implements floating point coprocessor and coprocessor context
options for xtensa and fixes a couple of bugs to make it work.
Thanks, applied all.
Changes v2-v3:
- add comment to the NO_SIGNALING_NANS
Public bug reported:
I use ArchLinux with QEMU 1.2.0.
I found that 1366x768 resolution is missing, even if I use -vga std or -vga
vmware.
I think that it is necessary to patch it into the source.
Also, why not add a command-line option to specify custom resolutions without
patching the source?
On Sat, Sep 22, 2012 at 5:25 PM, Aurelien Jarno aurel...@aurel32.net wrote:
On Sat, Sep 22, 2012 at 02:37:35PM +, Blue Swirl wrote:
On Fri, Sep 21, 2012 at 4:43 PM, Aurelien Jarno aurel...@aurel32.net wrote:
Use stack instead of temp_buf array in CPUState for TCG
temps.
On Fri, Sep 21, 2012 at 10:13:39AM -0700, Richard Henderson wrote:
Avoiding 64-bit arithmetic (outside of the compare) reduces the
generated op count from 15 to 12, and the generated code size on
i686 from 105 to 88 bytes.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/tcg-op.h
On 22.09.2012 20:32, Stefan Hajnoczi wrote:
On Thu, Sep 20, 2012 at 09:32:19PM +0200, Stefan Weil wrote:
Add a type cast which was removed by commit
213fd5087e2e4e2da10ad266df0ba950cf7618bf again.
Without it, MinGW compilers complain:
net/socket.c:136: warning:
pointer targets in passing
On Sat, Sep 22, 2012 at 06:09:13PM +, Blue Swirl wrote:
On Sat, Sep 22, 2012 at 5:25 PM, Aurelien Jarno aurel...@aurel32.net wrote:
On Sat, Sep 22, 2012 at 02:37:35PM +, Blue Swirl wrote:
On Fri, Sep 21, 2012 at 4:43 PM, Aurelien Jarno aurel...@aurel32.net
wrote:
Use stack
Am 22.09.2012 20:01, schrieb Michael Tokarev:
On 22.09.2012 20:32, Stefan Hajnoczi wrote:
On Thu, Sep 20, 2012 at 09:32:19PM +0200, Stefan Weil wrote:
Add a type cast which was removed by commit
213fd5087e2e4e2da10ad266df0ba950cf7618bf again.
Without it, MinGW compilers complain:
On Sat, Sep 22, 2012 at 2:04 AM, Richard Henderson r...@twiddle.net wrote:
Changes since v2:
* Patch 4 split out from patch 5 (afaerber feedback)
* TB chaining preserves wrt retranslation
* Last patch for branch retranslation is new
The patch set is rebased on
On Sat, Sep 22, 2012 at 6:17 PM, Stefan Weil s...@weilnetz.de wrote:
Am 22.09.2012 20:01, schrieb Michael Tokarev:
On 22.09.2012 20:32, Stefan Hajnoczi wrote:
On Thu, Sep 20, 2012 at 09:32:19PM +0200, Stefan Weil wrote:
Add a type cast which was removed by commit
Am 22.09.2012 18:29, schrieb Stefan Hajnoczi:
On Wed, Sep 19, 2012 at 06:41:14PM +0200, Stefan Weil wrote:
[snip]
offset_end = (offset_end + 511) 9;
-bdrv_write(pfl-bs, offset, pfl-storage + (offset 9),
- offset_end - offset);
+if
Commit 213fd5087e2e4e2da10ad266df0ba950cf7618bf removed a type cast
which is needed for MinGW:
net/socket.c:136: warning:
pointer targets in passing argument 2 of ‘sendto’ differ in signedness
/usr/lib/gcc/amd64-mingw32msvc/4.4.4/../../../../amd64-mingw32msvc/include/winsock2.h:1313:
note:
On Fri, Sep 21, 2012 at 05:18:10PM -0700, Richard Henderson wrote:
Note that andi_i64 failed to perform even the minimal
optimizations promised by the README.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/tcg-op.h | 67
On Fri, Sep 21, 2012 at 05:18:12PM -0700, Richard Henderson wrote:
Note that xori_i64 failed to perform even the minimal
optimizations promised by the README.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/tcg-op.h | 19 +++
1 file changed, 15 insertions(+), 4
On Fri, Sep 21, 2012 at 05:18:15PM -0700, Richard Henderson wrote:
Given these are constants, checking once here means everything
after can assume they're correct.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/tcg-op.h | 8
1 file changed, 8 insertions(+)
diff
On Fri, Sep 21, 2012 at 05:18:14PM -0700, Richard Henderson wrote:
Like the C assert macro, except only enabled for CONFIG_DEBUG_TCG,
and without having to set _NDEBUG and disable all other asserts at
the same time.
The use of __builtin_unreachable (when available) gives the compiler
the
On Fri, Sep 21, 2012 at 05:18:16PM -0700, Richard Henderson wrote:
Checking that we don't try for idx != [01] is trivial. Checking
that we don't issue more than one of any index requires a tad
more data and some ifdefs protecting that new variable.
Signed-off-by: Richard Henderson
On Fri, Sep 21, 2012 at 05:18:09PM -0700, Richard Henderson wrote:
The README file documented the operand ordering of the tcg_gen_*
functions. Since we're documenting opcodes here, use the true
operand ordering.
Signed-off-by: Richard Henderson r...@twiddle.net
Cc: malc av1...@comtv.ru
On Fri, Sep 21, 2012 at 05:18:13PM -0700, Richard Henderson wrote:
For tcg_gen_concat_i32_i64 we only use deposit if the host supports it.
For tcg_gen_concat32_i64 even if the host does not, as we get identical
code before and after.
Note that this relies on the ANDI - EXTU patch for the
On Fri, Sep 21, 2012 at 05:18:11PM -0700, Richard Henderson wrote:
Copy the same optimizations from ori_i32.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/tcg-op.h | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/tcg/tcg-op.h
Those functions are missing in MinGW.
Some versions of MinGW-w64 include defines for gmtime_r and localtime_r.
Older versions of these macros are buggy (they return a pointer to a
static variable), therefore we don't want them. Newer versions are
similar to the code used here, but without the
Am 03.09.2012 21:25, schrieb Stefan Weil:
smatch report:
audio/audio_template.h:416 AUD_open_out(18) warn:
variable dereferenced before check 'as' (see line 414)
Moving the ldebug statement after the statement which checks 'as'
fixes that warning.
Signed-off-by: Stefan Weils...@weilnetz.de
Am 04.09.2012 22:14, schrieb Stefan Weil:
Report from smatch:
linux-user/syscall.c:3632 do_ioctl_dm(220) info:
redundant null check on big_buf calling free()
'big_buf' was allocated by g_malloc0, therefore free was also
replaced by g_free.
Signed-off-by: Stefan Weils...@weilnetz.de
---
Am 04.09.2012 22:53, schrieb Peter Maydell:
On 4 September 2012 21:30, Stefan Weils...@weilnetz.de wrote:
Report from smatch:
xics.c:169:19: error: dubious one-bit signed bitfield
xics.c:170:15: error: dubious one-bit signed bitfield
xics.c:171:19: error: dubious one-bit signed bitfield
Am 14.09.2012 19:02, schrieb Stefan Weil:
The old code aborted configure when no emulation target was selected.
Even after removing the 'exit 1', it tried to read from STDIN
when QEMU was configured with
configure' '--disable-user' '--disable-system'
This is fixed here.
Signed-off-by:
On Sat, 22 Sep 2012, Stefan Weil wrote:
Am 03.09.2012 21:25, schrieb Stefan Weil:
smatch report:
audio/audio_template.h:416 AUD_open_out(18) warn:
variable dereferenced before check 'as' (see line 414)
Moving the ldebug statement after the statement which checks 'as'
fixes that
Fix the MIPS32(R2) cpu detection so that it also works with
-march=octeon. Thanks to Andrew Pinski for the hint.
Cc: Andrew Pinski apin...@cavium.com
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
---
tcg/mips/tcg-target.c | 10 +-
tcg/mips/tcg-target.h |8
2 files
Blue Swirl wrote:
This is not correct. The structure needs to be converted field by
field to host native format, especially endianness.
I'm working in a similar syscall implementation (POSIX timers) and
I'm currently testing it in an debian armhf chroot running on my
x86-64 laptop. After quite
Public bug reported:
On Darwin/OS X, there are two versions of libtool: the GNU libtool, and
Apple's libtool. Both are installed, but Apple's libtool (libtool) won't
build libcacard that Qemu uses, but Gnu's libtool (glibtool) does. I get
around using Apple's libtool by passing LIBTOOL=glibtool
On Fri, Sep 21, 2012 at 08:15:38AM -0600, Eric Blake wrote:
On 09/21/2012 07:30 AM, Dave Young wrote:
For virtio block device, if user does not specify the serial attribute,
There will be no serial availabe, this is not convenient for identifying
the disk.
Doing something similar to
89 matches
Mail list logo