Re: [Qemu-devel] FPU x86 instructions error

2013-05-26 Thread TeLeMan
On Sat, May 25, 2013 at 5:39 AM, Clemens Kolbitsch kolbit...@lastline.com wrote: Hi guys, we recently had an issue with running a program using FPU instructions to obtain the current EIP (basically a weird way of call 0; pop eax) that was not working on QEMU (with TCG). Looking at the

Re: [Qemu-devel] [PATCH 4/4] target-xxx: Use fprintf_function (format checking)

2010-10-31 Thread TeLeMan
On Sat, Oct 23, 2010 at 05:03, Stefan Weil w...@mail.berlios.de wrote:     int eflags, i, nb; @@ -335,9 +333,11 @@ void cpu_dump_state(CPUState *env, FILE *f,                     (uint32_t)env-cr[2],                     (uint32_t)env-cr[3],                     (uint32_t)env-cr[4]); -        

Re: [Qemu-devel] [PATCH 4/4] target-xxx: Use fprintf_function (format checking)

2010-11-01 Thread TeLeMan
-- SUN OF A BEACH On Mon, Nov 1, 2010 at 15:05, Stefan Weil w...@mail.berlios.de wrote: Am 01.11.2010 03:24, schrieb TeLeMan: On Sat, Oct 23, 2010 at 05:03, Stefan Weil w...@mail.berlios.de wrote:    int eflags, i, nb; @@ -335,9 +333,11 @@ void cpu_dump_state(CPUState *env, FILE *f

[Qemu-devel] [PATCH] pci: fix pcibus_get_dev_path()

2011-01-20 Thread TeLeMan
The commit 6a7005d14b3c32d4864a718fb1cb19c789f58a5 used snprintf() incorrectly. Signed-off-by: TeLeMan gele...@gmail.com --- hw/pci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index 8d0e3df..9f8800d 100644 --- a/hw/pci.c +++ b/hw/pci.c

Re: [Qemu-devel] [PATCH v5 0/3] qcow2 metadata cache

2011-01-26 Thread TeLeMan
These patches break booting Windows.

Re: [Qemu-devel] [PATCH v5 0/3] qcow2 metadata cache

2011-01-28 Thread TeLeMan
Host: Win7 Guest: WinXP Reproduce: qemu-img create -f qcow2 winxp.qcow2 80G qemu -L pc-bios -m 256 -hda winxp.qcow2 -cdrom WXPVOL_EN.iso -boot d Error: An unexpected error (3073) occurred at line 5137 in d:\xp\client\base\boot\setup\setup.c I tried adding -snapshot into the command line, it

[Qemu-devel] Re: [PATCH] raw-win32: Fix bdrv_flush return value

2011-01-28 Thread TeLeMan
Thanks, It works very well on win7 and winxp. -- SUN OF A BEACH On Fri, Jan 28, 2011 at 23:04, Kevin Wolf kw...@redhat.com wrote: Reported-by: TeLeMan gele...@gmail.com Signed-off-by: Kevin Wolf kw...@redhat.com --- Hi TeLeMan, this seems to be the bug that was exposed by the recent

[Qemu-devel] [PATCH] vmstate: fix vmstate_subsection_load

2010-07-27 Thread TeLeMan
If the new version adds the new subsection for some vmstate, the old version will load the new version's vmstate unsuccessfully. So we have to ignore the unrecognized subsections. Signed-off-by: TeLeMan gele...@gmail.com --- savevm.c | 11 +-- 1 files changed, 5 insertions(+), 6

[Qemu-devel] Re: [PATCH] vmstate: fix vmstate_subsection_load

2010-07-28 Thread TeLeMan
On Wed, Jul 28, 2010 at 18:43, Juan Quintela quint...@redhat.com wrote: TeLeMan gele...@gmail.com wrote:  If the new version adds the new subsection for some vmstate, the old version will load the new version's vmstate unsuccessfully. So we have to ignore the unrecognized subsections

[Qemu-devel] Re: [PATCH] vmstate: fix vmstate_subsection_load

2010-07-28 Thread TeLeMan
On Wed, Jul 28, 2010 at 19:51, Juan Quintela quint...@redhat.com wrote: TeLeMan gele...@gmail.com wrote: On Wed, Jul 28, 2010 at 18:43, Juan Quintela quint...@redhat.com wrote: TeLeMan gele...@gmail.com wrote:  If the new version adds the new subsection for some vmstate, the old version

[Qemu-devel] [PATCH] vmstate: fix vmstate_load_state for subsections

2010-08-10 Thread TeLeMan
. I think vmstate subsections needs to be redesigned. Signed-off-by: TeLeMan gele...@gmail.com --- savevm.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/savevm.c b/savevm.c index 2082b8c..feca8fa 100644 --- a/savevm.c +++ b/savevm.c @@ -1286,9 +1286,11 @@ int

Re: [Qemu-devel] debugging apic

2010-09-28 Thread TeLeMan
I reported this bug two year ago, but nobody cared. http://www.mail-archive.com/qemu-devel@nongnu.org/msg15330.html -- SUN OF A BEACH On Tue, Sep 28, 2010 at 23:15, Sam King kin...@uiuc.edu wrote: Hello, I am seeing a weird crash in my system and I am trying to figure out if it is a

Re: [Qemu-devel] [PATCH, RFT] mingw32: use ASLR, no-SEH and DEP if available

2010-09-28 Thread TeLeMan
GDB can not insert breakpoints on Windows Vista/7 because of the flag -dynamicbase. -- SUN OF A BEACH

Re: [Qemu-devel] [PATCH 2/3] Compile vl.c once

2010-05-04 Thread TeLeMan
This patch breaks cpu list(-cpu ?). -- SUN OF A BEACH On Fri, Apr 16, 2010 at 03:08, Blue Swirl blauwir...@gmail.com wrote: Since kvm.h can be used in files compiled once, we can partially revert b33612d03540fda7fa67485f1c20395beb7a2bf0. Signed-off-by: Blue Swirl blauwir...@gmail.com ---

[Qemu-devel] [PATCH] sdl: fix setenv for win32

2010-05-24 Thread TeLeMan
setenv() is not implemented on MinGW, so we have to use putenv(). Signed-off-by: TeLeMan gele...@gmail.com --- sdl.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/sdl.c b/sdl.c index add1148..eb4a87f 100644 --- a/sdl.c +++ b/sdl.c @@ -850,7 +850,11 @@ void

[Qemu-devel] [PATCH] usb-uhci: fix commit 8e65b7c04965c8355e4ce43211582b6b83054e3d for vmstate

2010-05-31 Thread TeLeMan
The commit 8e65b7c04965c8355e4ce43211582b6b83054e3d introduced expire_time of UHCIState. But expire_time is not in vmstate, the second uhci_frame_timer will not be fired immediately after loadvm. Signed-off-by: TeLeMan gele...@gmail.com --- hw/usb-uhci.c |3 ++- 1 files changed,[PATCH] usb

[Qemu-devel] [PATCH v2] sdl: fix setenv for win32

2010-05-31 Thread TeLeMan
setenv() is not implemented on MinGW, so we have to use putenv(). Signed-off-by: TeLeMan gele...@gmail.com --- sdl.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/sdl.c b/sdl.c index add1148..eac898a 100644 --- a/sdl.c +++ b/sdl.c @@ -850,7 +850,14 @@ void

[Qemu-devel] [PATCH][RESEND] usb-uhci: fix commit 8e65b7c04965c8355e4ce43211582b6b83054e3d for vmstate

2010-05-31 Thread TeLeMan
The commit 8e65b7c04965c8355e4ce43211582b6b83054e3d introduced expire_time of UHCIState. But expire_time is not in vmstate, the second uhci_frame_timer will not be fired immediately after loadvm. Signed-off-by: TeLeMan gele...@gmail.com --- hw/usb-uhci.c |3 ++- 1 files changed, 2 insertions

[Qemu-devel] Re: [PATCH][RESEND] usb-uhci: fix commit 8e65b7c04965c8355e4ce43211582b6b83054e3d for vmstate

2010-06-04 Thread TeLeMan
no comments? On Tue, Jun 1, 2010 at 12:26, TeLeMan gele...@gmail.com wrote: The commit 8e65b7c04965c8355e4ce43211582b6b83054e3d introduced expire_time of UHCIState. But expire_time is not in vmstate, the second uhci_frame_timer will not be fired immediately after loadvm. Signed-off

Re: [Qemu-devel] [PATCH 8/8] Rework debug exception processing for gdb use

2010-07-22 Thread TeLeMan
On Fri, Jun 25, 2010 at 22:56, Jan Kiszka jan.kis...@siemens.com wrote: Guest debugging is currently broken under CONFIG_IOTHREAD. The reason is inconsistent or even lacking signaling the debug events from the source VCPU to the main loop and the gdbstub. This patch addresses the issue by

Re: [Qemu-devel] [FOR 0.12][PATCH] target-i386: Fix evaluation of DR7 register

2009-12-14 Thread TeLeMan
raise_exception() in op_helper.c should not be used outside op_helper.c because of tcg. This patch uses raise_exception2() instead of raise_exception(). target-i386-fix-raise_exception-for-hw-breakpoints.patch Description: Binary data

[Qemu-devel] Re: [FOR 0.12][PATCH] target-i386: Fix evaluation of DR7 register

2009-12-15 Thread TeLeMan
Now to the content: env already equals single_cpu_env, so there is no need in writing it back. That's because break/watchpoints are triggered synchronously over the context in which they may raise an exception as result. env in op_help.c is asm(AREG0) not single_cpu_env. Did you test your

[Qemu-devel] [PATCH] fix chardev_init for win32

2010-01-05 Thread TeLeMan
Before calling chardev_init_func(), socket_init() should be called on win32. --- vl.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vl.c b/vl.c index 0f59142..3b39cad 100644 --- a/vl.c +++ b/vl.c @@ -5768,6 +5768,10 @@ int main(int argc, char **argv, char

[Qemu-devel] [PATCH] fix the static compilation for sdl

2010-02-07 Thread TeLeMan
The static compilation for sdl is broken after 79427693174a553d62f3da44aacd3f19ba8df3a7. Signed-off-by: TeLeMan gele...@gmail.com --- configure |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 4c95c27..213dddf 100644 --- a/configure +++ b

[Qemu-devel] [PATCH] use %lld instead of %I64d for qobject_from_jsonf in monitor.c and migration.c

2010-02-07 Thread TeLeMan
The json parser does not support %I64d, so we have to use %lld instead of %I64d. Signed-off-by: TeLeMan gele...@gmail.com --- migration.c |6 +++--- monitor.c |4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/migration.c b/migration.c index f20315f..f44b857 100644

[Qemu-devel] [PATCH] qemu-img: use the heap instead of the huge stack array for win32

2010-02-08 Thread TeLeMan
-by: TeLeMan gele...@gmail.com --- qemu-img.c | 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index bbfeea1..9994b3d 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -571,7 +571,7 @@ static int img_convert(int argc, char **argv) BlockDriverState

Re: [Qemu-devel] qemu-system-amd64 (0.9.1) and freebsd guest - irq patch (pointer)

2008-02-17 Thread TeLeMan
I reported this bug and gave a patch. http://www.nabble.com/forum/ViewPost.jtp?post=14921171 Juergen Lock-2 wrote: Hi! I received the following posting and patch, sent to the freebsd-emulation list, can anyone here say if it is correct, and if yes, apply?

[Qemu-devel] [PATCH] vmstate: fix breakage by 7e72abc382b700a72549e8147bdea413534eeedc

2009-10-20 Thread TeLeMan
cirrus_post_load() will be executed twice when loading vm states and then the wrong physical memory will be registered. This issue may lead to crash qemu. --- hw/cirrus_vga.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index

[Qemu-devel] Should MSR EFER and MSR STAR be saved to vmstate on target-i386?

2009-10-20 Thread TeLeMan
I saw MSR EFER and MSR STAR were saved to vmstate on target-x86_64 only.But MSR EFER and MSR STAR can be accessed on target-i386,so should MSR EFER and MSR STAR be saved to vmstate on target-i386 too? -- View this message in context:

[Qemu-devel] Re: [PATCH] tcg, tci: Add TCG and interpreter for bytecode (virtual machine)

2009-10-22 Thread TeLeMan
Tested i386-softmmu only. Now tci can run windows xp sp2 and its speed is about 6 times slower than jit. -- SUN OF A BEACH Subject: [PATCH 1/5] tci: fix op_sar_iXX and op_ext16s_iXX --- tcg/tci.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tcg/tci.c b/tcg/tci.c

Re: [Qemu-devel] Re: [PATCH] tcg, tci: Add TCG and interpreter for bytecode (virtual machine)

2009-10-23 Thread TeLeMan
On Sat, Oct 24, 2009 at 02:58, Stefan Weil w...@mail.berlios.de wrote: Is patch 4 (call handling) needed, or is it an optimization? If it is needed, the tcg disassembler has to be extended as well. In fact tci has no stack and robber registers and doesn't need simulate the CPU work. I am trying

[Qemu-devel] [PATCH] target-i386: fix commit c22549204a6edc431e8e4358e61bd56386ff6957

2010-03-12 Thread TeLeMan
The commit c22549204a6edc431e8e4358e61bd56386ff6957 led movntps movntdq to be translated incorrectly. Signed-off-by: TeLeMan gele...@gmail.com --- target-i386/translate.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/target-i386/translate.c b/target-i386

[Qemu-devel] [PATCH] usb-bus: fix no params

2010-03-18 Thread TeLeMan
The params is never NULL and the usb hid devices have no params. Signed-off-by: TeLeMan gele...@gmail.com --- hw/usb-bus.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/hw/usb-bus.c b/hw/usb-bus.c index ce8a694..f3f1ed6 100644 --- a/hw/usb-bus.c +++ b/hw/usb-bus.c

[Qemu-devel] [PATCH, RFC] qemu-timer: fix alarm_timer pending

2010-03-18 Thread TeLeMan
reason and just referred to the previous implement to make this patch. Signed-off-by: TeLeMan gele...@gmail.com --- qemu-timer.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/qemu-timer.c b/qemu-timer.c index 3d6e99a..f9e2b19 100644 --- a/qemu-timer.c +++ b/qemu

[Qemu-devel] Re: [PATCH, RFC] qemu-timer: fix alarm_timer pending

2010-03-19 Thread TeLeMan
On Fri, Mar 19, 2010 at 17:33, Paolo Bonzini pbonz...@redhat.com wrote: On 03/19/2010 06:24 AM, TeLeMan wrote: I fetched the lastest qemu-timer codes and found qemu would have no response when the guest os was WinXP and the timer was dynticks on the win32 host.  After qemu froze, it seemed

[Qemu-devel] [PATCHv2] usb-bus: fix no params

2010-03-29 Thread TeLeMan
After commit 702f3e0fb52c124c07f215426eeadb70a716643f, the params is nerver NULL. It should check *params instead of params to determine whether the params is empty. Signed-off-by: TeLeMan gele...@gmail.com --- hw/usb-bus.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [Qemu-devel] [PATCH] usb-bus: fix no params

2010-03-29 Thread TeLeMan
On Mon, Mar 29, 2010 at 20:16, Kevin Wolf kw...@redhat.com wrote: Am 27.03.2010 13:47, schrieb Aurelien Jarno: On Fri, Mar 19, 2010 at 12:59:24PM +0800, TeLeMan wrote: The params is never NULL and the usb hid devices have no params. This looks plainly wrong. With your patch, usb devices which

[Qemu-devel] [PATCH]bug fix for softmmu slow_st unaligned access

2007-10-27 Thread TeLeMan
For example, the memory address 0x10008000 is on an unwritable page.When the instruction add dword ptr [0x10007FFF],0x12345678 is executed,the OS will set 0x10008000 page be a writable page and re-execute this instruction. But softmmu has modifed the value of 0x10007FFF,so after re-executing this

Re: [Qemu-devel] [PATCH]bug fix for softmmu slow_st unaligned access

2007-10-30 Thread TeLeMan
andrzej zaborowski wrote: Hi, On 28/10/2007, TeLeMan [EMAIL PROTECTED] wrote: For example, the memory address 0x10008000 is on an unwritable page.When the instruction add dword ptr [0x10007FFF],0x12345678 is executed,the OS will set 0x10008000 page be a writable page and re-execute

Re: [Qemu-devel] qemu softmmu_template.h

2007-11-17 Thread TeLeMan
Here is one sample to reproduce the previous bug on guest windows. Usage: rundll32 qemu-test.dll test The correct running result is to display a message box. If no patch, the exception will occur. I tested this sample on windows xp sp2. http://www.nabble.com/file/p13808936/qemu-test.rar

[Qemu-devel] [security bug]code_gen_buffer can be overflowed

2007-11-27 Thread TeLeMan
dyngen_code() can generate more than CODE_GEN_MAX_SIZE bytes, code_gen_buffer can be overflowed. I hope this security bug will be fixed soon. -- View this message in context: http://www.nabble.com/-security-bug-code_gen_buffer-can-be-overflowed-tf4886083.html#a13985284 Sent from the QEMU - Dev

Re: [Qemu-devel] [security bug]code_gen_buffer can be overflowed

2007-11-30 Thread TeLeMan
Blue Swirl-2 wrote: On 11/28/07, TeLeMan [EMAIL PROTECTED] wrote: dyngen_code() can generate more than CODE_GEN_MAX_SIZE bytes, code_gen_buffer can be overflowed. I hope this security bug will be fixed soon. Thank you for the analysis. It's true that cpu_gen_code does not pass

[Qemu-devel] [PATCH] i386 hard interrupt generation bug fix

2008-01-17 Thread TeLeMan
in cpu-exe.c: intno=cpu_get_pic_interrupt(env); intno may be -1, we have to skip this error code. http://www.nabble.com/file/p14921171/hard_int.patch hard_int.patch: --- qemu.orig/cpu-exec.cMon Jan 14 11:11:02 2008 +++ qemu/cpu-exec.c Thu Jan 17 23:03:00 2008 @@ -449,16 +449,18 @@

[Qemu-devel] [Bug] qemu_memalign not matched with qemu_free

2008-01-23 Thread TeLeMan
qemu_memalign was introduced after this patch: http://www.nabble.com/forum/ViewPost.jtp?post=14488239framed=y But the free function was qemu_free yet, the correct function should be qemu_vfree. This bug will lead to heap corrupted. -- View this message in context:

Re: [Qemu-devel] [Bug] qemu_memalign not matched with qemu_free

2008-01-24 Thread TeLeMan
This bug exists on Windows host only. TeLeMan wrote: qemu_memalign was introduced after this patch: http://www.nabble.com/forum/ViewPost.jtp?post=14488239framed=y But the free function was qemu_free yet, the correct function should be qemu_vfree. This bug will lead to heap corrupted

Re: [Qemu-devel] [PATCH 28/37] Move debug exception handling out of cpu_exec

2011-03-06 Thread TeLeMan
This patch breaks the support for x86 hardware breakpoints because cpu_resume_from_signal() and raise_exception_env() are used in breakpoint_handler().

Re: [Qemu-devel] [PATCH 28/37] Move debug exception handling out of cpu_exec

2011-03-07 Thread TeLeMan
On Mon, Mar 7, 2011 at 16:54, Jan Kiszka jan.kis...@web.de wrote: On 2011-03-07 09:26, Jan Kiszka wrote: On 2011-03-07 02:52, TeLeMan wrote: This patch breaks the support for x86 hardware breakpoints because cpu_resume_from_signal() and raise_exception_env() are used in breakpoint_handler

Re: [Qemu-devel] Re: Windows 7 on pure qemu-0.14

2011-03-16 Thread TeLeMan
I have another problem: Windows 7 x86 setup hangs when Setup Is Starting Windows. Any suggestions?

Re: [Qemu-devel] Re: Windows 7 on pure qemu-0.14

2011-03-16 Thread TeLeMan
I tried. This issue should be associated with some IO device or bus. On 2011-03-16, Gleb Natapov g...@redhat.com wrote: On Wed, Mar 16, 2011 at 06:49:27PM +0800, TeLeMan wrote: I have another problem: Windows 7 x86 setup hangs when Setup Is Starting Windows. Any suggestions? Same. Try -cpu

Re: [Qemu-devel] [PATCH] w32: QEMU applications with SDL are always GUI applications

2011-12-21 Thread TeLeMan
-- SUN OF A BEACH On Mon, Dec 19, 2011 at 16:15, Stefan Weil s...@weilnetz.de wrote: Am 19.12.2011 03:12, schrieb TeLeMan: On Sat, Dec 17, 2011 at 07:12, Stefan Weil s...@weilnetz.de wrote: Am 16.12.2011 04:24, schrieb TeLeMan: On Sun, Dec 4, 2011 at 05:32, Stefan Weil s...@weilnetz.de

Re: [Qemu-devel] [PATCH] w32: QEMU applications with SDL are always GUI applications

2011-12-21 Thread TeLeMan
On Thu, Dec 22, 2011 at 14:45, Stefan Weil s...@weilnetz.de wrote: Am 22.12.2011 02:50, schrieb TeLeMan: SDL-1.3 removed the stdio-redirect feature, so we should ignore it. Blue Swirl, can you revert this commit? I'd prefer to keep it. There are good reason why SDL applications are linked

Re: [Qemu-devel] [PATCH] w32: Build windows and console executables

2011-12-22 Thread TeLeMan
On Thu, Dec 22, 2011 at 16:03, Stefan Weil s...@weilnetz.de wrote: System emulation executables with SDL are typically windows executables. Sometimes console executables are more useful, so create both variants if linker option -mwindows was detected. Signed-off-by: Stefan Weil

Re: [Qemu-devel] [PATCH v2] w32: Build windows and console executables

2011-12-22 Thread TeLeMan
On Thu, Dec 22, 2011 at 18:20, Stefan Weil s...@weilnetz.de wrote: System emulation executables with SDL are typically windows executables. Sometimes console executables are more useful, so create both variants if linker option -mwindows was detected. v2: This version uses QEMU_PROGW /

Re: [Qemu-devel] [PATCH v2] w32: Build windows and console executables

2011-12-25 Thread TeLeMan
On Fri, Dec 23, 2011 at 21:47, Stefan Weil s...@weilnetz.de wrote: Am 23.12.2011 03:31, schrieb TeLeMan: On Thu, Dec 22, 2011 at 18:20, Stefan Weil s...@weilnetz.de wrote: System emulation executables with SDL are typically windows executables. Sometimes console executables are more useful

Re: [Qemu-devel] add debugger command

2011-12-27 Thread TeLeMan
2011/12/28 Peter Cheung mcheun...@hotmail.com: Hi, I am chinese too. Am I welcome to add some debug command to the qemu internal debugger? I have some bad experiment before on other project, the project owner is not willing to add feature by other people. I think you would be disappointed

Re: [Qemu-devel] [PATCH] w32: QEMU applications with SDL are always GUI applications

2011-12-15 Thread TeLeMan
On Sun, Dec 4, 2011 at 05:32, Stefan Weil s...@weilnetz.de wrote: Since commit 1d14ffa97eacd3cb722271eaf6f093038396eac4 (in 2005), QEMU applications on W32 don't use the default SDL compiler flags: Instead of a GUI application, a console application is created. This has disadvantages (there

Re: [Qemu-devel] [PATCH] w32: QEMU applications with SDL are always GUI applications

2011-12-18 Thread TeLeMan
On Sat, Dec 17, 2011 at 07:12, Stefan Weil s...@weilnetz.de wrote: Am 16.12.2011 04:24, schrieb TeLeMan: On Sun, Dec 4, 2011 at 05:32, Stefan Weil s...@weilnetz.de wrote: Since commit 1d14ffa97eacd3cb722271eaf6f093038396eac4 (in 2005), QEMU applications on W32 don't use the default SDL

Re: [Qemu-devel] [PATCH] w32: QEMU applications with SDL are always GUI applications

2011-12-19 Thread TeLeMan
On Mon, Dec 19, 2011 at 16:15, Stefan Weil s...@weilnetz.de wrote: Am 19.12.2011 03:12, schrieb TeLeMan: On Sat, Dec 17, 2011 at 07:12, Stefan Weil s...@weilnetz.de wrote: Am 16.12.2011 04:24, schrieb TeLeMan: On Sun, Dec 4, 2011 at 05:32, Stefan Weil s...@weilnetz.de wrote: Since commit

[Qemu-devel] [PATCH] piix_pci: fix piix3_set_irq_pic()

2011-05-16 Thread TeLeMan
If pic_irq is greater than 7, the irq level is always 0 on 32bits. Signed-off-by: TeLeMan gele...@gmail.com --- hw/piix_pci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/piix_pci.c b/hw/piix_pci.c index 7f1c4cc..85a320e 100644 --- a/hw/piix_pci.c +++ b/hw

Re: [Qemu-devel] [PATCH v7 3/4] piix_pci: optimize set irq path

2011-05-22 Thread TeLeMan
I did a patch for it. http://lists.gnu.org/archive/html/qemu-devel/2011-05/msg01239.html On Sun, May 22, 2011 at 20:24, Stefan Weil w...@mail.berlios.de wrote: Hi, I got a regression report which was obviously caused by this commit: $ git bisect bad ab431c283e7055bcd6fb622f212bb29e84a6a134

Re: [Qemu-devel] [PATCH] usb-hid: activate usb tablet / mouse after migration.

2011-10-16 Thread TeLeMan
On Thu, Oct 13, 2011 at 18:48, Gerd Hoffmann kra...@redhat.com wrote: On 10/13/11 04:09, TeLeMan wrote: On Wed, Oct 12, 2011 at 19:30, Gerd Hoffmannkra...@redhat.com  wrote: qemu uses the ps/2 mouse by default.  The usb tablet (or mouse) is activated as soon as qemu sees some guest activity

Re: [Qemu-devel] [PATCH v3 03/13] qemu-timer: move common code to qemu_rearm_alarm_timer

2011-10-31 Thread TeLeMan
On Sat, Oct 22, 2011 at 00:26, Paolo Bonzini pbonz...@redhat.com wrote: Reviewed-by: Anthony Liguori aligu...@us.ibm.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com ---  qemu-timer.c |  129 --  1 files changed, 53 insertions(+),

Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified

2011-06-26 Thread TeLeMan
This patch breaks the compilation with --enable-vnc-png: CCui/vnc-enc-tight.o In file included from /usr/include/png.h:518, from ui/vnc-enc-tight.c:34: /usr/include/pngconf.h:371: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token

Re: [Qemu-devel] cpu-exec.c: avoid AREG0 use breaks x86 emulation on x86-64

2011-06-30 Thread TeLeMan
On Fri, Jul 1, 2011 at 00:47, Jan Kiszka jan.kis...@siemens.com wrote: Hi Blue, commit cea5f9a28f breaks here, just starting qemu without any parameters: Starting program: qemu-system-x86_64 [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault.

[Qemu-devel] [PATCH] qemu-char: fix the commit qemu-char: Print strerror message on failure

2011-07-25 Thread TeLeMan
The commit 6e1db57b2ac9025c2443c665a0d9e78748637b26 missed patching qemu_chr_open_win_file(). Signed-off-by: TeLeMan gele...@gmail.com --- qemu-char.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index dcf7065..ea7abfe 100644

Re: [Qemu-devel] [PATCH] qemu-char: fix the commit qemu-char: Print strerror message on failure

2011-07-25 Thread TeLeMan
Oh, Blue Swirl did it, please ignore this. -- SUN OF A BEACH On Mon, Jul 25, 2011 at 16:16, TeLeMan gele...@gmail.com wrote: The commit 6e1db57b2ac9025c2443c665a0d9e78748637b26 missed patching qemu_chr_open_win_file(). Signed-off-by: TeLeMan gele...@gmail.com ---  qemu-char.c |    8

[Qemu-devel] [PATCH] monitor: fix build breakage with --disable-vnc

2011-07-25 Thread TeLeMan
The breakage was introduced by the commit 13661089810d3e59931f3e80d7cb541b99af7071 Signed-off-by: TeLeMan gele...@gmail.com --- monitor.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/monitor.c b/monitor.c index 92cdd05..52ae5f2 100644 --- a/monitor.c +++ b/monitor.c

[Qemu-devel] [PATCH] console: Don't expose the the ui module's functions when the module is not available.

2011-07-25 Thread TeLeMan
If there is no sdl support, the implement of sdl_display_init() is missing and its declaration should not be exposed. vnc, cocoa, curses and other ui modules are the same as sdl. Signed-off-by: TeLeMan gele...@gmail.com --- console.h |9 - 1 files changed, 8 insertions(+), 1

Re: [Qemu-devel] [PATCH] console: Don't expose the the ui module's functions when the module is not available.

2011-07-25 Thread TeLeMan
On Tue, Jul 26, 2011 at 10:32, Anthony Liguori aligu...@us.ibm.com wrote: On 07/25/2011 09:24 PM, TeLeMan wrote: If there is no sdl support, the implement of sdl_display_init() is missing and its declaration should not be exposed. vnc, cocoa, curses and other ui modules are the same as sdl

Re: [Qemu-devel] [PATCH 04/25] Add hard build dependency on glib

2011-08-01 Thread TeLeMan
This patch introduces -mms-bitfields cflag on MinGW but this cflag breaks gcc packed structures(__attribute__((packed))). For example, slirp does not work on Win32.

Re: [Qemu-devel] 0.15.0-rc2 (any version past 0.14.1) having issues with SLIRP on Windows XP host

2011-08-05 Thread TeLeMan
On Sat, Aug 6, 2011 at 04:46, Blue Swirl blauwir...@gmail.com wrote: On Fri, Aug 5, 2011 at 8:09 PM, Kenneth Salerno kennethsale...@yahoo.com wrote: Hi, I'm not sure if any defaults (build or runtime) have changed since 0.14.1, but I can no longer get the following to work anymore for QEMU

Re: [Qemu-devel] [PATCH 13/16] usb-hid: add hid_has_events()

2011-08-08 Thread TeLeMan
On Thu, Aug 4, 2011 at 23:10, Gerd Hoffmann kra...@redhat.com wrote: Add hid_has_events function, use it to figure whenever there are pending events instead of checking and updating USBHIDState-changed. Setting -changed to 1 on init is removed, that should have absolutely no effect as the

Re: [Qemu-devel] [PATCH 13/16] usb-hid: add hid_has_events()

2011-08-10 Thread TeLeMan
On Wed, Aug 10, 2011 at 23:17, Gerd Hoffmann kra...@redhat.com wrote:  Hi, - -    /* Force poll routine to be run and grab input the first time.  */ -    us-changed = 1; USB tablet does not work on the winxp guest. I think this code can't be removed. Attached patch should fix that.

Re: [Qemu-devel] Get execution trace and tcg fatal error!

2011-08-17 Thread TeLeMan
On Thu, Aug 18, 2011 at 12:14, shbi shb shbi@gmail.com wrote: Hi, I am new to QEMU and I need to get guest Windows instructions traceon Qemu. I added the following codes to Qemu but I got tcg fatal error : 1- I added a helper function in helper.h : DEF_HELPER_1(get_trace, void, i32) 2-

Re: [Qemu-devel] [PATCH -V4 01/26] coroutine: add gthread dependency

2011-08-19 Thread TeLeMan
On Tue, Aug 9, 2011 at 01:03, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Commit 1fc7bd4a86a2bfeafcec29445871eb97469a2699 removed the gthread and gio dependency since qemu-ga did not require it.  Coroutines require gthread, so add

Re: [Qemu-devel] [PULL] slirp: Fix issues with -mms-bitfields

2011-08-23 Thread TeLeMan
On Sun, Aug 21, 2011 at 04:00, Stefan Weil w...@mail.berlios.de wrote: Am 15.08.2011 08:39, schrieb Jan Kiszka: The following changes since commit 3b6ffe50300f13240e1b46420ad05da1116df410: hw/scsi-bus.c: Fix use of uninitialised variable (2011-08-14 19:34:25 +) are available in the

Re: [Qemu-devel] [PULL] slirp: Fix issues with -mms-bitfields

2011-08-24 Thread TeLeMan
On Wed, Aug 24, 2011 at 17:11, Jan Kiszka jan.kis...@web.de wrote: On 2011-08-23 12:49, TeLeMan wrote: On Sun, Aug 21, 2011 at 04:00, Stefan Weil w...@mail.berlios.de wrote: Am 15.08.2011 08:39, schrieb Jan Kiszka: The following changes since commit 3b6ffe50300f13240e1b46420ad05da1116df410

Re: [Qemu-devel] [PULL] slirp: Fix issues with -mms-bitfields

2011-08-25 Thread TeLeMan
On Thu, Aug 25, 2011 at 19:04, Jan Kiszka jan.kis...@web.de wrote: On 2011-08-25 03:14, TeLeMan wrote: On Wed, Aug 24, 2011 at 17:11, Jan Kiszka jan.kis...@web.de wrote: On 2011-08-23 12:49, TeLeMan wrote: On Sun, Aug 21, 2011 at 04:00, Stefan Weil w...@mail.berlios.de wrote: Am 15.08.2011 08

Re: [Qemu-devel] [PATCH 0/7] Fix packing for MinGW with -mms-bitfields

2011-08-29 Thread TeLeMan
On Mon, Aug 29, 2011 at 13:01, Stefan Weil w...@mail.berlios.de wrote: Am 28.08.2011 23:43, schrieb Blue Swirl: On Sun, Aug 28, 2011 at 8:43 PM, Stefan Weil w...@mail.berlios.de wrote: These patches fix the packing of structures which were affected by the new compiler attribute

[Qemu-devel] [PATCH] hid: vmstat fix

2011-09-13 Thread TeLeMan
The commit usb/hid: add hid_pointer_activate, use it used HIDMouseState.mouse_grabbed in hid_pointer_activate(), so mouse_grabbed should be added into vmstat. Signed-off-by: TeLeMan gele...@gmail.com --- hw/hid.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/hw/hid.c

Re: [Qemu-devel] [PATCH] hid: vmstat fix

2011-09-14 Thread TeLeMan
On Wed, Sep 14, 2011 at 15:15, Paolo Bonzini pbonz...@redhat.com wrote: On 09/14/2011 05:03 AM, TeLeMan wrote: The commit usb/hid: add hid_pointer_activate, use it used HIDMouseState.mouse_grabbed in hid_pointer_activate(), so mouse_grabbed should be added into vmstat. Does this fix a bug

Re: [Qemu-devel] [PATCH] hid: vmstat fix

2011-09-18 Thread TeLeMan
On Thu, Sep 15, 2011 at 21:40, Gerd Hoffmann kra...@redhat.com wrote: On 09/14/11 09:59, Paolo Bonzini wrote: On 09/14/2011 09:40 AM, TeLeMan wrote: The commit usb/hid: add hid_pointer_activate, use it used HIDMouseState.mouse_grabbed in hid_pointer_activate(), so mouse_grabbed should

Re: [Qemu-devel] [PATCH 1/3] Don't use g_thread_get_initialized.

2011-09-21 Thread TeLeMan
On Wed, Sep 7, 2011 at 21:02, Gerd Hoffmann kra...@redhat.com wrote: Initialize glib threads unconditionally in main() instead of using g_thread_get_initialized in the 9p code. Fixes a build failure on RHEL-5, which ships glib 2.12. g_thread_get_initialized was added in 2.20. Signed-off-by:

Re: [Qemu-devel] [PATCH] usb-hid: activate usb tablet / mouse after migration.

2011-10-12 Thread TeLeMan
On Wed, Oct 12, 2011 at 19:30, Gerd Hoffmann kra...@redhat.com wrote: qemu uses the ps/2 mouse by default.  The usb tablet (or mouse) is activated as soon as qemu sees some guest activity on the device, i.e. polling for HID events.  That used to work fine for both fresh boot and migration. It

Re: [Qemu-devel] [PATCH] Fix conversions from pointer to tcg_target_long

2011-04-13 Thread TeLeMan
On Sat, Apr 2, 2011 at 19:36, Stefan Weil w...@mail.berlios.de wrote: tcg_gen_exit_tb takes a parameter of type tcg_target_long, so the type casts of pointer to long should be replaced by type casts of pointer to tcg_target_long (suggested by Blue Swirl). These changes are needed for build

Re: [Qemu-devel] [help]how to make qemu-img utility to support writting file or directory to the image file

2012-01-31 Thread TeLeMan
On Sun, Jan 29, 2012 at 17:02, 马磊 aware@gmail.com wrote: Hi,     qemu-img is only to support create/info and so on whithout writting operation to the image file.      I have ported the reading operation for a image file form grub2 to qemu-img. But NTFS document online  is not detailed

Re: [Qemu-devel] [MASCOT CONTEST] Wei-Ren Chen #5

2012-02-15 Thread TeLeMan
+1 -- SUN OF A BEACH On Wed, Feb 15, 2012 at 22:40, Anthony Liguori anth...@codemonkey.wswrote: Please respond to this note with an '+1', or an Ack, to vote for this icon.

Re: [Qemu-devel] [MASCOT CONTEST] Clare Liguori #2

2012-02-15 Thread TeLeMan
+1 -- SUN OF A BEACH On Wed, Feb 15, 2012 at 22:46, Anthony Liguori anth...@codemonkey.wswrote: Please respond to this note with an '+1', or an Ack, to vote for this icon.

Re: [Qemu-devel] [PATCH 5/5] memory: get rid of cpu_register_io_memory()

2012-03-18 Thread TeLeMan
On Fri, Mar 9, 2012 at 01:20, Avi Kivity a...@redhat.com wrote: The return value of cpu_register_io_memory() is no longer used anywhere, so we can remove it and all associated data and code. Signed-off-by: Avi Kivity a...@redhat.com ---  cpu-all.h       |    8 ---  exec-all.h      |    

Re: [Qemu-devel] [PATCH 5/5] memory: get rid of cpu_register_io_memory()

2012-03-19 Thread TeLeMan
On Mon, Mar 19, 2012 at 17:16, Avi Kivity a...@redhat.com wrote: On 03/19/2012 06:52 AM, TeLeMan wrote:  static bool memory_region_wrong_endianness(MemoryRegion *mr) @@ -942,7 +940,7 @@ void memory_region_init_io(MemoryRegion *mr,     mr-opaque = opaque;     mr-terminates = true;     mr

[Qemu-devel] [PATCH] exec: fix breakpoint_invalidate() breakage

2012-05-18 Thread TeLeMan
This breakage was introduced by the commit memory: make phys_page_find() return an unadjusted. Signed-off-by: TeLeMan gele...@gmail.com --- exec.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exec.c b/exec.c index 0607c9b..ad99476 100644 --- a/exec.c +++ b/exec.c

Re: [Qemu-devel] [PATCH] exec: fix breakpoint_invalidate() breakage

2012-05-22 Thread TeLeMan
On Friday, May 18, 2012, TeLeMan gele...@gmail.com wrote: This breakage was introduced by the commit memory: make phys_page_find() return an unadjusted. Signed-off-by: TeLeMan gele...@gmail.com --- exec.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exec.c b

Re: [Qemu-devel] [PATCH] exec: fix breakpoint_invalidate() breakage

2012-05-23 Thread TeLeMan
On Wed, May 23, 2012 at 11:41 AM, Andreas Färber afaer...@suse.de wrote: Am 18.05.2012 11:49, schrieb TeLeMan: This breakage was introduced by the commit memory: make phys_page_find() return an unadjusted. You seem to have found the origin of your problem. If you also mention the commit hash

Re: [Qemu-devel] [PATCH] exec: fix breakpoint_invalidate() breakage

2012-05-23 Thread TeLeMan
On Wed, May 23, 2012 at 7:22 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-23 04:09, TeLeMan wrote: On Wed, May 23, 2012 at 11:41 AM, Andreas Färber afaer...@suse.de wrote: Am 18.05.2012 11:49, schrieb TeLeMan: This breakage was introduced by the commit memory: make phys_page_find

Re: [Qemu-devel] [PATCH] exec: fix breakpoint_invalidate() breakage

2012-05-23 Thread TeLeMan
On Thu, May 24, 2012 at 1:36 AM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-23 13:02, Jan Kiszka wrote: On 2012-05-23 11:11, TeLeMan wrote: On Wed, May 23, 2012 at 7:22 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-23 04:09, TeLeMan wrote: On Wed, May 23, 2012 at 11:41 AM

Re: [Qemu-devel] [PATCH] exec: fix breakpoint_invalidate() breakage

2012-05-23 Thread TeLeMan
...@suse.de  wrote: Am 18.05.2012 11:49, schrieb TeLeMan: This breakage was introduced by the commit memory: make phys_page_find() return an unadjusted. You seem to have found the origin of your problem. If you also mention the commit hash in your commit message then certain frontends (gitk

Re: [Qemu-devel] [PATCH] exec: fix breakpoint_invalidate() breakage

2012-05-23 Thread TeLeMan
On Thu, May 24, 2012 at 10:00 AM, Jan Kiszka jan.kis...@web.de wrote: On 2012-05-23 22:29, TeLeMan wrote: On Thu, May 24, 2012 at 1:36 AM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-05-23 13:02, Jan Kiszka wrote: On 2012-05-23 11:11, TeLeMan wrote: On Wed, May 23, 2012 at 7:22 PM, Jan

Re: [Qemu-devel] [PATCH] exec: fix breakpoint_invalidate() breakage

2012-05-24 Thread TeLeMan
On Fri, May 25, 2012 at 3:51 AM, Anthony Liguori anth...@codemonkey.ws wrote: On 05/24/2012 02:42 PM, Stefan Weil wrote: Am 24.05.2012 20:36, schrieb Anthony Liguori: On 05/24/2012 01:12 PM, Stefan Weil wrote: This discussion looks strange for me. I'm not going to commit patches with a

Re: [Qemu-devel] [PATCH v2 1/5] compiler: support Darwin weak references

2012-11-04 Thread TeLeMan
On Fri, Nov 2, 2012 at 10:43 PM, Paolo Bonzini pbonz...@redhat.com wrote: Weakrefs only tell you if the symbol was defined elsewhere, so you need a further check at runtime to pick the default definition when needed. This could be automated by the compiler, but it does not do it.

Re: [Qemu-devel] [Bug 1179731] [NEW] is networking broken on windows hosts?

2013-05-14 Thread TeLeMan
On Tue, May 14, 2013 at 3:51 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, May 14, 2013 at 12:02:24AM -, therock247uk wrote: just wondering as i just compiled the latest git and qemu goes into none responding mode when i try to do any networking stuff on guests (both linux and

  1   2   >