From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxHhx-0003u3-V9 for qemu-devel@nongnu.org; Fri, 13 Nov 2015 12:00:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxHhx-0002g4-4N for qemu-devel@nongnu.org; Fri, 13 Nov 2015 12:00:17 -0500 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:34895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxHhw-0002fz-VO for qemu-devel@nongnu.org; Fri, 13 Nov 2015 12:00:17 -0500 Received: by pasz6 with SMTP id z6so108766633pas.2 for ; Fri, 13 Nov 2015 09:00:16 -0800 (PST) Received: from localhost (ec2-52-8-89-49.us-west-1.compute.amazonaws.com. [52.8.89.49]) by smtp.gmail.com with ESMTPSA id b6sm16588716pbu.57.2015.11.13.09.00.14 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 13 Nov 2015 09:00:15 -0800 (PST) From: "Edgar E. Iglesias" Date: Fri, 13 Nov 2015 18:00:04 +0100 Message-Id: <1447434004-16294-3-git-send-email-edgar.iglesias@gmail.com> In-Reply-To: <1447434004-16294-1-git-send-email-edgar.iglesias@gmail.com> References: <1447434004-16294-1-git-send-email-edgar.iglesias@gmail.com> Subject: [Qemu-devel] [PATCH v1 2/2] petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: "Edgar E. Iglesias" 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 --- 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