[gnome-boxes] vm-configurator: Use q35 machine type when possible



commit 22ec95c2c8d2a33be4183ce7fa652b46e47b5358
Author: Fabiano FidĂȘncio <fidencio redhat com>
Date:   Fri Oct 12 09:45:29 2018 +0200

    vm-configurator: Use q35 machine type when possible
    
    Related: https://bugzilla.redhat.com/show_bug.cgi?id=1581422
    
    Signed-off-by: Fabiano FidĂȘncio <fidencio redhat com>

 src/vm-configurator.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index 5e3190c2..c6f23bad 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -352,6 +352,8 @@ private static void set_os_config (Domain domain, InstallerMedia install_media,
         var os = new DomainOs ();
         os.set_os_type (DomainOsType.HVM);
         os.set_arch (guest_caps.get_arch ().get_name ());
+        if (install_media.prefers_q35)
+            os.set_machine ("q35");
 
         var boot_devices = new GLib.List<DomainOsBootDevice> ();
         install_media.set_direct_boot_params (os);


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