mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 14:29:56 +00:00
e7201afdf7
This adds support for host-model and host-passthrough CPU modes to qemu driver. The host-passthrough mode is mapped to -cpu host.
16 lines
165 B
Bash
Executable File
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
|