When linux-specific commands (including guest-fsfreeze-*) were consolidated
under defined(__linux__), we forgot to account for the case where
defined(__linux__) && !defined(FIFREEZE). As a result stubs are no longer
being generated on linux hosts that don't have FIFREEZE support. Fix
this.
Signed-
On Sat, Apr 14, 2012 at 02:48:14AM +0200, Andreas Färber wrote:
> Hello,
>
> While testing my latest ppc series on ppc, I noticed a qemu-ga link
> failure that I can't reproduce on my x64 box (identical commit):
>
> [...]
> LINK ppc64-softmmu/qemu-system-ppc64
> CCqemu-ga.o
> CCqga
This is Diamond 233L Standard Core Rev.C (LE), implemented through
linux/gdb overlay.
Signed-off-by: Max Filippov
---
Makefile.target|1 +
target-xtensa/core-dc233c.c| 28 ++
target-xtensa/core-dc233c/core-isa.h | 475
On 13 April 2012 20:59, Crístian Viana wrote:
>> If so, then you have a bug in
>> nseries.c: sprintf() is asking for a buffer overflow. Remember,
>> QEMU_VERSION has a compile-time fixed length, but if qemu_get_version()
>> is an arbitrary user string, you no longer have a guarantee that you fit
On 13 April 2012 20:16, Crístian Viana wrote:
> --- a/hw/usb/redirect.c
> +++ b/hw/usb/redirect.c
> @@ -141,8 +141,6 @@ static void usbredir_interrupt_packet(void *priv,
> uint32_t id,
> static int usbredir_handle_status(USBRedirDevice *dev,
> int status, i
From: Andreas Färber
Embed CPUXtensaState as first member of XtensaCPU.
Let CPUClass::reset() call cpu_state_reset() for now.
Signed-off-by: Andreas Färber
Signed-off-by: Max Filippov
---
Makefile.target |1 +
target-xtensa/cpu-qom.h | 80
From: Andreas Färber
Move code from cpu_state_reset() into QOM xtensa_cpu_reset().
To avoid moving reset_mmu() and dependencies, make it non-static.
Signed-off-by: Andreas Färber
Signed-off-by: Max Filippov
---
target-xtensa/cpu.c| 12 +++-
target-xtensa/cpu.h|1 +
targe
From: Andreas Färber
Move XtensaConfig-independent code from cpu_xtensa_init() into a
QOM initfn, as a start.
Signed-off-by: Andreas Färber
Signed-off-by: Max Filippov
---
target-xtensa/cpu.c|9 +
target-xtensa/helper.c |1 -
2 files changed, 9 insertions(+), 1 deletions(-
From: Lluís Vilanova
Provides a file naming scheme consistent with other targets.
Signed-off-by: Lluís Vilanova
Signed-off-by: Max Filippov
---
target-xtensa/helper.h| 39 +++
target-xtensa/helpers.h | 39 ---
t
- add testcase announcement;
- add global symbols for individual tests;
- add host-debug-* makefile target.
Signed-off-by: Max Filippov
---
tests/tcg/xtensa/Makefile |3 +++
tests/tcg/xtensa/macros.inc | 17 +
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git
The following changes since commit 7672725d41d1a04195affc1a7bd5676ba6314b14:
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
(2012-04-13 08:04:43 -0500)
are available in the git repository at:
git://jcmvbkbc.spb.ru/dumb/qemu-xtensa.git xtensa
Andreas Färber (3):
Hello,
While testing my latest ppc series on ppc, I noticed a qemu-ga link
failure that I can't reproduce on my x64 box (identical commit):
[...]
LINK ppc64-softmmu/qemu-system-ppc64
CCqemu-ga.o
CCqga/commands.o
CCqga/guest-agent-command-state.o
CCqga/commands-posix.o
Hello David,
This series merges my PowerPC QOM'ification v2 series with your
TCG/KVM limitations patch. The finalizer is dropped for now, and
cpu_ppc_close() drop has already been applied.
If I don't hear objections I'm going to apply this modified version and
will send a PULL for the ppc queue l
Move code from cpu_state_reset() into ppc_cpu_reset().
Reorder #include of helper_regs.h to use it in translate_init.c.
Adjust whitespace and add braces.
Signed-off-by: Andreas Färber
Acked-by: David Gibson
---
target-ppc/helper.c | 45 +-
targ
From: David Gibson
On target-ppc, our table of CPU types and features encodes the features as
found on the hardware, regardless of whether these features are actually
usable under TCG or KVM. We already have cases where the information from
the cpu table must be fixed up to account for limitatio
Move code not dependent on ppc_def_t from cpu_ppc_init() into an initfn.
Signed-off-by: Andreas Färber
Acked-by: David Gibson
[AF: Rebased on top of moved env->cpu_index fixup]
---
target-ppc/helper.c |3 ++-
target-ppc/translate_init.c |9 +
2 files changed, 11 insertio
Embed CPUPPCState as first member of PowerPCCPU.
Distinguish between "powerpc-cpu", "powerpc64-cpu" and
"embedded-powerpc-cpu".
Let CPUClass::reset() call cpu_state_reset() for now.
Signed-off-by: Andreas Färber
Acked-by: David Gibson
---
target-ppc/cpu-qom.h| 77
Simplifies TLB helper code.
Signed-off-by: Andreas Färber
---
target-sh4/helper.c | 49 +
1 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/target-sh4/helper.c b/target-sh4/helper.c
index 3653ece..d273097 100644
--- a/target-sh4/he
Embed CPUSH4State as first member of SuperHCPU.
Let CPUClass::reset() call cpu_state_reset() for now.
Signed-off-by: Andreas Färber
---
Makefile.target|1 +
target-sh4/cpu-qom.h | 71
target-sh4/cpu.c | 60
Signed-off-by: Andreas Färber
---
target-sh4/helper.c | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/target-sh4/helper.c b/target-sh4/helper.c
index d273097..ffe79ec 100644
--- a/target-sh4/helper.c
+++ b/target-sh4/helper.c
@@ -286,18 +286,18 @@ static void
Change argument type to SuperHCPU and update the SH7750 SoC.
Signed-off-by: Andreas Färber
---
hw/sh7750.c | 16 ++--
target-sh4/cpu.h| 16 ++--
target-sh4/helper.c | 63 ++-
3 files changed, 48 insertions(+), 47 d
On 04/13/2012 10:23 AM, Paolo Bonzini wrote:
> From: Federico Simoncelli
>
> Signed-off-by: Federico Simoncelli
> Signed-off-by: Paolo Bonzini
> ---
> blockdev.c | 75
> ++
> hmp-commands.hx | 16
> hmp.c|
Move code from cpu_state_reset() to QOM superh_cpu_reset().
Signed-off-by: Andreas Färber
---
target-sh4/cpu.c | 21 -
target-sh4/translate.c | 22 ++
2 files changed, 22 insertions(+), 21 deletions(-)
diff --git a/target-sh4/cpu.c b/target-sh4/
Signed-off-by: Andreas Färber
---
target-sh4/helper.c | 18 +++---
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/target-sh4/helper.c b/target-sh4/helper.c
index c5c0593..c291eee 100644
--- a/target-sh4/helper.c
+++ b/target-sh4/helper.c
@@ -227,17 +227,21 @@ static
Hello,
This series converts the SuperH CPU to QOM.
Subclasses and the controversial QOM'ification of the SH7750 SoC are postponed.
I tested it using the sh-test-0.2 test image.
Patches 1-3 do the actual CPU QOM'ification, introducing SuperHCPU.
Patch 4 is a bugfix noticed during QOM'ification.
P
On 04/13/2012 10:23 AM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> +flags = bs->open_flags | BDRV_O_RDWR;
> +source = bs->backing_hd;
> +/* create new image w/backing file */
> +if (full && mode != NEW_IMAGE_MODE_EXISTING) {
> +assert(format && drv);
> +
Move code from cpu_sh4_init() into a QOM initfn.
Signed-off-by: Andreas Färber
---
target-sh4/cpu.c | 13 +
target-sh4/translate.c |3 ---
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/target-sh4/cpu.c b/target-sh4/cpu.c
index 062d737..948cfac 100644
---
Signed-off-by: Andreas Färber
---
target-sh4/helper.c | 23 ---
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/target-sh4/helper.c b/target-sh4/helper.c
index 655faaa..2d5a4e4 100644
--- a/target-sh4/helper.c
+++ b/target-sh4/helper.c
@@ -269,17 +269,18 @@
Adds 'tracetool-gen' to generate files with tracetool into a temporary file, and
'tracetool-ci' to "commit" the generation from the temporaty file into the
actual destination file if there were any changes in the produced file.
Signed-off-by: Lluís Vilanova
---
Makefile.objs | 19 +
Some trivial changes to handle tracetool-generated files more concisely.
Signed-off-by: Lluís Vilanova
---
NOTE: Applies on top of the tracetool rewrite.
Lluís Vilanova (2):
[trivial] Generic elimination of auto-generated files
[trivial] Simpler handling of tracetool-generated files
Signed-off-by: Lluís Vilanova
---
Makefile |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 135cb72..8179966 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ ifeq ($(TRACE_BACKEND),dtrace)
GENERATED_HEADERS += trace-dtrace.h
endif
G
Am 04.04.2012 07:02, schrieb David Gibson:
> On target-ppc, our table of CPU types and features encodes the features as
> found on the hardware, regardless of whether these features are actually
> usable under TCG or KVM. We already have cases where the information from
> the cpu table must be fix
Change argument type from CPUSH4State to SuperHCPU.
This simplifies the SH7750 SoC as its only caller.
Signed-off-by: Andreas Färber
---
hw/sh7750.c |2 +-
target-sh4/cpu.h|4 +++-
target-sh4/helper.c |8
3 files changed, 8 insertions(+), 6 deletions(-)
diff --g
In place of CPUSH4State use SuperHCPU for SH7750State::cpu field.
Fix tab indentation on those lines and add braces.
Signed-off-by: Andreas Färber
---
hw/sh7750.c | 69 ++-
1 files changed, 35 insertions(+), 34 deletions(-)
diff --git a
Signed-off-by: Andreas Färber
---
target-sh4/helper.c | 29 +++--
1 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/target-sh4/helper.c b/target-sh4/helper.c
index 2d5a4e4..d2186ed 100644
--- a/target-sh4/helper.c
+++ b/target-sh4/helper.c
@@ -243,15 +243,
This might be easier to read and understand:
GOOD
Populating /pci@0,0
Adapters on
00 (D) : 1af4 1000 virtio [ net ]
00 0800 (D) : 1af4 1001 virtio [ block ]
...
PCI host bridge /pci@0,0 ranges:
IO 0x01008000.
Am 10.04.2012 00:44, schrieb David Gibson:
> On Fri, Apr 06, 2012 at 06:17:08PM +0200, Andreas Färber wrote:
>> It is unused, so avoid QOM'ifying it unneededly.
>>
>> Signed-off-by: Andreas Färber
>
> Acked-by: David Gibson
Thanks, applied to ppc-next:
http://repo.or.cz/w/qemu/agraf.git/shortlo
On 04/13/2012 10:23 AM, Paolo Bonzini wrote:
> Management needs a way for QEMU to confirm that no I/O has been sent to the
> target and not to the source. To provide this guarantee we rely on a file
> in local persistent storage. QEMU receives a file descriptor via SCM_RIGHTS
> and writes a singl
Stefan Hajnoczi writes:
> Excellent, thank you!
> There was a conflict qemu.git/master and Patch 1 which I have tried to
> resolve. I also added commit descriptions to the first and last patches
> to capture the rationale behind these changes.
> Please check the tracing tree to confirm that you
Signed-off-by: Andreas Färber
---
target-sh4/helper.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/target-sh4/helper.c b/target-sh4/helper.c
index ffe79ec..c5c0593 100644
--- a/target-sh4/helper.c
+++ b/target-sh4/helper.c
@@ -202,7 +202,7 @@ void do_interrupt
Move them out of CPUSH4State so that they are not zero'ed on reset.
Signed-off-by: Andreas Färber
---
hw/sh7750.c|5 +++--
target-sh4/cpu-qom.h |3 +++
target-sh4/cpu.h |3 ---
target-sh4/translate.c |5 +++--
4 files changed, 9 insertions(+), 7 deletions(-)
On 04/13/2012 02:41 PM, Paolo Bonzini wrote:
>> On 04/13/2012 11:32 AM, Paolo Bonzini wrote:
>>> Il 13/04/2012 19:09, Eric Blake ha scritto:
>> +It is also possible to use raw as the format of the destination
>> image.
>> +Converting an image to raw will properly support thin
>> pro
> On 04/13/2012 11:32 AM, Paolo Bonzini wrote:
> > Il 13/04/2012 19:09, Eric Blake ha scritto:
> +It is also possible to use raw as the format of the destination
> image.
> +Converting an image to raw will properly support thin
> provisioning.
> >> Do you need to mention the use
On 04/13/2012 10:23 AM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> blockdev.c | 102
> --
> hmp-commands.hx | 21 +++
> hmp.c| 26 ++
> hmp.h|1 +
> qapi-schema.json |
This is a bitmap file (32x32x4) derived from the official QEMU mascot
(which was designed by Benoît Canet). I stripped the text from the SVG
to get a nearly square image and converted the result to BMP without
any manual optimization.
The bitmap is currently used by QEMU's SDL interface and replac
On 04/04/2012 07:34 AM, Michael Tokarev wrote:
As mentioned in http://bugs.debian.org/660154 , finnish keyboard mapping
is kind of broken. Fix it as Timo Sirainen suggests in #660154.
Needs a Signed-off-by.
Regards,
Anthony Liguori
index 2a4e0f0..4be7586 100644
--- a/pc-bios/keymaps/fi
+++
On 13-04-2012 16:26, Eric Blake wrote:
> qemu_get_version returns whatever string got put there by
> qemu_set_version. Am I correct that the user has full control over the
> string passed to qemu_set_version?
Actually, this is not available to the user, the string passed to that
function is suppo
On 04/13/2012 01:16 PM, Crístian Viana wrote:
> Based on the following conversation:
>
> http://mid.gmane.org/4f69f05b.5010...@codemonkey.ws
>
>> Which reminds me - qemu sticks the release version in
>> guest visible places like CPU version.
>> This is wrong and causes windows guests to print mes
Based on the following conversation:
http://mid.gmane.org/4f69f05b.5010...@codemonkey.ws
> Which reminds me - qemu sticks the release version in
> guest visible places like CPU version.
> This is wrong and causes windows guests to print messages
> about driver updates when you switch.
> We should
On 04/13/2012 12:03 PM, Eric Blake wrote:
> On 04/13/2012 10:23 AM, Paolo Bonzini wrote:
>> Hi all,
>>
>> this is an alternative implementation of mirroring using a block job.
>> In the end this is the same as Marcelo's original live block copy code,
>> only done on top of the job infrastructure an
Signed-off-by: Stefano Stabellini
---
hw/xen_disk.c | 13 ++---
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/hw/xen_disk.c b/hw/xen_disk.c
index 84ca76e..3e4a47b 100644
--- a/hw/xen_disk.c
+++ b/hw/xen_disk.c
@@ -324,9 +324,6 @@ static void qemu_aio_complete(void *opaq
Fix win32_rearm_timer and mm_rearm_timer: they should be able to handle
INT64_MAX as a delta parameter without overflowing.
Also, the next deadline in ms should be calculated rounding down rather
than up (see unix_rearm_timer and dynticks_rearm_timer).
Finally ChangeTimerQueueTimer takes an unsign
- remove qemu_calculate_timeout;
- explicitly size timeout to uint32_t;
- introduce slirp_update_timeout;
- pass NULL as timeout argument to select in case timeout is the maximum
value;
Signed-off-by: Stefano Stabellini
Acked-by: Paul Brook
---
async.c |2 +-
main-loop.c |
Also delta in qemu_next_alarm_deadline is a 64 bit value so set the
default to INT64_MAX instead of INT32_MAX.
Signed-off-by: Stefano Stabellini
---
qemu-timer.c | 10 --
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/qemu-timer.c b/qemu-timer.c
index fe4cd6f..1166beb 1
PIT and PCSPK are emulated by the hypervisor so we don't need to emulate
them in Qemu: this patch prevents Qemu from waking up needlessly at
PIT_FREQ on Xen.
Signed-off-by: Stefano Stabellini
---
hw/pc.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/hw/pc.c b/h
rtc_clock is only used by the RTC emulator (mc146818rtc.c), however Xen
has its own RTC emulator in the hypervisor so we can disable it.
Signed-off-by: Stefano Stabellini
---
xen-all.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/xen-all.c b/xen-all.c
index 3e6de41
Hi all,
this small patch series prevents QEMU from waking up needlessly on Xen
several times a second in order to check some timers.
The first patch stops QEMU from emulating the PIT on Xen, the second
patch disables the rtc_clock entirely.
The third patch fixes win32_rearm_timer and mm_rearm_t
On 04/13/2012 11:32 AM, Paolo Bonzini wrote:
> Il 13/04/2012 19:09, Eric Blake ha scritto:
+It is also possible to use raw as the format of the destination image.
+Converting an image to raw will properly support thin provisioning.
>> Do you need to mention the use of block_job_cancel nee
On 04/13/2012 10:23 AM, Paolo Bonzini wrote:
> Hi all,
>
> this is an alternative implementation of mirroring using a block job.
> In the end this is the same as Marcelo's original live block copy code,
> only done on top of the job infrastructure and coroutines. Here, the
> drive-mirror command
Hi Anthony,
please pull the following branch:
git://xenbits.xen.org/people/sstabellini/qemu-dm.git for_anthony
It includes two mapcache fixes, one xen_disk fix, two patches to allow
MSI injection into HVM guests and finally a patch to receive
notification from Xen for buffered io events:
Antho
Il 13/04/2012 19:09, Eric Blake ha scritto:
>> > +It is also possible to use raw as the format of the destination image.
>> > +Converting an image to raw will properly support thin provisioning.
> Do you need to mention the use of block_job_cancel needed at the point
> where you are ready to stop q
Assert that write_compressed is never used with the dirty bitmap.
Setting the bits early is wrong, because a coroutine might concurrently
examine them and copy incomplete data from the source.
Signed-off-by: Paolo Bonzini
---
block.c | 51 +--
bl
On 04/13/2012 10:23 AM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> docs/live-block-ops.txt | 38 +++---
> 1 file changed, 31 insertions(+), 7 deletions(-)
>
>
> +Live block migration
> +
> +
> +Migrating an in use image to
From: Federico Simoncelli
Signed-off-by: Federico Simoncelli
Signed-off-by: Paolo Bonzini
---
blockdev.c | 75 ++
hmp-commands.hx | 16
hmp.c| 11
hmp.h|1 +
qapi-schema.json |
Hi,
Just a friendly reminder that this Sunday (April 15th) is the scheduled soft
freeze for 1.1. The full 1.1 release schedule is available at. If you have any
questions about the upcoming dates, please don't hesitate to ask. Happy hacking!
http://wiki.qemu.org/Planning/1.1
== What is the
Management needs a way for QEMU to confirm that no I/O has been sent to the
target and not to the source. To provide this guarantee we rely on a file
in local persistent storage. QEMU receives a file descriptor via SCM_RIGHTS
and writes a single byte to it. If it fails, it will fail the drive-re
On 11/04/12 02:08, David Gibson wrote:
Hi David,
Commit 41557447d30eeb944e42069513df13585f5e6c7f introduced a new method of
calculating the MSR for the interrupt context. However this doesn't quite
agree with the PowerISA 2.06B specification (pp. 811-814) since too many
bits were being cleared.
Yes, I forgot to update the bug. Thanks for testing! :)
** Changed in: qemu
Status: New => Fix Committed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/935945
Title:
SLIRP still not working
** Changed in: qemu
Status: New => Fix Committed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/916720
Title:
select fails on windows because a non-socket fd is in the rfds set
Status in QEM
Signed-off-by: Paolo Bonzini
---
blockdev.c | 102 --
hmp-commands.hx | 21 +++
hmp.c| 26 ++
hmp.h|1 +
qapi-schema.json | 30
qmp-commands.hx | 36 ++
This patch adds the implementation of a new job that mirrors a disk to
a new image while letting the guest continue using the old image.
The target is treated as a "black box" and data is copied from the
source to the target in the background.
The mirror job is never-ending, but it is logically st
Track the coroutine that executes the job, so that the wait can be
cancelled before block_job_cancel restarts. This also gives to the
coroutine an opportunity to flip job->busy to true, and submit new
I/O before exiting. block_job_cancel_sync will wait for job->busy
to become false again.
Also d
Signed-off-by: Paolo Bonzini
---
docs/live-block-ops.txt | 38 +++---
1 file changed, 31 insertions(+), 7 deletions(-)
diff --git a/docs/live-block-ops.txt b/docs/live-block-ops.txt
index a257087..caf3466 100644
--- a/docs/live-block-ops.txt
+++ b/docs/live-bloc
In the next patch we want to reenter the coroutine from
block_job_cancel_sync and cancel the timer.
Signed-off-by: Paolo Bonzini
---
qemu-coroutine-sleep.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/qemu-coroutine-sleep.c b/qemu-coroutine-sleep.c
index fd65274..d708
Hi all,
this is an alternative implementation of mirroring using a block job.
In the end this is the same as Marcelo's original live block copy code,
only done on top of the job infrastructure and coroutines. Here, the
drive-mirror command sets up a job that copies data using the existing
dirty-b
On 04/12/2012 08:32 PM, Marcelo Tosatti wrote:
The following changes since commit dadc1064c348545695b8a14d9dc72ccaa2983be7:
target-microblaze: added PetaLogix copyright (2012-04-12 09:56:51 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git u
On 04/13/2012 04:39 AM, Stefan Hajnoczi wrote:
The following changes since commit dadc1064c348545695b8a14d9dc72ccaa2983be7:
target-microblaze: added PetaLogix copyright (2012-04-12 09:56:51 +0200)
Pulled. Thanks.
Regards,
Anthony Liguori
are available in the git repository at:
git
On 04/11/2012 06:19 PM, Andreas Färber wrote:
Hello Anthony, Blue or Edgar,
Please pull the lm32 QOM CPU conversion.
Cc: Anthony Liguori
Cc: Blue Swirl
Cc: Edgar E. Iglesias
Cc: Michael Walle
Pulled. Thanks.
Regards,
Anthony Liguori
The following changes since commit c1958aea51a14199d0
SLIRP is now currently WORKING for win32 in qemu.org git master as of
Apr 13 2012 10:20 Eastern. The last time I checked unsuccessfully with
things still broken was earlier in the week, probably April 9th, I don't
remember exactly, but the fix was definitely committed this week.
Thanks!!!
--
You
On 04/13/2012 09:21 AM, Andreas Färber wrote:
Am 13.04.2012 16:08, schrieb Paolo Bonzini:
Il 13/04/2012 16:06, Andreas Färber ha scritto:
I'm still talking about the (pretty clear to me) graph that I posted.
There, object A's init function creates a new qdev object - . Creating
an object can fa
On 04/13/2012 09:06 AM, Andreas Färber wrote:
Am 13.04.2012 16:00, schrieb Anthony Liguori:
On 04/13/2012 08:36 AM, Andreas Färber wrote:
Am 13.04.2012 09:17, schrieb Paolo Bonzini:
initfn is unable to handle errors btw, which is another reason to do
object creations in a second-stage construc
From: "NODA, Kai"
GHashTableIter was first introduced in glib 2.16.
This patch removes it in favor of older g_hash_table_find()
for better compatibility with RHEL5.
---
qapi/qmp-input-visitor.c | 25 +
1 file changed, 17 insertions(+), 8 deletions(-)
diff --git a/qapi/
On 4/13/2012 6:25 AM, Pavel Dovgaluk wrote:
>> -Original Message-
>> From: Paolo Bonzini [mailto:pbonz...@redhat.com]
>> Sent: Thursday, April 12, 2012 8:57 PM
>> To: Stefan Weil
>> Cc: Kevin Wolf; 'qemu-devel'; Pavel Dovgaluk
>> Subject: Re: [Qemu-devel] Fiber switching and stack protectio
Am 13.04.2012 16:25, schrieb Paolo Bonzini:
> Il 13/04/2012 16:21, Andreas Färber ha scritto:
>> Am 13.04.2012 16:08, schrieb Paolo Bonzini:
>>> Il 13/04/2012 16:06, Andreas Färber ha scritto:
I'm still talking about the (pretty clear to me) graph that I posted.
There, object A's init fun
Convert arm11mpcore to using the standalone sysbus GIC device.
Signed-off-by: Peter Maydell
---
hw/arm11mpcore.c | 49 ++---
1 files changed, 30 insertions(+), 19 deletions(-)
diff --git a/hw/arm11mpcore.c b/hw/arm11mpcore.c
index e876a0e..c528d7a 1
On Fri, Apr 13, 2012 at 5:59 PM, Paolo Bonzini wrote:
> Il 13/04/2012 11:52, Zhi Yong Wu ha scritto:
>>> > FWIW, live snapshot during guest boot (block_set_io_throttle ide0-hd0 0
>>> > 50 50 0 50 50) died immediately without the patches.
>>> > With the patch I could do 20 snapshots
Move the gic_get_current_cpu() function into arm_gic.c.
There are only two implementations: (1) "get the index
of the currently executing CPU", used by all multicore
GICs, and (2) "always 0", used by all GICs instantiated
with a single CPU interface (the Realview board GIC and
the v7M NVIC). So we
Signed-off-by: Stefan Hajnoczi
---
tests/Makefile |3 +-
tests/virtio-test.c | 88 +++
2 files changed, 90 insertions(+), 1 deletion(-)
create mode 100644 tests/virtio-test.c
diff --git a/tests/Makefile b/tests/Makefile
index a98a848..f
Tests that exercise virtio devices require the same constants we use to
implement virtio device emulation. Move these constants into their own
header files, thus allowing them to be used by test programs.
Signed-off-by: Stefan Hajnoczi
---
hw/9pfs/virtio-9p-device.c |1 +
hw/virtio-defs.h
This RFC series shows how I'm using qtest to implement virtio device test
cases. The main pieces are:
1. libpci is a thin PCI device wrapper that makes it possible to access
configuration space and map BARs. There is stuff missing, I have not dealt
with MMIO or interrupts yet. But this mi
This patch adds a common PCI bus driver library which works for
i386/x86-64 targets. Tests can use the library to probe for PCI
devices, map BARs, and access configuration space.
Signed-off-by: Stefan Hajnoczi
---
tests/libpci.c | 106
t
Il 13/04/2012 16:21, Andreas Färber ha scritto:
> Am 13.04.2012 16:08, schrieb Paolo Bonzini:
>> Il 13/04/2012 16:06, Andreas Färber ha scritto:
>>> I'm still talking about the (pretty clear to me) graph that I posted.
>>> There, object A's init function creates a new qdev object - . Creating
>>> a
Switch the a9mpcore to using the sysbus GIC device rather
than having the a9mp private memory region device subclass
the GIC.
Signed-off-by: Peter Maydell
---
hw/a9mpcore.c | 60 +---
1 files changed, 35 insertions(+), 25 deletions(-)
diff -
Compile arm_gic.c as a standalone C file to produce a self contained
sysbus GIC device. Support the legacy usage by #include of the .c file
by making those users #define LEGACY_INCLUDED_GIC, so we can convert
them one by one.
Signed-off-by: Peter Maydell
Reviewed-by: Evgeny Voevodin
---
Makefil
Am 13.04.2012 16:08, schrieb Paolo Bonzini:
> Il 13/04/2012 16:06, Andreas Färber ha scritto:
>> I'm still talking about the (pretty clear to me) graph that I posted.
>> There, object A's init function creates a new qdev object - . Creating
>> an object can fail - fatally or non-fatally.
>>
>> And
Move the NCPU definition to arm_gic.c: the maximum number
of CPU interfaces is defined by the GIC architecture specification
to be 8, so we don't need to have this #define in each of the
sources files which currently includes arm_gic.c.
Signed-off-by: Peter Maydell
Reviewed-by: Evgeny Voevodin
-
Signed-off-by: Stefan Hajnoczi
---
.gitignore |1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 9859c7d..db74219 100644
--- a/.gitignore
+++ b/.gitignore
@@ -89,3 +89,4 @@ cscope.*
tags
TAGS
*~
+tests/*-test
--
1.7.9.5
Switch the a15mpcore private peripheral region to using
the standalone sysbus GIC device.
Signed-off-by: Peter Maydell
---
hw/a15mpcore.c | 35 ++-
1 files changed, 26 insertions(+), 9 deletions(-)
diff --git a/hw/a15mpcore.c b/hw/a15mpcore.c
index 54c0dbf..5a7
Il 13/04/2012 16:06, Andreas Färber ha scritto:
> I'm still talking about the (pretty clear to me) graph that I posted.
> There, object A's init function creates a new qdev object - . Creating
> an object can fail - fatally or non-fatally.
>
> And yes, exactly my point, currently initfn (first sta
Switch the realview_gic device to the standalone sysbus GIC.
Signed-off-by: Peter Maydell
---
hw/realview_gic.c | 38 ++
1 files changed, 26 insertions(+), 12 deletions(-)
diff --git a/hw/realview_gic.c b/hw/realview_gic.c
index a3b5a04..5bc37a7 100644
---
1 - 100 of 158 matches
Mail list logo