This patch replaces all register_ioport* with a MemoryRegion. It permits to
use the new Memory stuff like listener.
For more flexibility, the IO address space is passed as an argument.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/mips_mipssim.c |3 ++-
hw/pc.h |2
On 2012-09-19 19:49, Auld, Will wrote:
From 9d5201975d2c9da4da8a945fcd9531c9fb2073c0 Mon Sep 17 00:00:00 2001
From: Will Auld will.a...@intel.com
Date: Wed, 12 Sep 2012 18:31:41 -0700
Subject: [PATCH] Enabling IA32_TSC_ADJUST for Qemu KVM guest VMs
CPUID.7.0.EBX[1]=1 indicates
This patch fix smb_ioport_* to be compliant with read/write memory callback.
Moreover it replaces all register_ioport* which use theses functions by
the new Memory API.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4.c | 18 --
hw/pm_smbus.c |7
On Tue, Sep 18, 2012 at 2:11 AM, Peter A. G. Crosthwaite
peter.crosthwa...@petalogix.com wrote:
Added device model for m25p80 style SPI flash family.
Signed-off-by: Peter A. G. Crosthwaite peter.crosthwa...@petalogix.com
---
changed from v4:
Added write-1 flag (EEPROM mode).
n25q128 table
On Tue, Sep 18, 2012 at 2:11 AM, Peter A. G. Crosthwaite
peter.crosthwa...@petalogix.com wrote:
Added device model for m25p80 style SPI flash family.
Signed-off-by: Peter A. G. Crosthwaite peter.crosthwa...@petalogix.com
---
changed from v4:
Added write-1 flag (EEPROM mode).
n25q128 table
This patch replaces all register_ioport* be the new memory API functions.
It permits to use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/dma.c | 108 +
1 files changed, 72
On 19 September 2012 19:01, Richard Henderson r...@twiddle.net wrote:
On 09/19/2012 10:51 AM, Aurelien Jarno wrote:
That said it is not a valid reason to not keep the value during
re-translation, as it means the TB will exit instead of linking to
the next one. The consequences are only the
On Tue, Sep 18, 2012 at 2:11 AM, Peter A. G. Crosthwaite
peter.crosthwa...@petalogix.com wrote:
Added device model for the Xilinx Zynq SPI controller (SPIPS).
Signed-off-by: Peter A. G. Crosthwaite peter.crosthwa...@petalogix.com
---
hw/arm/Makefile.objs |1 +
hw/xilinx_spips.c|
On 09/19/2012 11:30 AM, Peter Maydell wrote:
On 19 September 2012 19:01, Richard Henderson r...@twiddle.net wrote:
On 09/19/2012 10:51 AM, Aurelien Jarno wrote:
That said it is not a valid reason to not keep the value during
re-translation, as it means the TB will exit instead of linking to
On Tue, Sep 18, 2012 at 7:17 AM, Gerd Hoffmann kra...@redhat.com wrote:
Display works, requires truecolor framebuffer with 16 or 32 bpp on the
host. 32bpp is recommended. The framebuffer is used as-is, qemu
doesn't try to switch modes. With LCD displays mode switching is pretty
pointless
This patch replaces all register_ioport* by a MemorySection.
It permits to use the new Memory stuff like listener.
Moreover, the PCI is added as an argument for apm_init, so we
can register IO inside the pci IO address space.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
On Tue, Sep 18, 2012 at 9:51 AM, Gerd Hoffmann kra...@redhat.com wrote:
This patch adds a mmio bar to the qemu standard vga which allows to
access the standard vga registers and bochs dispi interface registers
via mmio.
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Signed-off-by: Gerd
On Tue, Sep 18, 2012 at 11:40 AM, Kevin Wolf kw...@redhat.com wrote:
Signed-off-by: Kevin Wolf kw...@redhat.com
---
block/qcow2-cluster.c | 29 +
block/qcow2.c | 31 ---
block/qcow2.h | 10 ++
3 files
This patch replaces all register_ioport* with portio_* or
isa_register_portio_list. It permits to use the new Memory
stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/pc.c | 49 -
1 files changed, 40 insertions(+), 9
This patch replaces all register_ioport* with the new memory API. It permits
to use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/acpi_piix4.c | 154 +--
1 files changed, 116 insertions(+), 38
On Tue, Sep 18, 2012 at 1:29 PM, Ronald Hecht ronald.he...@gmx.de wrote:
Signed-off-by: Ronald Hecht ronald.he...@gmx.de
---
target-sparc/helper.h |1 +
target-sparc/ldst_helper.c |6 ++
target-sparc/translate.c | 10 +++---
3 files changed, 10 insertions(+), 7
This patch replaces all register_ioport* with portio_*. It permits to
use the new Memory stuff like listener.
Signed-off-by: Julien Grall julien.gr...@citrix.com
---
hw/cirrus_vga.c | 48
1 files changed, 28 insertions(+), 20 deletions(-)
diff
On Tue, Sep 18, 2012 at 9:11 PM, Aurelien Jarno aurel...@aurel32.net wrote:
On Tue, Sep 18, 2012 at 07:23:55AM -0700, Richard Henderson wrote:
As recently discussed, with the optional fallback to setcond.
I include a patch to target-alpha to test correctness both
before and after implementing
On 09/19/2012 12:07 PM, Blue Swirl wrote:
It looks like Sparc64 version should be similar to i386 one, cmp + movcc.
Yes. We should leave that til after tcg-sparc branch is merged, please.
r~
On Wed, Sep 19, 2012 at 3:30 PM, Ronald Hecht ronald.he...@gmx.de wrote:
This patch adds SMP support to the LEON SPARC interrupt controller.
I don't like that CPU status (halted/not halted) is accessed directly
from the interrupt controller. How can this be implemented more elegant?
Ideally
On Wed, Sep 19, 2012 at 4:02 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 19/09/2012 17:58, Paolo Bonzini ha scritto:
Il 19/09/2012 17:46, Peter Maydell ha scritto:
On 19 September 2012 15:31, Paolo Bonzini pbonz...@redhat.com wrote:
It is #defined to 1.
Signed-off-by: Paolo Bonzini
On Mon, Sep 17, 2012 at 10:00:55AM -0400, Don Slutz wrote:
This is used to set the cpu object's hypervisor level to the default for
Microsoft's Hypervisor.
Signed-off-by: Don Slutz d...@cloudswitch.com
---
target-i386/cpu.c | 10 ++
1 files changed, 10 insertions(+), 0
On Tue, Sep 18, 2012 at 02:53:42PM +0100, Peter Maydell wrote:
Drop the private reimplementation of ctz32() from pflash_cfi0[12]
in favour of using the standard version from host-utils.h.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
---
hw/pflash_cfi01.c | 37
On Tue, Sep 18, 2012 at 09:59:44PM -0700, Richard Henderson wrote:
Implements all of the COP2 instructions except for the Scond
family of comparisons. The documentation is unclear for those.
Signed-off-by: Richard Henderson r...@twiddle.net
---
It turns out that the previous patch was
On Tue, Sep 18, 2012 at 09:55:31PM -0700, Richard Henderson wrote:
Patch set available at
git://repo.or.cz/qemu/rth.git rth/mips/next
The third patch is updated to avoid multiple copies, as suggested.
r~
Richard Henderson (3):
target-mips: Set opn in gen_ldst_multiple.
On 09/19/2012 11:30 AM, Peter Maydell wrote:
...but on the other hand that ought to work for PPC too, so
presumably my analysis is wrong somewhere.
It isn't. It's a target-xtensa bug.
OP:
0xd0079cff
movi_i32 tmp0,$0xd0079cff
movi_i32 tmp1,$0x2
movi_i32 tmp2,$0x1
movi_i32
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 also
TB and CPUTLB handling.
Some of that could be done by adding a separate MemoryListener for tcg.
But the
Now that it's possible to detect copies, we can optimize the case
the op r, a, a = movi r, 0. This helps the computation of
overflow flags when one of the two args is 0.
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
---
tcg/optimize.c | 17 +
1 file changed, 17
It is possible to do copy propagation for all operations, even the ones
that have side effects or clobber arguments (it only concerns input
arguments). That said, the call operation should be handled differently
due to the variable number of arguments.
Signed-off-by: Aurelien Jarno
Commit 25c4d9cc changed all TCGOpcode enums to be available, so we don't
need to #ifdef #endif the one that are available only on some targets.
This makes the code easier to read.
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
---
tcg/tcg.c | 16 +---
1 file changed, 1
When both arguments of brcond/setcond are the same or when one of
the two values is a constant equal to zero, it's possible to do
further optimizations. This helps the computation of carry flags
when one of the two args is 0.
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
---
tcg/optimize.c
The op a, a, b form is better handled on non-RISC host than the op
a, b, a form, so swap the arguments to this form when possible, and
when b is not a constant.
This reduces the number of generated instructions by a tiny bit.
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
---
tcg/optimize.c
The copy propagation pass tries to keep track of what is a copy of what
and what has copy of what, and in addition it keep a circular list of
of all the copies. Unfortunately this doesn't fully work: a mov from
a temp which has a state COPY changes it into a state HAS_COPY.
Later when this temp is
On 19 September 2012 20:53, Richard Henderson r...@twiddle.net wrote:
On 09/19/2012 11:30 AM, Peter Maydell wrote:
...but on the other hand that ought to work for PPC too, so
presumably my analysis is wrong somewhere.
It isn't. It's a target-xtensa bug.
There are two instances of goto_tb
On Tue, Sep 18, 2012 at 11:04:15PM -0700, Richard Henderson wrote:
With normal FP, this doesn't have much affect on the generated code,
because most of the FP operations are not CONST/PURE, and so we spill
registers in about the same frequency as the explicit load/stores.
But with Loongson
On Fri, 14 Sep 2012 21:44:19 +0900
Ryota Ozaki ozaki.ry...@gmail.com wrote:
This patch series adds qemu-ga-client that is a command line
script to use guest agent functions easily.
Applied to qmp branch, thanks.
Ryota Ozaki (3):
Make negotiation optional in QEMUMonitorProtocol
TCG_TEMP_ANY has no different meaning than TCG_TEMP_UNDEF, so use
the later instead.
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
---
tcg/optimize.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index 9da333c..ca81198
Now that we can easily detect all copies, we can optimize the
op r, a, a = mov r, a case a bit more.
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
---
tcg/optimize.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tcg/optimize.c b/tcg/optimize.c
index a58de3b..cfee690
The copy propagation doesn't check the types of the temps during copy
propagation. However TCG is using the mov_i32 for the i64 to i32
conversion and thus the two are not equivalent.
With this patch tcg_opt_gen_mov() doesn't consider two temps with
different types as copies anymore.
So far it
On Wed, 19 Sep 2012 16:31:04 +0200
Paolo Bonzini pbonz...@redhat.com wrote:
monitor_handle_fd_param and monitor_get_fd are mostly the same, except
that monitor_handle_fd_param does error reporting wrong. Use it in all
other places that do it wrong, instead of reinventing it.
Hmm, why do we
This patch series rework the copy propagation in order to generate
better code. The first two patches are cleanup and bug fixes, the third
patch is the heart of the series, and the remaining ones are small
optimizations using the new copy propagation.
I have measured a decrease of the generated
On Wed, 19 Sep 2012 16:31:05 +0200
Paolo Bonzini pbonz...@redhat.com wrote:
Differentiate monitor_get_fd and monitor_handle_fd_param by doing
correct error propagation in the former and its callers.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
dump.c| 5 +++--
monitor.c | 9
Am 19.09.2012 18:45, schrieb Peter Maydell:
On 19 September 2012 17:41, Stefan Weil s...@weilnetz.de 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:
On 09/19/2012 01:05 PM, Peter Maydell wrote:
I notice tcg/README doesn't actually mention this restriction
on goto_tb, incidentally.
Nor does it mention that only indicies 0 and 1 are valid.
I.e. no use of goto_tb $2 for multi-way branches.
(I wonder if there are enough easily checkable and
On 09/19/2012 01:00 PM, Aurelien Jarno wrote:
TCG_TEMP_ANY has no different meaning than TCG_TEMP_UNDEF, so use
the later instead.
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
Reviewed-by: Richard Henderson r...@twiddle.net
r~
On 09/19/12 15:32, Eduardo Habkost wrote:
On Mon, Sep 17, 2012 at 10:00:55AM -0400, Don Slutz wrote:
This is used to set the cpu object's hypervisor level to the default for
Microsoft's Hypervisor.
Signed-off-by: Don Slutz d...@cloudswitch.com
---
target-i386/cpu.c | 10 ++
1
On 09/19/2012 01:00 PM, Aurelien Jarno wrote:
The copy propagation doesn't check the types of the temps during copy
propagation. However TCG is using the mov_i32 for the i64 to i32
conversion and thus the two are not equivalent.
With this patch tcg_opt_gen_mov() doesn't consider two temps
On 09/19/2012 01:00 PM, Aurelien Jarno wrote:
The copy propagation pass tries to keep track of what is a copy of what
and what has copy of what, and in addition it keep a circular list of
of all the copies. Unfortunately this doesn't fully work: a mov from
a temp which has a state COPY changes
On 09/19/2012 01:00 PM, Aurelien Jarno wrote:
It is possible to do copy propagation for all operations, even the ones
that have side effects or clobber arguments (it only concerns input
arguments). That said, the call operation should be handled differently
due to the variable number of
On 09/19/2012 01:00 PM, Aurelien Jarno wrote:
Now that we can easily detect all copies, we can optimize the
op r, a, a = mov r, a case a bit more.
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
Reviewed-by: Richard Henderson r...@twiddle.net
r~
On 09/19/2012 01:00 PM, Aurelien Jarno wrote:
+/* Simplify expression for op r, a, a = movi r, 0 cases */
+switch (op) {
+CASE_OP_32_64(andc):
+CASE_OP_32_64(sub):
+CASE_OP_32_64(xor):
For completeness, nand, orc, eqv r, a, a - -1.
Reviewed-by:
On 09/19/2012 01:00 PM, Aurelien Jarno wrote:
When both arguments of brcond/setcond are the same or when one of
the two values is a constant equal to zero, it's possible to do
further optimizations. This helps the computation of carry flags
when one of the two args is 0.
Signed-off-by:
On 09/19/2012 01:00 PM, Aurelien Jarno wrote:
The op a, a, b form is better handled on non-RISC host than the op
a, b, a form, so swap the arguments to this form when possible, and
when b is not a constant.
This reduces the number of generated instructions by a tiny bit.
Signed-off-by:
On 09/19/2012 01:00 PM, Aurelien Jarno wrote:
Commit 25c4d9cc changed all TCGOpcode enums to be available, so we don't
need to #ifdef #endif the one that are available only on some targets.
This makes the code easier to read.
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
Reviewed-by:
On 09/18/2012 05:23 PM, Max Filippov wrote:
+uint32_t HELPER(ftoi)(float32 v, uint32_t rounding_mode, uint32_t scale)
+{
+float_status fp_status = {0};
+
+set_float_rounding_mode(rounding_mode, fp_status);
+return float32_to_int32(
+float32_scalbn(v, scale,
On Thu, Sep 20, 2012 at 1:59 AM, Richard Henderson r...@twiddle.net wrote:
On 09/18/2012 05:23 PM, Max Filippov wrote:
+uint32_t HELPER(ftoi)(float32 v, uint32_t rounding_mode, uint32_t scale)
+{
+float_status fp_status = {0};
+
+set_float_rounding_mode(rounding_mode, fp_status);
+
Public bug reported:
On debian I used debootstrap to set up a powerpc chroot. If I then copy
in a statically linked qemu-user ppc binary it will work for some
commands in the chroot and fail for others. Steps to reproduce:
host$ mkdir powerpc
host$ sudo debootstrap --arch=powerpc --foreign
Jan Kiszka jan.kiszka at siemens.com writes:
What would be the advantage of timerfd over select? On Linux, both use
hrtimers (and low slack for RT processes). I'm starting to like the
select/WaitForMultipleObjects pattern as it would allow to consolidate
over basically two versions of timers
I found the same problem occur at Win7. At vioserial\app\device.app:
BOOL CDevice::Init(BOOL ovrl)
{
PWCHAR DevicePath = NULL;
if ((DevicePath = GetDevicePath((LPGUID)GUID_VIOSERIAL_PORT)) != NULL)
{
m_hDevice = CreateFile(DevicePath,
GENERIC_WRITE
It's imperfect as you need to dedicate a core to pure guest-mode load
and cannot run userspace on that core (cannot walk through
userspace-based device models e.g.).
That's not correct.
For the evaluation, we dedicated a core for each guest to maximize the
performance but this
is not a
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 structures that can be used to set process
or/and file capabilities.
Providing capget()
On Tue, Sep 18, 2012 at 03:08:40PM +0200, Jan Kiszka wrote:
On 2012-09-18 14:50, GaoYi wrote:
Hi Jan,
I have followed a previous thread about ELI proposed by Abel Gordon,
http://www.spinics.net/lists/kvm/msg73907.html.
I wonder whether this mechanism will be incorporated in KVM
On Wed, Sep 19, 2012 at 11:53 PM, Richard Henderson r...@twiddle.net wrote:
On 09/19/2012 11:30 AM, Peter Maydell wrote:
...but on the other hand that ought to work for PPC too, so
presumably my analysis is wrong somewhere.
It isn't. It's a target-xtensa bug.
OP:
0xd0079cff
From: Luiz Capitulino lcapitul...@redhat.com
Subject: Re: [Qemu-devel] qmp: dump-guest-memory: -p option has issues, fix it
or drop it?
Date: Wed, 19 Sep 2012 10:23:26 -0300
On Wed, 19 Sep 2012 11:26:51 +0900 (JST)
HATAYAMA Daisuke d.hatay...@jp.fujitsu.com wrote:
From: Wen Congyang
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;
+
+char *part_name;
With 'const char *' here..
+const FlashPartInfo *pi;
+
+}
On 19/09/12 16:33, Amos Kong wrote:
On 14/09/12 02:58, Orit Wasserman wrote:
From: Michael S. Tsirkin m...@redhat.com
refactor address resolution code to fix nonblocking connect
remove getnameinfo call
Signed-off-by: Michael S. Tsirkin m...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
Jan Kiszka jan.kis...@siemens.com writes:
On 2012-09-19 09:26, Paolo Bonzini wrote:
Il 18/09/2012 22:37, Anthony Liguori ha scritto:
Unfortunately, there's a lot of Windows code in qemu-timer.c and main-loop.c
right now otherwise the refactoring would be trivial. I'll leave that for
another
On 07/09/12 11:11, Amos Kong wrote:
Added an option to let qemu transfer a configuration file to bios,
etc/boot-fail-wait, which could be specified by command
-boot reboot-timeout=T
T have a max value of 0x, unit is ms.
With this option, guest will wait for a given time if not find
Is there any developers who have plan to support armv8 emulation?
Or have some initial roadmap for support of armv8? I know there is
already armv8
patch merged into linux kernel.
-- MK
--
www.skyeye.org
On 20.09.2012 00:20, Luiz Capitulino wrote:
On Fri, 14 Sep 2012 21:44:19 +0900
Ryota Ozaki ozaki.ry...@gmail.com wrote:
This patch series adds qemu-ga-client that is a command line
script to use guest agent functions easily.
Can't this be implemented in the agent itself, without a need
for
The CPU isolation in Hitachi patches is just to improve the real time
performance of GUEST. The core of it, direct IRQ delivery, is very similar
to that of ELI.
For the ELI patches,
(1) Since EOI part of ELI is already supported by the Intel Sandy
Bridge CPUs and requires modifications
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 building without CONFIG_BOCHS_VBE is not very useful since it's
used by the
On Wed, Sep 19, 2012 at 10:27 AM, Jan Kiszka jan.kis...@siemens.com wrote:
Please turn of HTML in you mailer. It's very hard to parse your reply.
On 2012-09-19 16:15, Peter Portante wrote:
On Wed, Sep 19, 2012 at 3:44 AM, Jan Kiszka
jan.kis...@siemens.commailto:jan.kis...@siemens.com wrote:
On Wed, Sep 19, 2012 at 02:33:46PM -0700, Richard Henderson wrote:
On 09/19/2012 01:00 PM, Aurelien Jarno wrote:
The copy propagation doesn't check the types of the temps during copy
propagation. However TCG is using the mov_i32 for the i64 to i32
conversion and thus the two are not
On Tue, Sep 18, 2012 at 02:57:59PM +0200, Paolo Bonzini wrote:
Il 18/09/2012 14:47, Kevin Wolf ha scritto:
Makefile.objs |2 +-
qemu-config.c | 31 +++
qemu-sockets.c | 42 ++
qemu_socket.h |1 +
4
201 - 275 of 275 matches
Mail list logo