Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add qemu-override section #37

Merged
merged 2 commits into from
May 12, 2024
Merged

Conversation

pharra
Copy link
Contributor

@pharra pharra commented May 12, 2024

https://gitlab.com/qemu-project/qemu/-/issues/1015
nix demo

qemu-override = {
                device = {
                  alias = "hostdev0";
                  frontend = {
                    property = {
                      name = "x-vga";
                      type = "bool";
                      value = "true";
                    };
                  };
                };
              };

result

  <qemu:override>
    <qemu:device alias='hostdev0'>
      <qemu:frontend>
        <qemu:property name='x-vga' type='bool' value='true'/>
      </qemu:frontend>
    </qemu:device>
  </qemu:override>

@AshleyYakeley AshleyYakeley merged commit 3bf7917 into AshleyYakeley:master May 12, 2024
1 check passed
@AshleyYakeley
Copy link
Owner

Thanks

@DrymarchonShaun
Copy link
Contributor

doesn't this require all the device types in <devices> to optionally take <alias name="*"/>?

DrymarchonShaun pushed a commit to DrymarchonShaun/NixVirt that referenced this pull request Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants