On 06/10/2013 04:50 PM, Peter Lieven wrote:
> On 10.06.2013 08:39, Alexey Kardashevskiy wrote:
>> On 06/09/2013 05:27 PM, Peter Lieven wrote:
>>> Am 09.06.2013 um 05:09 schrieb Alexey Kardashevskiy :
>>>
On 06/09/2013 01:01 PM, Wenchao Xia wrote:
> 于 2013-6-9 10:34, Alexey Kardashevskiy 写道
On 10.06.2013 08:39, Alexey Kardashevskiy wrote:
On 06/09/2013 05:27 PM, Peter Lieven wrote:
Am 09.06.2013 um 05:09 schrieb Alexey Kardashevskiy :
On 06/09/2013 01:01 PM, Wenchao Xia wrote:
于 2013-6-9 10:34, Alexey Kardashevskiy 写道:
On 06/09/2013 12:16 PM, Wenchao Xia wrote:
于 2013-6-8 16:3
On 06/09/2013 05:27 PM, Peter Lieven wrote:
>
> Am 09.06.2013 um 05:09 schrieb Alexey Kardashevskiy :
>
>> On 06/09/2013 01:01 PM, Wenchao Xia wrote:
>>> 于 2013-6-9 10:34, Alexey Kardashevskiy 写道:
On 06/09/2013 12:16 PM, Wenchao Xia wrote:
> 于 2013-6-8 16:30, Alexey Kardashevskiy 写道:
>>>
On Sun, Jun 09, 2013 at 09:08:15PM -0500, Anthony Liguori wrote:
> Peter Crosthwaite writes:
>
> > Hi Andreas,
> >
> > On Sat, Jun 8, 2013 at 7:55 PM, Andreas Färber wrote:
> >> Hi,
> >>
> >> Am 08.06.2013 04:22, schrieb Peter Crosthwaite:
> >>> On Sat, Jun 8, 2013 at 4:18 AM, Andreas Färber wr
On 06/08/13 23:49, Peter Wu wrote:
> When QEMU starts, it always changes the serial port parameters including baud
> rate. This confused my guest which thought it was outputting at 9600 baud
> while
> it was in fact changed to 115200.
>
> After this patch, I can use `-serial /dev/ttyS0,baud=9600`
Hi,
> Maybe instead (or in addition to), we should provide a dummy
> read or write functions -- instead of fixing each such occurence
> to use its own dummy function
Makes sense, especially for write where we can just ignore what the
guest attempts to write. Not sure we can have a generic hand
The existing help output is a bit hard to read due to the ad-hoc wrapping.
This makes it a bit more programmatic (at least, it wraps it once, but
that should be good enough for now). It's not terribly intelligent (just
sticks a dash in the middle of the broken word) rather than splitting on
whites
Signed-off-by: Simarpreet Singh
---
hw/i386/Makefile.objs |2 +-
hw/i386/pc_isa.c | 213 +
hw/i386/pc_piix.c | 41 --
3 files changed, 214 insertions(+), 42 deletions(-)
create mode 100644 hw/i386/pc_isa.c
diff --git a/hw/i
Currently the ISA only PC code is alongwith the other PC machines.
The objective is to decouple the ISA only PC code for clarity.
Simarpreet Singh (1):
Refactoring ISA only PC code for pc_isa.c
hw/i386/Makefile.objs |2 +-
hw/i386/pc_isa.c | 213 ++
Reviewed-by: liguang
在 2013-06-09日的 21:12 +0200,Andreas Färber写道:
> Use qemu_get_cpu() to avoid open-coded CPU loop.
>
> Signed-off-by: Andreas Färber
> ---
> monitor.c | 14 +-
> 1 file changed, 5 insertions(+), 9 deletions(-)
>
> diff --git a/monitor.c b/monitor.c
> index 6e22d1
Reviewed-by: liguang
在 2013-06-09日的 21:12 +0200,Andreas Färber写道:
> Use new qemu_for_each_cpu().
>
> Signed-off-by: Andreas Färber
> ---
> cpus.c | 16 +++-
> 1 file changed, 7 insertions(+), 9 deletions(-)
>
> diff --git a/cpus.c b/cpus.c
> index 9195bc3..a8572a9 100644
> --- a/c
Reviewed-by: liguang
在 2013-06-09日的 21:12 +0200,Andreas Färber写道:
> Use new qemu_for_each_cpu().
>
> Signed-off-by: Andreas Färber
> ---
> cpus.c | 15 ---
> 1 file changed, 8 insertions(+), 7 deletions(-)
>
> diff --git a/cpus.c b/cpus.c
> index 1975c5c..9195bc3 100644
> --- a/cp
Reviewed-by: liguang
在 2013-06-09日的 21:12 +0200,Andreas Färber写道:
> Use new qemu_for_each_cpu().
>
> Signed-off-by: Andreas Färber
> ---
> cpus.c | 24 +++-
> 1 file changed, 15 insertions(+), 9 deletions(-)
>
> diff --git a/cpus.c b/cpus.c
> index 24ee974..1975c5c 100644
Reviewed-by: liguang
在 2013-06-09日的 21:12 +0200,Andreas Färber写道:
> Use new qemu_for_each_cpu().
>
> Signed-off-by: Andreas Färber
> ---
> cpus.c | 18 +-
> 1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/cpus.c b/cpus.c
> index 1babecf..24ee974 100644
> --- a
On 06/05/2013 10:15 AM, Luiz Capitulino wrote:
I can review it until the end of this week. If this series is adding a new
argument (which I believe is what it does) then there's only two ways
to get this merged: either we wait for full introspection or you add this
feature as a new command.
I'd
Reviewed-by: liguang
在 2013-06-09日的 21:12 +0200,Andreas Färber写道:
> Use new qemu_for_each_cpu().
>
> Signed-off-by: Andreas Färber
> ---
> cpus.c | 13 ++---
> 1 file changed, 6 insertions(+), 7 deletions(-)
>
> diff --git a/cpus.c b/cpus.c
> index ad5edfe..1babecf 100644
> --- a/cpus
Reviewed-by: liguang
在 2013-06-09日的 21:12 +0200,Andreas Färber写道:
> Use new qemu_for_each_cpu() to pause, stop and kick CPUs.
>
> Signed-off-by: Andreas Färber
> ---
> cpus.c | 40
> 1 file changed, 20 insertions(+), 20 deletions(-)
>
> diff --git a/cp
Peter Crosthwaite writes:
> Hi Andreas,
>
> On Sat, Jun 8, 2013 at 7:55 PM, Andreas Färber wrote:
>> Hi,
>>
>> Am 08.06.2013 04:22, schrieb Peter Crosthwaite:
>>> On Sat, Jun 8, 2013 at 4:18 AM, Andreas Färber wrote:
diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c
在 2013-06-09日的 21:12 +0200,Andreas Färber写道:
> Use new qemu_for_each_cpu().
>
> Signed-off-by: Andreas Färber
Reviewed-by: liguang
> ---
> cpus.c | 11 ++-
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/cpus.c b/cpus.c
> index 8ff66c3..1186ad3 100644
> --- a/cpus.
Reviewed-by: liguang
在 2013-06-09日的 21:12 +0200,Andreas Färber写道:
> Use new qemu_for_each_cpu().
>
> Signed-off-by: Andreas Färber
> ---
> cpus.c | 11 ++-
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/cpus.c b/cpus.c
> index 1186ad3..85b35f6 100644
> --- a/cpus.c
在 2013-06-09日的 21:12 +0200,Andreas Färber写道:
> Change Monitor::mon_cpu to CPUState as well.
> In cpu_sychronize_all_states() use qemu_for_each_cpu() now.
Oh, s/sychronize/synchronize
with that,
Reviewed-by: liguang
> In dump_init() use cpu_synchronize_all_states().
>
> Signed-off-by: Andreas Fä
在 2013-06-09日的 21:12 +0200,Andreas Färber写道:
> It no longer relies on CPUArchState.
>
> Signed-off-by: Andreas Färber
Reviewed-by: liguang
> ---
> hw/ppc/spapr_rtas.c | 2 +-
> include/sysemu/kvm.h | 4 ++--
> kvm-all.c| 4 +---
> kvm-stub.c | 2 +-
> target-i386/kv
在 2013-06-10一的 03:40 +0200,Andreas Färber写道:
> Am 10.06.2013 03:37, schrieb li guang:
> > 在 2013-06-07五的 14:58 +0200,Andreas Färber写道:
> >> diff --git a/hw/i386/kvm/i8254.c b/hw/i386/kvm/i8254.c
> >> index da90711..4ac5551 100644
> >> --- a/hw/i386/kvm/i8254.c
> >> +++ b/hw/i386/kvm/i8254.c
> [...]
Am 10.06.2013 03:37, schrieb li guang:
> 在 2013-06-07五的 14:58 +0200,Andreas Färber写道:
>> diff --git a/hw/i386/kvm/i8254.c b/hw/i386/kvm/i8254.c
>> index da90711..4ac5551 100644
>> --- a/hw/i386/kvm/i8254.c
>> +++ b/hw/i386/kvm/i8254.c
[...]
>> @@ -70,7 +73,7 @@ static void kvm_pit_update_clock_offs
在 2013-06-07五的 14:58 +0200,Andreas Färber写道:
> Introduce type constant and cast macro to obsolete DO_UPCAST().
>
> Prepares for PIT realizefn.
>
> Signed-off-by: Andreas Färber
> ---
> hw/i386/kvm/i8254.c | 19 +++
> include/hw/timer/i8254.h | 13 -
> 2 files ch
在 2013-06-06四的 05:48 -0700,Richard Henderson写道:
> On 06/05/2013 05:28 PM, li guang wrote:
> > 在 2013-06-05三的 05:49 -0700,Richard Henderson写道:
> >> On 06/04/2013 06:56 PM, li guang wrote:
> > +typedef struct {
> > +uint32_t len __attribute__((aligned((sizeof(void *);
> > +uin
Switch to 64-bit FPU only for n32 and n64 ABIs, but not o32. Fixup for
commit 68473f15d4c9948986618f63828825beafcaf1cf.
Signed-off-by: Thomas Schwinge
---
Hi!
On Sun, 10 Feb 2013 10:30:46 -0800, Richard Henderson wrote:
> diff --git a/target-mips/translate.c b/target-mips/translate.c
> index
> "Stefan" == Stefan Weil writes:
Stefan> cppcheck detected a condition which was always false.
Stefan> According to the MCIMX31 Reference Manual, the PRCS bits have
Stefan> to be 01 to select the Frequency Pre-Multiplier (FPM). PRCS
Stefan> uses bits 1 and 2, so we have to test for 2.
Good
On Sunday 09 June 2013 13:33:14 Anthony Liguori wrote:
> On Sun, Jun 9, 2013 at 5:30 AM, Peter Wu wrote:
> > Aiming for GTK as replacement for SDL, features like -full-screen and
> > -no-frame should also be implemented.
> >
> > Bringing the window into full-screen mode is done by faking activati
On 9 June 2013 21:56, Stefan Weil wrote:
> diff --git a/hw/net/xilinx_axienet.c b/hw/net/xilinx_axienet.c
> index 8989e95..2ca1511 100644
> --- a/hw/net/xilinx_axienet.c
> +++ b/hw/net/xilinx_axienet.c
> @@ -575,7 +575,7 @@ static void enet_write(void *opaque, hwaddr addr,
> break;
>
Am 09.06.2013 21:13, schrieb Andreas Färber:
> cpus.c| 15 +--
> exec.c| 27 ++-
> gdbstub.c | 15 ---
> hw/arm/boot.c | 10 +-
> hw/arm/exynos4_boards.c | 4 ++--
> hw/ar
Obviously the code wanted to mask the lower bits but failed to do so
because of a missing "<".
cppcheck detected a conditional expression which was always true (1 < 7).
Signed-off-by: Stefan Weil
---
Please review - I did not look for a Xilinx manual to see whether
the code was correct at all.
Introduce type constant, cast macro and rename parent field.
Signed-off-by: Andreas Färber
---
hw/ppc/mpc8544_guts.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/hw/ppc/mpc8544_guts.c b/hw/ppc/mpc8544_guts.c
index 98540a4..f623b04 100644
--- a/hw/ppc/mpc8544
SysBus can deal with NULL SysBusDeviceClass::init since 4ce5dae.
Signed-off-by: Andreas Färber
---
hw/ppc/mpc8544_guts.c | 18 +-
1 file changed, 5 insertions(+), 13 deletions(-)
diff --git a/hw/ppc/mpc8544_guts.c b/hw/ppc/mpc8544_guts.c
index f623b04..d41f615 100644
--- a/hw/pp
Hi Alex,
Here's a mini-series cleaning up the mpc8544_guts device.
One user of SysBusDeviceClass::init less to worry about. ;)
Regards,
Andreas
Cc: Alexander Graf
Cc: qemu-...@nongnu.org
Andreas Färber (3):
mpc8544_guts: Fix MemoryRegion name
mpc8544_guts: QOM'ify
mpc8544_guts: Turn qdev
6544 -> 8544
Signed-off-by: Andreas Färber
---
hw/ppc/mpc8544_guts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/ppc/mpc8544_guts.c b/hw/ppc/mpc8544_guts.c
index 193beab..98540a4 100644
--- a/hw/ppc/mpc8544_guts.c
+++ b/hw/ppc/mpc8544_guts.c
@@ -115,7 +115,7 @@ static
cppcheck detected a condition which was always false.
According to the MCIMX31 Reference Manual, the PRCS bits have to be 01
to select the Frequency Pre-Multiplier (FPM). PRCS uses bits 1 and 2,
so we have to test for 2.
Signed-off-by: Stefan Weil
---
hw/misc/imx_ccm.c |2 +-
1 file changed
Use it to clean up the opcode table, resolving a former TODO from Jocelyn.
Also switch from malloc() to g_malloc().
Signed-off-by: Andreas Färber
---
v3 -> v4:
* Introduced PPC_CPU_OPCODES_LEN constant to avoid magic 0x40 (requested by
Alex).
From "QOM'ify Power Architecture CPU" v2:
* Impl
Sorry, forgot to update the commit message!
Am 09.06.2013 21:13, schrieb Andreas Färber:
> TODO: gdbstub
This was referring to changing gdbstub's c_cpu and g_cpu fields to
CPUState - but considering the length of this series, that is left as a
follow-up.
> TBD: linux-user thread_env
Addressed b
Signed-off-by: Andreas Färber
---
bsd-user/elfload.c | 6 --
bsd-user/main.c| 6 +++---
bsd-user/qemu.h| 2 +-
3 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c
index 5e20510..93fd9e4 100644
--- a/bsd-user/elfload.c
+++ b/bsd-user/e
Signed-off-by: Andreas Färber
---
gdbstub.c | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/gdbstub.c b/gdbstub.c
index eb47068..9400abd 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -2059,21 +2059,24 @@ static int gdb_breakpoint_remove(target_ulong addr,
tar
Signed-off-by: Andreas Färber
---
cpus.c | 22 +++---
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/cpus.c b/cpus.c
index 7428389..506a0c8 100644
--- a/cpus.c
+++ b/cpus.c
@@ -77,16 +77,24 @@ static bool cpu_thread_is_idle(CPUState *cpu)
return true;
}
-st
Signed-off-by: Andreas Färber
---
hw/ppc/ppc.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c
index fb57b42..31f3dc4 100644
--- a/hw/ppc/ppc.c
+++ b/hw/ppc/ppc.c
@@ -437,22 +437,23 @@ void ppce500_irq_init(CPUPPCState *env
Signed-off-by: Andreas Färber
---
hw/i386/pc.c | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 71d9019..28c9c6e 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -183,18 +183,23 @@ int cpu_get_pic_interrupt(CPUX86State *env)
Signed-off-by: Andreas Färber
---
hw/i386/kvmvapic.c | 20 +++-
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/hw/i386/kvmvapic.c b/hw/i386/kvmvapic.c
index 9aac9de..dfb1085 100644
--- a/hw/i386/kvmvapic.c
+++ b/hw/i386/kvmvapic.c
@@ -485,19 +485,21 @@ static void
Signed-off-by: Andreas Färber
---
hw/ppc/spapr.c | 212 ++---
1 file changed, 113 insertions(+), 99 deletions(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 53b603d..c8461da 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -237,6 +237
Signed-off-by: Andreas Färber
---
hw/i386/kvm/clock.c | 26 +++---
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/hw/i386/kvm/clock.c b/hw/i386/kvm/clock.c
index 87d4d0f..eaeb0ff 100644
--- a/hw/i386/kvm/clock.c
+++ b/hw/i386/kvm/clock.c
@@ -61,13 +61,25 @@ st
TODO: gdbstub
TBD: linux-user thread_env
Signed-off-by: Andreas Färber
---
cpus.c| 15 +--
exec.c| 27 ++-
gdbstub.c | 15 ---
hw/arm/boot.c | 10 +-
hw/arm/exynos4_boards.
Signed-off-by: Andreas Färber
---
gdbstub.c | 106 +-
1 file changed, 77 insertions(+), 29 deletions(-)
diff --git a/gdbstub.c b/gdbstub.c
index e05cd66..eb47068 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -1944,10 +1944,46 @@ static cons
Signed-off-by: Andreas Färber
---
hw/ppc/spapr.c | 91 ++
1 file changed, 53 insertions(+), 38 deletions(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 218ea23..53b603d 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -128,53 +128
Signed-off-by: Andreas Färber
---
target-i386/helper.c | 30 ++
1 file changed, 22 insertions(+), 8 deletions(-)
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 5e5abe3..d928e82 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -1184,6 +11
Signed-off-by: Andreas Färber
---
hw/ppc/spapr_rtas.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/hw/ppc/spapr_rtas.c b/hw/ppc/spapr_rtas.c
index 48cea4b..a67ffcd 100644
--- a/hw/ppc/spapr_rtas.c
+++ b/hw/ppc/spapr_rtas.c
@@ -130,7 +130,6 @@ static void rtas_query
Signed-off-by: Andreas Färber
---
exec.c | 29 +++--
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/exec.c b/exec.c
index 91618fb..d2e790c 100644
--- a/exec.c
+++ b/exec.c
@@ -262,20 +262,29 @@ static const VMStateDescription vmstate_cpu_common = {
#defin
Eliminates a confusing CPUArchState *cpu variable.
Signed-off-by: Andreas Färber
---
linux-user/elfload.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index ddef23e..cb21487 100644
--- a/linux-user/elfload.c
+
Signed-off-by: Andreas Färber
---
target-mips/op_helper.c | 32 +++-
1 file changed, 19 insertions(+), 13 deletions(-)
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
index 077e81c..6c64d83 100644
--- a/target-mips/op_helper.c
+++ b/target-mips/op_helpe
Signed-off-by: Andreas Färber
---
translate-all.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/translate-all.c b/translate-all.c
index c399a28..78a6f4d 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -675,12 +675,17 @@ static void page_flush_tb(void)
Signed-off-by: Andreas Färber
---
linux-user/elfload.c | 16 +---
linux-user/linuxload.c | 3 ++-
linux-user/main.c | 10 +-
linux-user/qemu.h | 2 +-
linux-user/signal.c| 12 +++-
linux-user/syscall.c | 6 +++---
6 files changed, 27 insertions(+),
Signed-off-by: Andreas Färber
---
target-ppc/excp_helper.c | 23 +++
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/target-ppc/excp_helper.c b/target-ppc/excp_helper.c
index 4a0fc6d..b09aafc 100644
--- a/target-ppc/excp_helper.c
+++ b/target-ppc/excp_helper.c
@
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
monitor.c | 27 +++
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/monitor.c b/monitor.c
index 9be515c..f37bf3d 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1803,21 +1803,32 @@ static void do_inf
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
kvm-all.c | 37 ++---
1 file changed, 22 insertions(+), 15 deletions(-)
diff --git a/kvm-all.c b/kvm-all.c
index 90b89cd..d5ed831 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -1891,12 +1891,22 @@ int kvm
Signed-off-by: Andreas Färber
---
gdbstub.c| 2 +-
include/sysemu/kvm.h | 2 +-
kvm-all.c| 5 ++---
kvm-stub.c | 2 +-
4 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/gdbstub.c b/gdbstub.c
index 1bee3dc..e05cd66 100644
--- a/gdbstub.c
+++ b/gdbstub
Signed-off-by: Andreas Färber
---
hw/ppc/spapr_rtas.c | 21 +
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/hw/ppc/spapr_rtas.c b/hw/ppc/spapr_rtas.c
index a67ffcd..42ed7dc 100644
--- a/hw/ppc/spapr_rtas.c
+++ b/hw/ppc/spapr_rtas.c
@@ -160,8 +160,7 @@ static v
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
cputlb.c | 35 ---
1 file changed, 24 insertions(+), 11 deletions(-)
diff --git a/cputlb.c b/cputlb.c
index f7cc4b4..748d0f6 100644
--- a/cputlb.c
+++ b/cputlb.c
@@ -173,24 +173,37 @@ static inline vo
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
kvm-all.c | 28
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/kvm-all.c b/kvm-all.c
index d5ed831..312106d 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -1986,24 +1986,36 @@ int kvm_remove_br
Signed-off-by: Andreas Färber
---
cpus.c | 75 ++
1 file changed, 43 insertions(+), 32 deletions(-)
diff --git a/cpus.c b/cpus.c
index 3856bf1..a0b8e6b 100644
--- a/cpus.c
+++ b/cpus.c
@@ -1205,49 +1205,60 @@ void list_cpus(FILE *f,
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
exec.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/exec.c b/exec.c
index e14a815..91618fb 100644
--- a/exec.c
+++ b/exec.c
@@ -1705,16 +1705,19 @@ static void core_begin(MemoryListener *listener)
Signed-off-by: Andreas Färber
---
cputlb.c | 15 +--
hw/alpha/typhoon.c| 14 ++
include/qom/cpu.h | 33 +
memory.c | 10 --
target-alpha/cpu.c| 1 +
targe
Change return type from int to bool while at it.
Signed-off-by: Andreas Färber
---
cpus.c | 20 +++-
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/cpus.c b/cpus.c
index 506a0c8..3856bf1 100644
--- a/cpus.c
+++ b/cpus.c
@@ -946,19 +946,21 @@ void qemu_mutex_unlock
Pass it to qemu_dummy_cpu_thread_fn().
Use CPUState::env_ptr for cpu_single_env.
Signed-off-by: Andreas Färber
---
cpus.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/cpus.c b/cpus.c
index 18dba18..2651361 100644
--- a/cpus.c
+++ b/cpus.c
@@ -771,8 +771,7 @
Make cpustats monitor command available unconditionally.
Signed-off-by: Andreas Färber
---
bsd-user/main.c | 3 ++-
cpus.c| 2 +-
exec.c| 3 ++-
include/exec/cpu-all.h| 10 --
include/qemu/log.h| 2 +-
Fiddle with include order to ensure CPUState is defined before
cpu_single_cpu.
Signed-off-by: Andreas Färber
---
cpu-exec.c | 13 +++--
cpus.c | 29 ++---
exec.c | 12 +++-
hw/alpha/typhoon.c | 16 ---
This allows to move the call to CPUState's realizefn.
Therefore move the stub into libqemustub.a.
Signed-off-by: Andreas Färber
---
cpus.c | 5 +
include/qemu-common.h | 8
include/qom/cpu.h | 8
qom/cpu.c | 2 ++
stubs
Signed-off-by: Andreas Färber
---
target-mips/op_helper.c | 25 ++---
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
index f6838ec..077e81c 100644
--- a/target-mips/op_helper.c
+++ b/target-mips/op_helper.c
@@
It no longer needs CPUArchState.
Signed-off-by: Andreas Färber
---
cpus.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/cpus.c b/cpus.c
index b2b20c3..fcef422 100644
--- a/cpus.c
+++ b/cpus.c
@@ -62,10 +62,8 @@
static CPUArchState *next_cpu;
-static bool cpu_th
While not normally needed for *-user, it can safely be used there since
always based on uint64_t, to avoid ifdeffery.
To avoid accidental uses, move the guards from exec/hwaddr.h to its
inclusion sites. No need for them in include/hw/.
Prepares for hwaddr use in qom/cpu.h.
Signed-off-by: Andrea
Signed-off-by: Andreas Färber
---
translate-all.c | 27 ---
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/translate-all.c b/translate-all.c
index 78a6f4d..8e98a13 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -819,14 +819,31 @@ static inline void t
Use qemu_get_cpu() to avoid open-coded CPU loop.
Signed-off-by: Andreas Färber
---
monitor.c | 14 +-
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/monitor.c b/monitor.c
index 6e22d15..19c297d 100644
--- a/monitor.c
+++ b/monitor.c
@@ -2013,7 +2013,6 @@ static void do
Use CPUState::env_ptr for now.
Signed-off-by: Andreas Färber
---
cpus.c | 2 +-
gdbstub.c | 4 +++-
include/exec/gdbstub.h | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/cpus.c b/cpus.c
index f07618f..dba69bc 100644
--- a/cpus.c
+++ b/cpus.c
@
Pass it on to qemu_kvm_cpu_thread_fn().
Signed-off-by: Andreas Färber
---
cpus.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/cpus.c b/cpus.c
index f629a15..18dba18 100644
--- a/cpus.c
+++ b/cpus.c
@@ -732,14 +732,13 @@ static void qemu_kvm_wait_io_event(CPUS
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
linux-user/main.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 95e17cf..5ced658 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -144,25
Signed-off-by: Andreas Färber
---
cpus.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/cpus.c b/cpus.c
index dba69bc..f629a15 100644
--- a/cpus.c
+++ b/cpus.c
@@ -463,10 +463,8 @@ static bool cpu_can_run(CPUState *cpu)
return true;
}
-static void cpu_handle_g
Signed-off-by: Andreas Färber
---
cpus.c | 2 +-
include/sysemu/kvm.h | 2 +-
kvm-all.c| 3 +--
kvm-stub.c | 4 ++--
4 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/cpus.c b/cpus.c
index 636d4d8..f07618f 100644
--- a/cpus.c
+++ b/cpus.c
@@ -757,7
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
cpus.c | 24 +++-
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/cpus.c b/cpus.c
index 24ee974..1975c5c 100644
--- a/cpus.c
+++ b/cpus.c
@@ -1331,18 +1331,24 @@ exit:
fclose(f);
}
-void qmp
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
cpus.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/cpus.c b/cpus.c
index ad5edfe..1babecf 100644
--- a/cpus.c
+++ b/cpus.c
@@ -1005,16 +1005,15 @@ void cpu_resume(CPUState *cpu)
qemu_cpu_kic
Signed-off-by: Andreas Färber
---
cpus.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/cpus.c b/cpus.c
index aa8aa36..080f308 100644
--- a/cpus.c
+++ b/cpus.c
@@ -572,9 +572,8 @@ static void dummy_signal(int sig)
{
}
-static void qemu_kvm_init_cpu_signals(CPUArchS
Signed-off-by: Andreas Färber
---
kvm-all.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/kvm-all.c b/kvm-all.c
index 1cd4573..1675311 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -1520,10 +1520,8 @@ static void kvm_handle_io(uint16_t port, void *data, int
direction, int
CPUArchState is no longer needed.
Signed-off-by: Andreas Färber
---
cpus.c | 3 ++-
include/sysemu/kvm.h | 2 +-
kvm-all.c| 3 +--
kvm-stub.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/cpus.c b/cpus.c
index 2545e15..aa8aa36 100644
-
Change Monitor::mon_cpu to CPUState as well.
In cpu_sychronize_all_states() use qemu_for_each_cpu() now.
In dump_init() use cpu_synchronize_all_states().
Signed-off-by: Andreas Färber
---
cpus.c | 13 +++--
gdbstub.c | 8
hw/i386/kvm/apic.c |
Use qemu_get_cpu() and CPUState::env_ptr.
Signed-off-by: Andreas Färber
---
gdbstub.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/gdbstub.c b/gdbstub.c
index fb6c6a5..92ecdcb 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -2068,17 +2068,13 @@ static void gdb_set_c
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
cpus.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/cpus.c b/cpus.c
index 1975c5c..9195bc3 100644
--- a/cpus.c
+++ b/cpus.c
@@ -386,21 +386,22 @@ void configure_icount(const char *option)
}
It no longer depends on CPUArchState, so move it to qom/cpu.c.
Signed-off-by: Andreas Färber
---
cpus.c | 4 ++--
exec.c | 8
gdbstub.c | 2 +-
hw/i386/pc.c| 2 +-
hw/mips/mips_fulong2e.c | 2 +-
hw/mips/mips_jazz.c | 2 +-
It no longer uses CPUArchState.
Signed-off-by: Andreas Färber
---
cpus.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/cpus.c b/cpus.c
index fcef422..2545e15 100644
--- a/cpus.c
+++ b/cpus.c
@@ -722,10 +722,8 @@ static void qemu_tcg_wait_io_event(void)
qemu_for_e
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
cpus.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/cpus.c b/cpus.c
index 1babecf..24ee974 100644
--- a/cpus.c
+++ b/cpus.c
@@ -1188,22 +1188,22 @@ static void tcg_exec_all(void)
exit_re
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
cpus.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/cpus.c b/cpus.c
index 9195bc3..a8572a9 100644
--- a/cpus.c
+++ b/cpus.c
@@ -703,10 +703,13 @@ static void qemu_wait_io_event_common(CPUState
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
cpus.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/cpus.c b/cpus.c
index 8ff66c3..1186ad3 100644
--- a/cpus.c
+++ b/cpus.c
@@ -415,13 +415,14 @@ void cpu_synchronize_all_states(void)
qemu_for_
It no longer relies on CPUArchState.
Signed-off-by: Andreas Färber
---
hw/ppc/spapr_rtas.c | 2 +-
include/sysemu/kvm.h | 4 ++--
kvm-all.c| 4 +---
kvm-stub.c | 2 +-
target-i386/kvm.c| 10 +-
5 files changed, 10 insertions(+), 12 deletions(-)
diff --git
Use new qemu_for_each_cpu() to pause, stop and kick CPUs.
Signed-off-by: Andreas Färber
---
cpus.c | 40
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/cpus.c b/cpus.c
index 85b35f6..ad5edfe 100644
--- a/cpus.c
+++ b/cpus.c
@@ -962,39 +96
Use new qemu_for_each_cpu().
Signed-off-by: Andreas Färber
---
cpus.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/cpus.c b/cpus.c
index 1186ad3..85b35f6 100644
--- a/cpus.c
+++ b/cpus.c
@@ -425,13 +425,14 @@ void cpu_synchronize_all_post_reset(void)
qemu_
Hello,
Based on my guest-memory-dump cleanup patches, this large series changes
cpu_single_env, first_cpu, next_cpu and thread_env to CPUState.
As a prerequisite, most open-coded CPU loops are replaced by either
qemu_for_each_cpu() or qemu_get_cpu(). Individual review appreciated!
qemu_init_vcpu
On Sun, Jun 9, 2013 at 5:30 AM, Peter Wu wrote:
> Aiming for GTK as replacement for SDL, features like -full-screen and
> -no-frame
> should also be implemented.
>
> Bringing the window into full-screen mode is done by faking activating the
> full
> screen menu item with a NULL menu item (which
1 - 100 of 134 matches
Mail list logo