Automatic VM xml amendment for multi-function devices (e.g. group GPU + HDMI audio to the same bus)


Recommended Posts

When dealing with multi-function devices (e.g. GPU with GPU + HDMI audio), Unraid GUI will assign a new bus for each additional device by default.

This can cause compatibility / performance issues in some cases, most notably but not exclusive to MacOS VM.

 

The workaround is adding multifunction='on' and change the bus + function values in the xml.

  • If any edit is done via the GUI, it will revert the bus + function back to the default method, requiring additional edits.
  • New users are also unlikely to be able to make these manual xml edits.

 

It would be a good idea to enhance the VM GUI to detect and make the appropriate edits in the xml automatically for these devices.

E.g. group devices by bus + function and create the bus + function in the xml accordingly (adding multifunction='on' for the first device of a multi-function group).

 

At least, I would imagine it would not too complicated to apply it as a priority to GPU and HDMI audio devices since they have their own dedicated GUI boxes so matching them is rather simple.

Edited by testdasi
  • Like 7
  • Upvote 2
Link to comment
  • 3 years later...

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.