diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2013-12-08 00:01:53 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-10 07:46:21 -0500 |
commit | c6a77179a4097df355f0f04b8f3260c76b5e515c (patch) | |
tree | 46e9ccfc64fd2f7981d48dc912a10a85de6daba8 /xml_helper.py | |
parent | 1a6dc6534e329f21aa2dcde5b8af4138bb4c11f1 (diff) |
test: rework run_qemu
It tries to find a suitable QEMU binary and will use KVM if present.
We can now configure QEMU from outside with 4 variables :
- $QEMU_BIN : path to QEMU's binary
- $KERNEL_APPEND : arguments appended to kernel cmdline
- $KERNEL_BIN : path to a kernel
Default /boot/vmlinuz-$KERNEL_VER
- $INITRD : path to an initramfs
Default /boot/initramfs-${KERNEL_VER}.img
- $QEMU_SMP : number of CPU simulated by QEMU.
Default 1
(from Alexander Graf's script: http://www.spinics.net/lists/kvm/msg72389.html)
Diffstat (limited to 'xml_helper.py')
0 files changed, 0 insertions, 0 deletions