unicore32-softmmu: Add is_default setting for puv3 machine
authorGuan Xuetao <gxt@mprc.pku.edu.cn>
Fri, 10 Aug 2012 06:42:35 +0000 (14:42 +0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 11 Aug 2012 09:37:03 +0000 (09:37 +0000)
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>
hw/puv3.c

index 271df97..43f7216 100644 (file)
--- 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,
 };