[gnome-boxes] Use 'host-model' CPU configuration for new VMs
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Use 'host-model' CPU configuration for new VMs
- Date: Thu, 2 Jan 2014 14:15:19 +0000 (UTC)
commit e655e01d6642858e71855d252fcda045706f14f1
Author: Balló György <ballogyor gmail com>
Date: Thu Jan 2 14:12:12 2014 +0000
Use 'host-model' CPU configuration for new VMs
This fixes the issue of VMs not booting on certain CPUs. The downside is
that users will now loose VMs' states if they change host CPU.
https://bugzilla.gnome.org/show_bug.cgi?id=720798
src/vm-configurator.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index e907fc3..1579190 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -208,7 +208,9 @@ private class Boxes.VMConfigurator {
domain.vcpu = topology.get_sockets () * topology.get_cores () * topology.get_threads ();
var cpu = new DomainCpu ();
- cpu.set_mode (DomainCpuMode.HOST_MODEL);
+ // Ideally we should be using 'host-model' but there is currently issues with that:
+ // https://bugzilla.redhat.com/show_bug.cgi?id=870071
+ cpu.set_mode (DomainCpuMode.HOST_PASSTHROUGH);
cpu.set_topology (topology);
domain.set_cpu (cpu);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]