[gnome-boxes/release-3.34.3: 2/3] installer-media: Don't use q35 with unknown OSes



commit 4f757bc8ccd4d42f4320b677aaa9350aa51c92c3
Author: Fabiano FidĂȘncio <fabiano fidencio org>
Date:   Mon Dec 9 00:24:15 2019 +0100

    installer-media: Don't use q35 with unknown OSes
    
    Using q35 with unknown OSes is *too* error prone. Instead of doing
    so, let's fallback to "pc" type.
    
    https://gitlab.gnome.org/GNOME/gnome-boxes/issues/428
    
    Signed-off-by: Fabiano FidĂȘncio <fabiano fidencio org>

 src/installer-media.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/installer-media.vala b/src/installer-media.vala
index dd66c8a9..6b111dbf 100644
--- a/src/installer-media.vala
+++ b/src/installer-media.vala
@@ -58,7 +58,7 @@
     public bool prefers_q35 {
         get {
             if (os == null)
-                return true;
+                return false;
 
             var device = find_device_by_prop (supported_devices, DEVICE_PROP_NAME, "qemu-x86-q35");
             if (device == null)


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