Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

QEMU Command Line form not saved - no effect

Featured Replies

I'm running 7 beta 2, so I don't know if this is a new issue.

 

I'm trying to add a couple of command-line arguments to QEMU for a particular VM in the text box in the VM edit UI:

 

 

image.thumb.png.91a323ab2e83cf8f6bba3b3de6a14d0b.png

 

After updating/saving and then coming back to edit, the arguments are gone, like this:

 

image.thumb.png.c7c99053ffb38946e2302d6a2b29bb17.png

 

If I display the inline XML (new feature), there's no XML displayed for this section - and going full XML view I can't find where these arguments should be inserted.

 

Can anyone validate this with Unraid 6.x?

 

 

Edited by Espressomatic

Solved by SimonF

  • Solution
1 hour ago, Espressomatic said:

I'm running 7 beta 2, so I don't know if this is a new issue.

 

I'm trying to add a couple of command-line arguments to QEMU for a particular VM in the text box in the VM edit UI:

 

 

image.thumb.png.91a323ab2e83cf8f6bba3b3de6a14d0b.png

 

After updating/saving and then coming back to edit, the arguments are gone, like this:

 

image.thumb.png.c7c99053ffb38946e2302d6a2b29bb17.png

 

If I display the inline XML (new feature), there's no XML displayed for this section - and going full XML view I can't find where these arguments should be inserted.

 

Can anyone validate this with Unraid 6.x?

 

 

You need to use libvirt xml format i.e.

 

<qemu:commandline> <qemu:arg value='-vga'/> <qemu:arg value='vmware'/> </qemu:commandline>

 

https://libvirt.org/kbase/qemu-passthrough-security.html

  • Author
59 minutes ago, SimonF said:

You need to use libvirt xml format i.e.

 

<qemu:commandline> <qemu:arg value='-vga'/> <qemu:arg value='vmware'/> </qemu:commandline>

 

https://libvirt.org/kbase/qemu-passthrough-security.html

 

Thanks for the heads up!

 

Kind of thought the UI would create the XML based on what I typed into that box - sort of like every other form element on the page. :)

 

If the box were pre-populated with

 

<qemu:commandline>

</qemu:commandline>
 

 

then it would be instantly obvious what needed to be done.

Edited by Espressomatic

  • Author

Still can't get it to work. 

I'm in a hurry, about to head out the door, but the whole format (according to that link) seems completely obnoxious. Mainly because of the butchered XML - and the fact they're not using a nice structure of keys and values.

 

Ugh... Ugly. But here's what I'd been trying to do, finally working:

 

<qemu:commandline>
    <qemu:arg value='-boot'/>
    <qemu:arg value='menu=on,splash-time=5000'/>
  </qemu:commandline>
 

 

Edited by Espressomatic

On 8/30/2024 at 7:42 PM, Espressomatic said:

Kind of thought the UI would create the XML based on what I typed into that box - sort of like every other form element on the page. :)

The amount of variables would be to large. Libvirt drop support for a similar process.

 

Unfortunately support for the domxml-from-native command has been removed from recentish libvirt, because we found that in practice it was too unreliable and incomplete to be useful.

 

There are two options other is qemu:override I will review help text.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.