[Qemu-devel] [PATCH 3/6 v2] qemu-tech.texi: Remove libqemu related stuff from the document

2011-11-11 Thread
From: Chen Wei-Ren Remove libqemu related stuff from the document since libqemu.a is not supported anymore. v1 -> v2: Remove entry "qruncom.c" from "3 Regression Tests". Signed-off-by: Chen Wei-Ren --- qemu-tech.texi | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-)

Re: [Qemu-devel] [PATCH 2/6 v2] tests/Makefile: Remove qruncom target

2011-11-11 Thread
On Fri, Nov 11, 2011 at 03:02:16PM +, Peter Maydell wrote: > On 11 November 2011 14:53, Chen Wei-Ren (陳韋任) > wrote: > > From: Chen Wei-Ren > > > >  Remove qruncom target from the Makefile file since we have > > removed libqemu example (qruncom.c). > >

Re: [Qemu-devel] [PATCH 4/6 v2] Makefile.target: Remove libqemu target

2011-11-11 Thread
already cover > the dependencies they specify as far as I can tell. You mean those *.d file under the build directory? > But that would be a different commit entirely.) I'll exclude those manually inserted dependencies from this series next time. Regards, chenwj -- Wei-R

Re: [Qemu-devel] [ICON] QEMU Mascot Contest v.2

2011-11-11 Thread
ve more space for the "emu" text > on the right. Not sure what you mean, but ... http://people.cs.nctu.edu.tw/~chenwj/slide/QEMU/QEMU_Mascot_v2.svg Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O

Re: [Qemu-devel] [ICON] QEMU Mascot Contest v.2

2011-11-12 Thread
s.nctu.edu.tw/~chenwj/slide/QEMU/QEMU_Mascot_text_right.svg Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj/

Re: [Qemu-devel] [ICON] QEMU Mascot Contest v.2

2011-11-12 Thread
direction of the egg shaped body). This direction? http://people.cs.nctu.edu.tw/~chenwj/slide/QEMU/QEMU_Mascot_embody_text_rotate.svg Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj/

Re: [Qemu-devel] [ANNOUNCE] QEMU 1.0-rc1

2011-11-14 Thread
e "QEMU 1.0-rc2" not "QEMU 1.0-rc1", then? :-) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj/

[Qemu-devel] [PATCH v3 6/6] LICENSE: There is no libqemu.a anymore

2011-11-15 Thread
From: Chen Wei-Ren Remove statement about libqemu.a from LICENSE. Signed-off-by: Chen Wei-Ren --- LICENSE |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index cbd92c0..acae9a3 100644 --- a/LICENSE +++ b/LICENSE @@ -6,9 +6,7 @@ The following poin

[Qemu-devel] [PATCH v3 5/6] Makefile.objs: Remove libqemu_common.a from the comment

2011-11-15 Thread
From: Chen Wei-Ren Remove libqemu_common.a from the comment. Signed-off-by: Chen Wei-Ren --- Makefile.objs |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index d7a6539..64c5c24 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -68

[Qemu-devel] [PATCH v3 1/6] tests/Makefile: Remove qruncom target

2011-11-15 Thread
From: Chen Wei-Ren Remove qruncom target from the Makefile file. Signed-off-by: Chen Wei-Ren --- tests/Makefile |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 430e0c1..15e36a2 100644 --- a/tests/Makefile +++ b/tests/Makefil

[Qemu-devel] [PATCH v3 4/6] Makefile.target: Remove out of date comment

2011-11-15 Thread
From: Chen Wei-Ren Remove the out of date comment, i.e., "# libqemu" since libqemu.a is not available anymore. Signed-off-by: Chen Wei-Ren --- v3: - Only remove out-of-date comment about libqemu.a from Makefile.target, leave manually inserted dependencie alone. Makefile.target |2 --

[Qemu-devel] [PATCH v3 3/6] qemu-tech.texi: Remove libqemu related stuff from the document

2011-11-15 Thread
From: Chen Wei-Ren Remove libqemu related stuff from the document since libqemu.a is not supported anymore. Signed-off-by: Chen Wei-Ren --- qemu-tech.texi | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/qemu-tech.texi b/qemu-tech.texi index 62afe45..5676fb

[Qemu-devel] [PATCH v3 2/6] tests/qruncom.c: Remove libqemu.a example

2011-11-15 Thread
From: Chen Wei-Ren Remove libqemu example since libqemu.a is not available anymore. Signed-off-by: Chen Wei-Ren --- tests/qruncom.c | 284 --- 1 files changed, 0 insertions(+), 284 deletions(-) delete mode 100644 tests/qruncom.c diff --g

[Qemu-devel] [PATCH v3 0/6] Remove libqemu related stuff from QEMU source tree

