Skip to contentSkip to conversation

Emulation of xen ARM on qemux86_64

DISCUSSION pranay kukreti 3 participants 5 messages May 19, 2017 – May 23, 2017 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,I am new to xen-arm development on yocto-project. Right now i dont have a hardware, but i wanted to see how xen-arm works, so was wondering if xen-arm can be implemented to be used with a qemu machine. If so please let me know where can i find the resources.Thanks,Pranay Kukreti

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CABc08zKqxObQ=ezKRDV3kHfkuv0YGgrXcDDwFBkQJQcTQRffWg@mail.gmail.com

#4 lore raw

Hi Pranay,

I'm not familiar with QEMU, but in general case - you can't just take image (for example RCAR-H3) and run it inside QEMU - a some things might be different - uart, gic, timer, etc.
And i'm not sure about support of HW virtualization on QEMU - looks like your are asking about emulation ARM HW virtualization on X86_64 platform.

If you want to play with virtualization, try to get some widely available board - Allwinner based or some OMAP4/5 based boards, etc [1]

For debug purposes we are mostly using printk and sometimes blinking LEDS :)

With the best regards,
Iurii

[1] https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions

Quoted 31 lines · Iurii Konovalenko

+ Iurii Mykhalkyi

Best regards.

Iurii Konovalenko | Associate Manager, Engineering GlobalLogic
P +3.8044.492 ext. 4704 M +38.099.932.2909 <+380%2099%20932%202909> S yufuntik
www.globallogic.com
http://www.globallogic.com/email_disclaimer.txt

Quoted 16 lines · pranay kukreti

Hi,

I am new to xen-arm development on yocto-project. Right now i don't have the hardware, but i was able to create an image of xen-arm for RCAR-H3. I wanted to see how xen-arm works, so was wondering if xen-arm can be implemented to be used with a qemu machine. If so please let me know where can i find the resources. Also which debugger would you recommend to be used with the RCAR-H3.
It would be really kind of you if you could solve my queries. Thanks,
Pranay Kukreti
VIT University, Vellore.

Signature · 6 lines
Iurii Mykhalskyi | Lead Software Engineer
GlobalLogic
P +38.044.492.9695x3664  M +38.096.311.5467  S mad-nemoi
www.globallogic.com
<http://www.globallogic.com/>
http://www.globallogic.com/email_disclaimer.txt

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#5 lore raw

Hi,    Thank you for the quick response.What I wanted to know is that if there is any yocto layer support for XEN-ARM on QEMU machine, which could be used for testing purposes. Like for RCAR there is a [1] Meta-platform-xen layer which provides support for RCAR. Same way, is there a layer which can be used for QEMU? [1] https://github.com/qbeeukraine/meta-platform-xen
regards,Pranay KukretiVIT university, Vellore.

On Monday, 22 May 2017, 22:55, Iurii Mykhalskyi <[email protected]> wrote:

Hi Pranay,
I'm not familiar with QEMU, but  in general case - you can't just take image (for example RCAR-H3) and run it inside QEMU - a some things might be different - uart, gic, timer, etc.And i'm not sure about support of HW virtualization on QEMU - looks like your are asking about emulation ARM HW virtualization on X86_64 platform. If you want to play with virtualization, try to get some widely available board - Allwinner based or some OMAP4/5 based boards, etc [1]
For debug purposes we are mostly using printk  and sometimes blinking LEDS :)
With the best regards,Iurii
[1] https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions

On Mon, May 22, 2017 at 8:08 PM, Iurii Konovalenko <[email protected]> wrote:

+ Iurii Mykhalkyi
Best regards.

Iurii Konovalenko | Associate Manager, Engineering
GlobalLogic
P +3.8044.492 ext. 4704 M +38.099.932.2909
S yufuntik
www.globallogic.com
http://www.globallogic.com/ email_disclaimer.txt
On Mon, May 22, 2017 at 8:38 AM, pranay kukreti <[email protected]> wrote:

Hi,

I am new to xen-arm development on yocto-project. Right now i don't have the hardware, but i was able to create an image of xen-arm for RCAR-H3. I wanted to see how xen-arm works, so was wondering if xen-arm can be implemented to be used with a qemu machine. If so please let me know where can i find the resources. Also which debugger would you recommend to be used with the RCAR-H3.It would be really kind of you if you could solve my queries.Thanks,Pranay KukretiVIT University, Vellore.

Signature · 6 lines
Iurii Mykhalskyi | Lead Software Engineer 
GlobalLogic
P +38.044.492.9695x3664  M +38.096.311.5467  S mad-nemoi
www.globallogic.com

http://www.globallogic.com/email_disclaimer.txt

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#6 lore raw

Hi Pranay,

As I say in my previous e-mail:

"I'm not familiar with QEMU, but in general case - you can't just take image (for example RCAR-H3) and run it inside QEMU - a some things might be different - uart, gic, timer, etc.
And i'm not sure about support of HW virtualization on QEMU - looks like your are asking about emulation ARM HW virtualization on X86_64 platform."

I don't think that it is possible to emulate ARM HW virtualization on x86_64 platform via QEMU.

So - in my opinion - layers such as you are asking doesn't existing for QEMU.

According to [1] looks like ARM Ltd provides emulator, called ARMv8 Foundation Model - that is supports Xen [2].
But I never used it and looks like its not free and has some limited trial period.

[1] https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions
[2] https://developer.arm.com/products/system-design/fixed-virtual-platforms

With the best regards,
Iurii

Quoted 89 lines · pranay kukreti

Hi,
Thank you for the quick response.
What I wanted to know is that if there is any yocto layer support for XEN-ARM on QEMU machine, which could be used for testing purposes. Like for RCAR there is a [1] Meta-platform-xen layer which provides support for RCAR. Same way, is there a layer which can be used for QEMU?
[1] https://github.com/qbeeukraine/meta-platform-xen
regards,
Pranay Kukreti
VIT university, Vellore.

On Monday, 22 May 2017, 22:55, Iurii Mykhalskyi <
[email protected]> wrote:

Hi Pranay,

I'm not familiar with QEMU, but in general case - you can't just take image (for example RCAR-H3) and run it inside QEMU - a some things might be different - uart, gic, timer, etc.
And i'm not sure about support of HW virtualization on QEMU - looks like your are asking about emulation ARM HW virtualization on X86_64 platform.

If you want to play with virtualization, try to get some widely available board - Allwinner based or some OMAP4/5 based boards, etc [1]

For debug purposes we are mostly using printk and sometimes blinking LEDS :)

With the best regards,
Iurii

[1] https://wiki.xenproject.org/wiki/Xen_ARM_with_
Virtualization_Extensions

On Mon, May 22, 2017 at 8:08 PM, Iurii Konovalenko <iurii.konovalenko@ globallogic.com> wrote:

+ Iurii Mykhalkyi

Best regards.

Iurii Konovalenko | Associate Manager, Engineering GlobalLogic
P +3.8044.492 ext. 4704 M +38.099.932.2909 S yufuntik
www.globallogic.com
http://www.globallogic.com/ email_disclaimer.txt
<http://www.globallogic.com/email_disclaimer.txt>

On Mon, May 22, 2017 at 8:38 AM, pranay kukreti <[email protected]> wrote:

Hi,

I am new to xen-arm development on yocto-project. Right now i don't have the hardware, but i was able to create an image of xen-arm for RCAR-H3. I wanted to see how xen-arm works, so was wondering if xen-arm can be implemented to be used with a qemu machine. If so please let me know where can i find the resources. Also which debugger would you recommend to be used with the RCAR-H3.
It would be really kind of you if you could solve my queries. Thanks,
Pranay Kukreti
VIT University, Vellore.

--

Iurii Mykhalskyi | Lead Software Engineer
GlobalLogic
P +38.044.492.9695x3664 M +38.096.311.5467 <+380%2096%20311%205467> S mad-nemoi
www.globallogic.com
<http://www.globallogic.com/>
http://www.globallogic.com/email_disclaimer.txt

Signature · 6 lines
Iurii Mykhalskyi | Lead Software Engineer
GlobalLogic
P +38.044.492.9695x3664  M +38.096.311.5467  S mad-nemoi
www.globallogic.com
<http://www.globallogic.com/>
http://www.globallogic.com/email_disclaimer.txt

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#7 lore raw
Quoted 13 lines · Iurii Mykhalskyi

Hi Pranay,

As I say in my previous e-mail:

"I'm not familiar with QEMU, but in general case - you can't just take image (for example RCAR-H3) and run it inside QEMU - a some things might be different - uart, gic, timer, etc.
And i'm not sure about support of HW virtualization on QEMU - looks like your are asking about emulation ARM HW virtualization on X86_64 platform."

I don't think that it is possible to emulate ARM HW virtualization on x86_64 platform via QEMU.

Quoted 7 lines

So - in my opinion - layers such as you are asking doesn't existing for QEMU.

According to [1] looks like ARM Ltd provides emulator, called ARMv8 Foundation Model - that is supports Xen [2].
But I never used it and looks like its not free and has some limited trial period.

The Foundation Model (search for the name in the web page) is a free model.

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel