1#
2# Example yaml for use by any of the scripts in tests/vm.
3# Can be provided as an environment variable QEMU_CONFIG
4#
5qemu-conf:
6
7    # If any of the below are not provided, we will just use the qemu defaults.
8
9    # Login username and password(has to be sudo enabled)
10    guest_user: qemu
11    guest_pass: "qemupass"
12
13    # Password for root user can be different from guest.
14    root_pass: "qemupass"
15
16    # If one key is provided, both must be provided.
17    #ssh_key: /complete/path/of/your/keyfile/id_rsa
18    #ssh_pub_key: /complete/path/of/your/keyfile/id_rsa.pub
19
20    cpu: max
21    machine: virt,gic-version=max
22    memory: 16G
23
24    # The below is a example for how to configure NUMA topology with
25    # 4 NUMA nodes and 2 different NUMA distances.
26    qemu_args: "-smp cpus=16,sockets=2,cores=8
27                -numa node,cpus=0-3,nodeid=0 -numa node,cpus=4-7,nodeid=1
28                -numa node,cpus=8-11,nodeid=2 -numa node,cpus=12-15,nodeid=3
29                -numa dist,src=0,dst=1,val=15 -numa dist,src=2,dst=3,val=15
30                -numa dist,src=0,dst=2,val=20 -numa dist,src=0,dst=3,val=20
31                -numa dist,src=1,dst=2,val=20 -numa dist,src=1,dst=3,val=20"
32
33    # By default we do not set the DNS.
34    # You override the defaults by setting the below.
35    #dns: 1.234.567.89
36
37    # By default we will use a "block" device, but
38    # you can also boot from a "scsi" device.
39    # Just keep in mind your scripts might need to change
40    # As you will have /dev/sda instead of /dev/vda (for block device)
41    boot_dev_type: "block"
42
43    # By default the ssh port is not fixed.
44    # A fixed ssh port makes it easier for automated tests.
45    #ssh_port: 5555
46
47    # To install a different set of packages, provide a command to issue
48    #install_cmds: "apt-get update ; apt-get build-dep -y qemu"
49
50    # Or to skip the install entirely, just provide ""
51    #install_cmds: ""
52