Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

support aarch64 #360

Merged
merged 1 commit into from
Oct 14, 2016
Merged

support aarch64 #360

merged 1 commit into from
Oct 14, 2016

Conversation

gao-feng
Copy link
Contributor

Signed-off-by: Gao feng omarapazanadi@gmail.com

@laijs
Copy link
Contributor

laijs commented Oct 11, 2016

failed on gofmt

@gnawux
Copy link
Member

gnawux commented Oct 11, 2016

could this be cross compiled? or we need to build it on an arm64 box?

@gao-feng
Copy link
Contributor Author

@gnawux

Had better build on arm64 box. It's tested.

}

return []string{
"-machine", "virt,usb=off", "-cpu", "cortex-a57",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for those have /dev/kvm, this line should be

"-machine", "virt,accel=kvm,usb=off", "-cpu", "host",

For example, my debian on pine64

@gnawux
Copy link
Member

gnawux commented Oct 11, 2016

Looks good for my debian pine64.

  • self built official qemu 2.6.2
  • go 1.6.2
  • kernel 3.10
  • storage driver: devicemapper

With kvm enabled (no vm cache):

root@pine64:/home/debian# time hyperctl run -t aarch64/busybox sh -c "echo hello, arm64"
hello, arm64

real    0m4.381s
user    0m0.130s
sys 0m0.080s

Signed-off-by: Gao feng <omarapazanadi@gmail.com>
@gao-feng
Copy link
Contributor Author

@gnawux updated, thanks!

@gnawux
Copy link
Member

gnawux commented Oct 13, 2016

I think this could be merged when hyperhq/hyperstart#207 is merged.

And we should update the Godep of hyperhq/hyperd

@gao-feng gao-feng merged commit a6b4c46 into hyperhq:master Oct 14, 2016
jimoosciuc pushed a commit to jimoosciuc/runv that referenced this pull request May 26, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants