C. L. Martinez
2015-Aug-18 11:44 UTC
[CentOS-virt] Adding customized options to qemu command line
Hi all, How can I add some options to qemu command line when a kvm guest starts up from libvirtd?? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20150818/e962c559/attachment-0006.html>
Gena Makhomed
2015-Aug-18 12:03 UTC
[CentOS-virt] Adding customized options to qemu command line
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 -- Best regards, Gena
C. L. Martinez
2015-Aug-18 12:40 UTC
[CentOS-virt] Adding customized options to qemu command line
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.
Apparently Analagous Threads
- qemu-kvm SLIC acpitable workaround of Windows bug
- CentOS 7.1 + qemu-kvm-ev + SLIC acpitable windows bug workaround
- qemu-kvm SLIC acpitable workaround of Windows bug
- Adding customized options to qemu command line
- CentOS 7.1 + qemu-kvm-ev + SLIC acpitable windows bug workaround