[Qemu-devel] FPU x86 instructions error

2013-05-24 Thread Clemens Kolbitsch
, you have probably come across it before - if there was a reason for not including it in QEMU (I checked in git:master and it's not applied). If there isn't, maybe it'd be worth re-considering :) thanks! -Clemens -- Clemens Kolbitsch Security Researcher kolbit...@lastline.com Lastline, Inc. 6950

Re: [Qemu-devel] FPU x86 instructions error

2013-05-26 Thread Clemens Kolbitsch
On Sun, May 26, 2013 at 7:54 AM, Andreas Färber afaer...@suse.de wrote: Hi, Am 24.05.2013 23:44, schrieb Paolo Bonzini: Il 24/05/2013 23:39, Clemens Kolbitsch ha scritto: we recently had an issue with running a program using FPU instructions to obtain the current EIP (basically a weird way

[Qemu-devel] Self-modifying code with REP-prefix on TCG

2013-11-18 Thread Clemens Kolbitsch
detecting this very specific case and marking the TB for re-translation only after the TB is exited, but this is not very clean and also somewhat prone to errors. Thanks! -Clemens -- Clemens Kolbitsch Security Researcher kolbit...@lastline.com Mobile +1 (206) 356-7745 Land +1 (805) 456-7076

[Qemu-devel] Create Fake PCI Cards

2007-05-04 Thread Clemens Kolbitsch
Hi everyone! I've read some posts in the qemu-mailinglist archives about the idea of a pci-proxy (allowing the client-os to access the host-os-pci devices) and the problems related to that. now, I want to make something similar and wonder if there is already some source code that does all

Re: [Qemu-devel] Create Fake PCI Cards

2007-05-04 Thread Clemens Kolbitsch
Paul Brook wrote: I want to create a fake/virtual pci device that only exists in the vm. so basically it boils down to adding a new (wireless) device that is not connected to anything and that i can write data to/read data from the device driver runnnig inside of qemu. Qemu already has

[Qemu-devel] wireless pci device driver

2007-05-04 Thread Clemens Kolbitsch
If you need a wireless PCI device, I can provide code for TNETW1130 (ACX111). Get it from http://svn.berlios.de/svnroot/repos/ar7-firmware/qemu/trunk/hw/tnetw1130.c It works partially with an emulated Linux 2.6.20: the PCI card is recognized, and it loads firmware. wow!! it'll take a good

[Qemu-devel] Getting started programming a HW Device

2007-05-10 Thread Clemens Kolbitsch
Hi everyone! Could someone please point out some links to a good documentation and/or tutorial on how to write hardware devices for qemu? I have been reading through the parallel ne2k code and - although it is not that hard - just do not get all the information necessary it seems. are

[Qemu-devel] QEMU/PCI shutdown event

2007-05-28 Thread Clemens Kolbitsch
hi everyone! i'm programming a pci-device that includes some threads socket-connections (that allow remote debugging of my device). however, i want to cleanly shutdown all threads and sockets when qemu exits... is there an easy way of getting informed of a qemu shutdown? (something similar

Re: RE: [Qemu-devel] QEMU/PCI shutdown event

2007-05-28 Thread Clemens Kolbitsch
hi everyone! i'm programming a pci-device that includes some threads socket-connections (that allow remote debugging of my device). however, i want to cleanly shutdown all threads and sockets when qemu exits... is there an easy way of getting informed of a qemu shutdown? (something similar

[Qemu-devel] Adding multiple files to qemu Makefile ... a pain

2007-05-29 Thread Clemens Kolbitsch
hi! sorry that I'm posting for such a dumb thing, but I'm going crazy Up until now, I had a single file added to the qemu/hw folder. after adding VL_OBJS += myfile.o everything compiled without problems. but now my project grew too large and i wanted to split everything into multiple

[Qemu-devel] Accepting socket connections in qemu (not the client... the emulator)

2007-05-29 Thread Clemens Kolbitsch
hi! my virtual device inside qemu (a pci device) is listening for socket-(tcp)-connections. however, accept() always fails (code works fine if not executed inside the qemu-process)... now i'm wondering if qemu interferes somehow... is that possible? frustrated *gg*

[Qemu-devel] Re: Accepting socket connections in qemu (not the client... the emulator)

2007-05-29 Thread Clemens Kolbitsch
Clemens Kolbitsch wrote: hi! my virtual device inside qemu (a pci device) is listening for socket-(tcp)-connections. however, accept() always fails (code works fine if not executed inside the qemu-process)... now i'm wondering if qemu interferes somehow... is that possible? frustrated

Re: [Qemu-devel] Re: Accepting socket connections in qemu (not the client... the emulator)

2007-05-29 Thread Clemens Kolbitsch
Johannes Schindelin wrote: Hi, On Tue, 29 May 2007, Clemens Kolbitsch wrote: Clemens Kolbitsch wrote: my virtual device inside qemu (a pci device) is listening for socket-(tcp)-connections. however, accept() always fails (code works fine if not executed inside the qemu-process

[Qemu-devel] Re: Qemu-devel Digest, Vol 50, Issue 70

2007-05-30 Thread Clemens Kolbitsch
PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of Qemu-devel digest... Today's Topics: 1. qemu vl.c (Paul Brook) 2. QEMU/PCI shutdown event (Clemens Kolbitsch) 3

RE: [Qemu-devel] QEMU/PCI shutdown event

2007-05-30 Thread Clemens Kolbitsch
hi everyone! i'm programming a pci-device that includes some threads socket-connections (that allow remote debugging of my device). however, i want to cleanly shutdown all threads and sockets when qemu exits... is there an easy way of getting informed of a qemu shutdown? (something similar

[Qemu-devel] Detecting Client OS BSOF/Kernel Oops

2007-06-06 Thread Clemens Kolbitsch
Hi! I'd like to detect if the client OS crashes... right now, only for linux, but windows systems will become interesting for me as well in the future... Is there an easy way of detecting if a BSOD or a kernel oops happened?? Maybe that'd be possible by checking if the IP is inside a certain

[Qemu-devel] Debugging guest OS / tracing instruction pointer

2007-06-14 Thread Clemens Kolbitsch
hi! i'm looking for a way to monitor the eip register. is there a simple way to do this? i know that that produces tons of data... even better would be to know where i could intercept the main-loop (exec_cpu ??) to check for a certain eip value... could someone assist me doing that? thanks!

Re: [Qemu-devel] Debugging guest OS / tracing instruction pointer

2007-06-14 Thread Clemens Kolbitsch
Paul Brook wrote: On Thursday 14 June 2007, Clemens Kolbitsch wrote: hi! i'm looking for a way to monitor the eip register. is there a simple way to do this? i know that that produces tons of data... even better would be to know where i could intercept the main-loop (exec_cpu ??) to check

[Qemu-devel] i386 emulation bug: mov reg, [addr]

2009-12-15 Thread Clemens Kolbitsch
Hi list, I'm experiencing a strange emulation bug with the op-code below. The instruction raises a segfault in the application (running on the guest), however, if I enable KVM to run the exact same application, no segfault is raised. 0x0080023b: 8b 04 65 11 22 33 44mov regEAX,

[Qemu-devel] TB monitoring

2010-02-05 Thread Clemens Kolbitsch
Guys, I need a Qemu-internals expert to help me out here: I'm trying to monitor execution of certain (user-land) TBs in a i386-softmmu system. For this, the cpu-main loop has been patched: Before jumping into a TB's generated code, I first check its guest-virtual start address whether it

[Qemu-devel] Re: Atheros Wireless Device Emulation

2008-02-28 Thread Clemens Kolbitsch
On Thursday 28 February 2008 15:12:20 [EMAIL PROTECTED] wrote: Atheros Wireless Device Emulation Hm... seems attachments don't go too well. Since it is a 9.500 LOC patch, I put here for download: http://stud4.tuwien.ac.at/~e0126605/qemu_atheros/atheros_wlan.patch Cheers

[Qemu-devel] Re: Qemu-devel Digest, Vol 59, Issue 88

2008-02-29 Thread Clemens Kolbitsch
On Friday 29 February 2008 19:22:53 Sylvain Petreolle wrote: Look at pci.c.rej. Because of the lines of the recent e1000 pci card inclusion, patch refuses to apply it. Its just a matter of resynch... ok thanks. will take a look at it!

[Qemu-devel] Re: Re: Atheros Wireless Device Emulation

2008-03-01 Thread Clemens Kolbitsch
On Friday 29 February 2008 19:22:53 Sylvain Petreolle wrote: Look at pci.c.rej. Because of the lines of the recent e1000 pci card inclusion, patch refuses to apply it. Its just a matter of resynch... Now I got it ;-) This one

[Qemu-devel] Re: Re: Atheros Wireless Device Emulation

2008-03-18 Thread Clemens Kolbitsch
Hello! Since I cannot guarantee that the code will be on my server forever, I'll post the CVS-patch here once more. Furthermore, I'll split it into smaller sections and put it inline, so the chance of getting it reviewed are a little bigger ;-) Also, here are some comments I posted mistakenly

[Qemu-devel] Re: Re: Re: Atheros Wireless Device Emulation

2008-03-18 Thread Clemens Kolbitsch
Patch #1: Necessary changes to Qemu itself... Makefile and hw/pci.c to include the device: diff -Naur qemu/hw/pci.c qemu-altered/hw/pci.c --- qemu/hw/pci.c 2008-02-03 03:20:18.0 +0100 +++ qemu-altered/hw/pci.c 2008-03-01 12:59:50.0 +0100 @@ -636,6 +636,8 @@

[Qemu-devel] Re: Re: Re: Atheros Wireless Device Emulation

2008-03-18 Thread Clemens Kolbitsch
emulation + * + * Copyright (c) 2008 Clemens Kolbitsch + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the Software), to deal + * in the Software without restriction, including without limitation

[Qemu-devel] Re: Re: Re: Atheros Wireless Device Emulation

2008-03-18 Thread Clemens Kolbitsch
:11.0 +0100 @@ -0,0 +1,345 @@ +/** + * QEMU WLAN device emulation + * + * Copyright (c) 2008 Clemens Kolbitsch + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the Software), to deal

[Qemu-devel] Re: Re: Re: Atheros Wireless Device Emulation

2008-03-18 Thread Clemens Kolbitsch
/atheros_wlan_ap.c --- qemu/hw/atheros_wlan_ap.c 1970-01-01 01:00:00.0 +0100 +++ qemu-altered/hw/atheros_wlan_ap.c 2008-03-01 12:33:11.0 +0100 @@ -0,0 +1,771 @@ +/** + * QEMU WLAN access point emulation + * + * Copyright (c) 2008 Clemens Kolbitsch + * + * Permission is hereby granted

[Qemu-devel] Re: Re: Re: Atheros Wireless Device Emulation

2008-03-18 Thread Clemens Kolbitsch
/atheros_wlan_io.c 2008-03-01 12:33:11.0 +0100 @@ -0,0 +1,1188 @@ +/** + * QEMU WLAN device emulation + * + * Copyright (c) 2008 Clemens Kolbitsch + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the Software

[Qemu-devel] Re: Re: Re: Atheros Wireless Device Emulation

2008-03-18 Thread Clemens Kolbitsch
+++ qemu-altered/hw/atheros_wlan_packet.c 2008-03-01 12:33:11.0 +0100 @@ -0,0 +1,481 @@ +/** + * QEMU WLAN access point emulation + * + * Copyright (c) 2008 Clemens Kolbitsch + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software

[Qemu-devel] Re: Re: Re: Atheros Wireless Device Emulation

2008-03-18 Thread Clemens Kolbitsch
Patch #8: CRC32 helper code. Sorry if there is already some global function that could be used for this purpose. Simply took the code from Wireshark (license and header documentation unchanged obviously). diff -Naur qemu/hw/atheros_wlan_crc32.c qemu-altered/hw/atheros_wlan_crc32.c ---

[Qemu-devel] Re: sidt problem

2007-06-27 Thread Clemens Kolbitsch
a programmer's job :-) greets! Clemens Kolbitsch wrote: hi everyone! i have a strange problem: i use the following code on my linux 2.6.20 (kubuntu debian, i386) to dynamically get the location of the system-call table (as can also be found in /proc/kallsyms -- sys_call_table) as it is quite

[Qemu-devel] Linux KDE vs. Windows

2007-07-24 Thread Clemens Kolbitsch
hi! i've got a questions... just out of curiosity: when emulating windows xp, i get quite good speeds. however, when running linux, i can only work with it when turning off kde... it is WAY too slow. is there a known reason for that / does anyone know what i could be doing wrong? i'm

Re: Re: [Qemu-devel] Linux KDE vs. Windows

2007-07-24 Thread Clemens Kolbitsch
, and then 512 if you can afford it. On 7/24/07, Clemens Kolbitsch [EMAIL PROTECTED] wrote: hi! i've got a questions... just out of curiosity: when emulating windows xp, i get quite good speeds. however, when running linux, i can only work with it when turning off kde... it is WAY too slow

Re: Re: [Qemu-devel] Linux KDE vs. Windows

2007-07-25 Thread Clemens Kolbitsch
Am 24.07.2007 um 15:32 schrieb Clemens Kolbitsch: i'm emulating i386 (what else when using windows *g*) [...] just in case someone knows :-) As far as I recall, in chronological order: alpha, ia64, amd64. ;-) ok.. ok ... my fault ;-)

[Qemu-devel] softMMU / MOV translation

2007-07-25 Thread Clemens Kolbitsch
hi! i tried asking this in the irc but got no answer, hope someone can help me here :-) i'm working on memory-protection for my mather's thesis and have to dig into qemu memory management... could someone help me here please? i have the following problem: i'm trying to understand the dynamic

[Qemu-devel] Re: softMMU / MOV translation

2007-07-25 Thread Clemens Kolbitsch
i think to have found it in translate.c: /* sign does not matter, except for lidt/lgdt call (TODO: fix it) */ static GenOpFunc *gen_op_ld_T0_A0[3 * 4] = { gen_op_ldub_raw_T0_A0, gen_op_lduw_raw_T0_A0, gen_op_ldl_raw_T0_A0, X86_64_ONLY(gen_op_ldq_raw_T0_A0), #ifndef

[Qemu-devel] Re: Re: softMMU / MOV translation

2007-07-25 Thread Clemens Kolbitsch
found the functions in target-xxx/ops_mem.h the macros confused my grepping, but how much more self-speaking can a filename be *gg* ?? oh well... i found it :-)

