]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: use real examples for QEMU cli passthrough
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 12 Jul 2024 15:17:44 +0000 (16:17 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 22 Jul 2024 13:43:57 +0000 (14:43 +0100)
User feedback has shown that the examples are not clear enough
to illustrate the cli passthrough concept in action.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
docs/drvqemu.rst

index 1ee4b1e366923c4bea2e8345e6e336da737b835a..e52d9ffd47fe3dbf35eabb713fe770db7b9d1243 100644 (file)
@@ -595,8 +595,11 @@ Example:
        <emulator>/usr/bin/qemu-system-x86_64</emulator>
      </devices>
      <qemu:commandline>
-       <qemu:arg value='-newarg'/>
-       <qemu:env name='QEMU_ENV' value='VAL'/>
+       <qemu:arg value='-device'/>
+       <qemu:arg value='ipmi-bmc-sim,id=bmc0'/>
+       <qemu:arg value='-device'/>
+       <qemu:arg value='smbus-impi,bmc=bmc0'/>
+       <qemu:env name='QEMU_MODULE_DIR' value='/usr/lib64/qemu'/>
      </qemu:commandline>
    </domain>