Re: [Qemu-devel] icount and tb chaining

2012-01-19 Thread
On Wed, Jan 18, 2012 at 07:50:19PM +, Peter Maydell wrote: On 18 January 2012 19:43, James Greensky gsk...@gmail.com wrote: On Tue, Jan 17, 2012 at 7:03 PM, 陳韋任 che...@iis.sinica.edu.tw wrote: I think those numbers (0, 1, and 2) means tb_add_jump 2nd parameter here, so it's

[Qemu-devel] The comment of cpu-exec.c might be wrong?

2012-01-19 Thread
send a patch to correct this comment. Any comment? 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] Fwd: envlist_setenv...

2012-01-18 Thread
On Tue, Jan 17, 2012 at 09:54:36PM +0100, Davide wrote: What does this loop in main? for (wrk = environ; *wrk != NULL; wrk++) { (void) envlist_setenv(envlist, *wrk); } Seems the return value (error code) of envlist_setenv is ignored here... -- Wei-Ren Chen (陳韋任

Re: [Qemu-devel] Fwd: envlist_setenv...

2012-01-18 Thread
). Latter on, QEMU calls function envlist_to_environ to transform envlist to target environ which is used by the guest application. HTH, 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

Re: [Qemu-devel] Get only TCG code without execution

2012-01-17 Thread
trace output to something else. I guess Rajat's goal is to compare the semantics of TCG ops and ARM binary, therefore the non-deterministic might not be the issue. Or he want to use semantics to solve the non-deterministic problem. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab

Re: [Qemu-devel] icount and tb chaining

2012-01-17 Thread
, 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] Question about tlb_flush

2012-01-17 Thread
On Fri, Jan 13, 2012 at 11:57:36AM +0800, 陳韋任 wrote: Hi all, When I looked at function tlb_flush (exec.c), I found its second parameter flush_global is never used. In tlb_flush comment, it says if flush_global is true, also flush global entries (not implemented yet) Does anyone

Re: [Qemu-devel] icount and tb chaining

2012-01-17 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] icount and tb chaining

2012-01-17 Thread
)); /* This is a horrid hack to allow fixing up the value later. */ icount_arg = gen_opparam_ptr + 1; tcg_gen_subi_i32(count, count, 0xdeadbeef); tcg_gen_brcondi_i32(TCG_COND_LT, count, 0, icount_label); --- Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute

Re: [Qemu-devel] throwing away translated code on CPU reset

2012-01-13 Thread
tb-cs_base == cs_base tb-flags == flags) { } } } What do you think? 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

Re: [Qemu-devel] icount and tb chaining

2012-01-12 Thread
(陳韋任) 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] Question about tlb_flush

2012-01-12 Thread
-- 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] Does iotlb have anything to do with IOMMU?

2012-01-11 Thread
Hi all, I am wondering if iotlb (cpu-defs.h) has anything to do with IOMMU [1]. I think iotlb is used in MMIO (memory mapped IO), right? Thanks for clarification. [1] http://en.wikipedia.org/wiki/IOMMU Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information

Re: [Qemu-devel] add debugger command

2011-12-27 Thread
code to their svn? A1. It use git. See http://wiki.qemu.org/Download . A2. http://wiki.qemu.org/Contribute/SubmitAPatch 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

Re: [Qemu-devel] MIIPS64el compiler

2011-12-26 Thread
any one of you know about MIPS64el cross compiler? I would appreciate your response.. Not sure if http://developer.mips.com/clang-llvm/ support MIPS64el, but you can give it a try. ;) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia

[Qemu-devel] Use Clang to compile Qemu?

2011-12-23 Thread
); ^ 1 warning and 1 error generated. --- Any idea on how to work around this? 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] Use Clang to compile Qemu?

2011-12-23 Thread
far so good (perhaps freebsd guys should upstream those patches?). But I am stuck at the error below, --- $ qemu-i386 -bsd freebsd hello Unable to load interpreter --- Any thoughts? Thanks! :) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science

Re: [Qemu-devel] [help] QEMUFile's format

2011-12-22 Thread
? ^^ savevm requires image's format to be qcow2. You can check http://en.wikipedia.org/wiki/Qcow for more information. 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] [help] QEMUFile's format