Re: Re: [Qemu-devel] softMMU / MOV translation

2007-07-25 Thread Clemens Kolbitsch
Hi Clemens, if you enable log asm_in,op,op_opt,asm_out you will see the intermediate code used during translation. The opcodes are generated from the macros you already found in softmmu_header.h by target-i386/ops_mem.h included from target-i386/op.c Hope this helps, Eddie well... you

[Qemu-devel] SoftMMU address tracing

2007-08-08 Thread Clemens Kolbitsch
hi! ah... i'm going crazy... could someone help me please: i'm still (as previously posted on irc) trying to catch when the guest OS (or a program running in it) accesses a certain virtual address (e.g. reads from it). my guest code is something like: ... unsigned long *p = (unsigned

[Qemu-devel] Re: SoftMMU address tracing

2007-08-09 Thread Clemens Kolbitsch
hi! finally found out why it did not work ... the problem was kqemu after all. after compiling qemu with kqemu-support disabled, the address translation/access worked as expected :-) is there a good documentation/technical paper online that could help me understand how address handling is done

[Qemu-devel] Publicating with QEMU

2007-09-19 Thread Clemens Kolbitsch
Hi guys! Short question: I'm having a speech at BlackHat Japan in Oktober about something I made with qemu. Basically it is a new hardware type (so it is just an additional file in the hw-subdirectory) --- it's the wireless device I have been asking questions for a couple of months ago in case

Re: [Qemu-devel] Publicating with QEMU

2007-09-20 Thread Clemens Kolbitsch
On Thursday 20 September 2007 16:08:51 Thiemo Seufer wrote: Clemens Kolbitsch wrote: Hi guys! Short question: I'm having a speech at BlackHat Japan in Oktober about something I made with qemu. Basically it is a new hardware type (so it is just an additional file in the hw-subdirectory

[Qemu-devel] Serial Console / NoGraphic

2007-09-25 Thread Clemens Kolbitsch
hi! i've been trying around for quite some time now trying to start qemu without the graphic screen... can someone tell me exactly what I'm supposed to do?? i want to redirect the output of my i386 debian linux to my host-console (also a i386 debian) to fully see the output of a kernel panic

[Qemu-devel] Re: Serial Console / NoGraphic

2007-09-25 Thread Clemens Kolbitsch
On Tuesday 25 September 2007 12:04:17 Clemens Kolbitsch wrote: hi! i've been trying around for quite some time now trying to start qemu without the graphic screen... can someone tell me exactly what I'm supposed to do?? i want to redirect the output of my i386 debian linux to my host-console

Re: Re: [Qemu-devel] softmmu macro meaning

2007-09-27 Thread Clemens Kolbitsch
On Thursday 27 September 2007 16:01:08 [EMAIL PROTECTED] wrote: does the MEMSUFFIX macro (kernel / user) mean that the memory is access by code running in ring0/ring3 or does this tell about the memory region being access (mem or TASK_SIZE / 0xc000)? The former. ok :-) and while

Re: [Qemu-devel] softmmu macro meaning

2007-09-27 Thread Clemens Kolbitsch
On Thursday 27 September 2007 17:27:32 Daniel Jacobowitz wrote: On Thu, Sep 27, 2007 at 05:02:46PM +0200, Clemens Kolbitsch wrote: but will kernel mode always use the TLB[0] for address translation (even for addresses at e.g. 0x0800) and user mode TLB[1] (even for e.g. 0xc000abcd

[Qemu-devel] qcow2 vs. image file format -- pci device

2007-09-29 Thread Clemens Kolbitsch
hi everyone! i have a strange problem (at least to me it seems strange :-) ): i have implemented a pci device (Network IC) and it works just fine when using a standard image. however i now want to support snapshotting... i started to convert my image into the qcow2 format and suddenly my code

[Qemu-devel] softmmu_header: ldb_kernel vs. ldsb_kernel

2007-10-02 Thread Clemens Kolbitsch
hi everyone! i have a (maybe rather tricky) question: why do you define 2 different inline load-functions in softmmu_header: static inline int glue(glue(lds, SUFFIX), MEMSUFFIX)(target_ulong ptr) vs. static inline RES_TYPE glue(glue(ld, USUFFIX), MEMSUFFIX)(target_ulong ptr) ?? Obviously

[Qemu-devel] using pthread in qemu

