Issue with new ARGS option

bitbud

New Member
Dec 2, 2008
25
0
1
Dietmar,
Grateful for the new "args" option in the conf files. However, there is a "no whitespace" problem with it. Several of the most useful arguments to pass require white spaces, and quotes. I am trying to pass a single argument of:

-incoming "exec:dd if=fedstate.img"

This is what it looks like from the KVM command line. It is a single argument 'incoming' with a single parameter. That parameter must be in quotes as above. I tried several formats (without the leading hyphen) to get it to take, but it didnt work. I assume the whitespace is the issue, and possible the quotes as well.

Anything you can do to adjust the args option to allow for this properly?

Thanks
 
Dietmar,
Grateful for the new "args" option in the conf files. However, there is a "no whitespace" problem with it.

I documented that behaviour in the manual page.

Several of the most useful arguments to pass require white spaces, and quotes.

really - which ones?

I am trying to pass a single argument of:

-incoming "exec:dd if=fedstate.img"

Why dont you use:

Code:
qm start VMID --incoming fedstate.img

Anything you can do to adjust the args option to allow for this properly?

We need a better parser, i know.

- Dietmar
 
Still testing

Thanks for the quick turn-around. I download the patch and have been testing since then. I haven't been able to get it to work yet, but I need to test it more. I am trying to pass the full string as above, so I am not sure if there is a problem with the quotes, or a need to escape them somehow. As it may also be an issue with my test system, I need to test it more.

More updates to follow.
 
Last edited: