libvirt/tests/qemuxml2argvdata/qemu-supported-cpus.sh
Jiri Denemark e7201afdf7 qemu: Add support for host CPU modes
This adds support for host-model and host-passthrough CPU modes to qemu
driver. The host-passthrough mode is mapped to -cpu host.
2012-01-17 12:22:19 +01:00

16 lines
165 B
Bash
Executable File

#! /bin/sh
. $(dirname $0)/qemu-lib.sh
case $* in
"-M ?")
faked_machine
;;
"-cpu ?")
faked_cpu | grep -Fv '['
;;
*)
real_qemu "$@"
;;
esac