vm: make vm.hvm=True by default

QubesOS/qubes-issues#2185
This commit is contained in:
Marek Marczykowski-Górecki 2017-06-01 03:51:24 +02:00
parent 5d3204c730
commit 1ed0b14d93
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
3 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ vm_files = {
defaults = {
'libvirt_uri': 'xen:///',
'memory': 400,
'hvm_memory': 512,
'hvm_memory': 400,
'kernelopts': "nopat",
'kernelopts_pcidevs': "nopat iommu=soft swiotlb=8192",

View File

@ -274,7 +274,7 @@ class TC_90_QubesVM(QubesVMTestsMixin,qubes.tests.QubesTestCase):
def test_150_hvm(self):
vm = self.get_vm()
self._test_generic_bool_property(vm, 'hvm')
self._test_generic_bool_property(vm, 'hvm', default=True)
def test_160_memory(self):
vm = self.get_vm()

View File

@ -401,7 +401,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
hvm = qubes.property('hvm',
type=bool, setter=qubes.property.bool,
default=False,
default=True,
doc='''Use full virtualisation (HVM) for this qube,
instead of paravirtualisation (PV)''')