[gnome-boxes] installer-media: Add a stub for prefers_q35



commit 757d04e36af48b4bd503057260e5d7a25c4cb4d4
Author: Fabiano FidĂȘncio <fidencio redhat com>
Date:   Fri Oct 12 09:12:18 2018 +0200

    installer-media: Add a stub for prefers_q35
    
    It's going to be really implemented in different parts of this series
    when we're actually switching the default machine type to q35.
    
    For now, the stub is just preparing the ground for coming changes.
    
    Related: https://bugzilla.redhat.com/show_bug.cgi?id=1581422
    
    Signed-off-by: Fabiano FidĂȘncio <fidencio redhat com>

 src/installer-media.vala | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/installer-media.vala b/src/installer-media.vala
index b29c10b8..0a83ba0b 100644
--- a/src/installer-media.vala
+++ b/src/installer-media.vala
@@ -49,6 +49,12 @@
         }
     }
 
+    public bool prefers_q35 {
+        get {
+            return false;
+        }
+    }
+
     public virtual bool live { get { return os_media == null || os_media.live; } }
     public virtual bool eject_after_install { get { return os_media == null || os_media.eject_after_install; 
} }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]