Re: how to modify virsh vm start script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Martin,
it works \(^o^)/
thank you.

Best regards,
AdyWP

On 11/25/14, Martin Kletzander <mkletzan@xxxxxxxxxx> wrote:
> On Tue, Nov 25, 2014 at 12:46:41PM +0900, Ady Wahyudi Paundu wrote:
>>I use libvirt to manage a QEMU/KVM system. Starting a VM only by using
>>  > virsh start vmname
>>What I want to know is how to add an option to virsh vm's start
>>script, in my case I want to add QEMU logging option (-d and -D). I
>>can see from
>>  > ps aux | grep qemu
>>that current VM started using virsh not including those options
>>
>
> This is not supported in our XML, but you can use passthrough of
> arbitrary options:
>
> http://libvirt.org/drvqemu.html
>
> E.g.:
>
> <domain type='qemu'
>  xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
>  ...
>   <qemu:commandline>
>     <qemu:arg value='-d'/>
>     <qemu:arg value='cpu'/>
>   </qemu:commandline>
>   ...
> </domain>
>
> Martin
>

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux