virt-install: add a host cpu passthrough example to the -help output

Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
Lin Ma
2017-09-14 18:49:59 -04:00
committed by Cole Robinson
parent d2dce02522
commit 8034748c22
+2 -1
View File
@@ -618,7 +618,8 @@ def vcpu_cli_options(grp, backcompat=True, editexample=False):
extramsg = "--cpu host-model,clearxml=yes"
grp.add_argument("--cpu",
help=_("CPU model and features. Ex:\n"
"--cpu coreduo,+x2apic\n") + extramsg)
"--cpu coreduo,+x2apic\n"
"--cpu host-passthrough\n") + extramsg)
if backcompat:
grp.add_argument("--check-cpu", action="store_true",