Skip to content
Snippets Groups Projects
Commit a161c5f6 authored by C.J. Collier's avatar C.J. Collier Committed by Guido Günther
Browse files

allow to qemu to emulate arm

parent 05e9a399
No related branches found
No related tags found
No related merge requests found
From: C.J. Adams-Collier <cjac@colliertech.org>
Date: Fri, 3 Jul 2009 19:12:55 +0200
Subject: [PATCH] allow to qemu to emulate arm
---
src/qemu_conf.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/qemu_conf.c b/src/qemu_conf.c
index d54f2ca..15f9795 100644
--- a/src/qemu_conf.c
+++ b/src/qemu_conf.c
@@ -186,6 +186,12 @@ int qemudLoadDriverConfig(struct qemud_driver *driver,
static const char *const arch_info_hvm_x86_machines[] = {
"pc", "isapc"
};
+static const char *const arch_info_hvm_arm_machines[] = {
+ "versatilepb","integratorcp","versatileab","realview",
+ "akita","spitz","borzoi","terrier","sx1-v1","sx1",
+ "cheetah","n800","n810","lm3s811evb","lm3s6965evb",
+ "connex","verdex","mainstone","musicpal","tosa",
+};
static const char *const arch_info_hvm_mips_machines[] = {
"mips"
};
@@ -236,6 +242,8 @@ static const struct qemu_arch_info const arch_info_hvm[] = {
"/usr/bin/qemu", "/usr/bin/qemu-system-x86_64", arch_info_i686_flags, 4 },
{ "x86_64", 64, arch_info_hvm_x86_machines, 2,
"/usr/bin/qemu-system-x86_64", NULL, arch_info_x86_64_flags, 2 },
+ { "arm", 32, arch_info_hvm_arm_machines, 20,
+ "/usr/bin/qemu-system-arm", NULL, NULL, 0 },
{ "mips", 32, arch_info_hvm_mips_machines, 1,
"/usr/bin/qemu-system-mips", NULL, NULL, 0 },
{ "mipsel", 32, arch_info_hvm_mips_machines, 1,
--
......@@ -2,3 +2,4 @@
0002-qemu-disable-network.diff.patch
0003-allow-libvirt-group-to-access-the-socket.patch
0004-fix-Debian-specific-path-to-hvm-loader.patch
0005-allow-to-qemu-to-emulate-arm.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment