Re: [Qemu-devel] QEMU to generate host binary

2015-06-30 Thread Alex Bennée
Dr. David Alan Gilbert writes: > * Ayaz Akram (aaq...@gmail.com) wrote: >> Thanks for your answers. The thing that i still do not get is once we have >> host assembly code (output assembly log generated for compiled TBs ), >> should we still worry about problems like self modifying code and othe

Re: [Qemu-devel] QEMU to generate host binary

2015-06-30 Thread Dr. David Alan Gilbert
* Ayaz Akram (aaq...@gmail.com) wrote: > Thanks for your answers. The thing that i still do not get is once we have > host assembly code (output assembly log generated for compiled TBs ), > should we still worry about problems like self modifying code and other > dynamic conditions? Moreover, assum

Re: [Qemu-devel] QEMU to generate host binary

2015-06-29 Thread Ayaz Akram
Thanks for your answers. The thing that i still do not get is once we have host assembly code (output assembly log generated for compiled TBs ), should we still worry about problems like self modifying code and other dynamic conditions? Moreover, assuming static linking, will not this code be enoug

Re: [Qemu-devel] QEMU to generate host binary

2015-06-29 Thread Peter Crosthwaite
On Mon, Jun 29, 2015 at 8:13 AM, Stefan Hajnoczi wrote: > On Sun, Jun 28, 2015 at 07:29:39PM -0400, Ayaz Akram wrote: >> > Let's say qemu is running in System Emulation Mode, when it runs guest's System emulation makes the problem even harder, as a system mode binary (usually an OS or some sort)

Re: [Qemu-devel] QEMU to generate host binary

2015-06-29 Thread Stefan Hajnoczi
On Sun, Jun 28, 2015 at 07:29:39PM -0400, Ayaz Akram wrote: > > Let's say qemu is running in System Emulation Mode, when it runs guest's > > binary, it can log the translated code for host. Is it possible to merge > > that translated code and other sections of guest's binary to make a binary > > wh

Re: [Qemu-devel] QEMU to generate host binary

2015-06-28 Thread Ayaz Akram
> Let's say qemu is running in System Emulation Mode, when it runs guest's > binary, it can log the translated code for host. Is it possible to merge > that translated code and other sections of guest's binary to make a binary > which can be run directly on host. > > Thanks > > On Fri, Jun 26, 2015

Re: [Qemu-devel] QEMU to generate host binary

2015-06-26 Thread Peter Crosthwaite
On Fri, Jun 26, 2015 at 12:33 PM, Ayaz Akram wrote: > Hello ! > Is anyone aware of an effort to produce an executable binary for host using > qemu. I mean is it possible that qemu generate a binary for whatever > application it is emulating, which can later be run directly on host? > I'm not sure

[Qemu-devel] QEMU to generate host binary

2015-06-26 Thread Ayaz Akram
Hello ! Is anyone aware of an effort to produce an executable binary for host using qemu. I mean is it possible that qemu generate a binary for whatever application it is emulating, which can later be run directly on host? Thanks