[CentOS-virt] Adding customized options to qemu command line

C. L. Martinez

carlopmart at gmail.com
Tue Aug 18 12:40:15 UTC 2015


On Tue, Aug 18, 2015 at 12:03 PM, Gena Makhomed <gmm at csdoc.com> wrote:
> On 18.08.2015 14:44, C. L. Martinez wrote:
>
>> How can I add some options to qemu command line when a kvm guest
>> starts up from libvirtd??
>
>
> # virsh edit vm-name
>
> 1. change first line from <domain type='kvm'> to
> <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
>
> 2. add
>
>   <qemu:commandline>
>     <qemu:arg value='-acpitable'/>
>     <qemu:arg value='file=/path/to/SLIC.BIN'/>
>   </qemu:commandline>
>
> before </domain> tag
>
> 3. if you need qemu options for adding SLIC table - also you need
> patch QEMU to add workaround for windows SLIC processing bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1248758
>
> --

Many thanks Gena. Works ok.



More information about the CentOS-virt mailing list