Skip to content

Commit b7302d2

Browse files
committed
Add Power10 qemu pseries/powernv scripts
1 parent 828bebf commit b7302d2

11 files changed

Lines changed: 73 additions & 1 deletion

scripts/boot/qemu-powernv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ def main():
3232
cpu = get_env_var('CPU', 'POWER8')
3333
if cpu == 'POWER8':
3434
machine = 'powernv8'
35-
else:
35+
elif cpu == 'POWER9':
3636
machine = 'powernv9'
37+
else:
38+
machine = 'powernv10'
3739

3840
return qemu_main(machine, 'IBM PowerNV \(emulated by qemu\)', cpu,
3941
net='-netdev user,id=net0 -device e1000e,netdev=net0',

scripts/boot/qemu-powernv+p10+tcg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=
6+
7+
exec "$(dirname "$0")"/qemu-powernv $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=ubuntu16.04-cloudimg-powerpc.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-powernv $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=fedora34-cloudimg-ppc64le.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-powernv $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=ubuntu16.04-cloudimg-ppc64el.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-powernv $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=ubuntu21.04-cloudimg-ppc64el.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-powernv $@

scripts/boot/qemu-pseries+p10+tcg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=ubuntu16.04-cloudimg-powerpc.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=fedora34-cloudimg-ppc64le.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=ubuntu16.04-cloudimg-ppc64el.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@

0 commit comments

Comments
 (0)