Skip to content

Commit

Permalink
Merge pull request #55 from DrymarchonShaun/hostdev-vendor-product-id
Browse files Browse the repository at this point in the history
feat: add vendor.id and product.id to hostdev.source
  • Loading branch information
AshleyYakeley authored Aug 28, 2024
2 parents 07c9fb5 + 7cb94bb commit 8110cf7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion generate-xml/domain.nix
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,11 @@ let
]
[
(subelem "driver" [ (subattr "name" typeString) (subattr "model" typeString) ] [ ])
(subelem "source" [ ] [ addresselem ])
(subelem "source" [ ] [
(subelem "vendor" [ (subattr "id" typeInt) ] [ ])
(subelem "product" [ (subattr "id" typeInt) ] [ ])
addresselem
])
(subelem "boot" [ (subattr "order" typeInt) ] [ ])
addresselem
]
Expand Down

0 comments on commit 8110cf7

Please sign in to comment.