2011-12-22 Thread
savevm requires image's format to be qcow2. You can check http://en.wikipedia.org/wiki/Qcow for more information. Plus this, http://www.linux-kvm.org/wiki/images/6/63/2011-forum-qcow2.pdf HTH, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science

Re: [Qemu-devel] Do vm snapshot feature exist in qemu as in VMware

2011-12-20 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] Do vm snapshot feature exist in qemu as in VMware

2011-12-20 Thread
, if you have a ext2 root file system rootfs.ext2, convert it to qcow2 format by using qemu-img. $ qemu-img convert -O qcow2 rootfs.ext2 rootfs.qcow2 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] [PATCH v2] linux-user: Fix 32-on-64 mmap for x86_64

2011-12-20 Thread
my other mail about this: http://lists.gnu.org/archive/html/qemu-devel/2011-12/msg01697.html Ah, -R should mean -R size reserve size bytes for guest virtual address space right? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science

Re: [Qemu-devel] [PATCH v2] linux-user: Fix 32-on-64 mmap for x86_64

2011-12-19 Thread
-- 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] Problem editing wiki page in wiki.qemu.org

2011-12-18 Thread
Your current IP address is 127.0.0.1, and the block ID is #132. +1. :) 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] replace all strdup() with g_strdup()

2011-12-16 Thread
Hi, You can check http://wiki.qemu.org/Contribute/SubmitAPatch to see how to send patch to qemu-devel. :) 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

Re: [Qemu-devel] [Qemu-trivial][PATCH] linux-user/main.c: Add option to user-mode emulation so that user can specify log file name

2011-12-16 Thread
Hi Riku, Ping? This patch still applies TOT. 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] The reason behind block linking constraint? (Cont.)

2011-12-15 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] some questions about g_malloc in qemu

2011-12-15 Thread
I am not sure whether it is need to check the return of g_malloc in qemu ? I think not, that's why you use g_malloc as a wrapper. 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] some questions about g_malloc in qemu

2011-12-15 Thread
Hi, I found this in HACKING: Please note that NULL check for the g_malloc result is redundant and that g_malloc() call with zero size is not allowed. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2

Re: [Qemu-devel] some questions about g_malloc in qemu

2011-12-15 Thread
Maybe there is insufficient memory, the return is error, Do we need to check the return ? It'll abort if there is not enough memory. http://mail.gnome.org/archives/gtk-app-devel-list/2003-September/msg00260.html Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute

Re: [Qemu-devel] The reason behind block linking constraint? (Cont.)

2011-12-15 Thread
Yes. Did you build one bzImage based on Linus kernel git tree, and then use unmodified QEMU to boot it? Can it succeed to start up? Current buildroot (snapshot version) build linux 3.x by default, and unmodified QEMU can boot it. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab

Re: [Qemu-devel] QEMU TB Unlinking due to interrupt.

2011-12-14 Thread
env's interrupt_request. 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] The reason behind block linking constraint? (Cont.)

2011-12-14 Thread
.html [3] http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg03420.html [4] http://buildroot.uclibc.org/ -- 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] QEMU TB Unlinking due to interrupt.

2011-12-13 Thread
1. some other tbs being invalidated. 2. interrrupt pending Could you point out interrrupt pending means where? I'd like to take a look, thanks. :) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788

Re: [Qemu-devel] SMP cpu_index error on X86_64

2011-12-13 Thread
Hi, Sorry I cann't help here. Just to be curious. Are you working in PQEMU project? 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] tcg: Remove redundant declarations of TCG_TARGET_REG_BITS

2011-12-07 Thread
On Wed, Dec 07, 2011 at 11:31:46PM +0100, Stefan Weil wrote: TCG_TARGET_REG_BITS is declared in tcg.h for all TCG targets. Just want to make sure. When we talk about target in TCG, that _always_ means the host, right? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute

Re: [Qemu-devel] Improve QEMU performance with LLVM codegen and other techniques

