Re: [ovirt-users] QEMU custom bios and machine setup

2018-01-31 Thread Dan Yasny
On Wed, Jan 31, 2018 at 4:51 AM, Harry Mallon 
wrote:

> Hello all,
>
> Thanks for the tip Dan. I thought I would write up what I did for future
> people searching this list.
>
> I added the QEMU command line hook from github oVirt/vdsm (
> https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/qemucmdline) to
> /usr/libexec/vdsm/hooks/before_vm_start/ on my hosts.
>
> Then I added the Custom Arguments to the config on my machine with the
> engine running
> engine-config -g UserDefinedVMProperties # print current args and add them
> to the next line
> engine-config -s UserDefinedVMProperties='qemu_cmdline=^.*$' --cver=4.2
>
> Then I was able to add the JSON list of args to the machines in the oVirt
> UI.
>
> Thanks for your help,
> Harry
>
>
Glad it worked for you


>
> Harry Mallon
> CODEX | Senior Software Engineer
> 60 Poland Street | London | England | W1F 7NT
> E harry.mallon@codex.online | T +44 203 7000 989
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] QEMU custom bios and machine setup

2018-01-31 Thread Harry Mallon
Hello all,

Thanks for the tip Dan. I thought I would write up what I did for future people 
searching this list.

I added the QEMU command line hook from github oVirt/vdsm 
(https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/qemucmdline) to 
/usr/libexec/vdsm/hooks/before_vm_start/ on my hosts.

Then I added the Custom Arguments to the config on my machine with the engine 
running
engine-config -g UserDefinedVMProperties # print current args and add them to 
the next line
engine-config -s UserDefinedVMProperties='qemu_cmdline=^.*$' --cver=4.2

Then I was able to add the JSON list of args to the machines in the oVirt UI.

Thanks for your help,
Harry


Harry Mallon
CODEX | Senior Software Engineer
60 Poland Street | London | England | W1F 7NT
E harry.mallon@codex.online | T +44 203 7000 989
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] QEMU custom bios and machine setup

2018-01-29 Thread Dan Yasny
With a vdsm hook you can edit the domxml however you want

On Jan 29, 2018 12:45 PM, "Harry Mallon"  wrote:

> Hello all,
>
> I have only been using oVirt for a couple of weeks, but it is working
> well. I can see in Advanced options that I can pick a custom machine
> definition. Is there a way to customise the machine as you can with QEMU
> command line or libvirt XML? I need to access some weirder settings like
> bios image.
>
> Thanks for your help,
> Harry
>
>
> Harry Mallon
> CODEX | Senior Software Engineer
> 60 Poland Street | London | England | W1F 7NT
> E harry.mallon@codex.online | T +44 203 7000 989
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] QEMU custom bios and machine setup

2018-01-29 Thread Harry Mallon
Hello all,

I have only been using oVirt for a couple of weeks, but it is working well. I 
can see in Advanced options that I can pick a custom machine definition. Is 
there a way to customise the machine as you can with QEMU command line or 
libvirt XML? I need to access some weirder settings like bios image.

Thanks for your help,
Harry


Harry Mallon
CODEX | Senior Software Engineer
60 Poland Street | London | England | W1F 7NT
E harry.mallon@codex.online | T +44 203 7000 989
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users