赞
踩
<domain type='{domain_type}' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<qemu:commandline>
<qemu:commandline>
<qemu:arg value='-newarg'/>
<qemu:env name='QEMU_ENV' value='VAL'/>
</qemu:commandline>
</domain>
"""
virsh -c qemu:///system edit <domain>
来修改虚拟机配置virsh -c qemu:///system start<domain>
来启动虚拟机来测试配置是否生效https://unix.stackexchange.com/questions/591252/libvirt-how-to-pass-qemu-command-line-args-now-libvirt-schemas-is-404
https://libvirt.org/drvqemu.html#qemucommand
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。