Il 10/05/2012 01:15, Andreas Färber ha scritto:
> In particular I needed /machine/cpu[n] to pass the X86CPU to the APIC in
> a sensible way - next commit on that branch, currently:
> https://github.com/afaerber/qemu-cpu/commit/1134efc143aa1629f8961ef058416e1acfa50f8e
Yay, thanks for doing that!
P
I have found several places cmake may hang, with either qemu-arm-static
or mipsel, and in debian (testing) as well as in Ubuntu. One of them is
the cmake check for c++ compiler, which can be overridden. Things that
use cmake's pkg_check_modules and pkg-config files will also hang.
Curiously, outs
I came here from : http://lists.gnu.org/archive/html/qemu-
devel/2011-07/msg02806.html
Actually, I experience an issue which may be useful to you.
I have a corrupted VHD file (as explained in that thread :
https://forums.virtualbox.org/viewtopic.php?f=7&t=20614 ). I wanted to
follow that procedur
From: David Gibson
The emulated devices can run simultaneously with the guest, so
we need to be careful with ordering of load and stores done by
them to the guest system memory, which need to be observed in
the right order by the guest operating system.
The simplest way for now to address that i
From: David Gibson
This patch adds the basic infrastructure necessary to emulate an IOMMU
visible to the guest. The DMAContext structure is extended with
information and a callback describing the translation, and the various
DMA functions used by devices will now perform IOMMU translation using
From: David Gibson
This patch adds some hooks to let PCI devices and busses use the new IOMMU
infrastructure. When IOMMU support is enabled, each PCI device now
contains a DMAContext * which is used by the pci_dma_*() wrapper functions.
By default, the contexts are initialized to NULL, assuming
From: David Gibson
dma-helpers.c contains a number of helper functions for doing
scatter/gather DMA, and various block device related DMA. Currently,
these directly access guest memory using cpu_physical_memory_*(),
assuming no IOMMU translation.
This patch updates this code to use the new univ
From: David Gibson
Not that long ago, every device implementation using DMA directly
accessed guest memory using cpu_physical_memory_*(). This meant that
adding support for a guest visible IOMMU would require changing every
one of these devices to go through IOMMU translation.
Shortly before qe
From: David Gibson
Currently the pseries machine emulation does not support DMA for emulated
PCI devices, because the PAPR spec always requires a (guest visible,
paravirtualized) IOMMU which was not implemented. Now that we have
infrastructure for IOMMU emulation, we can correct this and allow P
From: David Gibson
The USB UHCI and EHCI drivers were converted some time ago to use the
pci_dma_*() helper functions. However, this conversion was not complete
because in some places both these drivers do DMA via the usb_packet_map()
function in usb-libhw.c. That function directly used
cpu_phy
From: David Gibson
The OHCI device emulation can provide both PCI and SysBus OHCI
implementations. Because of this, it was not previously converted to
use the PCI DMA helper functions.
This patch converts it to use the new universal DMA helper functions.
In the PCI case, it obtains its DMAConte
From: David Gibson
The AHCI device can provide both PCI and SysBus AHCI device
emulations. For this reason, it wasn't previously converted to use
the pci_dma_*() helper functions. Now that we have universal DMA
helper functions, this converts AHCI to use them.
The DMAContext is obtained from p
From: David Gibson
One new complication raised by IOMMU support over only handling DMA
directly to physical addresses is handling dma_memory_map() case
(replacing cpu_physical_memory_map()) when the IOMMU translation the
IOVAs covered by such a map are invalidated or changed while the map
is acti
From: David Gibson
The pseries platform already contains an IOMMU implementation, since it is
essential for the platform's paravirtualized VIO devices. This IOMMU
support is currently built into the implementation of the VIO "bus" and
the various VIO devices.
This patch converts this code to ma
From: David Gibson
This patch adds cpu_physical_memory_zero() function. This is equivalent to
calling cpu_physical_memory_write() with a buffer full of zeroes, but
avoids actually allocating such a buffer along the way.
Signed-off-by: David Gibson
Signed-off-by: Benjamin Herrenschmidt
---
cp
From: David Gibson
A while back, we introduced the dma_addr_t type, which is supposed to
be used for bus visible memory addresses. At present, this is an
alias for target_phys_addr_t, but this will change when we eventually
add support for guest visible IOMMUs.
There are some instances of targe
Hi folks !
This is a repose (& rebase on top of current HEAD) of
David and Eduard iommu patch series which provides the
necessary infrastructure for doing DMA through an iommu,
along with the SPAPR iommu implementation.
David is on vacation, so make sure to CC all comments
to me.
Make the include paths for cpu-qom.h consistent to allow using LM32CPU
in cpu.h.
Turn cpu_init macro into a static inline function returning CPULM32State
for backwards compatibility.
Signed-off-by: Andreas Färber
---
target-lm32/cpu.c|2 +-
target-lm32/cpu.h| 12 ++--
targ
Turn cpu_init macro into a static inline function returning CPUCRISState
for backwards compatibility.
Signed-off-by: Andreas Färber
---
target-cris/cpu.h | 12 ++--
target-cris/translate.c |8
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/target-cri
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/mips_fulong2e.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/mips_fulong2e.c b/hw/mips_fulong2e.c
index 37dc711..8b66e7b 100644
--- a/hw/mips_fulong2e.c
+++ b/hw/mips_fulong2e.c
@@ -272,17 +272,
Commit 0f71a7095db6bc055bc5bb520d85ea650cca8a33 (target-mips: QOM'ify
CPU) hooked up cpu_state_reset() to CPUClass::reset(). Dropping the
introduction of subclasses for 1.1, due to mips_def_t the reset code
could not be QOM'ified yet, i.e. cpu_state_reset() will not forward to
CPUClass::reset().
U
We can now use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/sun4m.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/hw/sun4m.c b/hw/sun4m.c
index c5d2e40..a959261 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -281,17 +281,19
Allows us to use cpu_reset() in place of cpu_state_reset() in
main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/r2d.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/r2d.c b/hw/r2d.c
index 1bd8df6..0f16e81 100644
--- a/hw/r2d.c
+++ b/hw/r2d.c
@@ -192,16 +1
Allows us to use cpu_reset() in place of cpu_state_reset() in
main_cpu_reset().
Signed-off-by: Andreas Färber
Acked-by: Michael Walle
---
hw/lm32_boards.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/hw/lm32_boards.c b/hw/lm32_boards.c
index ffb273c..b76d800
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/ppc440_bamboo.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c
index f0a3ae4..1a4e66a 100644
--- a/hw/ppc440_bamboo.c
+++ b/hw/ppc440_bamboo.c
@@ -172,6 +172,7
Signed-off-by: Andreas Färber
---
target-mips/helper.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/target-mips/helper.c b/target-mips/helper.c
index ddf9cb7..4208bb2 100644
--- a/target-mips/helper.c
+++ b/target-mips/helper.c
@@ -399,6 +399,7 @@ static void set_hfl
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/xtensa_lx60.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/hw/xtensa_lx60.c b/hw/xtensa_lx60.c
index afdef49..31f8adc 100644
--- a/hw/xtensa_lx60.c
+++ b/hw/xtensa
Eliminates cpu_state_reset() usage.
Signed-off-by: Andreas Färber
---
bsd-user/main.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bsd-user/main.c b/bsd-user/main.c
index 0689e38..cd33d65 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -918,7 +918,7 @@ int main
Needed for microblaze_load_kernel().
Signed-off-by: Andreas Färber
---
hw/petalogix_s3adsp1800_mmu.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/hw/petalogix_s3adsp1800_mmu.c b/hw/petalogix_s3adsp1800_mmu.c
index 8b37336..7ff3cd5 100644
--- a/hw/petalogix_s3adsp18
This prepares using it in sun4uv_init().
Signed-off-by: Andreas Färber
---
hw/sun4u.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/hw/sun4u.c b/hw/sun4u.c
index fe33138..8bb8557 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -746,6 +746,7 @@ static TypeInfo ram_i
Needed for ppc4xx_reset().
Signed-off-by: Andreas Färber
---
hw/ppc4xx_devs.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/ppc4xx_devs.c b/hw/ppc4xx_devs.c
index 00e36f4..4cefd75 100644
--- a/hw/ppc4xx_devs.c
+++ b/hw/ppc4xx_devs.c
@@ -51,15 +51,18 @@ CPUPPCS
Needed to change ppc440_init_xilinx() return type.
Signed-off-by: Andreas Färber
---
hw/virtex_ml507.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/virtex_ml507.c b/hw/virtex_ml507.c
index 4a133b5..3013016 100644
--- a/hw/virtex_ml507.c
+++ b/hw/virtex_ml507.c
Needed for sim_reset().
Signed-off-by: Andreas Färber
---
hw/xtensa_sim.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/xtensa_sim.c b/hw/xtensa_sim.c
index c7e05dc..dae08a1 100644
--- a/hw/xtensa_sim.c
+++ b/hw/xtensa_sim.c
@@ -47,16 +47,19 @@ static void sim
Adapt e500 mpc8544ds machine accordingly.
Turn cpu_init() into a static inline function returning CPUPPCState for
backwards compatibility.
Signed-off-by: Andreas Färber
---
hw/ppce500_mpc8544ds.c |7 +--
target-ppc/cpu.h | 12 ++--
target-ppc/helper.c|4 ++--
3 f
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
Acked-by: Michael Walle
---
hw/lm32_boards.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/hw/lm32_boards.c b/hw/lm32_boards.c
index 4dd4f0a..ffb273c 100644
--- a/hw/lm32_boards.c
+++ b/hw/lm32_boards.c
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/ppc_prep.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index 0b880a5..be2b268 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -441,9
CPUState will be needed for all targets in the future, so place it into
the main variable declaration block.
Signed-off-by: Andreas Färber
Cc: Alexander Graf
Cc: qemu-ppc
---
cpu-exec.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/cpu-exec.c b/cpu-exec.c
index f
Needed for ppc_prep_reset().
Signed-off-by: Andreas Färber
---
hw/ppc_prep.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index b1da114..0b880a5 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -455,6 +455,7 @@ static void ppc_prep
Judging by TCG variable initialization it used 8-char tabs; use 4 spaces
instead. Also remove trailing whitespace.
Signed-off-by: Andreas Färber
---
target-cris/translate.c | 103 ---
1 files changed, 52 insertions(+), 51 deletions(-)
diff --git a/ta
Needed for spapr_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/spapr.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/hw/spapr.c b/hw/spapr.c
index cca20f9..2672330 100644
--- a/hw/spapr.c
+++ b/hw/spapr.c
@@ -518,6 +518,7 @@ static void ppc_spapr_init(ram_ad
Also use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/mainstone.c |2 +-
hw/pxa.h |2 +-
hw/pxa2xx.c| 40
hw/spitz.c |2 +-
hw/tosa.c |2 +-
hw/z2.c|2 +-
6 files changed,
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/mips_malta.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index d81e8d5..dfd7b6b 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.
Needed for armv7m_reset().
Signed-off-by: Andreas Färber
---
hw/armv7m.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/hw/armv7m.c b/hw/armv7m.c
index 4aac076..4e5971c 100644
--- a/hw/armv7m.c
+++ b/hw/armv7m.c
@@ -160,6 +160,7 @@ qemu_irq *armv7m_init(MemoryRe
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/sun4u.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/hw/sun4u.c b/hw/sun4u.c
index 8bb8557..df1aada 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -744,7 +744,7 @@ static TypeInfo ram_info = {
Allows us to call cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/virtex_ml507.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/hw/virtex_ml507.c b/hw/virtex_ml507.c
index 0e223bd..cace86b 100644
--- a/hw/virtex_ml507.c
+++ b/hw/vir
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/ppc440_bamboo.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c
index 1a4e66a..0dd4dab 100644
--- a/hw/ppc440_bamboo.c
+++ b/hw/
Allows us to use cpu_reset() in place of cpu_state_reset() in
main_cpu_reset().
Signed-off-by: Andreas Färber
Acked-by: Michael Walle
---
hw/milkymist.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/milkymist.c b/hw/milkymist.c
index 59f37b4..2e7235b 100644
Needed for {main,secondary}_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/sun4m.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/sun4m.c b/hw/sun4m.c
index 34088ad..c5d2e40 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -809,13 +809,15 @@ static TypeInfo ram_in
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/axis_dev88.c |2 +-
hw/cris-boot.c |3 ++-
hw/cris-boot.h |2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/hw/axis_dev88.c b/hw/axis_dev88.c
index 636708c..eab6327 100644
--- a/hw/axis_dev88.c
++
Allows us to use cpu_reset() in place of cpu_state_reset() in
main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/leon3.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/leon3.c b/hw/leon3.c
index 8ffef83..878d3aa 100644
--- a/hw/leon3.c
+++ b/hw/leon3.c
@@
Allows us to use cpu_reset() in place of cpu_state_reset() in
main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/mips_mipssim.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/mips_mipssim.c b/hw/mips_mipssim.c
index 7c510da..eb03047 100644
--- a/hw/mips_mi
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/ppc4xx_devs.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/ppc4xx_devs.c b/hw/ppc4xx_devs.c
index 4cefd75..41163e6 100644
--- a/hw/ppc4xx_devs.c
+++ b/hw/ppc4xx_de
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/ppc_newworld.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/ppc_newworld.c b/hw/ppc_newworld.c
index 6f7f1b5..4e2a6e6 100644
--- a/hw/ppc_newworld.c
+++ b/hw/ppc_n
Needed for ppc_core99_reset().
Signed-off-by: Andreas Färber
---
hw/ppc_newworld.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/ppc_newworld.c b/hw/ppc_newworld.c
index 8796510..6f7f1b5 100644
--- a/hw/ppc_newworld.c
+++ b/hw/ppc_newworld.c
@@ -136,6 +136,7 @
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/ppce500_mpc8544ds.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index 88a2767..3eb8a23 100644
--- a/hw/ppce50
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/mips_fulong2e.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/hw/mips_fulong2e.c b/hw/mips_fulong2e.c
index 8b66e7b..9a12a76 100644
--- a/hw/mips_fulong2e.c
+++ b/hw/
Fix tab indentations of comments, add braces, use cpu_reset().
Signed-off-by: Andreas Färber
---
hw/nseries.c |6 +++---
hw/omap.h |2 +-
hw/omap1.c| 20 +++-
hw/omap2.c|8
hw/omap_sx1.c |2 +-
hw/palm.c |2 +-
6 files changed, 21 i
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/mips_malta.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index 4752bb2..d81e8d5 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -788,6 +788,7 @@ void mips_
Hello,
Based on my CPUState patches for 1.1 (qom-cpu-1.1) this series kills off the
cpu_state_reset() function, which had been renamed as an interim solution
to free the identifier "cpu_reset" for QOM.
The interested observer may note that the earlier sh4 SH7750 patches (that
have been deferred d
Turn cpu_init macro into a static inline function returning CPUMIPSState
for backwards compatibility.
Signed-off-by: Andreas Färber
---
target-mips/cpu.h | 12 ++--
target-mips/translate.c |4 ++--
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/target-mips/cp
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/ppc_oldworld.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c
index ba8f3ad..f2c6908 100644
--- a/hw/ppc_oldworld.c
+++ b/hw/ppc_o
Make include paths for cpu-qom.h consistent, so that SPARCCPU can be
used in cpu.h.
Turn cpu_init macro into a static inline function returning
CPUSPARCState for backwards compatibility.
Signed-off-by: Andreas Färber
---
target-sparc/cpu.c |4 ++--
target-sparc/cpu.h | 17 ++--
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/arm_boot.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/hw/arm_boot.c b/hw/arm_boot.c
index 7447f5c..eb2d176 100644
--- a/hw/arm_boot.c
+++ b/hw/arm_boot.c
@@ -274
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/mips_jazz.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c
index 24959e0..bf1b799 100644
--- a/hw/mips_jazz.c
+++ b/hw/mips_jazz.c
@@ -
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/armv7m.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/armv7m.c b/hw/armv7m.c
index 4e5971c..418139a 100644
--- a/hw/armv7m.c
+++ b/hw/armv7m.c
@@ -149,7 +149,9 @@
Needed for cris_load_image().
Signed-off-by: Andreas Färber
---
hw/axis_dev88.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/hw/axis_dev88.c b/hw/axis_dev88.c
index 2304e35..636708c 100644
--- a/hw/axis_dev88.c
+++ b/hw/axis_dev88.c
@@ -247,6 +247,7 @@ void axisdev
Allows to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
cpu-exec.c |4 ++--
target-i386/cpu.h|4 ++--
target-i386/helper.c | 13 -
target-i386/kvm.c|6 --
4 files changed, 16 insertions(+), 11 deletions(-)
diff -
> -Original Message-
> From: Paolo Bonzini [mailto:pbonz...@redhat.com]
> Sent: Wednesday, May 09, 2012 9:07 PM
> Subject: Re: PATCH v5 0/7] RTC: New logic to emulate RTC
>
>
> At last this passes my tests, great! There's still a few problems, but more
> or less it's ok:
>
> 1) it needs
In commit 1bba0dc932e8826a7d030df3767daf0bc339f9a2 cpu_reset()
was renamed to cpu_state_reset(), to allow introducing a new cpu_reset()
that would operate on QOM objects.
All callers have been updated except for one in target-mips, so drop all
implementations except for the one in target-mips and
Turn cpu_init macro into a static inline function returning CPUX86State
for backwards compatibility.
Signed-off-by: Andreas Färber
---
target-i386/cpu.h| 12 ++--
target-i386/helper.c |4 ++--
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/target-i386/cpu.h b/t
Turn cpu_init macro into a static inline function returning
CPUSH4State for backwards compatibility.
Signed-off-by: Andreas Färber
---
target-sh4/cpu.h | 12 ++--
target-sh4/translate.c |4 ++--
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/target-sh4/cpu.h
Make the include paths for cpu-qom.h consistent to allow using XtensaCPU
in cpu.h.
Turn cpu_init macro into a static inline function returning
CPUXtensaState for backwards compatibility.
Signed-off-by: Andreas Färber
---
target-xtensa/cpu.c|2 +-
target-xtensa/cpu.h| 16 ++
Allows us to use cpu_reset() in place of cpu_state_reset() in
main_cpu_reset().
Also pass it through to its reset callbacks, while at it.
Signed-off-by: Andreas Färber
---
hw/microblaze_boot.c | 16
hw/microblaze_boot.h |4 ++--
hw/petalogix_ml605_mmu.c
On Wed, May 09, 2012 at 08:44:45PM -0400, Kevin O'Connor wrote:
> On Wed, May 09, 2012 at 08:57:53AM -0700, Alain Ribière wrote:
> > I wonder what is the CDOS system at 0D4000... It seems a bit strange.
>
> Very odd. This is still controlled by seabios. Indeed, if I apply
> this (clearly incorre
The Buildbot has detected a new failure on builder block_mingw32 while building
qemu.
Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/block_mingw32/builds/208
Buildbot URL: http://buildbot.b1-systems.de/qemu/
Buildslave for this Build: kraxel_rhel61
Build Reason: The
We can now use cpu_reset() in place of cpu_state_reset() in
main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/sun4u.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/sun4u.c b/hw/sun4u.c
index df1aada..feede80 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -3
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/virtex_ml507.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/hw/virtex_ml507.c b/hw/virtex_ml507.c
index 3013016..0e223bd 100644
--- a/hw/virtex_ml507.c
+++ b/hw/virtex_ml507.c
@@ -78,10 +78
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/leon3.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/leon3.c b/hw/leon3.c
index 0a5ff16..8ffef83 100644
--- a/hw/leon3.c
+++ b/hw/leon3.c
@@ -101,6 +101,7 @@ static void leon3_generic_hw_init(ra
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/pc.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index 4715f7a..4167782 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -934,9 +934,10 @@ void pc_acpi_smi
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/spapr.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/spapr.c b/hw/spapr.c
index 2672330..d0bddbc 100644
--- a/hw/spapr.c
+++ b/hw/spapr.c
@@ -505,9 +505,9 @@ stati
Needed for microblaze_load_kernel().
Signed-off-by: Andreas Färber
---
hw/petalogix_ml605_mmu.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/hw/petalogix_ml605_mmu.c b/hw/petalogix_ml605_mmu.c
index 31a4348..6819241 100644
--- a/hw/petalogix_ml605_mmu.c
+++ b/hw/pe
On Wed, May 09, 2012 at 08:57:53AM -0700, Alain Ribière wrote:
> Tanks for your answer.
>
>
> I have to apologize, I made a mistake. I rechecked my application and used
> git bisect.
> So I found that this is not a SeaBIOS issue (actually it's more a C-DOS
> issues...). My problem comes from th
Needed for ppc_heathrow_reset().
Signed-off-by: Andreas Färber
---
hw/ppc_oldworld.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c
index 7e73d37..ba8f3ad 100644
--- a/hw/ppc_oldworld.c
+++ b/hw/ppc_oldworld.c
@@ -80,6 +80,7 @
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
Acked-by: Michael Walle
---
hw/milkymist.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/hw/milkymist.c b/hw/milkymist.c
index 8bb6a97..59f37b4 100644
--- a/hw/milkymist.c
+++ b/hw/milkymist.c
@@ -79,6 +79,
Needed for pc_cpu_reset().
Also change return type to X86CPU.
Signed-off-by: Andreas Färber
---
hw/pc.c | 10 ++
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index 4d34a33..4715f7a 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -940,21 +940,23 @@ static void
Eliminates cpu_state_reset() usage.
Signed-off-by: Andreas Färber
---
linux-user/main.c|2 +-
linux-user/syscall.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 191b750..49108b8 100644
--- a/linux-user/main.c
+++ b/l
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/mips_mipssim.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/mips_mipssim.c b/hw/mips_mipssim.c
index 1ea7b58..7c510da 100644
--- a/hw/mips_mipssim.c
+++ b/hw/mips_mipssim.c
@@ -140,6 +140,7 @@
Allows us to use cpu_reset() in place of cpu_state_reset() in
main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/mips_r4k.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index f89957c..d685999 100644
--- a/hw/mips_r4k.c
+++ b/hw
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/mips_r4k.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index e2da49c..f89957c 100644
--- a/hw/mips_r4k.c
+++ b/hw/mips_r4k.c
@@ -162,6 +162,7 @@ void mips_r4k_init (
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/mips_jazz.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c
index a6bc7ba..24959e0 100644
--- a/hw/mips_jazz.c
+++ b/hw/mips_jazz.c
@@ -112,6 +112,7 @@ static void mips
Since qemu_init_vcpu() is no-op for CONFIG_USER_ONLY drop the env
variable that is now unused there.
Turn cpu_init macro into a static inline function returning CPUMBState
for backwards compatibility.
Signed-off-by: Andreas Färber
---
target-microblaze/cpu.h | 12 ++--
target-mi
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/cris-boot.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/hw/cris-boot.c b/hw/cris-boot.c
index 331b2d1..b21326f 100644
--- a/hw/cris-boot.c
+++ b/hw/cris-boot.c
@@ -
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/xtensa_sim.c | 10 ++
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/hw/xtensa_sim.c b/hw/xtensa_sim.c
index dae08a1..1ce07fb 100644
--- a/hw/xtensa_sim.c
+++ b/hw/xtensa_si
Allows us to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
hw/xtensa_lx60.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/xtensa_lx60.c b/hw/xtensa_lx60.c
index 31f8adc..b153bfd 100644
--- a/hw/xtensa_lx60.c
+++ b/hw/xtensa_lx
Needed for main_cpu_reset().
Signed-off-by: Andreas Färber
---
hw/r2d.c | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/hw/r2d.c b/hw/r2d.c
index c55de01..1bd8df6 100644
--- a/hw/r2d.c
+++ b/hw/r2d.c
@@ -224,6 +224,7 @@ static void r2d_init(ram_addr_t ram_size,
Commit 3c30dd5a68e9fee6af67cfd0d14ed7520820f36a (target-arm: Move reset
handling to arm_cpu_reset) QOM'ified CPU reset. Complete it by replacing
cpu_state_reset() with cpu_reset().
Signed-off-by: Andreas Färber
---
target-arm/helper.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Commit 0f71a7095db6bc055bc5bb520d85ea650cca8a33 (target-mips: QOM'ify
CPU) hooked up cpu_state_reset() to CPUClass::reset(). Dropping the
introduction of subclasses for 1.1, due to mips_def_t the reset code
could not be QOM'ified yet, i.e. cpu_state_reset() will not forward to
CPUClass::reset().
U
Hello,
Based on my CPUState patches for 1.1 (qom-cpu-1.1) this series kills off the
cpu_state_reset() function, which had been renamed as an interim solution
to free the identifier "cpu_reset" for QOM.
The interested observer may note that the earlier sh4 SH7750 patches (that
have been deferred d
Commit 3c30dd5a68e9fee6af67cfd0d14ed7520820f36a (target-arm: Move reset
handling to arm_cpu_reset) QOM'ified CPU reset. Complete it by replacing
cpu_state_reset() with cpu_reset().
Signed-off-by: Andreas Färber
---
target-arm/helper.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Allows to use cpu_reset() in place of cpu_state_reset().
Signed-off-by: Andreas Färber
---
cpu-exec.c |4 ++--
target-i386/cpu.h|4 ++--
target-i386/helper.c | 13 -
target-i386/kvm.c|6 --
4 files changed, 16 insertions(+), 11 deletions(-)
diff -
1 - 100 of 316 matches
Mail list logo