Change 'hvm' property to 'virt_mode'

QubesOS/qubes-issues#2912
This commit is contained in:
Marek Marczykowski-Górecki 2017-07-18 04:24:32 +02:00
parent fe79d52b97
commit 9de507f95d
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -106,7 +106,7 @@ class NewVmDlg(QDialog, Ui_NewVMDlg):
properties = {}
properties['provides_network'] = self.provides_network.isChecked()
properties['hvm'] = self.hvm.isChecked()
properties['virt_mode'] = 'hvm' if self.hvm.isChecked() else 'pv'
properties['netvm'] = self.netvm_list[self.netvm.currentIndex()]
thread_monitor = ThreadMonitor()