Lines Matching full:1

19     # the VM generates empty logs. A delay of 1 second is added for
21 DELAY_Q35_BOOT_SEQUENCE = 1
35 # bits == 1 -> 32-bit; bits == 2 -> 64-bit
36 bits = int.from_bytes(fh.read(1), byteorder='little')
50 hotpluggable memory size is 60 GiB. Per slot, we reserve 1 GiB of memory
62 self.vm.add_args('-S', '-m', '512,slots=1,maxmem=59.6G',
64 '-object', 'memory-backend-ram,id=mem1,size=1G',
69 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
80 self.vm.add_args('-S', '-m', '512,slots=1,maxmem=59.6G',
82 '-object', 'memory-backend-ram,id=mem1,size=1G',
87 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
97 self.vm.add_args('-m', '512,slots=1,maxmem=59.5G',
99 '-object', 'memory-backend-ram,id=mem1,size=1G',
115 self.vm.add_args('-m', '512,slots=1,maxmem=59.5G',
117 '-object', 'memory-backend-ram,id=mem1,size=1G',
132 self.vm.add_args('-m', '512,slots=1,maxmem=59.5G',
134 '-object', 'memory-backend-ram,id=mem1,size=1G',
152 self.vm.add_args('-S', '-m', '512,slots=1,maxmem=4G',
154 '-object', 'memory-backend-ram,id=mem1,size=1G',
159 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
166 1024 GiB and ends at 1 TiB - 1. If the max GPA falls in this range,
167 "above_4G" memory is adjusted to start at 1 TiB boundary for AMD cpus
171 be 40, TCG emulated CPUs have maximum of 1 TiB (1024 GiB) of
174 1024 GiB - 4 GiB - 1 GiB per slot for alignment - 32 GiB + 0.5 GiB
180 self.vm.add_args('-S', '-m', '512,slots=1,maxmem=988G',
182 '-object', 'memory-backend-ram,id=mem1,size=1G',
187 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
201 self.vm.add_args('-S', '-m', '512,slots=1,maxmem=976G',
203 '-object', 'memory-backend-ram,id=mem1,size=1G',
208 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
218 self.vm.add_args('-S', '-m', '512,slots=1,maxmem=987.5G',
220 '-object', 'memory-backend-ram,id=mem1,size=1G',
235 self.vm.add_args('-S', '-m', '512,slots=1,maxmem=975.5G',
237 '-object', 'memory-backend-ram,id=mem1,size=1G',
254 '-m', '512,slots=1,maxmem=976G',
256 '-object', 'memory-backend-ram,id=mem1,size=1G',
268 force "above_4G" memory to start at 1 TiB for q35-7.1 machines
272 GiB with 1 GiB per slot for alignment and 0.5 GiB as non-hotplug
273 memory for the VM (1024 - 32 - 1 + 0.5). With 992 GiB, QEMU should
279 '-m', '512,slots=1,maxmem=992G',
281 '-object', 'memory-backend-ram,id=mem1,size=1G',
286 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
298 '-m', '512,slots=1,maxmem=990G',
300 '-object', 'memory-backend-ram,id=mem1,size=1G',
310 cxl memory window starts after memory device range. Here, we use 1 GiB
314 alignment constraints with 40 bits (1 TiB) of processor physical bits.
319 '-m', '512,slots=1,maxmem=987G',
321 '-device', 'pxb-cxl,bus_nr=12,bus=pcie.0,id=cxl.1',
322 '-M', 'cxl=on,cxl-fmw.0.targets.0=cxl.1,cxl-fmw.0.size=1G')
326 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
339 '-m', '512,slots=1,maxmem=987G',
341 '-device', 'pxb-cxl,bus_nr=12,bus=pcie.0,id=cxl.1')