2007-10-03 Thread Clemens Kolbitsch
hi! i know... i have been told not to use them, but i just HAVE TO for the moment :-( i need to run a second thread inside my hardware module which is not a problem as long as i don't use the qcow2 image format. when i switch to qcow2, qemu's main thread hangs because the second thread is

[Qemu-devel] Re: using pthread in qemu

2007-10-03 Thread Clemens Kolbitsch
On Wednesday 03 October 2007 13:04:33 you wrote: hi! i know... i have been told not to use them, but i just HAVE TO for the moment :-( i need to run a second thread inside my hardware module which is not a problem as long as i don't use the qcow2 image format. when i switch to qcow2, qemu's

[Qemu-devel] CPU_TLB_BITS / CPU_TLB_SIZE

2007-10-04 Thread Clemens Kolbitsch
hi everyone! if i want to increase the size of my TLB (for emulating an i386 processor), is it enough to simply increase CPU_TLB_BITS (e.g. by one)?? Or are there any side effects to that I should be aware of? Thanks!

Re: [Qemu-devel] CPU_TLB_BITS / CPU_TLB_SIZE

2007-10-04 Thread Clemens Kolbitsch
On Thursday 04 October 2007 15:05:22 Thiemo Seufer wrote: Clemens Kolbitsch wrote: hi everyone! if i want to increase the size of my TLB (for emulating an i386 processor), is it enough to simply increase CPU_TLB_BITS (e.g. by one)?? IIRC CPU_TLB_BITS needs to be a 2^n value. sure

[Qemu-devel] i386 page fault recovery / user-code continuation

2007-10-10 Thread Clemens Kolbitsch
hi everyone! I have a question concerning how i386 execution is continued after a page fault has occured... What I have understood so far: In the executing TB the TLB is checked and if the address is not found __ld (e.g. __ldl_user) is called. this calls lb_fill (if it

Re:[Qemu-devel] Kernel panic - not syncing: No init found. Trypassing init= option to kernel.

2007-10-19 Thread Clemens Kolbitsch
On Friday 19 October 2007 09:13:40 [EMAIL PROTECTED] wrote: Then I try this command: qemu -m 32 hda rootfs.img kernel linux-2.6.18.1/arch/i386/boot/bzImage -append “root=/dev/hda \clock=pit” and I get the error... I tried to pass init=/sbin/init or init=/bin/init but it doesn't help... Hi!

Re: RE: [Qemu-devel] Kernel panic - not syncing: No init found.

2007-10-19 Thread Clemens Kolbitsch
are you passing an initrd to qemu? i call qemu like this: qemu \ -hda image \ -boot c \ -net user \ -net nic,vlan=0,model=rtl8139 \ -initrd initrd \ -append root=/dev/hda1 \ -kernel kernel \ -no-kqemu whereas kernel is a link to

[Qemu-devel] performance monitor

2008-01-03 Thread Clemens Kolbitsch
hi! has anyone ever used some real performance monitoring tools (like papiex, perfex, pfmon, etc.) on qemu? i'm running a debian linux and would like to time some applications inside qemu and have tried the perfmon2 kernel-patch (http://perfmon2.sourceforge.net/) for testing. sadly, it does

Re: [Qemu-devel] performance monitor

2008-01-03 Thread Clemens Kolbitsch
On Thursday 03 January 2008 22:29:06 Paul Brook wrote: ... Ok, to cut a long question short: Is there any hardware support im qemu for doing monitoring (that goes deeper than using time) and has anyone ever tested something that could work? Probably your application wants the performance

Re: [Qemu-devel] performance monitor

2008-01-03 Thread Clemens Kolbitsch
On Thursday 03 January 2008 23:07:07 you wrote: Does anyone have an idea on how I can measure performance in qemu to a somewhat accurate level? I have modified qemu (the memory handling) and the linux kernel and want to find out the penalty this introduced... does anyone have any comments

Re: [Qemu-devel] performance monitor

2008-01-03 Thread Clemens Kolbitsch
On Thursday 03 January 2008 23:18:58 Paul Brook wrote: Well, the measuring I had in mind partly concentrats on TLB misses, page faults, etc. (in addition to the cycle measuring). guess i'll have to implement something for myself in qemu :-/ Be aware that the TLB qemu uses behaves very

Re: [Qemu-devel] performance monitor

2008-01-04 Thread Clemens Kolbitsch
On Friday 04 January 2008 09:49:22 Rob Landley wrote: On Thursday 03 January 2008 15:38:02 Clemens Kolbitsch wrote: Does anyone have an idea on how I can measure performance in qemu to a somewhat accurate level? hwclock --show time1 tar xvjf linux-2.6.23.tar.bz2 cd linux-2.6.23 make

[Qemu-devel] Relative/Absolute timing snapshot problem

2011-03-26 Thread Clemens Kolbitsch
Hi list, strange situation: When I create a snapshot using Qemu 0.14.0 stable, everything works smoothly and resuming the CPU takes about 1-2 seconds. If I don't use the snapshot file for some time, the time it takes to resume grows by 2-3 seconds per day. At the moment, I'm looking at a

Re: [Qemu-devel] Relative/Absolute timing snapshot problem

2011-03-28 Thread Clemens Kolbitsch
On 03/18/11 21:39, Clemens Kolbitsch wrote: Hi list, strange situation: When I create a snapshot using Qemu 0.14.0 stable, everything works smoothly and resuming the CPU takes about 1-2 seconds. If I don't use the snapshot file for some time, the time it takes to resume grows by 2-3

Re: [Qemu-devel] Rethinking missed tick catchup

2012-09-12 Thread Clemens Kolbitsch
On 2012-09-12 15:54, Anthony Liguori wrote: Hi, We've been running into a lot of problems lately with Windows guests and I think they all ultimately could be addressed by revisiting the missed tick catchup algorithms that we use. Mike and I spent a while talking about it yesterday and I

Re: [Qemu-devel] QEMU (no kvm) Win7 (64bit) boot error [PATCH 1/1]

2012-09-17 Thread Clemens Kolbitsch
On Mon, Sep 10, 2012 at 10:31 AM, Aurelien Jarno aurel...@aurel32.net wrote: On Mon, Sep 10, 2012 at 06:23:43PM +0200, Stefan Weil wrote: Am 10.09.2012 08:19, schrieb Clemens Kolbitsch: On Sat, Sep 8, 2012 at 11:22 AM, Clemens Kolbitsch kolbit...@lastline.com wrote: On Fri, Sep 7, 2012 at 9

Re: [Qemu-devel] QEMU (no kvm) Win7 (64bit) boot error [PATCH 1/1]

2012-09-17 Thread Clemens Kolbitsch
On Mon, Sep 17, 2012 at 11:19 AM, Aurelien Jarno aurel...@aurel32.net wrote: On Mon, Sep 17, 2012 at 10:27:35AM -0700, Clemens Kolbitsch wrote: On Mon, Sep 10, 2012 at 10:31 AM, Aurelien Jarno aurel...@aurel32.net wrote: On Mon, Sep 10, 2012 at 06:23:43PM +0200, Stefan Weil wrote: Am

Re: [Qemu-devel] QEMU (no kvm) Win7 (64bit) boot error [PATCH 1/1]

2012-09-27 Thread Clemens Kolbitsch
and Intel486TM processors, which is as follows: 00 -- Break on instruction execution only. 01 -- Break on data writes only. 10 -- Undefined. 11 -- Break on data reads or writes but not instruction fetches. On Mon, Sep 17, 2012 at 2:54 PM, Clemens Kolbitsch kolbit...@lastline.com wrote: On Mon, Sep 17

[Qemu-devel] Qemu (no kvm) Win7 (64bit) boot error

2012-09-07 Thread Clemens Kolbitsch
Hi guys, I need to run Win7 64bit in Qemu without KVM support. I found a few messages concerning the unsupported architecture problem (Windows shows a BSOD with STOP 0x005D ... on boot), for example http://lists.gnu.org/archive/html/qemu-devel/2011-03/msg01623.html or

Re: [Qemu-devel] QEMU (no kvm) Win7 (64bit) boot error

2012-09-08 Thread Clemens Kolbitsch
On Fri, Sep 7, 2012 at 9:26 PM, Stefan Weil s...@weilnetz.de wrote: Am 08.09.2012 02:48, schrieb Clemens Kolbitsch: Hi guys, I need to run Win7 64bit in Qemu without KVM support. I found a few messages concerning the unsupported architecture problem (Windows shows a BSOD with STOP

Re: [Qemu-devel] QEMU (no kvm) Win7 (64bit) boot error

2012-09-10 Thread Clemens Kolbitsch
On Sat, Sep 8, 2012 at 11:22 AM, Clemens Kolbitsch kolbit...@lastline.com wrote: On Fri, Sep 7, 2012 at 9:26 PM, Stefan Weil s...@weilnetz.de wrote: Am 08.09.2012 02:48, schrieb Clemens Kolbitsch: Hi guys, I need to run Win7 64bit in Qemu without KVM support. I found a few messages

Re: [Qemu-devel] QEMU (no kvm) Win7 (64bit) boot error

2012-09-10 Thread Clemens Kolbitsch
On Mon, Sep 10, 2012 at 9:23 AM, Stefan Weil s...@weilnetz.de wrote: Am 10.09.2012 08:19, schrieb Clemens Kolbitsch: On Sat, Sep 8, 2012 at 11:22 AM, Clemens Kolbitsch kolbit...@lastline.com wrote: On Fri, Sep 7, 2012 at 9:26 PM, Stefan Weil s...@weilnetz.de wrote: Am 08.09.2012 02:48

[Qemu-devel] [Bug 921208] Re: win7/x64 installer hangs on startup with 0x0000005d.

2012-10-11 Thread Clemens Kolbitsch
We have been discussing this issue on the QEMU mailing list. It is of CPU definition, but none of the current configurations allow QEMU to boot Windows7 64bit WITHOUT KVM. The issue behind it is that the TCG (code generator) might not fully support all CPU bits required by Win7. There is a patch

[Qemu-devel] [Bug 921208] Re: win7/x64 installer hangs on startup with 0x0000005d.

2012-10-13 Thread Clemens Kolbitsch
Hi Rolando, thanks for this detailed report. Since you mention that Windows7 runs fine for you, you gotten me really curious. Could you please post the exact command line you are using (e.g., what additional hardware you are emulating, etc.), the build version, the host system, etc. I'm pretty

[Qemu-devel] Disabling KVM on the fly

2012-10-17 Thread Clemens Kolbitsch
different results, are there obvious problems even trying to go down that road? Would love to hear some thoughts on this - don't hesitate to tell me that's stupid and impossible because XYZ (assuming you also fill in the blanks ;) ) Thanks! Clemens -- Clemens Kolbitsch Security Researcher kolbit

Re: [Qemu-devel] Disabling KVM on the fly

2012-10-18 Thread Clemens Kolbitsch
On Thu, Oct 18, 2012 at 10:24 AM, Jan Kiszka jan.kis...@siemens.com wrote: On 2012-10-18 08:29, Paolo Bonzini wrote: Il 17/10/2012 20:37, Jan Kiszka ha scritto: On 2012-10-17 18:44, Paolo Bonzini wrote: Il 17/10/2012 18:37, Clemens Kolbitsch ha scritto: Guys, I know this is question might

[Qemu-devel] TCG x86-64 'bt' insn

2014-04-09 Thread Clemens Kolbitsch
.pdf -- Clemens Kolbitsch Security Researcher kolbit...@lastline.com Mobile +1 (206) 356-7745 Land +1 (805) 456-7076 Lastline, Inc. 6950 Hollister Avenue, Suite 101 Goleta, CA 93117 www.lastline.com

Re: [Qemu-devel] TCG x86-64 'bt' insn

2014-04-09 Thread Clemens Kolbitsch
that most flag-computations set undefined flags to 0 - is this just a convention or really a requirement? Thanks guys! -Clemens On Wed, Apr 9, 2014 at 10:33 AM, Clemens Kolbitsch kolbit...@lastline.comwrote: Hi guys, I have to revive a rather old thread [1,2]. A quick summary of the issue

Re: [Qemu-devel] [PATCH] target-i386: Preserve the Z bit for bt/bts/btr/btc

2014-04-19 Thread Clemens Kolbitsch
; } break; case 0x1bc: /* bsf / tzcnt */ -- 1.9.0 -- Clemens Kolbitsch Security Researcher kolbit...@lastline.com Mobile +1 (206) 356-7745 Land +1 (805) 456-7076 Lastline, Inc. 6950 Hollister Avenue, Suite 101 Goleta, CA 93117 www.lastline.com

Re: [Qemu-devel] TCG x86-64 'bt' insn

2014-04-19 Thread Clemens Kolbitsch
: https://lists.gnu.org/archive/html/qemu-devel/2014-04/msg01455.html thanks -- PMM -- Clemens Kolbitsch Security Researcher kolbit...@lastline.com Mobile +1 (206) 356-7745 Land +1 (805) 456-7076 Lastline, Inc. 6950 Hollister Avenue, Suite 101 Goleta, CA 93117 www.lastline.com

Re: [Qemu-devel] TCG x86-64 'bt' insn

2014-04-20 Thread Clemens Kolbitsch
Hi Peter, sure, that's fine too :). I just meant great that it will be picked up in a future version :) Thanks! -Clemens On Sat, Apr 19, 2014 at 3:50 PM, Peter Maydell peter.mayd...@linaro.orgwrote: On 19 April 2014 23:41, Clemens Kolbitsch kolbit...@lastline.com wrote: Thanks guys

[Qemu-devel] [Bug 921208] Re: win7/x64 installer hangs on startup with 0x0000005d.

2014-10-31 Thread Clemens Kolbitsch
Michael, this bug cannot be solved with a reconfiguration, it's actually a TCG emulation bug. There is an experimental patch on the QEMU mailing list you should have a look at -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.