Fam Zheng writes:
Add module_load_all to load all DSO modules under:
/usr/lib/qemu/block/
/usr/lib/qemu/net/
/usr/lib/qemu/ui/
when starting process.
This should probably be based on a define with the prefix set at configure time.
Adding directories from command-line arguments
Fam Zheng writes:
[...]
Because $(obj) here is './block', instead of '../block'. This doesn't
hurt compiling because we basically build all .o from top Makefile,
before entering Makefile.target, but it will affact arriving per-object
libs support.
I'm curious. What's the reason to not use
Xin Tong writes:
I am trying to implement a out-of-line TLB lookup for QEMU softmmu-x86-64 on
x86-64 machine, potentially for better instruction cache performance, I have a
few questions.
1. I see that tcg_out_qemu_ld_slow_path/tcg_out_qemu_st_slow_path are
generated
when
Xin Tong writes:
Hi LIuis
we can probably generate vector intrinsics using the tcg, e.g. add support to
tcg to emit vector instructions directly in code cache
There was some discussion long ago about adding vector instructions to TCG, but
I don't remember what was the conclusion.
Also
Basim Baig writes:
Hello,
I am currently working on a project where I aim to log every memory access
made
by a virtual machine running inside of QEMU (for analyzing kernel behavior).
My
initial approach is to possibly hook into the QEMU mmu implementation and find
the place where the
Xin Tong writes:
On Thu, Nov 28, 2013 at 8:12 AM, Lluís Vilanova vilan...@ac.upc.edu wrote:
Xin Tong writes:
Hi LIuis
we can probably generate vector intrinsics using the tcg, e.g. add support
to
tcg to emit vector instructions directly in code cache
Xin Tong writes:
My main concern here is not how timely the interrupts can be handled,
i am more interested in reducing the number of TB enters/exits due to
interrupt. Returning to qemu mainloop requires saving and restoring
register contexts which are expensive, what i am thinking is that
Harsh Prateek Bora writes:
Converting tracetool.sh to tracetool.py
Excellent! I was thinking about switching the script language to python, but
wasn't sure if python was an acceptable build dependency for the project.
I was modifying the bash tracetool to add a tracing layer more amenable to
Harsh Prateek Bora writes:
Signed-off-by: Harsh Prateek Bora ha...@linux.vnet.ibm.com
---
Makefile.objs|6 +-
Makefile.target | 10 +-
configure|7 +-
scripts/tracetool| 643
--
scripts/tracetool.py
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
scripts/tracetool.py | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/scripts/tracetool.py b/scripts/tracetool.py
index 6874f66..80e5684 100755
--- a/scripts/tracetool.py
+++ b/scripts/tracetool.py
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
scripts/tracetool.py | 46 ++
1 files changed, 14 insertions(+), 32 deletions(-)
diff --git a/scripts/tracetool.py b/scripts/tracetool.py
index 80e5684..7a877dc 100755
--- a/scripts/tracetool.py
This would otherwise break event numbering when actually using the disable
property.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
scripts/tracetool.py | 21 +
1 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/scripts/tracetool.py b/scripts
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
scripts/tracetool.py |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/scripts/tracetool.py b/scripts/tracetool.py
index b7401a3..e3e665d 100755
--- a/scripts/tracetool.py
+++ b/scripts/tracetool.py
@@ -472,7 +472,7
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
scripts/tracetool.py | 13 +++--
trace-events |2 +-
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/scripts/tracetool.py b/scripts/tracetool.py
index e3e665d..5432f61 100755
--- a/scripts/tracetool.py
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
scripts/tracetool.py | 186 --
1 files changed, 90 insertions(+), 96 deletions(-)
diff --git a/scripts/tracetool.py b/scripts/tracetool.py
index 5432f61..a9020de 100755
--- a/scripts
Harsh Prateek Bora writes:
Signed-off-by: Harsh Prateek Bora ha...@linux.vnet.ibm.com
---
Makefile.objs|6 +-
Makefile.target | 10 +-
configure|7 +-
scripts/tracetool| 643
--
scripts/tracetool.py
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
scripts/tracetool.py | 35 ++-
1 files changed, 10 insertions(+), 25 deletions(-)
diff --git a/scripts/tracetool.py b/scripts/tracetool.py
index a9020de..ddf4c31 100755
--- a/scripts/tracetool.py
+++ b
Harsh Bora writes:
On 01/11/2012 11:35 PM, Lluís Vilanova wrote:
Signed-off-by: Lluís Vilanovavilan...@ac.upc.edu
---
scripts/tracetool.py | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/scripts/tracetool.py b/scripts/tracetool.py
index 6874f66
Lluís Vilanova writes:
Harsh Bora writes:
Hi Lluis,
This looks really nice. I can include your fixes while addressing other
review
comments. Shall I fold your patches with mine or do you want to keep them
separate?
Whatever works best for you.
BTW, I did some more changes, but didn't
batuzovk writes:
I'm debugging an operating system with QEMU and I have a race condition in
the OS. The problem is that each time I run QEMU I get this error in a
different place, so it makes impossible for gdb to debug it. My plan is to
remove this indeterminism and be able to reproduce the
Provides the ability for the guest to communicate with user-provided code inside
QEMU itself, using a lightweight mechanism.
See first commit for a full description.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Changes in v2:
* Rebase on 1c8a881daaca6fe0646a425b0970fb3ad25f6732 from
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
docs/backdoor.txt | 167 +
1 files changed, 167 insertions(+), 0 deletions(-)
create mode 100644 docs/backdoor.txt
diff --git a/docs/backdoor.txt b/docs/backdoor.txt
new file mode 100644
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Makefile |4 +++-
Makefile.objs | 18 ++
Makefile.target |4 +++-
backdoor/qemu/qemu-backdoor.h | 31 +++
configure
QEMU detects when the guest uses 'mmap' on the control channel file, and then
uses 'mprotect' to detect accesses to it, which are redirected to the
user-provided libbackdoor.a.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Makefile.objs|2
backdoor/qemu/user.c | 202
Uses a virtual device to proxy uses of the backdoor communication channel to the
user-provided code.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Makefile.objs |1
backdoor/qemu/softmmu.c | 186 +++
hw/pci.h
Guest applications can link against libqemu-backdoor-guest.a to use the
backdoor communication channel.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
backdoor/guest/Makefile| 18
backdoor/guest/common.c| 205
backdoor/guest
Lluís Vilanova writes:
Implementation with 'CONFIG_USER_ONLY' is moved into new file 'cpus-user.c'.
Ping
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Makefile.objs |1 +
cpus-user.c | 15 +++
qemu-common.h |4
3 files changed, 16 insertions(+), 4
will probably have the disable property by
default, in order to avoid such costs on regular builds.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
docs/tracing.txt | 46 --
scripts/tracetool |9 -
2 files changed, 48 insertions
Anthony Liguori writes:
I really worry about us introducing so many of these one-off paravirtual
devices.
I would much prefer that you look at doing this as an extension to the ivshmem
device as it already has this sort of scope. You should be able to do this by
just extending the size of
Lluís Vilanova writes:
Anthony Liguori writes:
I really worry about us introducing so many of these one-off paravirtual
devices.
I would much prefer that you look at doing this as an extension to the
ivshmem
device as it already has this sort of scope. You should be able to do
Anthony Liguori writes:
On 12/05/2011 04:22 PM, Lluís Vilanova wrote:
Provides the ability for the guest to communicate with user-provided code
inside
QEMU itself, using a lightweight mechanism.
See first commit for a full description.
Signed-off-by: Lluís Vilanovavilan...@ac.upc.edu
Anthony Liguori writes:
[...]
If you want to extend QEMU, then send proper patches. Adding random C
files to
the build is unacceptable.
What do you mean by proper patches?
If you want to add custom functionality to QEMU, send a patch to upstream
QEMU.
See below.
The whole point of
Anthony Liguori writes:
Well, both backdoor and trace instrumentation are implemented using the same
approach (a static library selected at compile-time). The user sets which
events
to instrument in the trace-events file. This has the effect that the
tracetool
script will not generate the
Anthony Liguori writes:
[...]
Why should this analyzer live outside of QEMU in the first place? I fail to
see
the rationale for that other than not wanting to do the work of making it
suitable for upstream consumption.
For the same reason that SystemTap lets you add user-provided code into
Anthony Liguori writes:
On 12/07/2011 12:51 PM, Peter Maydell wrote:
2011/12/7 Lluís Vilanovavilan...@ac.upc.edu:
Anthony Liguori writes:
[...]
Why should this analyzer live outside of QEMU in the first place? I fail
to see
the rationale for that other than not wanting to do the work of
tracing functions are expected to be in the static library
libtrace-instrument.a, identified by the --with-trace-instrument
configuration parameter and compiled by each of QEMU's target/frontend pairs.
See the documentation added in the second patch for more information.
Signed-off-by: Lluís Vilanova
future tracetool options to change the naming of the tracing API on
a per-event basis without having to modify backend-specific code.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
scripts/tracetool | 41 +
1 files changed, 29 insertions(+), 12
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
docs/instrumentation.txt | 142 ++
docs/tracing.txt |9 +++
2 files changed, 151 insertions(+), 0 deletions(-)
create mode 100644 docs/instrumentation.txt
diff --git a/docs
Adds support for the 'instrument' propery into the trace-events file.
Events with this property will generate tracing routines named
'${api_name}_backend' (instead of '${api_name}'), and expect the user to provide
its own implementation for the '${api_name}' routines.
Signed-off-by: Lluís
The 'instrument' opaque pointer can be used by the user-provided trace
instrumentation backend to hold arbitrary data.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
cpu-defs.h |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/cpu-defs.h b/cpu-defs.h
index
Lluís Vilanova writes:
[...]
From my experience, these are the basics I need:
* Decide what to do when an event is translated (by default - no
instrumentation
-, it just generates a TCG call to an execution-time tracing routine).
This includes:
* Deciding whether to generate
Stefan Hajnoczi writes:
2011/12/6 Lluís Vilanova vilan...@ac.upc.edu:
Adds a 'TRACE_${NAME}_ENABLED' preprocessor define for each tracing event in
trace.h.
I think we should take it a step further: support
TRACE_${NAME}_ENABLED at run-time. This means skipping the trace
event code
Stefan Hajnoczi writes:
[...]
* Support for tracing guest code through TCG.
I'm not clear on whether a backdoor mechanism is needed or not. A
backdoor mechanism allows a modified guest to participate in tracing.
Depending on the type of analysis you are doing it might be possible
to
Blue Swirl writes:
2011/12/8 Lluís Vilanova vilan...@ac.upc.edu:
Stefan Hajnoczi writes:
[...]
* Support for tracing guest code through TCG.
I'm not clear on whether a backdoor mechanism is needed or not. A
backdoor mechanism allows a modified guest to participate in tracing
casts to match the signature of the callee.
NOTE: This patch series has been stripped out of all trace instrumentation
features, and is thus applicable on top of QEMU 1.0
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Lluís Vilanova (10):
trace: [doc] Document event properties
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
docs/tracing.txt | 22 --
1 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/docs/tracing.txt b/docs/tracing.txt
index ea29f2c..853cbf8 100644
--- a/docs/tracing.txt
+++ b/docs/tracing.txt
@@ -98,12 +98,6
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
docs/tracing.txt | 40
1 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/docs/tracing.txt b/docs/tracing.txt
index 853cbf8..44c5dba 100644
--- a/docs/tracing.txt
+++ b/docs/tracing.txt
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Makefile | 11 ---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 301c75e..506db1b 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,14 @@
# Always point to the root of the build tree (needs
This provides a consistent file naming scheme across all targets.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
target-m68k/helper.c |2 -
target-m68k/helper.h | 54
target-m68k/helpers.h | 54
target-m68k/op_helper.c |2
transformation
capabilities of 'get_argtypes'.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
scripts/tracetool | 117 +
1 files changed, 116 insertions(+), 1 deletions(-)
diff --git a/scripts/tracetool b/scripts/tracetool
index 4c9951d
tracing backends.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
scripts/tracetool | 40
1 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/scripts/tracetool b/scripts/tracetool
index f2b6680..853f1bd 100755
--- a/scripts/tracetool
When found, TCG types are translated into the host native types when declaring
and defining the tracing routines in trace.h and trace.c.
---
scripts/tracetool | 31 +++
1 files changed, 23 insertions(+), 8 deletions(-)
diff --git a/scripts/tracetool
Generate the necessary TCG helper declarations for tracing events in guest code.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
.gitignore |1
Makefile |2
Makefile.objs |9 ++
def-helper.h |9 ++
scripts/simpletrace.py |2
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
target-alpha/helper.h |2 ++
target-arm/helper.h|2 ++
target-cris/helper.h |2 ++
target-i386/helper.h |2 ++
target-lm32/helper.h |2 ++
target-m68k/helper.h |2 ++
target
Generate the necessary TCG helper routines for tracing events in guest code.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
.gitignore|1 +
Makefile |2 +-
Makefile.objs |8 +++
Makefile.target |2 ++
scripts/tracetool | 65
This series must be updated to apply on top of the patch recently accepted by
Stefan into the tracing tree [1].
[1] http://lists.gnu.org/archive/html/qemu-devel/2011-12/msg00763.html
Lluis
Lluís Vilanova writes:
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
docs/tracing.txt | 22
in the list).
Depends on the trace-tcg series.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Lluís Vilanova (7):
Make 'qemu_init_vcpu' a function (instead of a macro)
trace: Add vcpu_init event
trace: Add vcpu_reset event
trace: [all] Add vbbl TCG tracing event
Implementation with 'CONFIG_USER_ONLY' is moved into new file 'cpus-user.c'.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Makefile.objs |1 +
cpus-user.c | 15 +++
qemu-common.h |4
3 files changed, 16 insertions(+), 4 deletions(-)
create mode 100644 cpus
Signals the creation of a new vCPU (CPUState structure).
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
cpus-user.c |2 ++
cpus.c |2 ++
trace-events |7 +++
3 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/cpus-user.c b/cpus-user.c
index 50e45ce
Signals the reset of the state a vCPU (CPUState structure).
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
target-arm/helper.c |3 +++
target-cris/translate.c |3 +++
target-i386/helper.c |3 +++
target-lm32/helper.c |3 +++
target-m68k
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
target-alpha/translate.c |1 +
target-arm/translate.c|1 +
target-cris/translate.c |1 +
target-i386/translate.c |1 +
target-lm32/translate.c |1 +
target-m68k/translate.c |1
Make sure 'tcg_gen_debug_insn_start' is always called in
'gen_intermediate_code_internal' and after calls to 'gen_io_start' (before the
instruction decoding).
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
target-alpha/translate.c | 11 ++-
target-cris/translate.c
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
target-alpha/translate.c |2 ++
target-arm/translate.c|2 ++
target-cris/translate.c |2 ++
target-i386/translate.c |2 ++
target-lm32/translate.c |2 ++
target-m68k/translate.c |2
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
cpu-all.h | 58 +++--
exec-all.h |3 ++
softmmu_header.h| 15 ++
tcg/tcg-op.h|6
trace-events|9 ++
trace/tcg-op
Stefan Hajnoczi writes:
2011/12/8 Lluís Vilanova vilan...@ac.upc.edu:
Stefan Hajnoczi writes:
[...]
* Support for tracing guest code through TCG.
I'm not clear on whether a backdoor mechanism is needed or not. A
backdoor mechanism allows a modified guest to participate in tracing
Richard W M Jones writes:
On Sat, Oct 15, 2011 at 10:00:02AM +, Blue Swirl wrote:
I don't understand why PC can't use the same way of loading initrd by
QEMU to guest memory before boot as Sparc32 uses. It should even be
possible to deduplicate the kernel and initrd images: improve the
Stefan Hajnoczi writes:
On Thu, Nov 03, 2011 at 10:35:28AM +0100, Fabien Chouteau wrote:
On 03/11/2011 08:44, Stefan Hajnoczi wrote:
On Wed, Nov 2, 2011 at 5:39 PM, Fabien Chouteau chout...@adacore.com
wrote:
On 29/10/2011 15:52, Alexander Graf wrote:
I took a quick peak at the
Fabien Chouteau writes:
On 04/11/2011 19:45, Lluís Vilanova wrote:
I've only had a brief look into the changes, but I think the mechanism I
implemented has a cleaner fit into QEMU, thanks to previous feedback from
this
list.
I don't know about your implementation, can you give more
Fabien Chouteau writes:
The process is basically:
* Add trace events that can work during TCG code generation (e.g., start TB,
start instruction fetch, memory access, etc.)
* Let the user select which trace events to instrument, including both
regular
trace events and TCG trace events
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
configure |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 4d22470..9f3a43d 100755
--- a/configure
+++ b/configure
@@ -3618,6 +3618,7 @@ DIRS=$DIRS roms/seabios roms/vgabios
DIRS=$DIRS fsdev
Anthony Liguori writes:
On 08/25/2011 03:18 AM, Stefan Hajnoczi wrote:
Avoid duplicate object files during the link. There are legitimate
cases where a link command-line would include duplicate object files
because two independent subsystems both depend on common infrastructure.
Use GNU
Anthony Liguori writes:
On 09/02/2011 04:39 AM, Stefan Hajnoczi wrote:
On Thu, Sep 1, 2011 at 8:08 PM, Anthony Liguorialigu...@us.ibm.com wrote:
On 09/01/2011 03:06 AM, Stefan Hajnoczi wrote:
The following changes since commit
f0fb8b7180fdcf536ea635a0720e1496110ecb3b:
Merge branch
Luiz Capitulino writes:
On Tue, 06 Sep 2011 17:55:12 +0200
Jan Kiszka jan.kis...@siemens.com wrote:
On 2011-09-06 15:14, Luiz Capitulino wrote:
This commit could have been folded with the previous one, however
doing it separately will allow for easy bisect and revert if needed.
Richard Henderson writes:
The build with --enable-user-pie has recently broken:
LINK i386-linux-user/qemu-i386
/usr/bin/ld: ../trace/control.o: relocation R_X86_64_32 against
`.rodata.str1.1' can not be used when making a shared object; recompile with
-fPIC
../trace/control.o: could
Richard Henderson writes:
On 09/14/2011 02:00 PM, Lluís Vilanova wrote:
Strange, I tried with vanilla 44520db1 and it's compiling fine...
$ ./configure --target-list=x86_64-linux-user i386-linux-user
See $SUBJECT and add that configure option.
Ugh... I'm sorry. I'll look at it tomorrow
This will apply libuser-specific compilation flags (like the ones added by
--enable-user-pie), but keep softmmu emulation targets as-is.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Makefile.objs |1 +
Makefile.target |2 +-
Makefile.user |4 +++-
configure |1
Richard Henderson writes:
On 09/15/2011 08:28 AM, Lluís Vilanova wrote:
This will apply libuser-specific compilation flags (like the ones added by
--enable-user-pie), but keep softmmu emulation targets as-is.
This is missing some dependencies.
make[1]: *** No rule to make target `config
Lluís Vilanova writes:
Richard Henderson writes:
On 09/15/2011 08:28 AM, Lluís Vilanova wrote:
This will apply libuser-specific compilation flags (like the ones added by
--enable-user-pie), but keep softmmu emulation targets as-is.
This is missing some dependencies.
make[1]: *** No rule
This will apply libuser-specific compilation flags (like the ones added by
--enable-user-pie), but keep softmmu emulation targets as-is.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Makefile.objs |7 ---
Makefile.target |2 +-
Makefile.user |4 +++-
configure
---
Makefile | 11 +++
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 7e9382f..97b26c6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
# Makefile for QEMU.
+# Always point to the root of the build tree
+BUILD_DIR=$(PWD)
+
This will apply libuser-specific compilation flags (like the ones added by
--enable-user-pie), but keep softmmu emulation targets as-is.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Makefile.objs |7 ---
Makefile.target |2 +-
Makefile.user |4 +++-
configure
Please ignore this one; sorry.
--
And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer.
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Makefile |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 7e9382f..57cc399 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
# Makefile for QEMU.
+# Always point to the root
This will apply libuser-specific compilation flags (like the ones added by
--enable-user-pie), but keep softmmu emulation targets as-is.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
Makefile.objs |7 ---
Makefile.target |2 +-
Makefile.user |4 +++-
configure
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
trace-events |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/trace-events b/trace-events
index c09399f..9d1fbbb 100644
--- a/trace-events
+++ b/trace-events
@@ -454,7 +454,7 @@ milkymist_vgafb_memory_write(uint32_t
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
trace-events |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/trace-events b/trace-events
index 9d1fbbb..b653d70 100644
--- a/trace-events
+++ b/trace-events
@@ -418,8 +418,8 @@ milkymist_pfpu_pulse_irq(void) Pulse
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
trace-events |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/trace-events b/trace-events
index b653d70..7b2e619 100644
--- a/trace-events
+++ b/trace-events
@@ -480,7 +480,7 @@ qemu_coroutine_yield(void *from, void
Mimics the already-existing qemu_init_vcpu.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
qemu-common.h |2 ++
target-arm/helper.c |2 ++
target-cris/translate.c |2 ++
target-i386/helper.c |2 ++
target-lm32/helper.c
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
cpus.c|1 +
qemu-common.h |4 +++-
trace-events |3 +++
3 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/cpus.c b/cpus.c
index 54c188c..8f7ce15 100644
--- a/cpus.c
+++ b/cpus.c
@@ -861,6 +861,7 @@ void
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
qemu-common.h |2 +-
trace-events |1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/qemu-common.h b/qemu-common.h
index cdb6b3b..2915ccf 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -304,7 +304,7 @@ struct
Jan Kiszka writes:
On 2011-09-16 19:01, Lluís Vilanova wrote:
Mimics the already-existing qemu_init_vcpu.
Bad name as it implies something important happens inside. Call it
trace_reset_vcpu because that is what it will do.
I just thought it is much cleaner to call a generic qemu_reset_vcpu
Stefan Hajnoczi writes:
On Fri, Sep 16, 2011 at 06:59:38PM +0200, Lluís Vilanova wrote:
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
trace-events |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/trace-events b/trace-events
index 9d1fbbb..b653d70 100644
Stefan Hajnoczi writes:
AFAICT the only problem with libust is the __tp_cb_data set but not
used warning that gcc 4.6 emits, see my test program:
Here's a prettified version of the failing (pre-processed) code:
static inline
void
trace_ust_g_malloc(size_t size, void* ptr)
{
do {
The events 'qemu_malloc' and 'qemu_free' used in the examples no longer exist,
so use 'qemu_vmalloc' and 'qemu_vfree' instead.
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
docs/tracing.txt | 16 +---
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/docs
Signals the creation of a new vCPU (CPUState structure).
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
cpus.c|1 +
qemu-common.h |4 +++-
trace-events |7 +++
3 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/cpus.c b/cpus.c
index 54c188c..ab699bb
Signals the reset of the state a vCPU (CPUState structure).
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
target-arm/helper.c |3 +++
target-cris/translate.c |3 +++
target-i386/helper.c |3 +++
target-lm32/helper.c |3 +++
target-m68k
Signals the creation of a new vCPU (CPUState structure).
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
cpus.c|1 +
qemu-common.h |3 +++
trace-events |7 +++
3 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/cpus.c b/cpus.c
index 8978779..2b4f9b8
Signals the reset of the state a vCPU (CPUState structure).
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
target-arm/helper.c |3 +++
target-cris/translate.c |3 +++
target-i386/helper.c |3 +++
target-lm32/helper.c |3 +++
target-m68k
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu
---
qemu-common.h |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/qemu-common.h b/qemu-common.h
index 404c421..fca101e 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -297,7 +297,9 @@ struct qemu_work_item
Please ignore these patches.
Implementation of 'qemu_init_vcpu' in CONFIG_USER_ONLY must be moved into a C
file to avoid an include loop between trace.h and qemu-common.h
Ideas on which file this is supposed to go?
Lluis
Lluís Vilanova writes:
Signed-off-by: Lluís Vilanova vilan
1 - 100 of 1843 matches
Mail list logo