Skip to content

Commit 211db94

Browse files
authored
Update baremetal.sh
1 parent b93dc7e commit 211db94

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

baremetal.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,15 @@ function baremetal_run {
269269
cmd=( qemu-system-x86_64
270270
-machine q35
271271
-name "BareMetal OS"
272-
-m 256
272+
273+
# CPU (only 1 cpu type should be uncommented)
273274
-smp sockets=1,cpus=4
275+
-cpu Westmere
276+
# -cpu Westmere,x2apic
277+
# -cpu host -enable-kvm
278+
279+
# RAM
280+
-m 256 # Value is in Megabytes
274281

275282
# Video
276283
-device VGA,edid=on,xres=1024,yres=768

0 commit comments

Comments
 (0)