2011-11-15 Thread
From: Chen Wei-Ren According to [1], libqemu is not available anymore. Remove libqemu related stuff from QEMU source tree. [1] http://www.mail-archive.com/address@hidden/msg49809.html v2: - Remove entry "qruncom.c" from "3 Regression Tests" in qemu-tech.texi. - Undo the deletion of common-o

Re: [Qemu-devel] oprofile on qemu

2011-11-23 Thread
Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: [Qemu-devel] linux-user crashing in multi-threaded programs

2011-11-23 Thread
e time? How can > > that happen in system or single-threaded mode? > > It's a race between (a) a thread executing code and (b) any > other thread or signal handler that calls cpu_exit(). So (b) > can be the IO thread, or the linux-user host_signal_handler(). Would it be

Re: [Qemu-devel] Optimization for amd CPUs without amd-v using sse2, 3, 4 instructions

2012-04-21 Thread
ed by helper functions in scalar manner. Maybe you can try to map guest SIMD into host SIMD. Good Luck! Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: [Qemu-devel] Optimization for amd CPUs without amd-v using sse2, 3, 4 instructions

2012-04-23 Thread
On Sun, Apr 22, 2012 at 12:07:40PM +0800, 陳韋任 wrote: > > I am using qemu to run VMs on my computer with amd chip on board. > > However, my computer doesn't support amd-v, so the performance of the VM is > > low. > > I do have experiences in optimization of program u

[Qemu-devel] How to build realview-pbx-a9 kernel/rootfs for QEMU by using buildroot?

2012-04-25 Thread
ot; message. Any idea on which part I might did wrong? I use QEMU git head and QEMU 0.13. Thanks in advance. :) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: [Qemu-devel] API for single stepping an emulated CPU

2012-05-02 Thread
ause and *_resume functions, but they are - > as far as I know - not applicable for my task. Just a quick reply. QEMU system mode provides "-singlestep" option. Maybe you can start from there, see how the singlestep is done. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems

Re: [Qemu-devel] [RFC 1.1] Fix "qemu" in documentation for version 1.1?

2012-05-02 Thread
veryone use x86/x86_64, so I think replace "qemu" with particular name is inappropriate. > When "qemu" is not used for the name of the executable, it > should be written "QEMU". Agreed. I have no idea about remaining stuff. :) Regards, chenwj -- Wei-Ren

Re: [Qemu-devel] KVM call agenda for May, Tuesday 8th

2012-05-07 Thread
al. :/ If people can focus on one document, then it's easier to make it a good shape. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: [Qemu-devel] To run (replay) the intermediate micro-ops directly

2012-05-08 Thread
rface. > > Any approach to do this in QEMU? Thanks. Maybe take a look at http://lists.gnu.org/archive/html/qemu-devel/2008-07/msg00507.html Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799

Re: [Qemu-devel] [Bug 996303] Re: does not work with clang

2012-05-09 Thread
ovides. -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

[Qemu-devel] What TARGET_HAS_PRECISE_SMC means?

2012-05-10 Thread
more about it, but googling doesn't help. Would you mind to shed some light on that? Thanks. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: [Qemu-devel] What TARGET_HAS_PRECISE_SMC means?

2012-05-10 Thread
) at /tmp/chenwj/qemu-0.13.0/softmmu_template.h:213 #4 0x0054e4ab in __stl_mmu (addr=229376, val=0, mmu_idx=0) at /tmp/chenwj/qemu-0.13.0/softmmu_template.h:245 --- Thanks! Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: [Qemu-devel] x86 AREG0 patches

2012-05-14 Thread
tch will remove AREG0 so that we can use clang to compile QEMU? How much the performance lose? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

[Qemu-devel] Is it possible to retrieve pre-process information in QEMU?

2012-05-16 Thread
Hi all, I would like to know if I can retrieve pre-process information in QEMU system mode. For example, I want to know each process's page fault ratio. Is there a way to do that? Thanks. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Sc

Re: [Qemu-devel] [PATCH 01/15] Openrisc: add target stub

2012-05-17 Thread
I suppose you only need to #include "def-helper.h" once? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: [Qemu-devel] [PATCH 01/15] Openrisc: add target stub

2012-05-17 Thread
ge it > into OpenriscCPU. I think OpenRISC is better [1]. Regards, chenwj [1] http://en.wikipedia.org/wiki/OpenRISC -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: [Qemu-devel] [PATCH 01/15] Openrisc: add target stub

2012-05-17 Thread
;vmstate_cpu, opaque, version_id); } --- Leave to vmstate_save_state/vmstate_load_state (savevm.c) do the real things. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: [Qemu-devel] [PATCH 03/15] Openrisc: add instructions translation

2012-05-17 Thread
e me some hits? I guest you need to write your own floating helper functions to do that. Am I right, Max? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: [Qemu-devel] [PATCH 02/15] Openrisc: add MMU support

2012-05-21 Thread
G0), so you shouldn't use env here somehow. Maybe Blue can show you some example how to do that, target-sparc/* might be a place? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: [Qemu-devel] Is it possible to retrieve pre-process information in QEMU?

