]> xenbits.xensource.com Git - libvirt.git/commitdiff
microblaze: Add architecture support
authorJohn Williams <john.williams@petalogix.com>
Thu, 7 Jul 2011 02:45:05 +0000 (12:45 +1000)
committerEric Blake <eblake@redhat.com>
Thu, 7 Jul 2011 23:49:21 +0000 (17:49 -0600)
Add libvirt support for MicroBlaze architecture as a QEMU target.  Based on mips/mipsel pattern.

Signed-off-by: John Williams <john.williams@petalogix.com>
AUTHORS
docs/drvqemu.html.in
docs/schemas/capability.rng
examples/apparmor/libvirt-qemu
src/qemu/qemu_capabilities.c
tests/capabilityschemadata/caps-qemu-kvm.xml

diff --git a/AUTHORS b/AUTHORS
index 2919249a54891c92a801ab071727db7cd3a2698c..e8d7e195f3b147fb49cd39144ad671c77dd31d43 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -181,6 +181,7 @@ Patches have also been contributed by:
   Ruben Kerkhof        <ruben@rubenkerkhof.com>
   Scott Moser          <smoser@ubuntu.com>
   Guannan Ren          <gren@redhat.com>
+  John Williams        <john.williams@petalogix.com>
 
   [....send patches to get your name here....]
 
index 7230cae0bdc499283879a034365ca3fdfa49bf1a..e0e44eb9e72c89cddda13f7fa4051db7aef2b33c 100644 (file)
@@ -16,6 +16,8 @@
       <li>
         <strong>QEMU emulators</strong>: The driver will probe <code>/usr/bin</code>
         for the presence of <code>qemu</code>, <code>qemu-system-x86_64</code>,
+        <code>qemu-system-microblaze</code>,
+        <code>qemu-system-microblazeel</code>,
         <code>qemu-system-mips</code>,<code>qemu-system-mipsel</code>,
         <code>qemu-system-sparc</code>,<code>qemu-system-ppc</code>. The results
         of this can be seen from the capabilities XML output.
index f894b0942c92f6547638cedf31e23fd279777c4b..99b4a9a7c9cb89e530d5b4bf5b1019f0ab2d3e71 100644 (file)
       <value>arm</value>
       <value>i686</value>
       <value>ia64</value>
+      <value>microblaze</value>
+      <value>microblazeel</value>
       <value>mips</value>
       <value>mipsel</value>
       <value>ppc64</value>
index faf86363c671794af430407b9be96379b1217a24..32515366c792c4f8ae4499e1aff3f360f9d2b154 100644 (file)
@@ -69,6 +69,8 @@
   /usr/bin/qemu-system-cris rmix,
   /usr/bin/qemu-system-i386 rmix,
   /usr/bin/qemu-system-m68k rmix,
+  /usr/bin/qemu-system-microblaze rmix,
+  /usr/bin/qemu-system-microblazeel rmix,
   /usr/bin/qemu-system-mips rmix,
   /usr/bin/qemu-system-mips64 rmix,
   /usr/bin/qemu-system-mips64el rmix,
@@ -87,6 +89,8 @@
   /usr/bin/qemu-cris rmix,
   /usr/bin/qemu-i386 rmix,
   /usr/bin/qemu-m68k rmix,
+  /usr/bin/qemu-microblaze rmix,
+  /usr/bin/qemu-microblazeel rmix,
   /usr/bin/qemu-mips rmix,
   /usr/bin/qemu-mipsel rmix,
   /usr/bin/qemu-ppc rmix,
index ad62a0773cd382e2fda39737e828ade8876cd3a4..2c037ce64cf71119b0866775c99796cc7fbab158 100644 (file)
@@ -160,6 +160,8 @@ static const struct qemu_arch_info const arch_info_hvm[] = {
     {  "x86_64", 64, NULL, "qemu-system-x86_64",
        NULL, arch_info_x86_64_flags, 2 },
     {  "arm",    32, NULL, "qemu-system-arm",    NULL, NULL, 0 },
+    {  "microblaze", 32, NULL, "qemu-system-microblaze",   NULL, NULL, 0 },
+    {  "microblazeel", 32, NULL, "qemu-system-microblazeel",   NULL, NULL, 0 },
     {  "mips",   32, NULL, "qemu-system-mips",   NULL, NULL, 0 },
     {  "mipsel", 32, NULL, "qemu-system-mipsel", NULL, NULL, 0 },
     {  "sparc",  32, NULL, "qemu-system-sparc",  NULL, NULL, 0 },
index 47accde9dd09bd5b99c220a0813439777d1bcbbb..dc6fb76d14d85ad60d5235092bb5309da8bf1689 100644 (file)
     </arch>
   </guest>
 
+  <guest>
+    <os_type>hvm</os_type>
+    <arch name='microblaze'>
+      <wordsize>32</wordsize>
+      <emulator>/usr/bin/qemu-system-microblaze</emulator>
+      <machine>petalogix-s3adsp1800</machine>
+      <machine>microblaze-fdt</machine>
+      <domain type='qemu'>
+      </domain>
+    </arch>
+  </guest>
+
+  <guest>
+    <os_type>hvm</os_type>
+    <arch name='microblazeel'>
+      <wordsize>32</wordsize>
+      <emulator>/usr/bin/qemu-system-microblazeel</emulator>
+      <machine>petalogix-s3adsp1800</machine>
+      <machine>microblaze-fdt</machine>
+      <domain type='qemu'>
+      </domain>
+    </arch>
+  </guest>
+
   <guest>
     <os_type>hvm</os_type>
     <arch name='mips'>