2011-12-05 Thread
lookup, and the problem I mentioned disappeared. Sometimes I feel I am chaseing a ghost when debug our system. ;-) [1] http://lists.gnu.org/archive/html/qemu-devel/2011-08/msg01424.html [2] http://lists.nongnu.org/archive/html/qemu-devel/2011-08/msg02249.html Regards, chenwj -- Wei-Ren Chen (陳韋任

Re: [Qemu-devel] Improve QEMU performance with LLVM codegen and other techniques

2011-12-05 Thread
If you want to be more exotic (minix found a lot of bugs for me back in the day!) you can try the os zoo: http://www.oszoo.org/ The website seems down? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel

Re: [Qemu-devel] Improve QEMU performance with LLVM codegen and other techniques

2011-12-04 Thread
frontend to disassemble the guest binary to TCG again. 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] Improve QEMU performance with LLVM codegen and other techniques

2011-12-03 Thread
-- 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] Improve QEMU performance with LLVM codegen and other techniques

2011-12-01 Thread
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] Improve QEMU performance with LLVM codegen and other techniques

2011-12-01 Thread
, 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] Improve QEMU performance with LLVM codegen and other techniques

2011-12-01 Thread
The IO thread is always enabled in QEMU these days. We use QEMU 0.13. I think IO thread is not enabled by default. 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

Re: [Qemu-devel] Improve QEMU performance with LLVM codegen and other techniques

2011-11-30 Thread
recent version fix major bugs in the emulation engine? Thanks for your advices. :-) [1] http://www.cs.virginia.edu/kim/docs/micro05.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

Re: [Qemu-devel] [ICON] My name is Q, Q Emu!

2011-11-29 Thread
* The nostril is Yin-shaped; the matching Yang would be KVM or Xen. :) Hey, you know Yin-Yang! XD But, there should be a Yang spot in the Yin-shape. I'm just too picky. :p http://en.wikipedia.org/wiki/Taiji Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute

[Qemu-devel] Improve QEMU performance with LLVM codegen and other techniques

2011-11-28 Thread
with SPEC2006 benchmark, not with _real_ applications. [3] http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-April/013689.html [4] http://lists.gnu.org/archive/html/qemu-devel/2011-09/msg03643.html [5] http://wiki.qemu.org/Download Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute

Re: [Qemu-devel] self modifying code

2011-11-25 Thread
handle self-modifying code? http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg00556.html Q1. See those two calling sequences. Q2. No. 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] self modifying code

2011-11-25 Thread
NOT the entire code cache. 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] TB chaining

2011-11-24 Thread
://people.cs.nctu.edu.tw/~chenwj/slide/QEMU/QEMU%20-%20block%20chaining.ppt P.S. In case you know chinese, you can see the articles on http://www.hellogcc.org/ (search tag qemu). Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel

Re: [Qemu-devel] oprofile on qemu

2011-11-23 Thread
, 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
(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 a good idea to write this as a comment about cpu_unlink_tb? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems

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

2011-11-15 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove statement about libqemu.a from LICENSE. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- LICENSE |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index cbd92c0..acae9a3 100644 --- a/LICENSE

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

2011-11-15 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove qruncom target from the Makefile file. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- tests/Makefile |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index

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

2011-11-15 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove libqemu example since libqemu.a is not available anymore. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- tests/qruncom.c | 284 --- 1 files changed, 0 insertions(+), 284

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

2011-11-15 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw 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

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

2011-11-14 Thread
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/

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

2011-11-12 Thread
/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
://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/

[Qemu-devel] [ICON] QEMU Mascot Contest

2011-11-11 Thread
Hi, all I am not a good painter or an artist, but here you go http://people.cs.nctu.edu.tw/~chenwj/slide/QEMU/QEMU_Mascot.png Let me know what you think. :) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel

Re: [Qemu-devel] [ICON] QEMU Mascot Contest

2011-11-11 Thread
, and as I said I am not good at such things. If you guys know what free tool available I can use on M$, tell me. Or you can just take my idea and make it looks better. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C

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

2011-11-11 Thread
, 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 4/6 v2] Makefile.target: Remove libqemu target

2011-11-11 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove libqemu target from Makefile.target. I have ran the following test: - process mode: linux-user-test-0.3 - system mode: - arm-test-0.2.tar.gz - minix204.tar.bz2 - linux-0.2.img.bz2 Signed-off-by: Chen Wei-Ren

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

2011-11-11 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove statement about libqemu.a from LICENSE. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- LICENSE |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index cbd92c0..acae9a3 100644 --- a/LICENSE

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

2011-11-11 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove libqemu example since libqemu.a is not available anymore. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- tests/qruncom.c | 284 --- 1 files changed, 0 insertions(+), 284

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

2011-11-11 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove libqemu_common.a from the comment. v1 - v2: Reverse the deletion of common-obj-y. Only remove libqemu_common.a from the comment. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- Makefile.objs |7 +++ 1 files

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

2011-11-11 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw 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 Chen Wei-Ren (6): tests/qruncom.c: Remove libqemu.a example tests/Makefile:

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

2011-11-11 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove qruncom target from the Makefile file since we have removed libqemu example (qruncom.c). Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- tests/Makefile |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git

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

2011-11-11 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw 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 che...@iis.sinica.edu.tw --- qemu-tech.texi | 10 -- 1

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 (陳韋任) che...@iis.sinica.edu.tw wrote: From: Chen Wei-Ren che...@iis.sinica.edu.tw  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
. 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-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica

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

2011-11-11 Thread
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.C.) Tel:886-2-2788-3799 #1667 Homepage: http

Re: [Qemu-devel] qemu question

2011-11-09 Thread
2011/11/9 ad...@mmri.us ad...@mmri.us: qemu-users is dead. You subscribe and nothing happens. You mean http://tech.groups.yahoo.com/group/qemu-users/ is dead? Try https://lists.nongnu.org/mailman/listinfo/qemu-discuss , then. :-) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab

Re: [Qemu-devel] Accessing a linux guest's data structures

2011-11-08 Thread
). It disassembles i386 guest binary. QEMU provides -d in_asm option to log every guest instruction it translates. You might want to take a look on qemu_log. 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] multiprocessor on kvm

2011-11-08 Thread
parallelism. I don't know if there is any difference with kvm enabled. 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] multiprocessor on kvm

2011-11-08 Thread
On Tue, Nov 08, 2011 at 08:04:44PM +0800, 陳韋任 wrote: I am wondering that when one uses qemu with kvm. How many cores are exposed and available to the guest os ( assuming the host has 4 cores ). is this configurable ? QEMU provides -smp option, but those virtual cpus are scheduled

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

2011-11-08 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw According to [1], libqemu is not available anymore. Remove libqemu related stuff from QEMU source tree. [1] http://www.mail-archive.com/qemu-devel@nongnu.org/msg49809.html Chen Wen-Ren (6): tests/qruncom.c: Remove libqemu.a example

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

2011-11-08 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove libqemu example since libqemu.a is not available anymore. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- tests/qruncom.c | 284 --- 1 files changed, 0 insertions(+), 284

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

2011-11-08 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove qruncom target from the Makefile file since we have removed libqemu example (qruncom.c). Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- tests/Makefile |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git

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

2011-11-08 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove libqemu related stuff from the document since libqemu.a is not supported anymore. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- qemu-tech.texi |9 - 1 files changed, 0 insertions(+), 9 deletions(-) diff --git

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

2011-11-08 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove libqemu target from Makefile.target. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- Makefile.target |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/Makefile.target b/Makefile.target index

Re: [Qemu-devel] multiprocessor on kvm

2011-11-08 Thread
so qemu exposes multiple processors to the guest os by having multiple vCPUs. and it realizes the multiple vCPUs by either using RR on a single host cpu (qemu ) or using multiple host cpus (kvm). yes. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information

[Qemu-devel] [PATCH 5/6] Makefile.objs: Remove libqemu_common.a target

2011-11-08 Thread
From: Chen Wen-Ren che...@iis.sinica.edu.tw Remove libqemu_common.a target from Makefile.objs. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- Makefile.objs | 104 - 1 files changed, 0 insertions(+), 104 deletions(-) diff

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

2011-11-08 Thread
From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove statement about libqemu.a from LICENSE. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- LICENSE |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index cbd92c0..acae9a3 100644 --- a/LICENSE

Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] ui/vnc: Convert sasl.mechlist to g_malloc() friends

2011-11-08 Thread
changed, 5 insertions(+), 14 deletions(-) Looks good, please add Signed-off-by. Gaa, too trivial to get it right in less than three tries! There must a curse of brainlessness on this one... `git-format-patch -s` will generate the sign-off-by. Regards, chenwj -- Wei-Ren Chen (陳韋任

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

2011-11-08 Thread
something else instead. Can't blame them; reviewing is more productive than hunting for parts. Sorry about that. Should I re-sent this series? 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] [PATCH 0/6] Remove libqemu related stuff from QEMU source tree

2011-11-08 Thread
On Tue, Nov 08, 2011 at 04:07:12PM +0100, Markus Armbruster wrote: 陳韋任 che...@iis.sinica.edu.tw writes: Please thread together your patches so that the parts appear as replies to the cover letter. git-send-email should do that by default. Why? Disconnected parts can easily get

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

2011-11-08 Thread
easier to read than the first. I set chainreplyto = false in my .gitconfig, 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

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

2011-11-08 Thread
at once. ^^^ I'll sent the series at once next time. :) 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] [PATCH 5/6] Makefile.objs: Remove libqemu_common.a target

2011-11-08 Thread
cannot be compiled. My mistake. 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] [PATCH 5/6] Makefile.objs: Remove libqemu_common.a target

2011-11-08 Thread
-y) $(common-obj-y) subdir-libdis I guess you ran into trouble while building *-softmmu? I think we can just remove libqemu_common.a: from the comment of common-obj-y and leave the rest part alone. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science

Re: [Qemu-devel] [PATCH 5/6] Makefile.objs: Remove libqemu_common.a target

2011-11-08 Thread
the one to blame, I replaced the .a target with these lists of .o files to fix the build on OpenSolaris after constructors was introduced. So you agree to remove libqemu_common.a: from the comment or? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science

Re: [Qemu-devel] multiprocessor on kvm

2011-11-08 Thread
physical cpus is done by host OS. 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] qemu question

2011-11-08 Thread
I apologize for asking this question on the developers group, but the users group is dead. https://lists.nongnu.org/mailman/listinfo/qemu-discuss http://tech.groups.yahoo.com/group/qemu-users/ Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science

Re: [Qemu-devel] Patch: fix typo: runnning - running

2011-11-07 Thread
entering an invalid\n live well, vagrant -- 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 to build QEMU from git

2011-11-07 Thread
I ran into a problem running the qemu-0.15 and I was told that the problem was fixed in the 1.0 release candidate. I don't find a package with the RC on http://wiki.qemu.org/Download, There is a qemu-1.0-rc1 on the page now. :) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab

Re: [Qemu-devel] Accessing a linux guest's data structures

2011-11-07 Thread
. ^^^ I guess he want to know how to know which process is running in the guest OS from QEMU's perspective. 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 handle self-modifying code?

2011-11-04 Thread
TARGET_HAS_PRECISE_SMC is? *If* we don't have to support TARGET_HAS_PRECISE_SMC, does it imply there is no need to call tb_invalidate_phys_page twice? Thanks! [1] http://web.archive.org/web/20080618094733/http://public.carnet.hr/~jbrecak/sm.html Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer

Re: [Qemu-devel] Why some ARM NEON helper functions need mask?

2011-10-31 Thread
Thanks, Max and Chih-Min. It's much clear to me now. 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] Why some ARM NEON helper functions need mask?

2011-10-30 Thread
(neon_add_u8)(uint32_t a, uint32_t b) { uint32_t mask; mask = (a ^ b) 0x80808080u; a = ~0x80808080u; b = ~0x80808080u; return (a + b) ^ mask; } --- Any help is appreciated. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia

Re: [Qemu-devel] Multi heterogenous CPU archs for SoC sim?

2011-10-22 Thread
My use case here is testing and debugging, so I think we could live with the blocks being executed in an interleaved fashion until someone has the ultimate parallelization solution for upstream. So you prefer parallelizing QEMU itself in your case? -- Wei-Ren Chen (陳韋任) Computer Systems

<    1   2   3   >