Patchwork unicore32-softmmu: Add is_default setting for puv3 machine

login
register
mail settings
Submitter gxt@mprc.pku.edu
Date July 20, 2012, 7:51 a.m.
Message ID <1342770683-23051-1-git-send-email-gxt@mprc.pku.edu>
Download mbox | patch
Permalink /patch/172305/
State New
Headers show

Comments

gxt@mprc.pku.edu - July 20, 2012, 7:51 a.m.
From: Guan Xuetao <gxt@mprc.pku.edu.cn>

This patch sets is_default to 1 for puv3 machine, so that
find_default_machine() returns puv3 machine.
Thanks Dunrong for pointing it out.

Cc: Dunrong Huang <riegamaths@gmail.com>
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
---
 hw/puv3.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/hw/puv3.c b/hw/puv3.c
index 271df97..43f7216 100644
--- a/hw/puv3.c
+++ b/hw/puv3.c
@@ -119,6 +119,7 @@  static QEMUMachine puv3_machine = {
     .name = "puv3",
     .desc = "PKUnity Version-3 based on UniCore32",
     .init = puv3_init,
+    .is_default = 1,
     .use_scsi = 0,
 };