Re: [Qemu-devel] Re: backdoor

2010-10-26 Thread Lluís
Anthony Liguori writes: > On 10/25/2010 05:48 PM, Lluís wrote: >>> For instance, a CPUID leaf could be used in the 0x40001xxx range. >>> >> Right, I commented this in a previous mail as a much nicer way to do it, >> but I was just too lazy to look up how CPUID works and instead ported >> the impl

Re: [Qemu-devel] Re: backdoor

2010-10-25 Thread Anthony Liguori
On 10/25/2010 05:48 PM, Lluís wrote: For instance, a CPUID leaf could be used in the 0x40001xxx range. Right, I commented this in a previous mail as a much nicer way to do it, but I was just too lazy to look up how CPUID works and instead ported the implementation I already had in bochs :)

Re: [Qemu-devel] Re: backdoor

2010-10-25 Thread Lluís
Anthony Liguori writes: > On 10/25/2010 08:37 AM, Lluís wrote: >> I know extending the ISA is not nice at all, but I think that's much >> more maintainable than a per-guest OS interface (supposing some will >> need extra guest drivers). > On x86, there are some architecturally nicer ways to do th

Re: [Qemu-devel] Re: backdoor

2010-10-25 Thread Anthony Liguori
On 10/25/2010 08:37 AM, Lluís wrote: Paolo Bonzini writes: On 10/25/2010 12:54 PM, Lluís wrote: * Backdoor channels need to provide arguments. * It's better to provide the same mechanism for both *-user and softmmu (otherwise the application to simulate or the interposed librariy sho

[Qemu-devel] Re: backdoor

2010-10-25 Thread Lluís
Blue Swirl writes: > On Mon, Oct 25, 2010 at 10:54 AM, Lluís wrote: >> Blue Swirl writes: >> >>> and there are guest visible side effects. >> >> I don't understand what you mean with guest-visible effects. > The guest can examine itself and determine that it has been modified. Well, yes, but b

Re: [Qemu-devel] Re: backdoor

2010-10-25 Thread Lluís
Paolo Bonzini writes: > On 10/25/2010 12:54 PM, Lluís wrote: >> * Backdoor channels need to provide arguments. >> * It's better to provide the same mechanism for both *-user and softmmu >> (otherwise the application to simulate or the interposed librariy >> should be compiled differently on every

[Qemu-devel] Re: backdoor [Was: Re: [PATCH 00/17] [RFC] static instrumentation]

2010-10-25 Thread Paolo Bonzini
On 10/25/2010 12:54 PM, Lluís wrote: * Backdoor channels need to provide arguments. * It's better to provide the same mechanism for both *-user and softmmu (otherwise the application to simulate or the interposed librariy should be compiled differently on every case). You can add the sysc