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

2015-08-18 Thread C. L. Martinez
Hi all,

 How can I add some options to qemu command line when a kvm guest starts up
from libvirtd??
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


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

2015-08-18 Thread C. L. Martinez
On Tue, Aug 18, 2015 at 12:03 PM, Gena Makhomed g...@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.
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


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

2015-08-18 Thread Gena Makhomed

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
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt