[virt-tools-list] [virt-manager PATCH] virt-install: add a host cpu passthrough example to the -help output

Lin Ma lma at suse.com
Thu Sep 14 03:30:26 UTC 2017


Signed-off-by: Lin Ma <lma at suse.com>
---
 virtinst/cli.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/virtinst/cli.py b/virtinst/cli.py
index 900d185..7007ddc 100644
--- a/virtinst/cli.py
+++ b/virtinst/cli.py
@@ -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",
-- 
2.9.2




More information about the virt-tools-list mailing list