2012-05-21 Thread
#x27;s why I add a counter there. But this way I'll collect a global static not per-process one. I'll try systemtap latter but not sure it does the same thing I want to do. Any thoughts? :) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Scienc

Re: [Qemu-devel] How to create new target port?

2012-05-22 Thread
/* as an example. Otherwise, looks at tcg/xxx/*. The term "target" could be a little MISLEADING here. :) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

[Qemu-devel] Multi-threaded user program support?

2011-08-17 Thread
port? Thanks! Regards, chenwj [1] http://patchwork.ozlabs.org/patch/31746/ -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

[Qemu-devel] The reason behind block linking constraint?

2011-08-17 Thread
ode tests downloaded from the website as the test case. Could someone kindly explain why there are constraints on block linking? Thanks! Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Re: [Qemu-devel] The reason behind block linking constraint?

2011-08-18 Thread
Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Re: [Qemu-devel] Multi-threaded user program support?

2011-08-18 Thread
o the result is that it mostly works but if you You mean some QEMU data structures need to be thread-local or lock protected in order to emulate guest multi-threaded program correctly? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica

Re: [Qemu-devel] Now, what's left to non-developers? (Qemu forum down again, No such list qemu-users)

2011-08-19 Thread
Hi, Ottavio > 2) The qemu-user mailing list is not active: > http://lists.nongnu.org/mailman/listinfo/qemu-users +1. Maybe you can ask Pablo's opinion, too. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.

Re: [Qemu-devel] Multi-threaded user program support?

2011-08-19 Thread
t mutex is very likely > broken, for instance.) If you look in MAINTAINERS you'll see Just to be curious. *If* QEMU support multithreaded user program, would the different memory (coherence/consistency) model between guest and host architecture become a problem? Regards, chenwj

Re: [Qemu-devel] Execute QEMU "the same"

2011-08-23 Thread
w, http://www.few.vu.nl/~vdkouwe/doc/msc-thesis-cs-erik-van-der-kouwe.pdf Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

[Qemu-devel] How QEMU manages guest machine's memory?

2011-09-05 Thread
eone can give me a high level overview on how QEMU manages the guest machine's memory, I'll be very appreciate that. Thanks! Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Re: [Qemu-devel] How can I understand iotlb (IOMMU)

2011-09-05 Thread
> > I can't understand CPUState's iotlb field , Why we need iotlb ? I guess he want to know why there are tlb and iotlb in the CPUState, not just one. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R

[Qemu-devel] Building QEMU on PS3

2011-02-22 Thread
estion appreciated. Regards, chenwj -- Wei-Ren Chen (陳韋任) Parallel Processing Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Re: [Qemu-devel] Building QEMU on PS3

2011-02-23 Thread
Hi, Roy > Seems to be related: > http://www.mail-archive.com/qemu-devel@nongnu.org/msg55914.html Thanks for the info. I wonder if it is possible to cross compile qemu for ppc (host) on a x86 machine. Regards, chenwj -- Wei-Ren Chen (陳韋任) Parallel Processing Lab, Institute of Infor

Re: [Qemu-devel] Building QEMU on PS3

2011-02-23 Thread
Hi, Roy What I did is apply the patch (see attachment) which comment out an assertion in tcg/tcg.c first. Then configure qemu with "--enable-debug" option. I don't know if it is safe to remove the assertion though, but it works for small program. Regards, chenwj -- We

Re: [Qemu-devel] Building QEMU on PS3

2011-02-23 Thread
Forgot to add the attachment, sorry. :) -- Wei-Ren Chen (陳韋任) Parallel Processing Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 --- qemu-0.13.0/tcg/tcg.c.orig 2010-10-16 04:56:09.0 +0800 +++ qemu-0.13.0/tcg/tcg.c 2011-02-24 09:46

[Qemu-devel] Missing op on SPARC

2011-02-24 Thread
lo Missing op definition for qemu_ld64 Missing op definition for qemu_st64 /tmp/chenwj/qemu-0.14.0/tcg/tcg.c:1116: tcg fatal error Aborted -- Is it possible to fix it? If so, how? Any sugguestions appreciated. Regards, chenwj -- Wei-Re

Re: [Qemu-devel] Missing op on SPARC

2011-02-26 Thread
Hi, Blue Since my machine is UltraSparc T2, I should configure QEMU with "--sparc_cpu=v9", right? But it gave me the error below, ERROR: "gcc" either does not exist or does not work Maybe I should pass some flag to QEMU or update my gcc? Regards, chenwj -- Wei-Ren

[Qemu-devel] Question about adding IBTC (Indirect Branch Translation Cache) into QEMU

2011-08-09 Thread
} flush_ibtc(); // flush IBTC } - Have I already considered all kind of situations? Or something else I need to do to make IBTC work in system mode? Thanks! Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

<    1   2   3