aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorGuan Xuetao <gxt@mprc.pku.edu.cn>2012-08-10 14:42:35 +0800
committerBlue Swirl <blauwirbel@gmail.com>2012-08-11 09:37:03 +0000
commit220c21474535d5a859bb10eff2e2be0a48a15694 (patch)
tree7e9a7419c6954704131d938d8bca5ddfc3c6ac0a /hw
parentab9528ca8f5227a5fe02fd47a9028a6f21ec7faf (diff)
unicore32-softmmu: Add is_default setting for puv3 machine
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> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/puv3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/puv3.c b/hw/puv3.c
index 271df97d3b..43f7216e4e 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,
};