qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH v1 2/2] petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a
Date: Fri, 13 Nov 2015 18:00:04 +0100	[thread overview]
Message-ID: <1447434004-16294-3-git-send-email-edgar.iglesias@gmail.com> (raw)
In-Reply-To: <1447434004-16294-1-git-send-email-edgar.iglesias@gmail.com>

From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>

Set the MicroBlaze CPU version to 8.10.a avoiding a runtime
warning due to an unset CPU version.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
---
 hw/microblaze/petalogix_ml605_mmu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/microblaze/petalogix_ml605_mmu.c b/hw/microblaze/petalogix_ml605_mmu.c
index 462060f..edfb30f 100644
--- a/hw/microblaze/petalogix_ml605_mmu.c
+++ b/hw/microblaze/petalogix_ml605_mmu.c
@@ -81,6 +81,7 @@ petalogix_ml605_init(MachineState *machine)
 
     /* init CPUs */
     cpu = MICROBLAZE_CPU(object_new(TYPE_MICROBLAZE_CPU));
+    object_property_set_str(OBJECT(cpu), "8.10.a", "version", &error_abort);
     /* Use FPU but don't use floating point conversion and square
      * root instructions
      */
-- 
1.9.1

  parent reply	other threads:[~2015-11-13 17:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-13 17:00 [Qemu-devel] [PATCH v1 0/2] hw/microblaze: Set MicroBlaze CPU version Edgar E. Iglesias
2015-11-13 17:00 ` [Qemu-devel] [PATCH v1 1/2] s3adsp1800: Set the MicroBlaze CPU version to 7.10.d Edgar E. Iglesias
2015-11-13 17:00 ` Edgar E. Iglesias [this message]
2015-11-13 17:52 ` [Qemu-devel] [PATCH v1 0/2] hw/microblaze: Set MicroBlaze CPU version Peter Crosthwaite
2016-01-07 14:07 ` Edgar E. Iglesias

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1447434004-16294-3-git-send-email-edgar.iglesias@gmail.com \
    --to=edgar.iglesias@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).