Lines Matching +full:1 +full:g

19     # the VM generates empty logs. A delay of 1 second is added for
21 DELAY_Q35_BOOT_SEQUENCE = 1
31 hotpluggable memory size is 60 GiB. Per slot, we reserve 1 GiB of memory
37 59.6G, QEMU should fail to start with a message "phy-bits are too low".
38 If maxmem is set to 59.5G with all other QEMU parameters identical, QEMU
42 '512,slots=1,maxmem=59.6G',
44 '-object', 'memory-backend-ram,id=mem1,size=1G',
49 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
59 '512,slots=1,maxmem=59.6G',
61 '-object', 'memory-backend-ram,id=mem1,size=1G',
66 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
71 Setting maxmem to 59.5G and making sure that QEMU can start with the
75 '512,slots=1,maxmem=59.5G',
77 '-object', 'memory-backend-ram,id=mem1,size=1G',
88 Setting maxmem to 59.5G and making sure that QEMU can start fine
92 '512,slots=1,maxmem=59.5G',
94 '-object', 'memory-backend-ram,id=mem1,size=1G',
108 '512,slots=1,maxmem=59.5G',
110 '-object', 'memory-backend-ram,id=mem1,size=1G',
127 '512,slots=1,maxmem=4G',
129 '-object', 'memory-backend-ram,id=mem1,size=1G',
134 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
141 1024 GiB and ends at 1 TiB - 1. If the max GPA falls in this range,
142 "above_4G" memory is adjusted to start at 1 TiB boundary for AMD cpus
144 For q35-7.0 machines, "above 4G" memory starts are 4G.
146 be 40, TCG emulated CPUs have maximum of 1 TiB (1024 GiB) of
149 1024 GiB - 4 GiB - 1 GiB per slot for alignment - 32 GiB + 0.5 GiB
154 '512,slots=1,maxmem=988G',
156 '-object', 'memory-backend-ram,id=mem1,size=1G',
161 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
174 '512,slots=1,maxmem=976G',
176 '-object', 'memory-backend-ram,id=mem1,size=1G',
181 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
187 successfully start when maxmem is < 988G.
190 '512,slots=1,maxmem=987.5G',
192 '-object', 'memory-backend-ram,id=mem1,size=1G',
203 successfully start when maxmem is < 976G.
206 '512,slots=1,maxmem=975.5G',
208 '-object', 'memory-backend-ram,id=mem1,size=1G',
220 "above_4G" memory starts at 4G.
224 '512,slots=1,maxmem=976G',
226 '-object', 'memory-backend-ram,id=mem1,size=1G',
238 force "above_4G" memory to start at 1 TiB for q35-7.1 machines
242 GiB with 1 GiB per slot for alignment and 0.5 GiB as non-hotplug
243 memory for the VM (1024 - 32 - 1 + 0.5). With 992 GiB, QEMU should
248 '512,slots=1,maxmem=992G',
250 '-object', 'memory-backend-ram,id=mem1,size=1G',
255 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
266 '512,slots=1,maxmem=990G',
268 '-object', 'memory-backend-ram,id=mem1,size=1G',
278 cxl memory window starts after memory device range. Here, we use 1 GiB
279 of cxl window memory. 4G_mem end aligns at 4G. pci64_hole is 32 GiB and
282 alignment constraints with 40 bits (1 TiB) of processor physical bits.
286 '512,slots=1,maxmem=987G',
288 '-device', 'pxb-cxl,bus_nr=12,bus=pcie.0,id=cxl.1',
289 '-M', 'cxl-fmw.0.targets.0=cxl.1,cxl-fmw.0.size=1G')
293 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1")
304 '512,slots=1,maxmem=987G',
306 '-device', 'pxb-cxl,bus_nr=12,bus=pcie.0,id=cxl.1')