Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Qemu User-mode + Cross Compiler

That¹s technically how it¹s done, but that¹s not how the user perceives
it. It is simulating a remote target.

What I don¹t understand from your screenshot, how do you know you just ran
abcd and not abc? The launch descriptor (middle selector) should be the
application your launching. The target (right selector) represents where
you¹re launching it, in this case, qemeu. When the remote connection to
qemu is opened, you would start it up and make the connection. The launch
delegate would then use the remote process service to launch things there.

The part I haven¹t quite figured out is how to model bare-metal
applications for which you create a new VM every time you launch. It
doesn¹t really exist outside the launch. But that¹s a less common use case
and the user could, in theory, create remote connections like they would
for hardware boards and pretend they¹re real targets. Not sure.


Doug.

On 2015-01-22, 4:39 PM, "Rafael Peria de Sene" <rpsene@xxxxxxxxxxxxxxxxxx>
wrote:

>
>Hi Doug, regarding the Qemu integration with the toolbar: as the
>qemu-user-mode runs locally, as a process, on the same kernel that the
>host runs, it is launched as a local application.
>
>See the screen shot attached.
>
>
>On 01/16/2015 01:40 PM, Doug Schaefer wrote:
>> It might be interesting to see how this would work in the context of
>>the launchbar. I would expect qemu to show up as a remote and used by
>>the CDT remote launch to launch apps on an operating system with SSH or
>>something similar.
>>
>> A more interesting case may be qemu microcontrollers where your app is
>>running bare metal. I would use a different connection type in that case
>>which starts up with your app as the image.
>>
>> I'm away today but will take a look at what you have and give it some
>>thought.
>>
>> Sent from my BlackBerry 10 smartphone on the Rogers network.
>>    Original Message
>> From: Marc Khouzam
>> Sent: Friday, January 16, 2015 10:23 AM
>> To: CDT General developers list.
>> Reply To: CDT General developers list.
>> Subject: Re: [cdt-dev] Qemu User-mode + Cross Compiler
>>
>>
>> Hi Rafael,
>>
>> This sounds like a very interesting feature for CDT.
>> I can't speak about any IP issues or implementation issues until we see
>>the code, but the concept is promising.
>> I think it would make a great contribution.
>>
>> Thanks in advance
>>
>> Marc
>> ________________________________________
>> From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on
>>behalf of Rafael Peria de Sene [rpsene@xxxxxxxxxxxxxxxxxx]
>> Sent: January 16, 2015 8:18 AM
>> To: CDT General developers list.
>> Subject: [cdt-dev] Qemu User-mode + Cross Compiler
>>
>> Hello guys,
>>
>>       Our Eclipse-based product has a plugin which integrates Qemu
>> user-mode. It allows a developer to run its cross-compiled applications
>> without the necessity to run an emulator/simulator. Qemu user-mode runs
>> as a process and leverage the host kernel and syscalls.
>>
>>       Basically, once you have built your cross-compiled application you
>> can select Run As > Qemu, set the options and your application will be
>> executed.
>>
>>       Here are a article about it:
>> 
>>https://www.ibm.com/developerworks/linux/library/l-c-cpp-applications-lin
>>ux-on-power/
>>
>>       Today it is tailored for ppc64/ppc64le, but with few changes can
>>be
>> generic enough.
>>
>>       What do you think about it be part of CDT ?
>>
>>
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>>from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>>from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>>from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>>
>



Back to the top