xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libxc: elfloader: add support for ARM
@ 2013-12-10 17:39 Julien Grall
  2013-12-10 17:45 ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Grall @ 2013-12-10 17:39 UTC (permalink / raw)
  To: xen-devel
  Cc: stefano.stabellini, Julien Grall, ian.jackson, ian.campbell,
	patches

Signed-off-by: Julien Grall <julien.grall@linaro.org>
---
 tools/libxc/xc_dom_elfloader.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/libxc/xc_dom_elfloader.c b/tools/libxc/xc_dom_elfloader.c
index 9843b1f..2506190 100644
--- a/tools/libxc/xc_dom_elfloader.c
+++ b/tools/libxc/xc_dom_elfloader.c
@@ -75,6 +75,8 @@ static char *xc_dom_guest_type(struct xc_dom_image *dom,
         }
     case EM_X86_64:
         return "xen-3.0-x86_64";
+    case EM_ARM:
+        return "xen-3.0-armv7l";
     default:
         return "xen-3.0-unknown";
     }
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] libxc: elfloader: add support for ARM
  2013-12-10 17:39 [PATCH] libxc: elfloader: add support for ARM Julien Grall
@ 2013-12-10 17:45 ` Ian Campbell
  2013-12-10 18:17   ` Julien Grall
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2013-12-10 17:45 UTC (permalink / raw)
  To: Julien Grall; +Cc: xen-devel, ian.jackson, stefano.stabellini, patches

On Tue, 2013-12-10 at 17:39 +0000, Julien Grall wrote:
> Signed-off-by: Julien Grall <julien.grall@linaro.org>
> ---
>  tools/libxc/xc_dom_elfloader.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tools/libxc/xc_dom_elfloader.c b/tools/libxc/xc_dom_elfloader.c
> index 9843b1f..2506190 100644
> --- a/tools/libxc/xc_dom_elfloader.c
> +++ b/tools/libxc/xc_dom_elfloader.c
> @@ -75,6 +75,8 @@ static char *xc_dom_guest_type(struct xc_dom_image *dom,
>          }
>      case EM_X86_64:
>          return "xen-3.0-x86_64";
> +    case EM_ARM:
> +        return "xen-3.0-armv7l";

Can you add EM_ARM64 (or whatever the defined name is, it might be
EM_AARCH64) at the same time please.

>      default:
>          return "xen-3.0-unknown";
>      }

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libxc: elfloader: add support for ARM
  2013-12-10 17:45 ` Ian Campbell
@ 2013-12-10 18:17   ` Julien Grall
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Grall @ 2013-12-10 18:17 UTC (permalink / raw)
  To: Ian Campbell
  Cc: xen-devel, Julien Grall, ian.jackson, stefano.stabellini, patches

On 12/10/2013 05:45 PM, Ian Campbell wrote:
> On Tue, 2013-12-10 at 17:39 +0000, Julien Grall wrote:
>> Signed-off-by: Julien Grall <julien.grall@linaro.org>
>> ---
>>  tools/libxc/xc_dom_elfloader.c |    2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/tools/libxc/xc_dom_elfloader.c b/tools/libxc/xc_dom_elfloader.c
>> index 9843b1f..2506190 100644
>> --- a/tools/libxc/xc_dom_elfloader.c
>> +++ b/tools/libxc/xc_dom_elfloader.c
>> @@ -75,6 +75,8 @@ static char *xc_dom_guest_type(struct xc_dom_image *dom,
>>          }
>>      case EM_X86_64:
>>          return "xen-3.0-x86_64";
>> +    case EM_ARM:
>> +        return "xen-3.0-armv7l";
>
> Can you add EM_ARM64 (or whatever the defined name is, it might be
> EM_AARCH64) at the same time please.

Will do.

>>      default:
>>          return "xen-3.0-unknown";
>>      }
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
> 


-- 
Julien Grall

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-10 18:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-10 17:39 [PATCH] libxc: elfloader: add support for ARM Julien Grall
2013-12-10 17:45 ` Ian Campbell
2013-12-10 18:17   ` Julien Grall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).