Fixed error in creating new VMs from GUI
Virt mode was forcibly set to HVM. Now, the virt mode is left as default, unless a standalone VM with system installed from elsewhere is selected. fixes QubesOS/qubes-issues#3515
This commit is contained in:
parent
82323ca5ed
commit
dc9f764baa
@ -120,8 +120,10 @@ class NewVmDlg(QtGui.QDialog, Ui_NewVMDlg):
|
||||
|
||||
properties = {}
|
||||
properties['provides_network'] = self.provides_network.isChecked()
|
||||
properties['virt_mode'] = 'hvm'
|
||||
properties['netvm'] = self.netvm_list[self.netvm.currentIndex()]
|
||||
if self.install_system.isChecked():
|
||||
properties['virt_mode'] = 'hvm'
|
||||
properties['kernel'] = 'none'
|
||||
|
||||
thread_monitor = ThreadMonitor()
|
||||
thread = threading.Thread(target=self.do_create_vm,
|
||||
|
Loading…
Reference in New Issue
Block a user